[FFmpeg-devel] [PATCH] sws: Move yuv2rgb cliping into the tables.
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Tue Jan 10 21:02:03 CET 2012
On Tue, Jan 10, 2012 at 08:57:29PM +0100, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
> libswscale/swscale.c | 31 +++++++++++++++----------------
> libswscale/swscale_internal.h | 10 ++++++----
> libswscale/yuv2rgb.c | 22 ++++++++++------------
> 3 files changed, 31 insertions(+), 32 deletions(-)
Looks good to me.
I'm not that convinced if/how much faster it will be on CPUs with small
caches, it doubles the size of the tables after all.
More information about the ffmpeg-devel
mailing list