From c766eb1ce1edb3ad03472b78c21e42c543b04937 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Tue, 9 Aug 2011 18:11:08 -0400 Subject: ac3enc: add macros for option names to make them more understandable. --- libavcodec/ac3enc.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'libavcodec/ac3enc.h') 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. -- cgit v1.2.3