Fix vp10_accumulate_frame_counts once and for all.

This ensures the multi-threaded and single-threaded encoder/decoder
always uses the same probability contexts.

Change-Id: I6f1e7c6bd8808c390c1dc0a628ae97db3acedf6d
This commit is contained in:
Geza Lore
2016-05-04 11:30:36 +01:00
parent e536a1cc07
commit c959151fa2
5 changed files with 14 additions and 267 deletions

View File

@@ -167,7 +167,7 @@ void vp10_encode_tiles_mt(VP10_COMP *cpi) {
// Accumulate counters.
if (i < cpi->num_workers - 1) {
vp10_accumulate_frame_counts(cm, thread_data->td->counts, 0);
vp10_accumulate_frame_counts(cm, thread_data->td->counts);
accumulate_rd_opt(&cpi->td, thread_data->td);
}
}