Mercurial > mplayer.hg
diff libswscale/swscale_internal.h @ 30039:3b0026eb9c4d
Set horizontal scaler's src offsets in context in sws_init_swScale().
author | ramiro |
---|---|
date | Sun, 20 Dec 2009 16:21:25 +0000 |
parents | ff34398b14b1 |
children | 79adcc3e4e83 |
line wrap: on
line diff
--- a/libswscale/swscale_internal.h Sun Dec 20 15:16:34 2009 +0000 +++ b/libswscale/swscale_internal.h Sun Dec 20 16:21:25 2009 +0000 @@ -273,6 +273,10 @@ 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)