diff options
author | Ramiro Polla <ramiro.polla@gmail.com> | 2009-12-21 04:34:45 +0300 |
---|---|---|
committer | Ramiro Polla <ramiro.polla@gmail.com> | 2009-12-21 04:34:45 +0300 |
commit | e7a47515abbcf2c8a07c280ea3d04129fc3aaaf6 (patch) | |
tree | 9945e408dd0a11865f4baed2f11751fabd82433b /libswscale/swscale_internal.h | |
parent | 6f9771d7a67e1ecef0eee1a38fafb080b7641387 (diff) |
Check if chroma horizontal scaler is needed in sws_init_swScale().
Originally committed as revision 30096 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
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) |