summaryrefslogtreecommitdiffstats
path: root/postproc
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-11-03 02:19:57 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-11-03 02:19:57 +0000
commitf3744ed25cdd405b39a6534374bfe28b50e18d08 (patch)
tree7ef2b1eedeecf0aa4852c6cfcd7fd4bc09e88193 /postproc
parent9eee03e4eb7a9808d87f294305f8948fe1db559d (diff)
downloadmpv-f3744ed25cdd405b39a6534374bfe28b50e18d08.tar.bz2
mpv-f3744ed25cdd405b39a6534374bfe28b50e18d08.tar.xz
10l (forgot that the dstW offset is hardcoded in the asm)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11369 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc')
-rw-r--r--postproc/swscale_internal.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/postproc/swscale_internal.h b/postproc/swscale_internal.h
index a7989e0366..63cc9cd8d8 100644
--- a/postproc/swscale_internal.h
+++ b/postproc/swscale_internal.h
@@ -109,11 +109,11 @@ typedef struct SwsContext{
#define Y_OFFSET "8*8"
#define U_OFFSET "9*8"
#define V_OFFSET "10*8"
-#define VROUNDER_OFFSET "11*8"
-#define LUM_MMX_FILTER_OFFSET "12*8"
-#define CHR_MMX_FILTER_OFFSET "12*8+4*4*256"
-#define DSTW_OFFSET "12*8+4*4*256*2"
-#define ESP_OFFSET "12*8+4*4*256*2+4"
+#define LUM_MMX_FILTER_OFFSET "11*8"
+#define CHR_MMX_FILTER_OFFSET "11*8+4*4*256"
+#define DSTW_OFFSET "11*8+4*4*256*2" //do not change, its hardcoded in the asm
+#define ESP_OFFSET "11*8+4*4*256*2+4"
+#define VROUNDER_OFFSET "11*8+4*4*256*2+8"
uint64_t redDither __attribute__((aligned(8)));
uint64_t greenDither __attribute__((aligned(8)));
@@ -127,11 +127,11 @@ typedef struct SwsContext{
uint64_t yOffset __attribute__((aligned(8)));
uint64_t uOffset __attribute__((aligned(8)));
uint64_t vOffset __attribute__((aligned(8)));
- uint64_t vRounder __attribute__((aligned(8)));
int32_t lumMmxFilter[4*MAX_FILTER_SIZE];
int32_t chrMmxFilter[4*MAX_FILTER_SIZE];
int dstW;
int esp;
+ uint64_t vRounder __attribute__((aligned(8)));
} SwsContext;
//FIXME check init (where 0)