summaryrefslogtreecommitdiff
path: root/vpx
diff options
context:
space:
mode:
authorYunqing Wang <yunqingwang@google.com>2017-04-24 12:06:49 -0700
committerYunqing Wang <yunqingwang@google.com>2017-04-24 16:28:27 -0700
commit10a497bd3823d88cf4c2f816a648ca0e79bd07be (patch)
tree2d0fc0df7b30d58fb1b216717efbdaf3a83ad75d /vpx
parentc530208ae3cc0cb6835aeaa8e9ceb7edb37f40f0 (diff)
downloadlibvpx-10a497bd3823d88cf4c2f816a648ca0e79bd07be.tar
libvpx-10a497bd3823d88cf4c2f816a648ca0e79bd07be.tar.gz
libvpx-10a497bd3823d88cf4c2f816a648ca0e79bd07be.tar.bz2
libvpx-10a497bd3823d88cf4c2f816a648ca0e79bd07be.zip
Make the row based multi-threaded encoder deterministic
This patch followed allow_exhaustive_searches feature modification and continued to modify the encoder to achieve the determinism in the row based multi-threaded encoding. While row-mt = 1 and using multiple threads, the adaptive feature in encoder was disabled, which gave BDRate gain(at speed 1, -0.6% ~ -0.7%; at speed 2, -0.46% ~ -0.59%), but some encoder speed losses(7% ~ 10% at speed 1 and 3% ~ 6% at speed 2). These speed losses were acceptable considering the speed gains obtained from row-mt. Change-Id: I60d87a25346ebc487a864b57d559f560b7e398bb
Diffstat (limited to 'vpx')
-rw-r--r--vpx/vp8cx.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/vpx/vp8cx.h b/vpx/vp8cx.h
index b8ed0bb2e..ee6be4a24 100644
--- a/vpx/vp8cx.h
+++ b/vpx/vp8cx.h
@@ -555,15 +555,6 @@ enum vp8e_enc_control_id {
*/
VP9E_SET_ROW_MT,
- /*!\brief Codec control function to enable bit-exact bitstream when row level
- * multi-threading is enabled.
- *
- * 0 : off, 1 : on
- *
- * Supported in codecs: VP9
- */
- VP9E_ENABLE_ROW_MT_BIT_EXACT,
-
/*!\brief Codec control function to get bitstream level.
*
* Supported in codecs: VP9
@@ -867,9 +858,6 @@ VPX_CTRL_USE_TYPE(VP9E_SET_TARGET_LEVEL, unsigned int)
VPX_CTRL_USE_TYPE(VP9E_SET_ROW_MT, unsigned int)
#define VPX_CTRL_VP9E_SET_ROW_MT
-VPX_CTRL_USE_TYPE(VP9E_ENABLE_ROW_MT_BIT_EXACT, unsigned int)
-#define VPX_CTRL_VP9E_ENABLE_ROW_MT_BIT_EXACT
-
VPX_CTRL_USE_TYPE(VP9E_GET_LEVEL, int *)
#define VPX_CTRL_VP9E_GET_LEVEL