aom/vp8/decoder
Yunqing Wang ff0107f60d Amend and improve VP8 multithreading implementation
There are flaws in current implementation of VP8 multithreading encoder
and decoder as reported in the following issue:
https://code.google.com/p/chromium/issues/detail?id=158922

Although the data race warnings are harmless, and wouldn't cause real
problems while encoding and decoding videos, it is better to fix the
warnings so that VP8 code could pass the TSan test.

To synchronize the thread-shared data access and maintain the speed
(i.e. decoding speed), use multiple mutexes based on mb_rows to reduce
the number of synchronizations needed, make the reads and writes of
the shared data protected, and reduce the number of mb_col writes by
nsync times.

The decoder speed tests showed < 3% speed loss while using 2 ~ 4
threads.

Change-Id: Ie296defffcd86a693188b668270d811964227882
2016-01-08 11:59:49 -08:00
..
dboolhuff.c vp8: use VPX(MIN|MAX) from vpx_dsp_common.h 2015-08-27 15:31:24 -07:00
dboolhuff.h Clean up unused function warnings in vp8 decoder 2015-08-26 17:10:30 +00:00
decodeframe.c vp8: fix quantizer clamping 2015-12-03 16:16:28 -08:00
decodemv.c Silence -Werror=unused-parameter 2014-12-16 12:47:08 -08:00
decodemv.h
decoderthreading.h
detokenize.c vpx_mem: remove vpx_memset 2015-04-28 20:00:59 -07:00
detokenize.h
ec_types.h
error_concealment.c vp8: use VPX(MIN|MAX) from vpx_dsp_common.h 2015-08-27 15:31:24 -07:00
error_concealment.h
onyxd_if.c vp8: change build_intra_predictors_mby_s to use vpx_dsp. 2015-09-30 18:45:40 -04:00
onyxd_int.h Amend and improve VP8 multithreading implementation 2016-01-08 11:59:49 -08:00
threading.c Amend and improve VP8 multithreading implementation 2016-01-08 11:59:49 -08:00
treereader.h Clean up unused function warnings in vp8 decoder 2015-08-26 17:10:30 +00:00