[MPlayer-dev-eng] [PATCH] pc2tv/tv2pc conversion

Nico Sabbi nsabbi at tiscali.it
Fri Jul 9 08:58:33 CEST 2004


Il gio, 2004-07-08 alle 02:36, Michael Niedermayer ha scritto:

> btw, ideally the code should do some dithering instead of rounding each sample 
> to the nearest color, because this introduces systematically duplicate / 
> missing colors, which is vissible if the gamma correction is broken for 
> example
> 
> [...]

I fixed the bug that produced those funny pc2tv tables; new patch and 
code attached


I don't understand the dithering code in vf_spp.c and I'm unable to read
asm, so I'll leave that task to better brains :)

	Nico



-------------- next part --------------
A non-text attachment was scrubbed...
Name: vf_yuvcsp.diff
Type: text/x-patch
Size: 9405 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040709/0f3bb5e1/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CCIR601.c
Type: text/x-c
Size: 1572 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20040709/0f3bb5e1/attachment-0001.bin>


More information about the MPlayer-dev-eng mailing list