[MPlayer-dev-eng] swscaler - any chance of rgb8 output?

Michael Niedermayer michaelni at gmx.at
Mon Oct 14 00:02:03 CEST 2002


Hi

On Monday 14 October 2002 00:17, Arpi wrote:
> Hi,
>
> > > the other way would be adding rgb/bgr8 input and yuy2 output support to
> > > swscaler. so it could do things like yv12->yuy2 upscaling or rgb8->yv12
> > > in single step... any volunteers?
> >
> > I'll try it.  Also, how about adding paletted output for swscale?
>
> afaik it already can output to 8bpp, 4bpp and 1bpp, dithered.
> but it doesn't optimize pelatte for each frame, instead it uses 3/2/3 bit
> rgb palette and strong dithering. maybe adding different dithering methods
> (various grid sizes, floyd-steinberg etc) is nice (but very useless...)
> idea.
i did add fs dither for 1-bit, its outcommented as it flickers like hell on my 
TFT screen :(

btw, i thought about improving the dither & palette stuff too but imho its 
just wasted time, allthough i will happily accept patches :)

[...]

Michael



More information about the MPlayer-dev-eng mailing list