diff options
author | foo86 <foobaz86@gmail.com> | 2016-05-13 12:48:27 +0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-05-20 23:12:37 -0300 |
commit | 64fe1eebddbbf705d0c25d000c102bfca5558682 (patch) | |
tree | 32575c102c14db86cbee45dd27fe10e3d413996f /libavcodec/dcadata.h | |
parent | 801dbf0269b1bb5bc70c550e971491e0aea9eb70 (diff) | |
download | ffmpeg-64fe1eebddbbf705d0c25d000c102bfca5558682.tar.gz |
avcodec/dca: use LUT for LBR frequency ranges
Values for unsupported frequencies > 48000 Hz are still included (parser
will make use of them).
Also convert sampling frequencies array to unsigned.
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/dcadata.h')
-rw-r--r-- | libavcodec/dcadata.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/dcadata.h b/libavcodec/dcadata.h index 0c54225f97..1ef1342917 100644 --- a/libavcodec/dcadata.h +++ b/libavcodec/dcadata.h @@ -71,7 +71,8 @@ extern const uint16_t ff_dca_xll_refl_coeff[128]; extern const int32_t ff_dca_xll_band_coeff[20]; -extern const int32_t ff_dca_sampling_freqs[16]; +extern const uint32_t ff_dca_sampling_freqs[16]; +extern const uint8_t ff_dca_freq_ranges[16]; extern const uint16_t ff_dca_avg_g3_freqs[3]; |