[Mplayer-cvslog] CVS: main/vidix/drivers radeon_vid.c,1.30,1.31
Nick Kurshev
nick at mplayer.dev.hu
Fri Feb 1 09:53:11 CET 2002
Update of /cvsroot/mplayer/main/vidix/drivers
In directory mplayer:/var/tmp.root/cvs-serv28719/main/vidix/drivers
Modified Files:
radeon_vid.c
Log Message:
YVYU support (untested yet)
Index: radeon_vid.c
===================================================================
RCS file: /cvsroot/mplayer/main/vidix/drivers/radeon_vid.c,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- radeon_vid.c 31 Jan 2002 08:53:37 -0000 1.30
+++ radeon_vid.c 1 Feb 2002 08:53:08 -0000 1.31
@@ -710,7 +710,7 @@
uint32_t supported_fourcc[] =
{
IMGFMT_YV12, IMGFMT_I420, IMGFMT_IYUV,
- IMGFMT_UYVY, IMGFMT_YUY2,
+ IMGFMT_UYVY, IMGFMT_YUY2, IMGFMT_YVYU,
IMGFMT_RGB15, IMGFMT_BGR15,
IMGFMT_RGB16, IMGFMT_BGR16,
IMGFMT_RGB32, IMGFMT_BGR32
@@ -860,6 +860,7 @@
case IMGFMT_YV12: bes_flags |= SCALER_SOURCE_YUV12;
break;
/* 4:2:2 */
+ case IMGFMT_YVYU:
case IMGFMT_UYVY: bes_flags |= SCALER_SOURCE_YVYU422; break;
case IMGFMT_YUY2:
default: bes_flags |= SCALER_SOURCE_VYUY422; break;
@@ -918,9 +919,7 @@
config->dest.pitch.v = best_pitch;
break;
/* 4:2:2 */
- default: /* RGB15, RGB16 */
- case IMGFMT_UYVY:
- case IMGFMT_YUY2:
+ default: /* RGB15, RGB16, YVYU, UYVY, YUY2 */
pitch = ((src_w*2) + mpitch) & ~mpitch;
config->dest.pitch.y =
config->dest.pitch.u =
More information about the MPlayer-cvslog
mailing list