Use memcpy_pic2 instead of reimplementing it.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29402 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2009-06-26 16:20:15 +00:00
parent 32a7d61acc
commit 95dcb65379
1 changed files with 2 additions and 8 deletions

View File

@ -1011,17 +1011,11 @@ static int draw_frame(uint8_t *src[])
static int draw_slice(uint8_t *src[], int stride[], int w, int h, int x, int y)
{
uint8_t *d, *s;
uint8_t *d;
d = center + fb_line_len * y + fb_pixel_size * x;
s = src[0];
while (h) {
fast_memcpy(d, s, w * fb_pixel_size);
d += fb_line_len;
s += stride[0];
h--;
}
memcpy_pic2(d, src[0], w * fb_pixel_size, h, fb_line_len, stride[0], 1);
return 0;
}