aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Rice <dave@dericed.com>2016-06-11 00:54:59 -0400
committerPaul B Mahol <onemda@gmail.com>2016-06-11 18:40:48 +0200
commit91bc42528ce54a05bd41217cf1564fd2ac578374 (patch)
treeb4f53583464f1560870f43c91b67b7ec35c18b9d
parent115e63c8d6791ebdc921caf40c3def024690af2e (diff)
downloadffmpeg-91bc42528ce54a05bd41217cf1564fd2ac578374.tar.gz
avfilter/vf_histogram: shortcuts for histogram options
-rw-r--r--libavfilter/vf_histogram.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/vf_histogram.c b/libavfilter/vf_histogram.c
index 674b286639..192c02ec5d 100644
--- a/libavfilter/vf_histogram.c
+++ b/libavfilter/vf_histogram.c
@@ -54,12 +54,15 @@ static const AVOption histogram_options[] = {
{ "level_height", "set level height", OFFSET(level_height), AV_OPT_TYPE_INT, {.i64=200}, 50, 2048, FLAGS},
{ "scale_height", "set scale height", OFFSET(scale_height), AV_OPT_TYPE_INT, {.i64=12}, 0, 40, FLAGS},
{ "display_mode", "set display mode", OFFSET(display_mode), AV_OPT_TYPE_INT, {.i64=1}, 0, 1, FLAGS, "display_mode"},
+ { "d", "set display mode", OFFSET(display_mode), AV_OPT_TYPE_INT, {.i64=1}, 0, 1, FLAGS, "display_mode"},
{ "parade", NULL, 0, AV_OPT_TYPE_CONST, {.i64=1}, 0, 0, FLAGS, "display_mode" },
{ "overlay", NULL, 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 0, FLAGS, "display_mode" },
{ "levels_mode", "set levels mode", OFFSET(levels_mode), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS, "levels_mode"},
+ { "m", "set levels mode", OFFSET(levels_mode), AV_OPT_TYPE_INT, {.i64=0}, 0, 1, FLAGS, "levels_mode"},
{ "linear", NULL, 0, AV_OPT_TYPE_CONST, {.i64=0}, 0, 0, FLAGS, "levels_mode" },
{ "logarithmic", NULL, 0, AV_OPT_TYPE_CONST, {.i64=1}, 0, 0, FLAGS, "levels_mode" },
{ "components", "set color components to display", OFFSET(components), AV_OPT_TYPE_INT, {.i64=7}, 1, 15, FLAGS},
+ { "c", "set color components to display", OFFSET(components), AV_OPT_TYPE_INT, {.i64=7}, 1, 15, FLAGS},
{ NULL }
};