ref: 9ef41cf577b507d17878038ab5329fe908f6bf40
parent: a69c3f28233b91dfb572111a11e5c8da5fb8ff18
parent: 3c0772977be72bf1a402f4ee4dc653df29af4c07
author: Marco Paniconi <[email protected]>
date: Fri Feb 26 19:20:53 EST 2016
Merge "vp8-denoiser: Update some denoiser thresholds."
--- a/vp8/encoder/denoising.c
+++ b/vp8/encoder/denoising.c
@@ -23,7 +23,7 @@
*/
static const unsigned int SSE_DIFF_THRESHOLD = 16 * 16 * 20;
static const unsigned int SSE_THRESHOLD = 16 * 16 * 40;
-static const unsigned int SSE_THRESHOLD_HIGH = 16 * 16 * 60;
+static const unsigned int SSE_THRESHOLD_HIGH = 16 * 16 * 80;
/*
* The filter function was modified to reduce the computational complexity.
--- a/vp8/encoder/denoising.h
+++ b/vp8/encoder/denoising.h
@@ -18,8 +18,8 @@
extern "C" {
#endif
-#define SUM_DIFF_THRESHOLD (16 * 16 * 2)
-#define SUM_DIFF_THRESHOLD_HIGH (600) // ~(16 * 16 * 1.5)
+#define SUM_DIFF_THRESHOLD 384
+#define SUM_DIFF_THRESHOLD_HIGH 512
#define MOTION_MAGNITUDE_THRESHOLD (8*3)
#define SUM_DIFF_THRESHOLD_UV (96) // (8 * 8 * 1.5)