diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-05-23 17:45:51 +0200 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2011-05-24 07:52:31 +0200 |
commit | 7f3a7b5c40b7fda09cbba4bb53e1ced133970930 (patch) | |
tree | 7da170e37b9398fa5228d68daa119255f9184226 /libavcodec/ac3tab.c | |
parent | a7a187a1beb8551101b592bf85f0f31a0db22f61 (diff) | |
download | ffmpeg-7f3a7b5c40b7fda09cbba4bb53e1ced133970930.tar.gz |
ac3enc: add channel coupling support
Channel coupling is an optional AC-3 feature that increases quality by
combining high frequency information from multiple channels into a
single channel. The per-channel high frequency information is sent with
less accuracy in both the frequency and time domains. This allows more
bits to be used for lower frequencies while preserving enough
information to reconstruct the high frequencies.
Diffstat (limited to 'libavcodec/ac3tab.c')
-rw-r--r-- | libavcodec/ac3tab.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libavcodec/ac3tab.c b/libavcodec/ac3tab.c index 6a4d8cd0a2..7df3d828fb 100644 --- a/libavcodec/ac3tab.c +++ b/libavcodec/ac3tab.c @@ -138,6 +138,13 @@ const uint16_t ff_ac3_bitrate_tab[19] = { */ const uint8_t ff_ac3_rematrix_band_tab[5] = { 13, 25, 37, 61, 253 }; +/** + * Table E2.16 Default Coupling Banding Structure + */ +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 +}; + /* AC-3 MDCT window */ /* MDCT window */ |