diff options
author | Rostislav Pehlivanov <atomnuker@gmail.com> | 2015-12-08 13:21:41 +0000 |
---|---|---|
committer | Rostislav Pehlivanov <atomnuker@gmail.com> | 2015-12-08 13:31:50 +0000 |
commit | 6e5dbe7267fc5790ff48225623be2ed9abd575c9 (patch) | |
tree | df0c31c41176dbc24b363958c3369f6860fcf21b /libavcodec/aacenc_tns.c | |
parent | 8142daca44d8825001eb7ee935e2f0a7933e09b2 (diff) |
aacenc_tns: use 4 bits for short windows
With only 7 coefficients per short window at most the extra precision
makes a difference and seems to reduce crackling and stddev even
further.
Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/aacenc_tns.c')
-rw-r--r-- | libavcodec/aacenc_tns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacenc_tns.c b/libavcodec/aacenc_tns.c index 84f5d09693..9ac9ed912e 100644 --- a/libavcodec/aacenc_tns.c +++ b/libavcodec/aacenc_tns.c @@ -35,7 +35,7 @@ #define TNS_Q_BITS 4 /* Coefficient resolution in short windows */ -#define TNS_Q_BITS_IS8 3 +#define TNS_Q_BITS_IS8 4 /* We really need the bits we save here elsewhere */ #define TNS_ENABLE_COEF_COMPRESSION |