summaryrefslogtreecommitdiff
path: root/libavcodec/aacenc.h
diff options
context:
space:
mode:
authorNathan Caldwell <saintdev@gmail.com>2011-05-31 23:38:09 -0600
committerRonald S. Bultje <rsbultje@gmail.com>2011-06-02 07:04:22 -0700
commitcc9947ffbe8a847a49d092c9253910cfc53279ad (patch)
tree1b42308099fea8cc7e59c00eff7cfe409b887e02 /libavcodec/aacenc.h
parente6635a9a19639a71c9c1f71c3b4547a0a6301d29 (diff)
downloadffmpeg-cc9947ffbe8a847a49d092c9253910cfc53279ad.tar.gz
aacenc: Add stereo_mode option.
ms_off is the default, until Mid/Side is no longer buggy. Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec/aacenc.h')
-rw-r--r--libavcodec/aacenc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libavcodec/aacenc.h b/libavcodec/aacenc.h
index 7e08db24c0..067a9b04f3 100644
--- a/libavcodec/aacenc.h
+++ b/libavcodec/aacenc.h
@@ -30,6 +30,10 @@
#include "psymodel.h"
+typedef struct AACEncOptions {
+ int stereo_mode;
+} AACEncOptions;
+
struct AACEncContext;
typedef struct AACCoefficientsEncoder {
@@ -48,6 +52,8 @@ extern AACCoefficientsEncoder ff_aac_coders[];
* AAC encoder context
*/
typedef struct AACEncContext {
+ AVClass *av_class;
+ AACEncOptions options; ///< encoding options
PutBitContext pb;
FFTContext mdct1024; ///< long (1024 samples) frame transform context
FFTContext mdct128; ///< short (128 samples) frame transform context