[FFmpeg-devel] [PATCH] vf_colorspace: add floyd-steinberg dithering option to full conversion.

Ronald S. Bultje rsbultje at gmail.com
Tue Apr 26 20:41:19 CEST 2016


Hi,

On Tue, Apr 26, 2016 at 2:17 PM, Derek Buitenhuis <
derek.buitenhuis at gmail.com> wrote:

> On 4/26/2016 5:41 PM, Ronald S. Bultje wrote:
> > ---
> >  doc/filters.texi                     |  13 ++++
> >  libavfilter/colorspacedsp.c          |   9 +++
> >  libavfilter/colorspacedsp.h          |   6 ++
> >  libavfilter/colorspacedsp_template.c | 128
> +++++++++++++++++++++++++++++++++++
> >  libavfilter/vf_colorspace.c          |  53 ++++++++++++++-
> >  5 files changed, 207 insertions(+), 2 deletions(-)
>
> This seems like a good enough place to ask this:
>
> [19:15] < Daemon404> wm4, can you perhaps enlighten me on what
> vf_colorspace is
> [19:15] < Daemon404> does it replace swscale, or colormatrix
> [19:15] < Daemon404> or both
> [19:16] < Daemon404> or parts of each but not totally
> [19:16] < Daemon404> or what
> [19:16] < wm4> that's a very good question
>
> I'm really not clear.


It initially replaces colormatrix.

Eventually, as some people have suggested, I'd really like if it could also
do the full scaling (i.e. merge functionality with swscale's, similar to
zscale or so). But that's quite far off. See the wiki.

Ronald


More information about the ffmpeg-devel mailing list