summaryrefslogtreecommitdiffstats
path: root/libswscale/swscale_internal.h
diff options
context:
space:
mode:
authorramiro <ramiro@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-20 16:21:25 +0000
committerramiro <ramiro@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-12-20 16:21:25 +0000
commit08f9e35211ec53e2ff44844e2a84459079e88779 (patch)
tree0d6398a4aae2c6f8c1e9579890eb1803ac67dabc /libswscale/swscale_internal.h
parent884849df53cecf93115d094b95aa01fc2b76b558 (diff)
downloadmpv-08f9e35211ec53e2ff44844e2a84459079e88779.tar.bz2
mpv-08f9e35211ec53e2ff44844e2a84459079e88779.tar.xz
Set horizontal scaler's src offsets in context in sws_init_swScale().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30081 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r--libswscale/swscale_internal.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index ec696e932d..9a125f72c2 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -273,6 +273,10 @@ typedef struct SwsContext {
int xInc, const int16_t *filter, const int16_t *filterPos,
long filterSize);
+ int lumSrcOffset; ///< Offset given to luma src pointers passed to horizontal input functions.
+ int chrSrcOffset; ///< Offset given to chroma src pointers passed to horizontal input functions.
+ int alpSrcOffset; ///< Offset given to alpha src pointers passed to horizontal input functions.
+
} SwsContext;
//FIXME check init (where 0)