summaryrefslogtreecommitdiffstats
path: root/postproc/swscale.h
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-13 18:24:33 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-02-13 18:24:33 +0000
commitfdbb1881f58564a35aa39a8e51c2113bc88d82f6 (patch)
tree81d59ef2691b3898671420b447fb6b88cffc2380 /postproc/swscale.h
parent04360970510aa1fb5ba3ec1914f216ae4bee7574 (diff)
downloadmpv-fdbb1881f58564a35aa39a8e51c2113bc88d82f6.tar.bz2
mpv-fdbb1881f58564a35aa39a8e51c2113bc88d82f6.tar.xz
cleanup
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9415 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc/swscale.h')
-rw-r--r--postproc/swscale.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/postproc/swscale.h b/postproc/swscale.h
index a03927cd57..1e98919d12 100644
--- a/postproc/swscale.h
+++ b/postproc/swscale.h
@@ -50,7 +50,7 @@
/* this struct should be aligned on at least 32-byte boundary */
typedef struct SwsContext{
- int srcW, srcH, dstW, dstH;
+ int srcW, srcH, dstH;
int chrSrcW, chrSrcH, chrDstW, chrDstH;
int lumXInc, chrXInc;
int lumYInc, chrYInc;
@@ -117,6 +117,8 @@ typedef struct SwsContext{
#define V_OFFSET "10*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"
+#define ESP_OFFSET "11*8+4*4*256*2+4"
uint64_t redDither __attribute__((aligned(8)));
uint64_t greenDither __attribute__((aligned(8)));
@@ -132,7 +134,8 @@ typedef struct SwsContext{
uint64_t vOffset __attribute__((aligned(8)));
int32_t lumMmxFilter[4*MAX_FILTER_SIZE];
int32_t chrMmxFilter[4*MAX_FILTER_SIZE];
-
+ int dstW;
+ int esp;
} SwsContext;
//FIXME check init (where 0)
//FIXME split private & public