diff options
author | Jingning Han <jingning@google.com> | 2019-03-05 10:45:16 -0800 |
---|---|---|
committer | Jingning Han <jingning@google.com> | 2019-03-12 22:23:15 -0700 |
commit | ff36b9c78b8a069978c7ba57c31a8b63fbf8b599 (patch) | |
tree | b007eef5b2dc2e9ce9ed604215ce5222cc494e3a /vp9/encoder/vp9_speed_features.c | |
parent | c72dc3963e5a2d96709669d0471158f8b1a60d9e (diff) | |
download | libvpx-ff36b9c78b8a069978c7ba57c31a8b63fbf8b599.tar libvpx-ff36b9c78b8a069978c7ba57c31a8b63fbf8b599.tar.gz libvpx-ff36b9c78b8a069978c7ba57c31a8b63fbf8b599.tar.bz2 libvpx-ff36b9c78b8a069978c7ba57c31a8b63fbf8b599.zip |
Set up Wiener variance for macroblocks in a frame
This commit introduces a Wiener variance term. For each block in
the source frame, we first estimate its film grain noise level
using median filter in the transform domain. Each transform
coefficient is then processed using Wiener filter to account for
the impact on the energy level due to film grain noise. The result
leads to a second moment of the denoised signal.
Change-Id: Ibce7cb1b0cb8fe1aba807d95289712271d576948
Diffstat (limited to 'vp9/encoder/vp9_speed_features.c')
-rw-r--r-- | vp9/encoder/vp9_speed_features.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_speed_features.c b/vp9/encoder/vp9_speed_features.c index 8c59662c3..c8e5795ee 100644 --- a/vp9/encoder/vp9_speed_features.c +++ b/vp9/encoder/vp9_speed_features.c @@ -939,6 +939,10 @@ void vp9_set_speed_features_framesize_independent(VP9_COMP *cpi) { sf->tx_size_search_breakout = 1; sf->tx_size_search_depth = 2; + // Manually turn this on during experimentation. Off by default to disable its + // effect on the baseline encoder. + sf->enable_wiener_variance = 0; + sf->exhaustive_searches_thresh = (cpi->twopass.fr_content_type == FC_GRAPHICS_ANIMATION) ? (1 << 20) : INT_MAX; |