On Sep 14, 2014 3:46 PM, "James Darnley" <james.darn...@gmail.com> wrote: > > --- > > Still a couple of things on the todo list (see the top of the new file) but I > thought I would send the basics along for people to nit pick. > > configure | 1 + > libavfilter/Makefile | 1 + > libavfilter/allfilters.c | 1 + > libavfilter/vf_eq.c | 157 +++++++++++++++++++++++++++++++++++++++++++++++ > 4 files changed, 160 insertions(+) > create mode 100644 libavfilter/vf_eq.c
[...] > +#define FLAGS AV_OPT_FLAG_FILTERING_PARAM|AV_OPT_FLAG_VIDEO_PARAM > +static const AVOption eq_options[] = { > + { "brightness", "", OFFSET(brightness), AV_OPT_TYPE_INT, {.i64 = 0}, -100, 100, FLAGS }, > + { "contrast", "", OFFSET(contrast), AV_OPT_TYPE_INT, {.i64 = 0}, -100, 100, FLAGS }, > + { NULL } > +}; Can vf_hue be improved to support changing contrast instead of writing a new filter just for that? Timothy _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel