diff libswscale/swscale_internal.h @ 30054:67e244d32f1c

Check if chroma horizontal scaler is needed in sws_init_swScale().
author ramiro
date Mon, 21 Dec 2009 01:34:45 +0000
parents ea27997a3635
children 4c712237a601
line wrap: on
line diff
--- a/libswscale/swscale_internal.h	Mon Dec 21 01:30:55 2009 +0000
+++ b/libswscale/swscale_internal.h	Mon Dec 21 01:34:45 2009 +0000
@@ -279,6 +279,8 @@
     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)