summaryrefslogtreecommitdiff
path: root/libavcodec/ac3.h
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-05-23 17:45:51 +0200
committerReinhard Tartler <siretart@tauware.de>2011-05-24 07:52:31 +0200
commit7f3a7b5c40b7fda09cbba4bb53e1ced133970930 (patch)
tree7da170e37b9398fa5228d68daa119255f9184226 /libavcodec/ac3.h
parenta7a187a1beb8551101b592bf85f0f31a0db22f61 (diff)
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/ac3.h')
-rw-r--r--libavcodec/ac3.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/ac3.h b/libavcodec/ac3.h
index 4ed8c2523b..c06f3d542d 100644
--- a/libavcodec/ac3.h
+++ b/libavcodec/ac3.h
@@ -28,7 +28,8 @@
#define AVCODEC_AC3_H
#define AC3_MAX_CODED_FRAME_SIZE 3840 /* in bytes */
-#define AC3_MAX_CHANNELS 6 /* including LFE channel */
+#define AC3_MAX_CHANNELS 7 /**< maximum number of channels, including coupling channel */
+#define CPL_CH 0 /**< coupling channel index */
#define AC3_MAX_COEFS 256
#define AC3_BLOCK_SIZE 256