diff options
author | ramiro <ramiro@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-12-21 01:34:45 +0000 |
---|---|---|
committer | ramiro <ramiro@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-12-21 01:34:45 +0000 |
commit | 342009a438caf531ba6d5ecd67ececf04910f8c4 (patch) | |
tree | 2b6f4658aa2dff16a03e3037be60a1a109fdf912 /libswscale/swscale_internal.h | |
parent | 779c4a0df59fa842868f92a1e076fb87e25fcf5f (diff) | |
download | mpv-342009a438caf531ba6d5ecd67ececf04910f8c4.tar.bz2 mpv-342009a438caf531ba6d5ecd67ececf04910f8c4.tar.xz |
Check if chroma horizontal scaler is needed in sws_init_swScale().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30096 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r-- | libswscale/swscale_internal.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index f60ffb0a11..eb73fa6dae 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -279,6 +279,8 @@ typedef struct SwsContext { 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. + int needs_hcscale; ///< Set if there are chroma planes to be converted. + } SwsContext; //FIXME check init (where 0) |