[FFmpeg-devel] [RFC] Scalar color conversion utils (colorutils.[hc])?

Stefano Sabatini stefano.sabatini-lala
Sun May 3 15:42:04 CEST 2009


On date Saturday 2009-05-02 22:11:42 +0200, Michael Niedermayer encoded:
> On Sat, May 02, 2009 at 09:37:09PM +0200, Stefano Sabatini wrote:
> > On date Saturday 2009-05-02 18:45:49 +0200, Michael Niedermayer encoded:
[...]
> > > Once lavfi is merged this could be revissited but we surely wont combine
> > > the string parsing with colorspace convertion because frankly that is
> > > unflexible.
> > 
> > Would be:
> > int av_parse_color(uint16_t *rgba_color, const char *color_string, void *log_ctx);
> > 
> > an acceptable solution?
> 
> this looks better

Patch updated (as usage example I'm going to post an updated version
of the RGBA source).

Regards.
-- 
FFmpeg = Fierce and Faithless Marvellous Portable Ecstatic Gadget
-------------- next part --------------
A non-text attachment was scrubbed...
Name: implement-colorutils.patch
Type: text/x-diff
Size: 13505 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090503/d3836787/attachment.patch>



More information about the ffmpeg-devel mailing list