[MPlayer-cvslog] r36590 - trunk/libvo/vo_bl.c

reimar subversion at mplayerhq.hu
Sat Jan 18 12:41:28 CET 2014


Author: reimar
Date: Sat Jan 18 12:41:27 2014
New Revision: 36590

Log:
Simplify: use memcpy_pic.

Modified:
   trunk/libvo/vo_bl.c

Modified: trunk/libvo/vo_bl.c
==============================================================================
--- trunk/libvo/vo_bl.c	Fri Jan 17 16:47:12 2014	(r36589)
+++ trunk/libvo/vo_bl.c	Sat Jan 18 12:41:27 2014	(r36590)
@@ -329,16 +329,9 @@ static void check_events(void) {
 
 static int draw_slice(uint8_t *srcimg[], int stride[],
 		int w, int h, int x, int y) {
-	int i;
 	uint8_t *dst = image + y * bl->width + x;
-	uint8_t *src=srcimg[0];
 	// copy Y:
-	for (i = 0; i < h; i++) {
-		fast_memcpy(dst,src,w);
-		dst+=bl->width;
-		src+=stride[0];
-
-	}
+	memcpy_pic(dst, srcimg[0], w, h, bl->width, stride[0]);
  	return 0;
 }
 


More information about the MPlayer-cvslog mailing list