[FFmpeg-devel] [PATCH] Add colorspace properties to pixdesc

Stefano Sabatini stefano.sabatini-lala
Thu Apr 30 01:49:20 CEST 2009


this seems required for colorutils.c, just a preliminary patch though.

In order to convert a color from one pixfmt to another one I need to
know the colorspace, then I should be able to apply the correct macro
from libavcodec/colorspace.h.

Then I'll need to eventually scale each component value, and finally
assign it to the correct component (for this I need the AVComponent

I'm not sure this is the rigth approach, so before to fill the
pixdesc.c table I'd like to hear your opinion.

FFmpeg = Faboulous and Foolish Muttering Plastic Extroverse Gadget
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pixdesc-add-colorspace.patch
Type: text/x-diff
Size: 1616 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090430/67e29683/attachment.patch>

More information about the ffmpeg-devel mailing list