diff options
author | Alan Curry <pacman@world.std.com> | 2006-02-11 17:16:10 +0300 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2006-02-11 17:16:10 +0300 |
commit | d33d485e83e02ed7f367ee543592b053d45c62fc (patch) | |
tree | 34ea4626f4becfe9df4c19837e8958fa361838c2 /postproc/swscale_internal.h | |
parent | c9fa86df9d47ac9e2e89c4d83303d5aa00bde4bd (diff) |
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
Diffstat (limited to 'postproc/swscale_internal.h')
-rw-r--r-- | postproc/swscale_internal.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/postproc/swscale_internal.h b/postproc/swscale_internal.h index c6611da509..b4e1dbeea1 100644 --- a/postproc/swscale_internal.h +++ b/postproc/swscale_internal.h @@ -154,6 +154,7 @@ typedef struct SwsContext{ vector signed short CGV; vector signed short OY; vector unsigned short CSHIFT; + vector signed short *vYCoeffsBank, *vCCoeffsBank; #endif |