]> granicus.if.org Git - libvpx/commit
The bitstream bit match test in multi-threaded encoder
authorYunqing Wang <yunqingwang@google.com>
Mon, 13 Feb 2017 20:29:31 +0000 (12:29 -0800)
committerYunqing Wang <yunqingwang@google.com>
Mon, 13 Feb 2017 21:02:26 +0000 (13:02 -0800)
commit318ca07657507e464556ffb909c28856eb6e1d13
treed73cbbfb30c0680af0c96afa6c074b460b707705
parente7db593a464d522ad22dadefaa80027cb19615f1
The bitstream bit match test in multi-threaded encoder

While the new-mt mode is enabled(namely, allowing to use row-based
multi-threading in encoder), several speed features that adaptively
adjust encoding parameters during encoding would cause mismatch
between single-thread encoded bitstream and multi-thread encoded
bitstream. This patch provides a set_control API to disable these
features, so that the bit match bitstream is obtained in the unit
test.

Change-Id: Ie9868bafdfe196296d1dd29e0dca517f6a9a4d60
test/vp9_ethread_test.cc
vp9/encoder/vp9_encoder.h
vp9/vp9_cx_iface.c
vpx/vp8cx.h