]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/ac3.h
Merge remote-tracking branch 'qatar/master'
[ffmpeg] / libavcodec / ac3.h
index fcb401c238ee67d6a0aeef35479270823bafcb86..a53817e1b0ee7930a978fe83af3bfa6736d8bd28 100644 (file)
@@ -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
@@ -158,10 +159,11 @@ typedef struct AC3EncOptions {
 
     /* other encoding options */
     int allow_per_frame_metadata;
-    int stereo_rematrixing;    
+    int stereo_rematrixing;
+    int channel_coupling;
+    int cpl_start;    
 } AC3EncOptions;
 
-
 void ff_ac3_common_init(void);
 
 extern const int64_t ff_ac3_channel_layouts[];