diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-12-20 16:21:25 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-12-20 16:21:25 +0000 |
commit | 84011f10d5f547d18bedfdd95130421c98898291 (patch) | |
tree | 32ac3e077b041fcc0c7109b0370f826afab9abfd /libswscale/swscale_internal.h | |
parent | cb39768960dacda0670486dc0da6ff71349995a6 (diff) | |
download | ffmpeg-84011f10d5f547d18bedfdd95130421c98898291.tar.gz |
Set horizontal scaler's src offsets in context in sws_init_swScale().
Originally committed as revision 30081 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r-- | libswscale/swscale_internal.h | 4 |
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) |