summaryrefslogtreecommitdiff
path: root/libswscale/swscale.h
diff options
context:
space:
mode:
Diffstat (limited to 'libswscale/swscale.h')
-rw-r--r--libswscale/swscale.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libswscale/swscale.h b/libswscale/swscale.h
index 8ba09e6960..e69a69461b 100644
--- a/libswscale/swscale.h
+++ b/libswscale/swscale.h
@@ -141,6 +141,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
* sws_setColorspaceDetails().