diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2011-06-24 07:43:19 -0700 |
---|---|---|
committer | Ronald Bultje <rbultje@dhcp-172-22-79-135.mtv.corp.google.com> | 2011-06-27 18:10:41 -0700 |
commit | dff5a8353266641311827a4bbdd940f7ad08c8b6 (patch) | |
tree | 9277c2fef96f4376a00a85b919df8c6ae77ea0c8 /libswscale/utils.c | |
parent | 3d3c8149370da133c2059bc2370268b4ffbc18d5 (diff) | |
download | ffmpeg-streaming-dff5a8353266641311827a4bbdd940f7ad08c8b6.zip ffmpeg-streaming-dff5a8353266641311827a4bbdd940f7ad08c8b6.tar.gz |
swscale: re-add support for non-native endianness.
This works through some non-obvious hacks in utils.c.
Diffstat (limited to 'libswscale/utils.c')
-rw-r--r-- | libswscale/utils.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/libswscale/utils.c b/libswscale/utils.c index d048b22..6971418 100644 --- a/libswscale/utils.c +++ b/libswscale/utils.c @@ -146,12 +146,18 @@ int sws_isSupportedInput(enum PixelFormat pix_fmt) || (x)==PIX_FMT_YUVJ444P \ || isRGBinBytes(x) \ || isBGRinBytes(x) \ - || (x)==PIX_FMT_RGB565 \ - || (x)==PIX_FMT_RGB555 \ - || (x)==PIX_FMT_RGB444 \ - || (x)==PIX_FMT_BGR565 \ - || (x)==PIX_FMT_BGR555 \ - || (x)==PIX_FMT_BGR444 \ + || (x)==PIX_FMT_RGB565LE \ + || (x)==PIX_FMT_RGB565BE \ + || (x)==PIX_FMT_RGB555LE \ + || (x)==PIX_FMT_RGB555BE \ + || (x)==PIX_FMT_RGB444LE \ + || (x)==PIX_FMT_RGB444BE \ + || (x)==PIX_FMT_BGR565LE \ + || (x)==PIX_FMT_BGR565BE \ + || (x)==PIX_FMT_BGR555LE \ + || (x)==PIX_FMT_BGR555BE \ + || (x)==PIX_FMT_BGR444LE \ + || (x)==PIX_FMT_BGR444BE \ || (x)==PIX_FMT_RGB8 \ || (x)==PIX_FMT_BGR8 \ || (x)==PIX_FMT_RGB4_BYTE \ |