[Mplayer-cvslog] CVS: main/postproc swscale_internal.h,1.6,1.7
Michael Niedermayer CVS
michael at mplayerhq.hu
Mon Nov 3 03:20:55 CET 2003
Update of /cvsroot/mplayer/main/postproc
In directory mail:/var/tmp.root/cvs-serv21594
Modified Files:
swscale_internal.h
Log Message:
10l (forgot that the dstW offset is hardcoded in the asm)
Index: swscale_internal.h
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/swscale_internal.h,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- swscale_internal.h 15 Oct 2003 11:21:54 -0000 1.6
+++ swscale_internal.h 3 Nov 2003 02:19:57 -0000 1.7
@@ -109,11 +109,11 @@
#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 @@
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)
More information about the MPlayer-cvslog
mailing list