diff options
author | cehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-05-06 10:18:25 +0000 |
---|---|---|
committer | cehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2010-05-06 10:18:25 +0000 |
commit | 02641f54eee3ef4117489ba96cc16dce2c20d8c1 (patch) | |
tree | 26e8c838795818a960f193176087440fd22578e4 /fmt-conversion.c | |
parent | 84de3e95a808dcff4456d67a29dfb50a9152e5df (diff) | |
download | mpv-02641f54eee3ef4117489ba96cc16dce2c20d8c1.tar.bz2 mpv-02641f54eee3ef4117489ba96cc16dce2c20d8c1.tar.xz |
Add support for 12-bit color mode on framebuffer devices.
Patch Janusz Krzysztofik, jkrzyszt A tis icnet pl
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31139 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'fmt-conversion.c')
-rw-r--r-- | fmt-conversion.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/fmt-conversion.c b/fmt-conversion.c index 013e3fea55..9e881009e4 100644 --- a/fmt-conversion.c +++ b/fmt-conversion.c @@ -32,6 +32,8 @@ static const struct { {IMGFMT_BGR16LE, PIX_FMT_RGB565LE}, {IMGFMT_BGR15BE, PIX_FMT_RGB555BE}, {IMGFMT_BGR15LE, PIX_FMT_RGB555LE}, + {IMGFMT_BGR12BE, PIX_FMT_RGB444BE}, + {IMGFMT_BGR12LE, PIX_FMT_RGB444LE}, {IMGFMT_BGR8, PIX_FMT_RGB8}, {IMGFMT_BGR4, PIX_FMT_RGB4}, {IMGFMT_BGR1, PIX_FMT_MONOBLACK}, @@ -47,6 +49,8 @@ static const struct { {IMGFMT_RGB16LE, PIX_FMT_BGR565LE}, {IMGFMT_RGB15BE, PIX_FMT_BGR555BE}, {IMGFMT_RGB15LE, PIX_FMT_BGR555LE}, + {IMGFMT_RGB12BE, PIX_FMT_BGR444BE}, + {IMGFMT_RGB12LE, PIX_FMT_BGR444LE}, {IMGFMT_RGB8, PIX_FMT_BGR8}, {IMGFMT_RGB4, PIX_FMT_BGR4}, {IMGFMT_BGR8, PIX_FMT_PAL8}, |