[FFmpeg-devel] lavfi state of affairs

Kostya kostya.shishkov
Sun Feb 8 16:01:56 CET 2009


On Sun, Feb 08, 2009 at 12:57:43PM +0100, Michael Niedermayer wrote:
> On Sun, Feb 08, 2009 at 01:31:48PM +0200, Kostya wrote:
[...]
> 
> > Index: yuv2rgb.c
> > ===================================================================
> > --- yuv2rgb.c	(revision 28473)
> > +++ yuv2rgb.c	(working copy)
> 
> yuv2rgb.c is under gpl, please put the code somewhere else unlessyou
> replace the whole file

Eventually it will. That's just for testing since it supports only RGB24
generation for now (other bitdepths differ in tables).

> [...]
> > +int my_yuv2rgb_c_init_tables (SwsContext *c, const int inv_table[4], int fullRange, int brightness, int contrast, int saturation)
> > +{
> > +    /*const int isRgb =      c->dstFormat==PIX_FMT_RGB32
> > +                        || c->dstFormat==PIX_FMT_RGB32_1
> > +                        || c->dstFormat==PIX_FMT_BGR24
> > +                        || c->dstFormat==PIX_FMT_RGB565
> > +                        || c->dstFormat==PIX_FMT_RGB555
> > +                        || c->dstFormat==PIX_FMT_RGB8
> > +                        || c->dstFormat==PIX_FMT_RGB4
> > +                        || c->dstFormat==PIX_FMT_RGB4_BYTE
> > +                        || c->dstFormat==PIX_FMT_MONOBLACK;*/
> 
> well ...

Reserved for future use ;)
Remember, that's proof of a concept, not a final version.
 
> [...]
> -- 
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB




More information about the ffmpeg-devel mailing list