diff postproc/swscale_internal.h @ 17588:79081ba52e00

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
author diego
date Sat, 11 Feb 2006 14:16:10 +0000
parents 401b440a6d76
children dfef33ea6ddc
line wrap: on
line diff
--- a/postproc/swscale_internal.h	Sat Feb 11 13:42:54 2006 +0000
+++ b/postproc/swscale_internal.h	Sat Feb 11 14:16:10 2006 +0000
@@ -154,6 +154,7 @@
   vector signed short   CGV;
   vector signed short   OY;
   vector unsigned short CSHIFT;
+  vector signed short *vYCoeffsBank, *vCCoeffsBank;
 
 #endif