diff options
author | John Stebbins <jstebbins.hb@gmail.com> | 2012-06-09 13:45:49 -0700 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-06-18 10:55:00 -0400 |
commit | 3971be0eb5d382b85f1d8772c51f21cccdc68eab (patch) | |
tree | 64e5acdc9baf7c63d0d97af6e94d0ed422099389 /libavresample/options.c | |
parent | 9fcda25e35bc012ee9a434faf0fb00bece85be6d (diff) | |
download | ffmpeg-3971be0eb5d382b85f1d8772c51f21cccdc68eab.tar.gz |
Add Dolby/DPLII downmix support to libavresample
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
Diffstat (limited to 'libavresample/options.c')
-rw-r--r-- | libavresample/options.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavresample/options.c b/libavresample/options.c index 5430c4ddf2..a1a0b0ca21 100644 --- a/libavresample/options.c +++ b/libavresample/options.c @@ -52,6 +52,10 @@ static const AVOption options[] = { { "phase_shift", "Resampling Phase Shift", OFFSET(phase_shift), AV_OPT_TYPE_INT, { 10 }, 0, 30, /* ??? */ PARAM }, { "linear_interp", "Use Linear Interpolation", OFFSET(linear_interp), AV_OPT_TYPE_INT, { 0 }, 0, 1, PARAM }, { "cutoff", "Cutoff Frequency Ratio", OFFSET(cutoff), AV_OPT_TYPE_DOUBLE, { 0.8 }, 0.0, 1.0, PARAM }, + { "matrix_encoding", "Matrixed Stereo Encoding", OFFSET(matrix_encoding), AV_OPT_TYPE_INT, { AV_MATRIX_ENCODING_NONE}, AV_MATRIX_ENCODING_NONE, AV_MATRIX_ENCODING_NB-1, PARAM, "matrix_encoding" }, + { "none", "None", 0, AV_OPT_TYPE_CONST, { AV_MATRIX_ENCODING_NONE }, INT_MIN, INT_MAX, PARAM, "matrix_encoding" }, + { "dolby", "Dolby", 0, AV_OPT_TYPE_CONST, { AV_MATRIX_ENCODING_DOLBY }, INT_MIN, INT_MAX, PARAM, "matrix_encoding" }, + { "dplii", "Dolby Pro Logic II", 0, AV_OPT_TYPE_CONST, { AV_MATRIX_ENCODING_DPLII }, INT_MIN, INT_MAX, PARAM, "matrix_encoding" }, { NULL }, }; |