From 9a00106a58028aa964cdc8343793be9a394cc6bf Mon Sep 17 00:00:00 2001 From: syrjala Date: Mon, 15 Sep 2008 20:35:05 +0000 Subject: Remove BGR24 support since it has never worked anyway. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27621 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libvo/vo_dfbmga.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'libvo/vo_dfbmga.c') diff --git a/libvo/vo_dfbmga.c b/libvo/vo_dfbmga.c index ac968bb442..8192a8d0fd 100644 --- a/libvo/vo_dfbmga.c +++ b/libvo/vo_dfbmga.c @@ -136,8 +136,6 @@ pixelformat_name( DFBSurfacePixelFormat format ) return "ARGB"; case DSPF_RGB32: return "RGB32"; - case DSPF_RGB24: - return "RGB24"; case DSPF_RGB16: return "RGB16"; case DSPF_ARGB1555: @@ -169,8 +167,6 @@ imgfmt_to_pixelformat( uint32_t format ) switch (format) { case IMGFMT_BGR32: return DSPF_RGB32; - case IMGFMT_BGR24: - return DSPF_RGB24; case IMGFMT_BGR16: return DSPF_RGB16; case IMGFMT_BGR15: @@ -894,7 +890,6 @@ query_format( uint32_t format ) { switch (format) { case IMGFMT_BGR32: - case IMGFMT_BGR24: case IMGFMT_BGR16: case IMGFMT_BGR15: case IMGFMT_UYVY: @@ -991,11 +986,6 @@ draw_alpha( int x0, int y0, dst + pitch * y0 + 4 * x0, pitch ); break; - case DSPF_RGB24: - vo_draw_alpha_rgb24( w, h, src, srca, stride, - dst + pitch * y0 + 3 * x0, - pitch ); - break; case DSPF_RGB16: vo_draw_alpha_rgb16( w, h, src, srca, stride, dst + pitch * y0 + 2 * x0, -- cgit v1.2.3