Mercurial > mplayer.hg
diff libswscale/swscale.c @ 22226:1b1286436771
BGR/RGB4 byte formats as input
fixing isRGB/BGR() for the byte formats
author | michael |
---|---|
date | Sat, 17 Feb 2007 11:36:02 +0000 |
parents | ff7aa2aecb9d |
children | 5f47768cbda5 |
line wrap: on
line diff
--- a/libswscale/swscale.c Sat Feb 17 11:34:25 2007 +0000 +++ b/libswscale/swscale.c Sat Feb 17 11:36:02 2007 +0000 @@ -108,7 +108,8 @@ || (x)==PIX_FMT_GRAY8 || (x)==PIX_FMT_YUV410P\ || (x)==PIX_FMT_GRAY16BE || (x)==PIX_FMT_GRAY16LE\ || (x)==PIX_FMT_YUV444P || (x)==PIX_FMT_YUV422P || (x)==PIX_FMT_YUV411P\ - || (x)==PIX_FMT_PAL8 || (x)==PIX_FMT_BGR8 || (x)==PIX_FMT_RGB8) + || (x)==PIX_FMT_PAL8 || (x)==PIX_FMT_BGR8 || (x)==PIX_FMT_RGB8\ + || (x)==PIX_FMT_BGR4_BYTE || (x)==PIX_FMT_RGB4_BYTE) #define isSupportedOut(x) ((x)==PIX_FMT_YUV420P || (x)==PIX_FMT_YUYV422 || (x)==PIX_FMT_UYVY422\ || (x)==PIX_FMT_YUV444P || (x)==PIX_FMT_YUV422P || (x)==PIX_FMT_YUV411P\ || isRGB(x) || isBGR(x)\