[Mplayer-cvslog] CVS: main/libvo mga_common.c,1.7,1.8
GEREOFFY
arpi_esp at users.sourceforge.net
Wed Apr 4 23:42:30 CEST 2001
Update of /cvsroot/mplayer/main/libvo
In directory usw-pr-cvs1:/tmp/cvs-serv3936
Modified Files:
mga_common.c
Log Message:
fixed the bespitch*y*x bug
Index: mga_common.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/mga_common.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** mga_common.c 2001/04/01 23:17:21 1.7
--- mga_common.c 2001/04/04 21:42:28 1.8
***************
*** 56,74 ****
uint32_t bespitch,h,w;
! bespitch = (mga_vid_config.src_width + 31) & ~31;
! dest = vid_data + bespitch * y * x;
src = image[0];
! for(h=0; h < height; h++)
! {
! memcpy(dest, src, width);
! src += stride[0];
! dest += bespitch;
! }
width/=2;height/=2;x/=2;y/=2;
! dest = vid_data + bespitch * mga_vid_config.src_height +
! bespitch * y + 2*x;
src = image[1];
src2 = image[2];
--- 56,73 ----
uint32_t bespitch,h,w;
! bespitch = (mga_vid_config.src_width + 31) & ~31;
! dest = vid_data + bespitch*y + x;
src = image[0];
! for(h=0; h < height; h++)
! {
! memcpy(dest, src, width);
! src += stride[0];
! dest += bespitch;
! }
width/=2;height/=2;x/=2;y/=2;
! dest = vid_data + bespitch*mga_vid_config.src_height + bespitch*y + 2*x;
src = image[1];
src2 = image[2];
***************
*** 81,86 ****
}
dest += bespitch;
! src += stride[1];
! src2+= stride[2];
}
}
--- 80,85 ----
}
dest += bespitch;
! src += stride[1];
! src2+= stride[2];
}
}
_______________________________________________
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