summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_yadif.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2012-11-09 01:31:49 +0100
committerwm4 <wm4@nowhere>2012-11-11 17:56:42 +0100
commiteb6688724ceb0e222ccc9f1de6640bfabdd67a43 (patch)
tree99dcbb85b09157415d0aa0fc9d2deb5c6bd90b36 /libmpcodecs/vf_yadif.c
parent34649dbd1da2ce07a6e952bec10f52dfae5a257d (diff)
downloadmpv-eb6688724ceb0e222ccc9f1de6640bfabdd67a43.tar.bz2
mpv-eb6688724ceb0e222ccc9f1de6640bfabdd67a43.tar.xz
Replace fast_memcpy() uses
fast_memcpy, defined in fastmemcpy.h, used to be mplayer's "optimized" memcpy. It has been removed from this fork, and fast_memcpy has been reduced to an alias for memcpy. Replace all remaining uses of the fast_memcpy macro alias.
Diffstat (limited to 'libmpcodecs/vf_yadif.c')
-rw-r--r--libmpcodecs/vf_yadif.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libmpcodecs/vf_yadif.c b/libmpcodecs/vf_yadif.c
index 999ec56692..bb6595cdcd 100644
--- a/libmpcodecs/vf_yadif.c
+++ b/libmpcodecs/vf_yadif.c
@@ -66,13 +66,13 @@ static void store_ref(struct vf_priv_s *p, uint8_t *src[3], int src_stride[3], i
memcpy_pic(p->ref[2][i], src[i], pn_width, pn_height, p->stride[i], src_stride[i]);
- fast_memcpy(p->ref[2][i] + pn_height * p->stride[i],
+ memcpy(p->ref[2][i] + pn_height * p->stride[i],
src[i] + (pn_height-1)*src_stride[i], pn_width);
- fast_memcpy(p->ref[2][i] + (pn_height+1)* p->stride[i],
+ memcpy(p->ref[2][i] + (pn_height+1)* p->stride[i],
src[i] + (pn_height-1)*src_stride[i], pn_width);
- fast_memcpy(p->ref[2][i] - p->stride[i], src[i], pn_width);
- fast_memcpy(p->ref[2][i] - 2*p->stride[i], src[i], pn_width);
+ memcpy(p->ref[2][i] - p->stride[i], src[i], pn_width);
+ memcpy(p->ref[2][i] - 2*p->stride[i], src[i], pn_width);
}
}
@@ -367,7 +367,7 @@ static void filter(struct vf_priv_s *p, uint8_t *dst[3], int dst_stride[3], int
uint8_t *dst2= &dst[i][y*dst_stride[i]];
filter_line(p, dst2, prev, cur, next, w, refs, parity ^ tff);
}else{
- fast_memcpy(&dst[i][y*dst_stride[i]], &p->ref[1][i][y*refs], w);
+ memcpy(&dst[i][y*dst_stride[i]], &p->ref[1][i][y*refs], w);
}
}
}