aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3dec_data.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2010-03-30 22:09:14 +0000
committerCarl Eugen Hoyos <cehoyos@rainbow.studorg.tuwien.ac.at>2010-03-30 22:09:14 +0000
commitca6e7708b42e7d33ba3053bcd447d52a077bca25 (patch)
tree7d7b95250ce17fbfb3cd66a8be480af5825e58c8 /libavcodec/ac3dec_data.c
parent1052b76f0f4142942f0fc2481a4e377a6839b954 (diff)
downloadffmpeg-ca6e7708b42e7d33ba3053bcd447d52a077bca25.tar.gz
Add spectral extension to the E-AC-3 decoder.
Original patch by Justin, updated and resubmitted by Christophe Gisquet, christophe D gisquet A gmail Originally committed as revision 22734 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3dec_data.c')
-rw-r--r--libavcodec/ac3dec_data.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/ac3dec_data.c b/libavcodec/ac3dec_data.c
index 907a3aed80..abe359b889 100644
--- a/libavcodec/ac3dec_data.c
+++ b/libavcodec/ac3dec_data.c
@@ -64,3 +64,9 @@ const uint8_t ff_eac3_hebap_tab[64] = {
*/
const uint8_t ff_eac3_default_cpl_band_struct[18] =
{ 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1 };
+
+/**
+ * Table E2.15 Default Spectral Extension Banding Structure
+ */
+const uint8_t ff_eac3_default_spx_band_struct[17] =
+{ 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 1 };