summaryrefslogtreecommitdiff
path: root/postproc
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2006-05-07 18:14:49 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2006-05-07 18:14:49 +0000
commit902c748ce5c6655db3dca291db9f9c890ac01bcb (patch)
tree467fea7b4d9e78bb341c82710213aa7c76aba8f3 /postproc
parent8d39d67a789f1695d4db6cd4845ec4920336437e (diff)
change the type of esp in SwsContext to uint64_t so it can hold a full register
also on 64 bit systems. Originally committed as revision 18401 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc')
-rw-r--r--postproc/swscale_internal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/postproc/swscale_internal.h b/postproc/swscale_internal.h
index b4e1dbeea1..5bccd62b6e 100644
--- a/postproc/swscale_internal.h
+++ b/postproc/swscale_internal.h
@@ -124,8 +124,8 @@ typedef struct SwsContext{
#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"
+#define ESP_OFFSET "11*8+4*4*256*2+8"
+#define VROUNDER_OFFSET "11*8+4*4*256*2+16"
uint64_t redDither __attribute__((aligned(8)));
uint64_t greenDither __attribute__((aligned(8)));
@@ -142,7 +142,7 @@ typedef struct SwsContext{
int32_t lumMmxFilter[4*MAX_FILTER_SIZE];
int32_t chrMmxFilter[4*MAX_FILTER_SIZE];
int dstW;
- int esp;
+ uint64_t esp __attribute__((aligned(8)));
uint64_t vRounder __attribute__((aligned(8)));
#ifdef HAVE_ALTIVEC