summaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-01-19 01:38:54 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-01-19 02:38:48 +0100
commitd7a46ca179e4d72c925345cfe208de3572f89d6e (patch)
tree2775b0785a3f119f532551d4583a77adcc1c2be0 /libswscale
parent040c461ccfea9d41f7be9ab569cf85746918d773 (diff)
downloadffmpeg-streaming-d7a46ca179e4d72c925345cfe208de3572f89d6e.zip
ffmpeg-streaming-d7a46ca179e4d72c925345cfe208de3572f89d6e.tar.gz
sws: add AVOption flag for error diffusion dither
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/options.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswscale/options.c b/libswscale/options.c
index f7d261c..fc571ac 100644
--- a/libswscale/options.c
+++ b/libswscale/options.c
@@ -51,6 +51,7 @@ static const AVOption options[] = {
{ "full_chroma_int", "full chroma interpolation", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_FULL_CHR_H_INT }, INT_MIN, INT_MAX, VE, "sws_flags" },
{ "full_chroma_inp", "full chroma input", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_FULL_CHR_H_INP }, INT_MIN, INT_MAX, VE, "sws_flags" },
{ "bitexact", "", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_BITEXACT }, INT_MIN, INT_MAX, VE, "sws_flags" },
+ { "error_diffusion", "error diffusion dither", 0, AV_OPT_TYPE_CONST, { .i64 = SWS_ERROR_DIFFUSION}, INT_MIN, INT_MAX, VE, "sws_flags" },
{ "srcw", "source width", OFFSET(srcW), AV_OPT_TYPE_INT, { .i64 = 16 }, 1, INT_MAX, VE },
{ "srch", "source height", OFFSET(srcH), AV_OPT_TYPE_INT, { .i64 = 16 }, 1, INT_MAX, VE },
OpenPOWER on IntegriCloud