Commit 770e6563 authored by Jingning Han's avatar Jingning Han

Support multi-thread encoding for var-tx

This commit resolves the encoding results disparity between single
and multi-thread encoding.

BUG=aomedia:553

Change-Id: I968972e6d53e1977384d1dfd2f006d04af074be6
parent 1e424367
......@@ -176,6 +176,9 @@ void av1_encode_tiles_mt(AV1_COMP *cpi) {
if (i < cpi->num_workers - 1) {
av1_accumulate_frame_counts(&cm->counts, thread_data->td->counts);
accumulate_rd_opt(&cpi->td, thread_data->td);
#if CONFIG_VAR_TX
cpi->td.mb.txb_split_count += thread_data->td->mb.txb_split_count;
#endif
}
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment