diff options
author | Neil Birkbeck <birkbeck@google.com> | 2018-04-18 15:20:15 -0700 |
---|---|---|
committer | Neil Birkbeck <birkbeck@google.com> | 2018-05-15 15:45:24 +0000 |
commit | 269aa7cdafffedd525bfb51ffbbed45b347c8001 (patch) | |
tree | af66e41f2396c3b0833b80c505d6a53a20809b1a /aom_dsp/noise_model.h | |
parent | 9fb32f7858bafa2359eaeefae4accf6dbec5b0ad (diff) |
Fix estimation of correlated noise
Currently, correlation between luma and chroma is estimated
in the "scaled" space. But, during synthesis, the correlated
noise is in the template domain (after IIR filtering) but
before scaling is applied.
Also, change the noise strength estimation to directly fit
to the block noise variance.
Change-Id: Ic8fcadca0dbbf9a22d182dcde4da93a3a1c6a1b9
Diffstat (limited to 'aom_dsp/noise_model.h')
-rw-r--r-- | aom_dsp/noise_model.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/aom_dsp/noise_model.h b/aom_dsp/noise_model.h index bc1b20ea9..34a364de0 100644 --- a/aom_dsp/noise_model.h +++ b/aom_dsp/noise_model.h @@ -182,6 +182,8 @@ typedef struct { typedef struct { aom_equation_system_t eqns; aom_noise_strength_solver_t strength_solver; + int num_observations; // The number of observations in the eqn system + double ar_gain; // The gain of the current AR filter } aom_noise_state_t; /*!\brief Complete model of noise for a planar video |