summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale_internal.h
diff options
context:
space:
mode:
authorsdrik <sdrik@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-20 14:15:14 +0000
committersdrik <sdrik@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-03-20 14:15:14 +0000
commit57fda37dbb84b6858b90e99a7d4ec9314d134fc7 (patch)
tree1b21f420439b066e62d7b3687d700d585a3e6c4c /libswscale/swscale_internal.h
parent6667f198c24c8cd20269c95e72210f73f93cf546 (diff)
downloadmpv-57fda37dbb84b6858b90e99a7d4ec9314d134fc7.tar.bz2
mpv-57fda37dbb84b6858b90e99a7d4ec9314d134fc7.tar.xz
Add alpha channel scaling
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29011 b3059339-0415-0410-9bf9-f77b7e298cf2
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