[Mplayer-cvslog] CVS: main/libvo mga_common.c,1.23,1.24
Arpi of Ize
arpi at mplayer.dev.hu
Mon Mar 25 17:21:42 CET 2002
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv21856
Modified Files:
mga_common.c
Log Message:
disabel DR and UV swapping for g200 planar modes
Index: mga_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/mga_common.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- mga_common.c 24 Mar 2002 20:45:30 -0000 1.23
+++ mga_common.c 25 Mar 2002 16:21:39 -0000 1.24
@@ -85,13 +85,8 @@
width/=2;height/=2;x/=2;y/=2;
dest = vid_data + bespitch*mga_vid_config.src_height + bespitch*y + 2*x;
- if(mga_vid_config.format==MGA_VID_FORMAT_YV12){
- src = image[1];
- src2 = image[2];
- } else {
- src = image[2];
- src2 = image[1];
- }
+ src = image[1];
+ src2 = image[2];
for(h=0; h < height; h++)
{
@@ -238,6 +233,7 @@
// printf("mga: get_image() called\n");
if(mpi->type==MP_IMGTYPE_STATIC && mga_vid_config.num_frames>1) return VO_FALSE; // it is not static
if(mpi->flags&MP_IMGFLAG_READABLE) return VO_FALSE; // slow video ram
+ if(mga_vid_config.card_type == MGA_G200 && mpi->flags&MP_IMGFLAG_PLANAR) return VO_FALSE;
// printf("width=%d vs. bespitch=%d, flags=0x%X \n",mpi->width,bespitch,mpi->flags);
if((mpi->width==bespitch) ||
(mpi->flags&(MP_IMGFLAG_ACCEPT_STRIDE|MP_IMGFLAG_ACCEPT_WIDTH))){
More information about the MPlayer-cvslog
mailing list