ref: a5d72da1e7d8fa409fa8d7f6146203343fb315a1
parent: 0907bfef4c345c1e3db279ab1e2f076e152e799c
parent: 75da091036823af9df1dbffc906ad27a877df3f8
author: Marco Paniconi <marpan@google.com>
date: Thu Feb 28 12:21:24 EST 2019
Merge "vp9-rtc: Change init level of denoiser & noise level"
--- a/vp9/encoder/vp9_denoiser.c
+++ b/vp9/encoder/vp9_denoiser.c
@@ -689,8 +689,8 @@
make_grayscale(&denoiser->running_avg_y[i]);
#endif
denoiser->frame_buffer_initialized = 1;
- denoiser->denoising_level = kDenLow;
- denoiser->prev_denoising_level = kDenLow;
+ denoiser->denoising_level = kDenMedium;
+ denoiser->prev_denoising_level = kDenMedium;
denoiser->reset = 0;
denoiser->current_denoiser_frame = 0;
return 0;
--- a/vp9/encoder/vp9_noise_estimate.c
+++ b/vp9/encoder/vp9_noise_estimate.c
@@ -32,7 +32,7 @@
void vp9_noise_estimate_init(NOISE_ESTIMATE *const ne, int width, int height) {
ne->enabled = 0;
- ne->level = kLowLow;
+ ne->level = kLow;
ne->value = 0;
ne->count = 0;
ne->thresh = 90;