[Ffmpeg-devel] [PATCH] drawtext.c: 03 use fixed point in color conversion

Rich Felker dalias
Mon Sep 11 05:33:13 CEST 2006


On Sun, Sep 10, 2006 at 08:13:44PM +0100, M?ns Rullg?rd wrote:
> "Gustavo Sverzut Barbieri" <barbieri at gmail.com> writes:
> 
> > On 9/10/06, M?ns Rullg?rd <mru at inprovide.com> wrote:
> >> "Gustavo Sverzut Barbieri" <barbieri at gmail.com> writes:
> >>
> >> > This does fixed point conversion from RGB to YUV, as suggested here before.
> >>
> >> Are there not colorspace conversion functions elsewhere already?
> >
> > This code is copied from libavcodec/imgconvert.c, I couldn't find it
> > anywhere I could just include and use.
> 
> Rather than blindly replicate code all over the place, it is better to
> propose exporting such functionality when a need for it is seen.

There might be some issues with dynamic linking and availability of
symbols from the main program...?

Rich





More information about the ffmpeg-devel mailing list