diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-12-20 16:32:58 +0000 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-12-20 16:32:58 +0000 |
commit | bae76dc3eb6e5cd07f5881092d375ddc0270f693 (patch) | |
tree | 09233df8302ddc72d1a330f6d55a241d16e145d9 /libswscale/swscale_internal.h | |
parent | c1977fbbd7d1e7825010e301fa236e910b760aab (diff) | |
download | ffmpeg-bae76dc3eb6e5cd07f5881092d375ddc0270f693.tar.gz |
Set horizontal scaler's range conversion in context in sws_init_swScale().
Originally committed as revision 30082 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r-- | libswscale/swscale_internal.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 9a125f72c2..af6dc1ef2e 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -273,6 +273,9 @@ typedef struct SwsContext { int xInc, const int16_t *filter, const int16_t *filterPos, long filterSize); + void (*lumConvertRange)(uint16_t *dst, int width); ///< Color range conversion function for luma plane if needed. + void (*chrConvertRange)(uint16_t *dst, int width); ///< Color range conversion function for chroma planes if needed. + 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. |