diff options
author | Marco <marpan@google.com> | 2016-04-04 11:05:21 -0700 |
---|---|---|
committer | Marco <marpan@google.com> | 2016-04-04 17:02:24 -0700 |
commit | ac86dde3afd6dd17af3ac3ebaed64fa369c62913 (patch) | |
tree | a3ca205d803cdf24e38521dd30e31688bf08902a /vp9/encoder/vp9_denoiser.h | |
parent | 5572ab1d027afd6a990774daa9ae720ae3c4282d (diff) | |
download | libvpx-ac86dde3afd6dd17af3ac3ebaed64fa369c62913.tar libvpx-ac86dde3afd6dd17af3ac3ebaed64fa369c62913.tar.gz libvpx-ac86dde3afd6dd17af3ac3ebaed64fa369c62913.tar.bz2 libvpx-ac86dde3afd6dd17af3ac3ebaed64fa369c62913.zip |
vp9-denoiser: Avoid copy-block when denoising is at LowLow level.
Avoid copy-block when denoising is at LowLow level (i.e., no denoising is done).
Instead, don't enter denoiser at all, and when level goes back up over kLowLow
do a reset in denoiser.
Change-Id: I0544adf58f4dd51ecc4a4607fcb0353bfbbb7a59
Diffstat (limited to 'vp9/encoder/vp9_denoiser.h')
-rw-r--r-- | vp9/encoder/vp9_denoiser.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_denoiser.h b/vp9/encoder/vp9_denoiser.h index a0e201781..84189b4fd 100644 --- a/vp9/encoder/vp9_denoiser.h +++ b/vp9/encoder/vp9_denoiser.h @@ -40,7 +40,9 @@ typedef struct vp9_denoiser { YV12_BUFFER_CONFIG last_source; int increase_denoising; int frame_buffer_initialized; + int reset; VP9_DENOISER_LEVEL denoising_level; + VP9_DENOISER_LEVEL prev_denoising_level; } VP9_DENOISER; struct VP9_COMP; |