[Ffmpeg-devel] Adding support for YUVJ formats in libswscale

Luca Abeni lucabe72
Wed Sep 20 17:27:40 CEST 2006


Hi Michael,

On Tue, 2006-09-19 at 01:48 +0200, Michael Niedermayer wrote:
[...]
> > The attached patch adds swscale support for the YUVJ formats by properly
> > (I hope :) setting srcRange and dstRange in sws_setColorspaceDetails().
> 
> looks ok
> 
> 
> > 
> > I verified that after applying the patch sws_getContext() does not fail
> > when asked to convert from/to YUVJ formats, and that it does not
> > segfault, but I do not know how to check if the conversion is right (I
> > cannot see the difference between YUV420P and YUVJ420P :). Maybe someone
> > more skilled than me can check if the conversion is done properly.
> 
> looking at some grayscale gradient (with some tool which show the rgb values)
> might be usefull, but simply commiting it is perfectly fine too, if its
> buggy someone will send a bugreport
Ok; if noone complains, I'll commit the patch after figuring out the
problem experienced by V?ctor.


			Thanks,
				Luca
-- 
_____________________________________________________________________________
Copy this in your signature, if you think it is important:
                               N O    W A R ! ! !





More information about the ffmpeg-devel mailing list