diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-06-05 14:27:54 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-06-05 14:27:54 +0000 |
commit | 6a09e8e2ed913cb44d74cac9c9e7a4cf7f4a18c1 (patch) | |
tree | ef08af22a70727d8ee9a902f622cf1d5042f5344 /libvo/vo_zr2.c | |
parent | ac87b4a173d2aee564e7cdca3037f101d946fbad (diff) | |
download | mpv-6a09e8e2ed913cb44d74cac9c9e7a4cf7f4a18c1.tar.bz2 mpv-6a09e8e2ed913cb44d74cac9c9e7a4cf7f4a18c1.tar.xz |
Replace implicit use of fast_memcpy via macro by explicit use to allow
for future optimization.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23475 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo/vo_zr2.c')
-rw-r--r-- | libvo/vo_zr2.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libvo/vo_zr2.c b/libvo/vo_zr2.c index 760294d87f..613496d48c 100644 --- a/libvo/vo_zr2.c +++ b/libvo/vo_zr2.c @@ -151,7 +151,7 @@ static uint32_t draw_image(mp_image_t *mpi) { } /* copy the jpeg image to the buffer which we acquired */ - memcpy(p->buf + p->zrq.size*p->frame, mpi->planes[0], size); + fast_memcpy(p->buf + p->zrq.size*p->frame, mpi->planes[0], size); return VO_TRUE; } @@ -394,7 +394,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, * We make configuration changes to a temporary params structure, * compare it with the old params structure and only apply the new * config if it is different from the old one. */ - memcpy(&zptmp, &p->zp, sizeof(zptmp)); + fast_memcpy(&zptmp, &p->zp, sizeof(zptmp)); /* translate the configuration to zoran understandable format */ zptmp.decimation = 0; @@ -423,7 +423,7 @@ static int config(uint32_t width, uint32_t height, uint32_t d_width, if (memcmp(&zptmp, &p->zp, sizeof(zptmp))) { /* config differs, we must update */ - memcpy(&p->zp, &zptmp, sizeof(zptmp)); + fast_memcpy(&p->zp, &zptmp, sizeof(zptmp)); stop_playing(p); if (ioctl(p->vdes, MJPIOC_S_PARAMS, &p->zp) < 0) { ERROR("error writing display params to card\n"); |