diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-08-02 18:48:17 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-08-02 18:48:17 +0000 |
commit | 8a35b0101a703718e52a3b12c8a8777572b9f150 (patch) | |
tree | aca372d79b11d7b8a54d810f63445be521844fb7 /gst/deinterlace2/tvtime/weave.c | |
parent | cedd09c9ff536bbac882e6e94e67b50b5e4cfb45 (diff) | |
download | gst-plugins-bad-8a35b0101a703718e52a3b12c8a8777572b9f150.tar.gz gst-plugins-bad-8a35b0101a703718e52a3b12c8a8777572b9f150.tar.bz2 gst-plugins-bad-8a35b0101a703718e52a3b12c8a8777572b9f150.zip |
gst/deinterlace2/: Use oil_memcpy() instead of memcpy() as it's faster for the sizes that are usually used here.
Original commit message from CVS:
* gst/deinterlace2/gstdeinterlace2.c:
(gst_deinterlace_simple_method_interpolate_scanline),
(gst_deinterlace_simple_method_copy_scanline),
(gst_deinterlace_simple_method_deinterlace_frame):
* gst/deinterlace2/tvtime/greedy.c: (deinterlace_frame_di_greedy):
* gst/deinterlace2/tvtime/greedyh.c:
(deinterlace_frame_di_greedyh):
* gst/deinterlace2/tvtime/scalerbob.c:
(deinterlace_scanline_scaler_bob):
* gst/deinterlace2/tvtime/tomsmocomp.c: (Fieldcopy):
* gst/deinterlace2/tvtime/weave.c: (deinterlace_scanline_weave),
(copy_scanline):
* gst/deinterlace2/tvtime/weavebff.c: (deinterlace_scanline_weave),
(copy_scanline):
* gst/deinterlace2/tvtime/weavetff.c: (deinterlace_scanline_weave),
(copy_scanline):
Use oil_memcpy() instead of memcpy() as it's faster for the sizes that
are usually used here.
Diffstat (limited to 'gst/deinterlace2/tvtime/weave.c')
-rw-r--r-- | gst/deinterlace2/tvtime/weave.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gst/deinterlace2/tvtime/weave.c b/gst/deinterlace2/tvtime/weave.c index b74dcae8..da0c79a1 100644 --- a/gst/deinterlace2/tvtime/weave.c +++ b/gst/deinterlace2/tvtime/weave.c @@ -47,14 +47,14 @@ deinterlace_scanline_weave (GstDeinterlaceMethod * self, GstDeinterlace2 * parent, guint8 * out, GstDeinterlaceScanlineData * scanlines, gint width) { - memcpy (out, scanlines->m1, parent->line_length); + oil_memcpy (out, scanlines->m1, parent->line_length); } static void copy_scanline (GstDeinterlaceMethod * self, GstDeinterlace2 * parent, guint8 * out, GstDeinterlaceScanlineData * scanlines, gint width) { - memcpy (out, scanlines->m0, parent->line_length); + oil_memcpy (out, scanlines->m0, parent->line_length); } G_DEFINE_TYPE (GstDeinterlaceMethodWeave, gst_deinterlace_method_weave, |