diff options
author | Yunqing Wang <yunqingwang@google.com> | 2014-11-14 16:04:15 -0800 |
---|---|---|
committer | Yunqing Wang <yunqingwang@google.com> | 2014-11-14 16:09:22 -0800 |
commit | d0b547c6760270e07571f5a592549fbdabcd08c4 (patch) | |
tree | bcd099ebbcd2e263ef7bdf8daaa1fbf6e5afb9de /vp9/encoder/vp9_bitstream.c | |
parent | 035acac0081b245bbb9671d4ab1d0fbd97583914 (diff) | |
download | libvpx-d0b547c6760270e07571f5a592549fbdabcd08c4.tar libvpx-d0b547c6760270e07571f5a592549fbdabcd08c4.tar.gz libvpx-d0b547c6760270e07571f5a592549fbdabcd08c4.tar.bz2 libvpx-d0b547c6760270e07571f5a592549fbdabcd08c4.zip |
vp9_ethread: combine encoder counts in separate struct
Several frame counters in encoder are updated at SB level. Combine
those counters and put them in a separate struct, which allows us
to allocate one copy for each thread.
Change-Id: I00366296a13c0ada4d8fa12f5e07728388b6cab7
Diffstat (limited to 'vp9/encoder/vp9_bitstream.c')
-rw-r--r-- | vp9/encoder/vp9_bitstream.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_bitstream.c b/vp9/encoder/vp9_bitstream.c index 4a3e79e06..73ce78942 100644 --- a/vp9/encoder/vp9_bitstream.c +++ b/vp9/encoder/vp9_bitstream.c @@ -500,7 +500,7 @@ static void write_modes(VP9_COMP *cpi, static void build_tree_distribution(VP9_COMP *cpi, TX_SIZE tx_size, vp9_coeff_stats *coef_branch_ct, vp9_coeff_probs_model *coef_probs) { - vp9_coeff_count *coef_counts = cpi->coef_counts[tx_size]; + vp9_coeff_count *coef_counts = cpi->frame_counts->coef_counts[tx_size]; unsigned int (*eob_branch_ct)[REF_TYPES][COEF_BANDS][COEFF_CONTEXTS] = cpi->common.counts.eob_branch[tx_size]; int i, j, k, l, m; |