Change to init/reset level of the denoiser from
kDenLow to kDenMedium, and the init noise level to kLow.
This affects the denoiser level during the initialization
stage of the noise estimation.
Improves denoising for noisy content during init stage of
noise estimation, with little effect for low noise/clean content.
Change-Id: I247a17b0f01f646fc2e91a4a070ad69bdb788cae
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;
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;