Mercurial > mplayer.hg
comparison libvo/vo_vesa.c @ 2718:9c5e64493742
Well - old algorithms and new stuff rgb24to16(15)
author | nick |
---|---|
date | Mon, 05 Nov 2001 17:35:28 +0000 |
parents | 7732745d5f3f |
children | ae79207a3055 |
comparison
equal
deleted
inserted
replaced
2717:5fa8c079ee3c | 2718:9c5e64493742 |
---|---|
702 else | 702 else |
703 if(image_bpp == 32 && video_mode_info.BitsPerPixel == 16) rgb2rgb_fnc = rgb32to16; | 703 if(image_bpp == 32 && video_mode_info.BitsPerPixel == 16) rgb2rgb_fnc = rgb32to16; |
704 else | 704 else |
705 if(image_bpp == 32 && video_mode_info.BitsPerPixel == 15) rgb2rgb_fnc = rgb32to15; | 705 if(image_bpp == 32 && video_mode_info.BitsPerPixel == 15) rgb2rgb_fnc = rgb32to15; |
706 else | 706 else |
707 if(image_bpp == 24 && video_mode_info.BitsPerPixel == 16) rgb2rgb_fnc = rgb24to16; | |
708 else | |
709 if(image_bpp == 24 && video_mode_info.BitsPerPixel == 15) rgb2rgb_fnc = rgb24to15; | |
710 else | |
707 if(image_bpp == 15 && video_mode_info.BitsPerPixel == 16) rgb2rgb_fnc = rgb15to16; | 711 if(image_bpp == 15 && video_mode_info.BitsPerPixel == 16) rgb2rgb_fnc = rgb15to16; |
708 else | 712 else |
709 { | 713 { |
710 printf("vo_vesa: Can't convert %u to %u\n",image_bpp,video_mode_info.BitsPerPixel); | 714 printf("vo_vesa: Can't convert %u to %u\n",image_bpp,video_mode_info.BitsPerPixel); |
711 return -1; | 715 return -1; |