[Mplayer-cvslog] CVS: main/libvo mga_common.c,1.12,1.13 vo_mga.c,1.8,1.9 vo_xmga.c,1.13,1.14

GEREOFFY arpi_esp at users.sourceforge.net
Mon Apr 16 05:33:37 CEST 2001


Update of /cvsroot/mplayer/main/libvo
In directory usw-pr-cvs1:/tmp/cvs-serv23233

Modified Files:
	mga_common.c vo_mga.c vo_xmga.c 
Log Message:
I420/IYUV support

Index: mga_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/mga_common.c,v
retrieving revision 1.12
retrieving revision 1.13
diff -C2 -r1.12 -r1.13
*** mga_common.c	2001/04/16 01:25:45	1.12
--- mga_common.c	2001/04/16 03:33:35	1.13
***************
*** 15,18 ****
--- 15,20 ----
      switch(mga_vid_config.format){
      case MGA_VID_FORMAT_YV12:
+     case MGA_VID_FORMAT_IYUV:
+     case MGA_VID_FORMAT_I420:
          vo_draw_alpha_yv12(w,h,src,srca,stride,vid_data+bespitch*y0+x0,bespitch);
          break;
***************
*** 172,175 ****
--- 174,179 ----
      switch(format){
      case IMGFMT_YV12:
+     case IMGFMT_I420:
+     case IMGFMT_IYUV:
      case IMGFMT_YUY2:
      case IMGFMT_UYVY:

Index: vo_mga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_mga.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -r1.8 -r1.9
*** vo_mga.c	2001/04/15 20:31:57	1.8
--- vo_mga.c	2001/04/16 03:33:35	1.9
***************
*** 68,71 ****
--- 68,77 ----
  	    mga_vid_config.frame_size = ((width + 31) & ~31) * height + (((width + 31) & ~31) * height) / 2;
              mga_vid_config.format=MGA_VID_FORMAT_YV12; break;
+         case IMGFMT_I420:
+ 	    mga_vid_config.frame_size = ((width + 31) & ~31) * height + (((width + 31) & ~31) * height) / 2;
+             mga_vid_config.format=MGA_VID_FORMAT_I420; break;
+         case IMGFMT_IYUV:
+ 	    mga_vid_config.frame_size = ((width + 31) & ~31) * height + (((width + 31) & ~31) * height) / 2;
+             mga_vid_config.format=MGA_VID_FORMAT_IYUV; break;
          case IMGFMT_YUY2:
  	    mga_vid_config.frame_size = ((width + 31) & ~31) * height * 2;

Index: vo_xmga.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xmga.c,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** vo_xmga.c	2001/04/15 20:31:58	1.13
--- vo_xmga.c	2001/04/16 03:33:35	1.14
***************
*** 186,189 ****
--- 186,197 ----
          mga_vid_config.frame_size=( ( width + 31 ) & ~31 ) * height + ( ( ( width + 31 ) & ~31 ) * height ) / 2;
          break;
+    case IMGFMT_I420:
+         mga_vid_config.format=MGA_VID_FORMAT_I420;
+         mga_vid_config.frame_size=( ( width + 31 ) & ~31 ) * height + ( ( ( width + 31 ) & ~31 ) * height ) / 2;
+         break;
+    case IMGFMT_IYUV:
+         mga_vid_config.format=MGA_VID_FORMAT_IYUV;
+         mga_vid_config.frame_size=( ( width + 31 ) & ~31 ) * height + ( ( ( width + 31 ) & ~31 ) * height ) / 2;
+         break;
     case IMGFMT_YUY2:
          mga_vid_config.format=MGA_VID_FORMAT_YUY2;


_______________________________________________
Mplayer-cvslog mailing list
Mplayer-cvslog at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-cvslog



More information about the MPlayer-cvslog mailing list