diff options
author | Cameron Cawley | 2017-09-05 23:40:05 +0100 |
---|---|---|
committer | Cameron Cawley | 2017-09-05 23:40:05 +0100 |
commit | 7846d098b25fa90526cb137efd5e68a8b089da25 (patch) | |
tree | 2d1d431f1fb5cc0d8831ad8fdb0422ae09f98165 /image/codecs/indeo3.cpp | |
parent | 128edeebda490794d0ce78d3d6d84beab29c2246 (diff) | |
download | scummvm-rg350-7846d098b25fa90526cb137efd5e68a8b089da25.tar.gz scummvm-rg350-7846d098b25fa90526cb137efd5e68a8b089da25.tar.bz2 scummvm-rg350-7846d098b25fa90526cb137efd5e68a8b089da25.zip |
IMAGE: Support rendering Indeo videos at 15bpp
Diffstat (limited to 'image/codecs/indeo3.cpp')
-rw-r--r-- | image/codecs/indeo3.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/image/codecs/indeo3.cpp b/image/codecs/indeo3.cpp index d862d5352b..7d3a121bcd 100644 --- a/image/codecs/indeo3.cpp +++ b/image/codecs/indeo3.cpp @@ -45,6 +45,9 @@ Indeo3Decoder::Indeo3Decoder(uint16 width, uint16 height, uint bitsPerPixel) : _ _iv_frame[1].the_buf = 0; switch (bitsPerPixel) { + case 15: + _pixelFormat = Graphics::PixelFormat(2, 5, 5, 5, 0, 0, 5, 10, 0); + break; case 16: _pixelFormat = Graphics::PixelFormat(2, 5, 6, 5, 0, 11, 5, 0, 0); break; |