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
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
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++) {
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);
}
}
GST_BUFFER_DATA (object->field_history[object->history_count - 3].buf);
// copy first even line
- memcpy (Dest, L1, object->line_length);
+ oil_memcpy (Dest, L1, object->line_length);
Dest += object->output_stride;
} else {
InfoIsOdd = 0;
Pitch;
// copy first even line
- memcpy (Dest, GST_BUFFER_DATA (object->field_history[0].buf),
+ oil_memcpy (Dest, GST_BUFFER_DATA (object->field_history[0].buf),
object->line_length);
Dest += object->output_stride;
// then first odd line
- memcpy (Dest, L1, object->line_length);
+ oil_memcpy (Dest, L1, object->line_length);
Dest += object->output_stride;
}
for (Line = 0; Line < (object->field_height - 1); ++Line) {
klass->scanline (self, L2, L1, L3, L2P, Dest, object->line_length);
Dest += object->output_stride;
- memcpy (Dest, L3, object->line_length);
+ oil_memcpy (Dest, L3, object->line_length);
Dest += object->output_stride;
L1 += Pitch;
}
if (InfoIsOdd) {
- memcpy (Dest, L2, object->line_length);
+ oil_memcpy (Dest, L2, object->line_length);
}
}
GST_BUFFER_DATA (object->field_history[object->history_count - 3].buf);
// copy first even line
- memcpy (Dest, L1, object->line_length);
+ oil_memcpy (Dest, L1, object->line_length);
Dest += object->output_stride;
} else {
InfoIsOdd = 0;
Pitch;
// copy first even line
- memcpy (Dest, GST_BUFFER_DATA (object->field_history[0].buf),
+ oil_memcpy (Dest, GST_BUFFER_DATA (object->field_history[0].buf),
object->line_length);
Dest += object->output_stride;
// then first odd line
- memcpy (Dest, L1, object->line_length);
+ oil_memcpy (Dest, L1, object->line_length);
Dest += object->output_stride;
}
for (Line = 0; Line < (object->field_height - 1); ++Line) {
klass->scanline (self, L1, L2, L3, L2P, Dest, object->line_length);
Dest += object->output_stride;
- memcpy (Dest, L3, object->line_length);
+ oil_memcpy (Dest, L3, object->line_length);
Dest += object->output_stride;
L1 += Pitch;
}
if (InfoIsOdd) {
- memcpy (Dest, L2, object->line_length);
+ oil_memcpy (Dest, L2, object->line_length);
}
}
GstDeinterlace2 * parent, guint8 * out,
GstDeinterlaceScanlineData * scanlines, gint width)
{
- memcpy (out, scanlines->t0, parent->line_length);
+ oil_memcpy (out, scanlines->t0, parent->line_length);
}
G_DEFINE_TYPE (GstDeinterlaceMethodScalerBob, gst_deinterlace_method_scaler_bob,
int i;
for (i = 0; i < rows; i++) {
- memcpy (pDest, pSrc, count);
+ oil_memcpy (pDest, pSrc, count);
pSrc += src_pitch;
pDest += dst_pitch;
}
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,
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
{
/* FIXME: original code used m2 and m0 but this looks really bad */
if (scanlines->bottom_field) {
- memcpy (out, scanlines->bb2, parent->line_length);
+ oil_memcpy (out, scanlines->bb2, parent->line_length);
} else {
- memcpy (out, scanlines->bb0, parent->line_length);
+ oil_memcpy (out, scanlines->bb0, parent->line_length);
}
}
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
{
/* FIXME: original code used m2 and m0 but this looks really bad */
if (scanlines->bottom_field) {
- memcpy (out, scanlines->bb0, parent->line_length);
+ oil_memcpy (out, scanlines->bb0, parent->line_length);
} else {
- memcpy (out, scanlines->bb2, parent->line_length);
+ oil_memcpy (out, scanlines->bb2, parent->line_length);
}
}