[FFmpeg-devel] [PATCH] Explicit palette parameter in SwsFunc

Luca Barbato lu_zero
Sun Sep 7 18:14:34 CEST 2008

Right now the palette (an array of 256 uint32) is passed as pointer in 
the second uint8_t *src[]; element.

I'd make it an explicit parameter to avoid unnecessary casts.

The following patch does more or less that for the internals, the API is 



Luca Barbato
Gentoo Council Member
Gentoo/linux Gentoo/PPC

-------------- next part --------------
A non-text attachment was scrubbed...
Name: swscale_explicit_palette_internal.diff
Type: text/x-patch
Size: 5419 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080907/a2ef16d6/attachment.bin>

More information about the ffmpeg-devel mailing list