[FFmpeg-devel] [PATCH] swscale: treat gray as a jpeg style format

Michael Niedermayer michaelni at gmx.at
Sat Jul 6 15:01:28 CEST 2013


On Sat, Jul 06, 2013 at 02:54:21PM +0200, wm4 wrote:
> On Sat, 6 Jul 2013 13:46:34 +0200
> Michael Niedermayer <michaelni at gmx.at> wrote:
> 
> > > Maybe I'm missing something, but isn't the range supposed to be
> > > controlled by the parameters passed to sws_setColorspaceDetails?
> > 
> > yes, does this patch break that somehow ?
> > or am i misunderstanding what you meant ?
> 

> As far as I can tell it never worked, and it was hardcoded to use
> limited range. So if your patch works as advertised, it would be more
> correct in some cases.

how can this be reproduced ?


> 
> IMO it should still respect sws_setColorspaceDetails, because a GRAY8
> image could be the Y plane extracted from a yuv420p image, which would
> require treating it as limited range.

that should work, but probably wasnt tested by any fate test

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

If you think the mosad wants you dead since a long time then you are either
wrong or dead since a long time.
-------------- 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/20130706/59bb7e12/attachment.asc>


More information about the ffmpeg-devel mailing list