Move the v{Y,C}CoeffsBank vectors into the SwsContext, filling them in just
authorAlan Curry <pacman@world.std.com>
Sat, 11 Feb 2006 14:16:10 +0000 (14:16 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 11 Feb 2006 14:16:10 +0000 (14:16 +0000)
commitd33d485e83e02ed7f367ee543592b053d45c62fc
tree34ea4626f4becfe9df4c19837e8958fa361838c2
parentc9fa86df9d47ac9e2e89c4d83303d5aa00bde4bd
Move the v{Y,C}CoeffsBank vectors into the SwsContext, filling them in just
once when the scaler is initialized, instead of building them and freeing
them over and over. This gives massive performance improvements.
patch by Alan Curry, pacman*at*TheWorld*dot*com

Originally committed as revision 17589 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
postproc/swscale.c
postproc/swscale_internal.h
postproc/yuv2rgb_altivec.c