summaryrefslogtreecommitdiff
path: root/libavcodec/ac3enc.h
diff options
context:
space:
mode:
authorFabrice Bellard <fabrice@bellard.org>2002-10-28 00:39:05 +0000
committerFabrice Bellard <fabrice@bellard.org>2002-10-28 00:39:05 +0000
commit6107fa87b46f9147d9b572af72bdcf3e155dfd16 (patch)
tree6b43991441a790bcf293207bd99c55481796ce3b /libavcodec/ac3enc.h
parentbb6f5690728486b71e280a295aef4c49d25ee758 (diff)
preparing integration of new AC3 decoder
Originally committed as revision 1089 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ac3enc.h')
-rw-r--r--libavcodec/ac3enc.h34
1 files changed, 0 insertions, 34 deletions
diff --git a/libavcodec/ac3enc.h b/libavcodec/ac3enc.h
deleted file mode 100644
index 6dd0966ec8..0000000000
--- a/libavcodec/ac3enc.h
+++ /dev/null
@@ -1,34 +0,0 @@
-
-#define AC3_FRAME_SIZE (6*256)
-#define AC3_MAX_CODED_FRAME_SIZE 3840 /* in bytes */
-#define AC3_MAX_CHANNELS 6
-
-typedef struct AC3EncodeContext {
- PutBitContext pb;
- int nb_channels;
- int nb_all_channels;
- int lfe_channel;
- int bit_rate;
- int sample_rate;
- int bsid;
- int frame_size_min; /* minimum frame size in case rounding is necessary */
- int frame_size; /* current frame size in words */
- int halfratecod;
- int frmsizecod;
- int fscod; /* frequency */
- int acmod;
- int lfe;
- int bsmod;
- short last_samples[AC3_MAX_CHANNELS][256];
- int chbwcod[AC3_MAX_CHANNELS];
- int nb_coefs[AC3_MAX_CHANNELS];
-
- /* bitrate allocation control */
- int sgaincod, sdecaycod, fdecaycod, dbkneecod, floorcod;
- int sgain, sdecay, fdecay, dbknee, floor;
- int csnroffst;
- int fgaincod[AC3_MAX_CHANNELS];
- int fsnroffst[AC3_MAX_CHANNELS];
- /* mantissa encoding */
- int mant1_cnt, mant2_cnt, mant4_cnt;
-} AC3EncodeContext;