diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2007-07-15 01:31:09 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2007-07-15 01:31:09 +0000 |
commit | cc2a8443eb0501d5be2656a1a0885d96c92400b9 (patch) | |
tree | 132b1bf0f56b3f7f6fdf46866ec2ac548930e8a4 /libavcodec/ac3.h | |
parent | cb503702ee1db066389089840ab97c69e6e0a8dd (diff) | |
download | ffmpeg-cc2a8443eb0501d5be2656a1a0885d96c92400b9.tar.gz |
move some common values to ac3.h and utilize them
Originally committed as revision 9679 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3.h')
-rw-r--r-- | libavcodec/ac3.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libavcodec/ac3.h b/libavcodec/ac3.h index bfaf7d0db2..ad1075db41 100644 --- a/libavcodec/ac3.h +++ b/libavcodec/ac3.h @@ -43,6 +43,26 @@ #define EXP_D25 2 #define EXP_D45 3 +/** Delta bit allocation strategy */ +typedef enum { + DBA_REUSE = 0, + DBA_NEW, + DBA_NONE, + DBA_RESERVED +} AC3DeltaStrategy; + +/** Channel mode (audio coding mode) */ +typedef enum { + AC3_ACMOD_DUALMONO = 0, + AC3_ACMOD_MONO, + AC3_ACMOD_STEREO, + AC3_ACMOD_3F, + AC3_ACMOD_2F1R, + AC3_ACMOD_3F1R, + AC3_ACMOD_2F2R, + AC3_ACMOD_3F2R +} AC3ChannelMode; + typedef struct AC3BitAllocParameters { int fscod; /* frequency */ int halfratecod; |