[FFmpeg-devel] [PATCH] Use larger tables for yuv > 8 bit to RGB conversion.

Michael Niedermayer michaelni at gmx.at
Sat Nov 9 23:43:33 CET 2013

On Sat, Nov 09, 2013 at 08:59:46PM +0100, Reimar Döffinger wrote:
> This should allow for fairly precise YUV16 to RGB48 conversion
> for example.

> However I believe that this specific implementation is not as accurate
> as it could/should be, i.e. the table generation might be buggy.

yes, seems so
-vf format=yuv420p12,scale,format=rgb4_byte
-vf format=gbrp12le,scale=flags=1,format=rgb4_byte
breaks totally for example

> In addition it make the scaled yuv->rgb slightly slower, though also
> more precise for 9 and 10 bit.

> Still not sure it is a good idea.

neither am i, but it seems more buggy than the shift
implementation ATM

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20131109/57d495b0/attachment.asc>

More information about the ffmpeg-devel mailing list