[FFmpeg-devel] [PATCH] avfilter/vf_scale: allow overriding in/out yuv colorspace type

Michael Niedermayer michaelni at gmx.at
Fri Jul 12 12:25:20 CEST 2013


On Fri, Jul 12, 2013 at 10:26:28AM +0200, wm4 wrote:
> On Fri, 12 Jul 2013 00:52:08 +0200
> Michael Niedermayer <michaelni at gmx.at> wrote:
> 
> > Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> > ---
> >  doc/filters.texi       |   15 +++++++++++++++
> >  libavfilter/vf_scale.c |   44
> > ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 59
> > insertions(+)
> > 
> > diff --git a/doc/filters.texi b/doc/filters.texi
> > index 92f8612..5f6e11b 100644
> > --- a/doc/filters.texi
> > +++ b/doc/filters.texi
> > @@ -6201,6 +6201,21 @@ applies a bilinear scaling algorithm.
> >  @item size, s
> >  Set the video size, the value must be a valid abbreviation or in the
> >  form @var{width}x at var{height}.
> > +
> > + at item inyuvtype
> > + at item outyuvtype
> > +In/Output YCbCr colorspace type
> > + at table @option
> > + at item jpeg
> > +Full 0-255 jpeg style
> > +
> > + at item 709
> > +ITU Rec BT709
> > +
> > + at item 601
> > +ITU Rec BT601
> > + at end table
> > +
> >  @end table
> 
> That's nice an all, but shouldn't it use the values as indicated by the
> decoder by default?

yes, a patch passing the matrix type from the decoders through the filter
framework to the scale filter is welcome!
the jpeg/full range is (already) passed as part of the pixe format

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

DNS cache poisoning attacks, popular search engine, Google internet authority
dont be evil, please
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130712/93fa30d2/attachment.asc>


More information about the ffmpeg-devel mailing list