# HG changeset patch # User reimar # Date 1147025689 0 # Node ID dfef33ea6ddcdefdae8fc84ba327998bbf2c21c2 # Parent 8a8db87a884b07d1c581d94bc2cae3a51b96ec1b change the type of esp in SwsContext to uint64_t so it can hold a full register also on 64 bit systems. diff -r 8a8db87a884b -r dfef33ea6ddc postproc/swscale_internal.h --- a/postproc/swscale_internal.h Sun May 07 16:21:13 2006 +0000 +++ b/postproc/swscale_internal.h Sun May 07 18:14:49 2006 +0000 @@ -124,8 +124,8 @@ #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 @@ 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