[MPlayer-dev-eng] wishlist again

Joey Parrish joey at nicewarrior.org
Tue May 27 18:55:40 CEST 2003


On Mon, May 26, 2003 at 07:01:45PM -0400, D Richard Felker III wrote:
> > If everyone agree, we could change the codecs to output something 
> > non-palettized like BGR15 or BGR16, or even BGR24/32 to have a lossless 
> > conversion.
> > IIRC all palettized codec are available also as native codecs (msv1, 
> > cinepak, qtrle, msrle, fli, smc, gif, ...). Do you know of any 
> > binary-only decoder that only has palettized output?
> > The only bad side of this solution is that dithering is required if you 
> > use a palettized vo, while now it can be avoided.
> 
> No, this is dumb, for 2 reasons:
> 
> 1, it's ugly -- duplicating conversion code in all the codecs rather
> than just once in vf_scale.
> 
> 2, it's slow!!! If the vo can display palette-based video, it's much
> faster just to support that. But also, palletized rgb8->yuv conversion
> is a LOT faster than rgb8->rgb24->yuv!!! (Just convert the palette,
> not every pixel!) Each codec could individually handle yuv output, but
> this would be even more ugly bloat where it doesn't belong...

Okay, so:
1) which vo's support paletted input (and be careful, as some IIRC just
create their own bullshit palette and ignore the palette plane)
2) where is the rgb8+pal to yuv support in vf_scale?



More information about the MPlayer-dev-eng mailing list