diff options
author | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2017-06-01 10:14:13 +0300 |
---|---|---|
committer | Jean-Marc Valin <jmvalin@jmvalin.ca> | 2017-06-01 10:14:13 +0300 |
commit | 0cc4d9659aaa35c8a21af0e7a8927bf9132315bf (patch) | |
tree | 9479e536ccff07077dc9e5a2a27389e3f112617d /celt/celt.h | |
parent | a1c2d71803b0a4a0ceac644270b9ff23ee81a3f3 (diff) |
Adding leakage modelling to boost bandsexp_leakage7
We boost bands that either cause leakage or are filled with leakage
Diffstat (limited to 'celt/celt.h')
-rw-r--r-- | celt/celt.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/celt/celt.h b/celt/celt.h index d69cd44c..70175301 100644 --- a/celt/celt.h +++ b/celt/celt.h @@ -50,6 +50,8 @@ extern "C" { #define CELTDecoder OpusCustomDecoder #define CELTMode OpusCustomMode +#define LEAK_BANDS 19 + typedef struct { int valid; float tonality; @@ -60,6 +62,8 @@ typedef struct { float vad_prob; int bandwidth; float activity_probability; + /* Store as Q6 char to save space. */ + unsigned char leak_boost[LEAK_BANDS]; } AnalysisInfo; typedef struct { |