summaryrefslogtreecommitdiffstats
path: root/postproc/swscale.c
diff options
context:
space:
mode:
authormichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-08 00:42:00 +0000
committermichael <michael@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-02-08 00:42:00 +0000
commitcfed81358206157630df86ca7f334c00f356db64 (patch)
treea4bc8f51bc32ba62bc1dab84f182231955396a85 /postproc/swscale.c
parentb7685640c9f839b423aa15f0d03de6972d54ac2b (diff)
downloadmpv-cfed81358206157630df86ca7f334c00f356db64.tar.bz2
mpv-cfed81358206157630df86ca7f334c00f356db64.tar.xz
bgr16 input support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4579 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'postproc/swscale.c')
-rw-r--r--postproc/swscale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/postproc/swscale.c b/postproc/swscale.c
index 472dd7ce3c..5d19a6b376 100644
--- a/postproc/swscale.c
+++ b/postproc/swscale.c
@@ -17,7 +17,7 @@
*/
/*
- supported Input formats: YV12, I420, IYUV, YUY2, BGR32, BGR24, RGB32, RGB24, Y8, Y800
+ supported Input formats: YV12, I420, IYUV, YUY2, BGR32, BGR24, BGR16, RGB32, RGB24, Y8, Y800
supported output formats: YV12, I420, IYUV, BGR15, BGR16, BGR24, BGR32 (grayscale soon too)
BGR15/16 support dithering
@@ -87,7 +87,7 @@ untested special converters
#define isPacked(x) ((x)==IMGFMT_YUY2 || ((x)&IMGFMT_BGR_MASK)==IMGFMT_BGR || ((x)&IMGFMT_RGB_MASK)==IMGFMT_RGB)
#define isGray(x) ((x)==IMGFMT_Y800)
#define isSupportedIn(x) ((x)==IMGFMT_YV12 || (x)==IMGFMT_I420 || (x)==IMGFMT_YUY2 \
- || (x)==IMGFMT_BGR32|| (x)==IMGFMT_BGR24\
+ || (x)==IMGFMT_BGR32|| (x)==IMGFMT_BGR24|| (x)==IMGFMT_BGR16\
|| (x)==IMGFMT_RGB32|| (x)==IMGFMT_RGB24\
|| (x)==IMGFMT_Y800)
#define isSupportedOut(x) ((x)==IMGFMT_YV12 || (x)==IMGFMT_I420 \