summaryrefslogtreecommitdiff
path: root/libswscale/swscale.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-05-07 10:59:26 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-05-07 11:04:07 +0200
commit2060d944090f10fb60e5c0ac42b7a946b9d5859f (patch)
treebb3f3548cd807a25de3a5cb5e6140f4e00c6e58b /libswscale/swscale.h
parent60fd88059a62c9237893ff6d159c28cd929aadf0 (diff)
parentc1eb3e7fecdc270e03a700d61ef941600a6af491 (diff)
downloadffmpeg-2060d944090f10fb60e5c0ac42b7a946b9d5859f.tar.gz
Merge commit 'c1eb3e7fecdc270e03a700d61ef941600a6af491'
* commit 'c1eb3e7fecdc270e03a700d61ef941600a6af491': swscale: add support for endianness only conversion Conflicts: libswscale/utils.c libswscale/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 5f6ae0ff46..42702b7aa2 100644
--- a/libswscale/swscale.h
+++ b/libswscale/swscale.h
@@ -147,6 +147,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().