[FFmpeg-devel] [PATCH] pixdesc: put components always in the same order.

Nicolas George nicolas.george at normalesup.org
Wed Mar 21 19:38:52 CET 2012


Le nonidi 29 ventôse, an CCXX, Stefano Sabatini a écrit :
> It looks a good idea to me, and no from what I know current code never
> assumes the order of component colors so there should be no
> regression, but wait a comment from Michael.
> 
> I just note that originally pixdesc was designed to be colorspace
> independent, now with the RGB flag things are getting a bit different
> (for example what about YUV/YUVJ? - this would almost allow to kill
> lavc/imgconvert).
> 
> Also a pixdesc -> component ranges function would be useful in various
> places.

We have such auxiliary functions about all over the place, unifying them
would be good. Maybe, if drawutils becomes in good shape enough and stable,
it could be sometime moved to lavu.

> This is changing the definition, so you need to bump micro or minor
> version.

I added a minor bump and pushed.

Thanks for both your comments.

Regards,

-- 
  Nicolas George
-------------- 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/20120321/b6726d8a/attachment.asc>


More information about the ffmpeg-devel mailing list