Mercurial > mplayer.hg
diff libswscale/swscale_internal.h @ 28976:602c77c53923
Add alpha channel scaling
author | sdrik |
---|---|
date | Fri, 20 Mar 2009 14:15:14 +0000 |
parents | 1e56ea9937ce |
children | f8db50af4035 |
line wrap: on
line diff
--- a/libswscale/swscale_internal.h Fri Mar 20 14:14:28 2009 +0000 +++ b/libswscale/swscale_internal.h Fri Mar 20 14:15:14 2009 +0000 @@ -87,6 +87,7 @@ int16_t **lumPixBuf; int16_t **chrPixBuf; + int16_t **alpPixBuf; int16_t *hLumFilter; int16_t *hLumFilterPos; int16_t *hChrFilter; @@ -156,6 +157,8 @@ #define VROUNDER_OFFSET "11*8+4*4*256*2+16" #define U_TEMP "11*8+4*4*256*2+24" #define V_TEMP "11*8+4*4*256*2+32" +#define Y_TEMP "11*8+4*4*256*2+40" +#define ALP_MMX_FILTER_OFFSET "11*8+4*4*256*2+48" uint64_t redDither __attribute__((aligned(8))); uint64_t greenDither __attribute__((aligned(8))); @@ -176,6 +179,8 @@ uint64_t vRounder __attribute__((aligned(8))); uint64_t u_temp __attribute__((aligned(8))); uint64_t v_temp __attribute__((aligned(8))); + uint64_t y_temp __attribute__((aligned(8))); + int32_t alpMmxFilter[4*MAX_FILTER_SIZE]; #if HAVE_ALTIVEC