]> git.sesse.net Git - ffmpeg/blobdiff - libswscale/swscale.h
eamad: use the AVFrame API properly.
[ffmpeg] / libswscale / swscale.h
index 598946d807d08571d0de73dae1c9058f908e2d35..e69a69461bd3996c6f064cae2fd30407eb445987 100644 (file)
@@ -85,9 +85,7 @@ const char *swscale_license(void);
  */
 #define SWS_CPU_CAPS_MMX      0x80000000
 #define SWS_CPU_CAPS_MMXEXT   0x20000000
-#if LIBSWSCALE_VERSION_MAJOR < 3
 #define SWS_CPU_CAPS_MMX2     0x20000000
-#endif
 #define SWS_CPU_CAPS_3DNOW    0x40000000
 #define SWS_CPU_CAPS_ALTIVEC  0x10000000
 #define SWS_CPU_CAPS_BFIN     0x01000000
@@ -142,6 +140,13 @@ int sws_isSupportedInput(enum AVPixelFormat pix_fmt);
  */
 int sws_isSupportedOutput(enum AVPixelFormat pix_fmt);
 
+/**
+ * @param[in]  pix_fmt the pixel format
+ * @return a positive value if an endianness conversion for pix_fmt is
+ * supported, 0 otherwise.
+ */
+int sws_isSupportedEndiannessConversion(enum AVPixelFormat pix_fmt);
+
 /**
  * Allocate an empty SwsContext. This must be filled and passed to
  * sws_init_context(). For filling see AVOptions, options.c and