[MPlayer-dev-eng] [PATCH] (bit hackish) palette support for libav*

Diego Biurrun diego at biurrun.de
Mon Jan 29 18:07:41 CET 2007


On Mon, Jan 29, 2007 at 05:52:54PM +0100, Michael Niedermayer wrote:
> 
> On Mon, Jan 29, 2007 at 02:34:19PM +0100, Reimar Doeffinger wrote:
> > attached patch fixes e.g.
> > http://samples.mplayerhq.hu/V-codecs/KMVC/AIRSTRKE.AVI on big-endian
> > and
> > http://samples.mplayerhq.hu/game-formats/interplay-mve/baldursgate-camp.mve
> > in general.

I can confirm this fixes those samples and a host of others.

> > Does it seems clean enough for you to be applied as-is (and yes, I
> > noticed AVPaletteControl is deprecated and the later file probably
> > should preferably be fixed in libavformat/libavcodec directly).
> 
> i refuse to accept any patch which depends on deprecated things
> as this only increases the work for whoever removes AVPaletteControl

IIUC your ideal fix involves adding 8 bit palette support to libswscale.
Replacing imgformat with libswscale requires libswscale to be on par
feature-wise, otherwise this will never move forward.  The GPL vs LGPL
still remains, but it's a separate issue.

The last time this subject came up you said you would implement 8 bit
palette support if there was no other volunteer.  I don't see any other
volunteer ;-p

Diego




More information about the MPlayer-dev-eng mailing list