aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale/swscale_internal.h
diff options
context:
space:
mode:
authorCédric Schieli <cschieli@gmail.com>2009-03-20 14:15:14 +0000
committerCédric Schieli <cschieli@gmail.com>2009-03-20 14:15:14 +0000
commit6858492e6c3cba8b616baf54c809038e379317d8 (patch)
tree62344af8683cd8a8ab08be38548a3147e372f89b /libswscale/swscale_internal.h
parent3acd545f0c847d94bd3a6442c48fb86b19661212 (diff)
downloadffmpeg-6858492e6c3cba8b616baf54c809038e379317d8.tar.gz
Add alpha channel scaling
Originally committed as revision 29011 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r--libswscale/swscale_internal.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index ca1528e0f1..7e385da93f 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -87,6 +87,7 @@ typedef struct SwsContext{
int16_t **lumPixBuf;
int16_t **chrPixBuf;
+ int16_t **alpPixBuf;
int16_t *hLumFilter;
int16_t *hLumFilterPos;
int16_t *hChrFilter;
@@ -156,6 +157,8 @@ typedef struct SwsContext{
#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 @@ typedef struct SwsContext{
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