diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-08-09 18:11:08 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-08-11 11:33:32 -0400 |
commit | c766eb1ce1edb3ad03472b78c21e42c543b04937 (patch) | |
tree | f35a8011737e719694666cf100d8280659b000cf /libavcodec/ac3enc.h | |
parent | 9542ca9fb743d3fb595ec24c23f96037b15d6b53 (diff) | |
download | ffmpeg-c766eb1ce1edb3ad03472b78c21e42c543b04937.tar.gz |
ac3enc: add macros for option names to make them more understandable.
Diffstat (limited to 'libavcodec/ac3enc.h')
-rw-r--r-- | libavcodec/ac3enc.h | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/libavcodec/ac3enc.h b/libavcodec/ac3enc.h index 98e2432cc5..65e88c9e01 100644 --- a/libavcodec/ac3enc.h +++ b/libavcodec/ac3enc.h @@ -65,6 +65,23 @@ typedef int32_t CoefType; typedef int64_t CoefSumType; #endif +/* common option values */ +#define AC3ENC_OPT_NONE -1 +#define AC3ENC_OPT_AUTO -1 +#define AC3ENC_OPT_OFF 0 +#define AC3ENC_OPT_ON 1 +#define AC3ENC_OPT_NOT_INDICATED 0 +#define AC3ENC_OPT_MODE_ON 1 +#define AC3ENC_OPT_MODE_OFF 2 + +/* specific option values */ +#define AC3ENC_OPT_LARGE_ROOM 1 +#define AC3ENC_OPT_SMALL_ROOM 2 +#define AC3ENC_OPT_DOWNMIX_LTRT 1 +#define AC3ENC_OPT_DOWNMIX_LORO 2 +#define AC3ENC_OPT_ADCONV_STANDARD 0 +#define AC3ENC_OPT_ADCONV_HDCD 1 + /** * Encoding Options used by AVOption. |