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/gstdeinterlace2.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/gstdeinterlace2.c')
-rw-r--r-- | gst/deinterlace2/gstdeinterlace2.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gst/deinterlace2/gstdeinterlace2.c b/gst/deinterlace2/gstdeinterlace2.c index 28abdaba..fd9ed99e 100644 --- a/gst/deinterlace2/gstdeinterlace2.c +++ b/gst/deinterlace2/gstdeinterlace2.c @@ -98,7 +98,7 @@ gst_deinterlace_simple_method_interpolate_scanline (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 @@ -106,7 +106,7 @@ gst_deinterlace_simple_method_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); } static void @@ -137,11 +137,11 @@ gst_deinterlace_simple_method_deinterlace_frame (GstDeinterlaceMethod * self, if (cur_field_flags == PICTURE_INTERLACED_BOTTOM) { /* double the first scanline of the bottom field */ - memcpy (out, field0, parent->line_length); + oil_memcpy (out, field0, parent->line_length); out += parent->output_stride; } - memcpy (out, field0, parent->line_length); + oil_memcpy (out, field0, parent->line_length); out += parent->output_stride; for (line = 2; line <= parent->field_height; line++) { @@ -226,7 +226,7 @@ gst_deinterlace_simple_method_deinterlace_frame (GstDeinterlaceMethod * self, if (cur_field_flags == PICTURE_INTERLACED_TOP) { /* double the last scanline of the top field */ - memcpy (out, field0, parent->line_length); + oil_memcpy (out, field0, parent->line_length); } } |