From d0b547c6760270e07571f5a592549fbdabcd08c4 Mon Sep 17 00:00:00 2001 From: Yunqing Wang Date: Fri, 14 Nov 2014 16:04:15 -0800 Subject: 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 --- vp9/encoder/vp9_bitstream.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vp9/encoder/vp9_bitstream.c') 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; -- cgit v1.2.3