Mercurial > mplayer.hg
diff libvo/vo_fbdev2.c @ 23457:a124f3abc1ec
Replace implicit use of fast_memcpy via macro by explicit use to allow
for future optimization.
author | reimar |
---|---|
date | Tue, 05 Jun 2007 14:27:54 +0000 |
parents | fe2520f6039e |
children | 3aee342be929 |
line wrap: on
line diff
--- a/libvo/vo_fbdev2.c Tue Jun 05 14:12:37 2007 +0000 +++ b/libvo/vo_fbdev2.c Tue Jun 05 14:27:54 2007 +0000 @@ -354,7 +354,7 @@ int i; for (i = 0; i < h; i++) { - memcpy(dest, in, w * fb_pixel_size); + fast_memcpy(dest, in, w * fb_pixel_size); dest += next; in += stride[0]; } @@ -371,7 +371,7 @@ int i, out_offset = 0, in_offset = 0; for (i = 0; i < in_height; i++) { - memcpy(center + out_offset, next_frame + in_offset, + fast_memcpy(center + out_offset, next_frame + in_offset, in_width * fb_pixel_size); out_offset += fb_line_len; in_offset += in_width * fb_pixel_size;