[FFmpeg-devel] [PATCH] hardcode motionpixels.c mp_rgb_yuv_table

Michael Niedermayer michaelni
Sun Nov 1 18:50:14 CET 2009

On Wed, Oct 28, 2009 at 08:30:01PM +0100, Reimar D?ffinger wrote:
> Hello,
> another rather large (ca. 90 kB) table for an obscure format.
> Unfortunately I do not know the details of this format and if this table
> has to be exact.

I think it has to be exact but this should be easy to test, just add 1 to
all entries and see if this works or not

> This would be interesting since using a matrix-vector-multiplication it
> seem only to be possible to come within +-3 of the values in this table,
> so if it has to be exact there is not really a (decently performant)
> way to avoid the table completely.

The table could be made smaller ...
also i dont think you have a formal proof that there is no decently
performant solution withot a big table :)
But if you do, iam curious ...

ill look at the patch later ...

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Those who are too smart to engage in politics are punished by being
governed by those who are dumber. -- Plato 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20091101/375741f2/attachment.pgp>

More information about the ffmpeg-devel mailing list