summaryrefslogtreecommitdiffstats
path: root/postproc/swscale_internal.h
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-10-15 11:21:54 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-10-15 11:21:54 +0000
commitf9bb7a21e57d481ddeea4d27919ac37c7ea32bd1 (patch)
treed054bc1f671901f89b5a5e79dc5a46c2b6210bfb /postproc/swscale_internal.h
parentd8a1591ba4755749ca7196f9fcb00341832857cd (diff)
downloadmpv-f9bb7a21e57d481ddeea4d27919ac37c7ea32bd1.tar.bz2
mpv-f9bb7a21e57d481ddeea4d27919ac37c7ea32bd1.tar.xz
rounding fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11123 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc/swscale_internal.h')
-rw-r--r--postproc/swscale_internal.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/postproc/swscale_internal.h b/postproc/swscale_internal.h
index 606d8a173a..a7989e0366 100644
--- a/postproc/swscale_internal.h
+++ b/postproc/swscale_internal.h
@@ -109,10 +109,11 @@ typedef struct SwsContext{
#define Y_OFFSET "8*8"
#define U_OFFSET "9*8"
#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"
+#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"
uint64_t redDither __attribute__((aligned(8)));
uint64_t greenDither __attribute__((aligned(8)));
@@ -126,6 +127,7 @@ 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;