diff options
author | Marco <marpan@google.com> | 2017-01-26 14:09:57 -0800 |
---|---|---|
committer | Marco <marpan@google.com> | 2017-01-26 19:57:59 -0800 |
commit | db99840bf66c305b3c03e9e991f9f4c0c0cd64d8 (patch) | |
tree | dc2da851280679f0b1ec4fbec4ea4154ae2e7ac6 /vp9/encoder/vp9_noise_estimate.c | |
parent | eacc3b4ccfa7541ee69bb37b7e72c0bbcf60c126 (diff) | |
download | libvpx-db99840bf66c305b3c03e9e991f9f4c0c0cd64d8.tar.gz |
vp9: Fixes for usage of skin_map for high bit depth.
Also avoid noise_estimation and source_sad if use_highbitdepth is set.
Change-Id: I5fea396b8f8380ea377045d99ba22a52b92daa46
Diffstat (limited to 'vp9/encoder/vp9_noise_estimate.c')
-rw-r--r-- | vp9/encoder/vp9_noise_estimate.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_noise_estimate.c b/vp9/encoder/vp9_noise_estimate.c index 3dc321bfc..a32e5cac5 100644 --- a/vp9/encoder/vp9_noise_estimate.c +++ b/vp9/encoder/vp9_noise_estimate.c @@ -38,6 +38,9 @@ void vp9_noise_estimate_init(NOISE_ESTIMATE *const ne, int width, int height) { } static int enable_noise_estimation(VP9_COMP *const cpi) { +#if CONFIG_VP9_HIGHBITDEPTH + if (cpi->common.use_highbitdepth) return 0; +#endif // Enable noise estimation if denoising is on, but not for low resolutions. #if CONFIG_VP9_TEMPORAL_DENOISING if (cpi->oxcf.noise_sensitivity > 0 && denoise_svc(cpi) && |