[FFmpeg-devel] [PATCH] vf_colorspace: add floyd-steinberg dithering option to full conversion.
Ronald S. Bultje
rsbultje at gmail.com
Tue May 3 19:52:28 CEST 2016
Hi,
On Tue, May 3, 2016 at 1:49 PM, Ronald S. Bultje <rsbultje at gmail.com> wrote:
> ---
> doc/filters.texi | 13 ++++
> libavfilter/colorspacedsp.c | 12 ++++
> libavfilter/colorspacedsp.h | 6 ++
> libavfilter/colorspacedsp_template.c | 128
> +++++++++++++++++++++++++++++++++++
> libavfilter/vf_colorspace.c | 58 +++++++++++++++-
> 5 files changed, 214 insertions(+), 3 deletions(-)
[..]
> + if (!s->rgb[0] || !s->rgb[1] || !s->rgb[2] ||
> + !s->dither_scratch[0][0] || !s->dither_scratch[0][1] ||
> + !s->dither_scratch[1][0] || !s->dither_scratch[1][1] ||
> + !s->dither_scratch[2][0] || !s->dither_scratch[2][1]) {
> uninit(ctx);
> return AVERROR(ENOMEM);
> }
Please ignore this patch, I was being stupid.
Ronald
More information about the ffmpeg-devel
mailing list