diff options
author | Janne Grunau <janne-libav@jannau.net> | 2013-04-26 14:47:08 +0200 |
---|---|---|
committer | Janne Grunau <janne-libav@jannau.net> | 2013-05-06 18:55:58 +0200 |
commit | c1eb3e7fecdc270e03a700d61ef941600a6af491 (patch) | |
tree | 2a280b28311debfd7f8dc9812280473cd3eb0706 /libswscale/swscale.h | |
parent | 74652af821d7e526a6541876a637fbf81261fa8e (diff) | |
download | ffmpeg-c1eb3e7fecdc270e03a700d61ef941600a6af491.tar.gz |
swscale: add support for endianness only conversion
Use bitfields in FormatEntry array to avoid wasting an int for each flag.
Diffstat (limited to 'libswscale/swscale.h')
-rw-r--r-- | libswscale/swscale.h | 7 |
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(). |