[Mplayer-cvslog] CVS: main/libvo vo_xv.c,1.45,1.46
Alex Beregszaszi
alex at mplayer.dev.hu
Sat Jan 26 16:47:00 CET 2002
- Previous message: [Mplayer-cvslog] CVS: main/libmpdemux tv.c,1.23,1.24
- Next message: [Mplayer-cvslog] CVS: main/libvo video_out.h,1.13,1.14 video_out_internal.h,1.6,1.7 vo_3dfx.c,1.8,1.9 vo_aa.c,1.17,1.18 vo_dga.c,1.36,1.37 vo_directfb.c,1.5,1.6 vo_dxr3.c,1.38,1.39 vo_fbdev.c,1.54,1.55 vo_fsdga.c,1.5,1.6 vo_ggi.c,1.11,1.12 vo_gl.c,1.16,1.17 vo_gl2.c,1.10,1.11 vo_md5.c,1.6,1.7 vo_mga.c,1.19,1.20 vo_mpegpes.c,1.16,1.17 vo_null.c,1.3,1.4 vo_odivx.c,1.7,1.8 vo_pgm.c,1.7,1.8 vo_png.c,1.8,1.9 vo_sdl.c,1.60,1.61 vo_svga.c,1.39,1.40 vo_syncfb.c,1.7,1.8 vo_tdfxfb.c,1.3,1.4 vo_vesa.c,1.56,1.57 vo_x11.c,1.49,1.50 vo_xmga.c,1.40,1.41 vo_xv.c,1.46,1.47 vo_xvidix.c,1.11,1.12 vo_zr.c,1.4,1.5 vosub_vidix.h,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/mplayer/main/libvo
In directory mplayer:/var/tmp.root/cvs-serv30979
Modified Files:
vo_xv.c
Log Message:
fixed i420 handling
Index: vo_xv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_xv.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- vo_xv.c 23 Jan 2002 17:03:15 -0000 1.45
+++ vo_xv.c 26 Jan 2002 15:46:58 -0000 1.46
@@ -565,8 +565,16 @@
// YV12 planar
memcpy(xvimage[current_buf]->data,src[0],image_width*image_height);
- memcpy(xvimage[current_buf]->data+image_width*image_height,src[2],image_width*image_height/4);
- memcpy(xvimage[current_buf]->data+image_width*image_height*5/4,src[1],image_width*image_height/4);
+ if (xv_format == IMGFMT_YV12)
+ {
+ memcpy(xvimage[current_buf]->data+image_width*image_height,src[2],image_width*image_height/4);
+ memcpy(xvimage[current_buf]->data+image_width*image_height*5/4,src[1],image_width*image_height/4);
+ }
+ else
+ {
+ memcpy(xvimage[current_buf]->data+image_width*image_height,src[1],image_width*image_height/4);
+ memcpy(xvimage[current_buf]->data+image_width*image_height*5/4,src[2],image_width*image_height/4);
+ }
break;
}
- Previous message: [Mplayer-cvslog] CVS: main/libmpdemux tv.c,1.23,1.24
- Next message: [Mplayer-cvslog] CVS: main/libvo video_out.h,1.13,1.14 video_out_internal.h,1.6,1.7 vo_3dfx.c,1.8,1.9 vo_aa.c,1.17,1.18 vo_dga.c,1.36,1.37 vo_directfb.c,1.5,1.6 vo_dxr3.c,1.38,1.39 vo_fbdev.c,1.54,1.55 vo_fsdga.c,1.5,1.6 vo_ggi.c,1.11,1.12 vo_gl.c,1.16,1.17 vo_gl2.c,1.10,1.11 vo_md5.c,1.6,1.7 vo_mga.c,1.19,1.20 vo_mpegpes.c,1.16,1.17 vo_null.c,1.3,1.4 vo_odivx.c,1.7,1.8 vo_pgm.c,1.7,1.8 vo_png.c,1.8,1.9 vo_sdl.c,1.60,1.61 vo_svga.c,1.39,1.40 vo_syncfb.c,1.7,1.8 vo_tdfxfb.c,1.3,1.4 vo_vesa.c,1.56,1.57 vo_x11.c,1.49,1.50 vo_xmga.c,1.40,1.41 vo_xv.c,1.46,1.47 vo_xvidix.c,1.11,1.12 vo_zr.c,1.4,1.5 vosub_vidix.h,1.6,1.7
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the MPlayer-cvslog
mailing list