summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_denoiser.h
diff options
context:
space:
mode:
authorJackyChen <jackychen@google.com>2014-09-04 14:44:46 -0700
committerJackyChen <jackychen@google.com>2014-09-04 14:53:33 -0700
commitb1153f34d46248b97c443a963bd60bd6de930120 (patch)
tree1e5c3834301bfab3bfce4392ab2e0b49aa0986f5 /vp9/encoder/vp9_denoiser.h
parentd75266f14135d35509d2a7a609bd879f805d4903 (diff)
downloadlibvpx-b1153f34d46248b97c443a963bd60bd6de930120.tar
libvpx-b1153f34d46248b97c443a963bd60bd6de930120.tar.gz
libvpx-b1153f34d46248b97c443a963bd60bd6de930120.tar.bz2
libvpx-b1153f34d46248b97c443a963bd60bd6de930120.zip
Map motion magnitude in VP9 denoiser.
This is to keep the same with VP8 denoiser. If motion magnitude is small, make denoiser more aggressive. Change-Id: I942a6e2f2ed9aec6f0c4c1f9e5fa47066cadcc0c
Diffstat (limited to 'vp9/encoder/vp9_denoiser.h')
-rw-r--r--vp9/encoder/vp9_denoiser.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_denoiser.h b/vp9/encoder/vp9_denoiser.h
index 1c827b622..a913add86 100644
--- a/vp9/encoder/vp9_denoiser.h
+++ b/vp9/encoder/vp9_denoiser.h
@@ -18,6 +18,8 @@
extern "C" {
#endif
+#define MOTION_MAGNITUDE_THRESHOLD (8*3)
+
typedef enum vp9_denoiser_decision {
COPY_BLOCK,
FILTER_BLOCK