From ff3866dc43ee334eb098618b257b166eb5aaca0e Mon Sep 17 00:00:00 2001 From: Marco Date: Wed, 4 May 2016 11:10:02 -0700 Subject: [PATCH] vp9-noise estimation. Decrease frame period for estimating noise. Makes the noise estimation react little faster. Little/no change in metrics. Change only affects 1 pass cbr. Change-Id: I13f0daa90ecbf9d49eb1cf2e48febd9d92292940 --- vp9/encoder/vp9_noise_estimate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vp9/encoder/vp9_noise_estimate.c b/vp9/encoder/vp9_noise_estimate.c index c3351afe0..5945f0e57 100644 --- a/vp9/encoder/vp9_noise_estimate.c +++ b/vp9/encoder/vp9_noise_estimate.c @@ -101,7 +101,7 @@ void vp9_update_noise_estimate(VP9_COMP *const cpi) { const VP9_COMMON *const cm = &cpi->common; NOISE_ESTIMATE *const ne = &cpi->noise_estimate; // Estimate of noise level every frame_period frames. - int frame_period = 10; + int frame_period = 8; int thresh_consec_zeromv = 6; unsigned int thresh_sum_diff = 100; unsigned int thresh_sum_spatial = (200 * 200) << 8; -- 2.40.0