0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

rgb32to16, rgb32to15 support

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2713 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
nick 2001-11-05 08:38:18 +00:00
parent 0d29f843f7
commit 0e949b7ec5

View File

@ -700,6 +700,10 @@ init(uint32_t width, uint32_t height, uint32_t d_width, uint32_t d_height, uint3
else
if(image_bpp == 32 && video_mode_info.BitsPerPixel == 24) rgb2rgb_fnc = rgb32to24;
else
if(image_bpp == 32 && video_mode_info.BitsPerPixel == 16) rgb2rgb_fnc = rgb32to16;
else
if(image_bpp == 32 && video_mode_info.BitsPerPixel == 15) rgb2rgb_fnc = rgb32to15;
else
if(image_bpp == 15 && video_mode_info.BitsPerPixel == 16) rgb2rgb_fnc = rgb15to16;
else
{