diff options
author | Jingning Han <jingning@google.com> | 2017-01-26 15:00:04 -0800 |
---|---|---|
committer | James Zern <jzern@google.com> | 2017-01-31 23:17:09 -0800 |
commit | 969957f9f2a124861145a0d18781b855e98caa54 (patch) | |
tree | 36beed91af1ea8f5191fe7f30d69d01b9a0f5dd4 /vp9/encoder/vp9_mcomp.c | |
parent | 9efc42f4f89eeb05aba384e9179281ece3be6429 (diff) | |
download | libvpx-969957f9f2a124861145a0d18781b855e98caa54.tar libvpx-969957f9f2a124861145a0d18781b855e98caa54.tar.gz libvpx-969957f9f2a124861145a0d18781b855e98caa54.tar.bz2 libvpx-969957f9f2a124861145a0d18781b855e98caa54.zip |
Fix real-time compression regression in hbd mode
This commit resolves the compression performance regression in
real-time encoding setting when high bit-depth mode is enabled.
The current solution temporarily disables the SIMD implementations
of vpx_satd, hadamard8x8, and hadamard16x16 in high bit-depth mode.
The commit makes the coding results bit-wise identical between
regular coding pipeline and high bit-depth at profile 0.
BUG=webm:1365
Change-Id: Icfb900821733749685370460a1a5a7e07f76f4bf
Diffstat (limited to 'vp9/encoder/vp9_mcomp.c')
-rw-r--r-- | vp9/encoder/vp9_mcomp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_mcomp.c b/vp9/encoder/vp9_mcomp.c index 59b90be14..7c809e155 100644 --- a/vp9/encoder/vp9_mcomp.c +++ b/vp9/encoder/vp9_mcomp.c @@ -1815,7 +1815,9 @@ unsigned int vp9_int_pro_motion_estimation(const VP9_COMP *cpi, MACROBLOCK *x, } #if CONFIG_VP9_HIGHBITDEPTH - { + // TODO(jingning): Implement integral projection functions for high bit-depth + // setting and remove this part of code. + if (xd->bd != 8) { unsigned int this_sad; tmp_mv->row = 0; tmp_mv->col = 0; |