[Mplayer-cvslog] CVS: main/libmpdemux tvi_v4l2.c,1.9,1.10

Jindrich Makovicka CVS henry at mplayerhq.hu
Fri Dec 19 10:38:13 CET 2003


Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/tmp/cvs-serv5536

Modified Files:
	tvi_v4l2.c 
Log Message:
UYVY support (port from v4l1)

Index: tvi_v4l2.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/tvi_v4l2.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- tvi_v4l2.c	12 Sep 2003 08:10:32 -0000	1.9
+++ tvi_v4l2.c	19 Dec 2003 09:38:10 -0000	1.10
@@ -175,6 +175,7 @@
     case IMGFMT_I420:	return V4L2_PIX_FMT_YUV420;
     case IMGFMT_YUY2:	return V4L2_PIX_FMT_YUYV;
     case IMGFMT_YV12:	return V4L2_PIX_FMT_YUV420;
+    case IMGFMT_UYVY:   return V4L2_PIX_FMT_UYVY;
     }
     return fcc;
 }
@@ -196,6 +197,7 @@
     case V4L2_PIX_FMT_YUV410:	return IMGFMT_IF09;
     case V4L2_PIX_FMT_YUV420:	return IMGFMT_I420;
     case V4L2_PIX_FMT_YUYV:		return IMGFMT_YUY2;
+    case V4L2_PIX_FMT_UYVY:     return IMGFMT_UYVY;
     }
     return fcc;
 }




More information about the MPlayer-cvslog mailing list