Lines Matching refs:scanlines
298 const GstDeinterlaceScanlineData * scanlines, guint stride) in gst_deinterlace_simple_method_interpolate_scanline_packed() argument
300 memcpy (out, scanlines->m1, stride); in gst_deinterlace_simple_method_interpolate_scanline_packed()
305 self, guint8 * out, const GstDeinterlaceScanlineData * scanlines, in gst_deinterlace_simple_method_copy_scanline_packed() argument
308 memcpy (out, scanlines->m0, stride); in gst_deinterlace_simple_method_copy_scanline_packed()
386 GstDeinterlaceScanlineData scanlines; in gst_deinterlace_simple_method_deinterlace_frame_packed() local
425 memset (&scanlines, 0, sizeof (scanlines)); in gst_deinterlace_simple_method_deinterlace_frame_packed()
426 scanlines.bottom_field = (cur_field_flags == PICTURE_INTERLACED_BOTTOM); in gst_deinterlace_simple_method_deinterlace_frame_packed()
428 if (!((i & 1) ^ scanlines.bottom_field)) { in gst_deinterlace_simple_method_deinterlace_frame_packed()
430 scanlines.tp = get_line (&lg, -1, 0, i, -1); in gst_deinterlace_simple_method_deinterlace_frame_packed()
431 scanlines.bp = get_line (&lg, -1, 0, i, 1); in gst_deinterlace_simple_method_deinterlace_frame_packed()
433 scanlines.tt0 = get_line (&lg, 0, 0, i, -2); in gst_deinterlace_simple_method_deinterlace_frame_packed()
434 scanlines.m0 = get_line (&lg, 0, 0, i, 0); in gst_deinterlace_simple_method_deinterlace_frame_packed()
435 scanlines.bb0 = get_line (&lg, 0, 0, i, 2); in gst_deinterlace_simple_method_deinterlace_frame_packed()
437 scanlines.t1 = get_line (&lg, 1, 0, i, -1); in gst_deinterlace_simple_method_deinterlace_frame_packed()
438 scanlines.b1 = get_line (&lg, 1, 0, i, 1); in gst_deinterlace_simple_method_deinterlace_frame_packed()
440 scanlines.tt2 = get_line (&lg, 2, 0, i, -2); in gst_deinterlace_simple_method_deinterlace_frame_packed()
441 scanlines.m2 = get_line (&lg, 2, 0, i, 0); in gst_deinterlace_simple_method_deinterlace_frame_packed()
442 scanlines.bb2 = get_line (&lg, 2, 0, i, 2); in gst_deinterlace_simple_method_deinterlace_frame_packed()
444 self->copy_scanline_packed (self, LINE (outframe, i), &scanlines, in gst_deinterlace_simple_method_deinterlace_frame_packed()
448 scanlines.tp2 = get_line (&lg, -2, 0, i, -1); in gst_deinterlace_simple_method_deinterlace_frame_packed()
449 scanlines.bp2 = get_line (&lg, -2, 0, i, 1); in gst_deinterlace_simple_method_deinterlace_frame_packed()
451 scanlines.ttp = get_line (&lg, -1, 0, i, -2); in gst_deinterlace_simple_method_deinterlace_frame_packed()
452 scanlines.mp = get_line (&lg, -1, 0, i, 0); in gst_deinterlace_simple_method_deinterlace_frame_packed()
453 scanlines.bbp = get_line (&lg, -1, 0, i, 2); in gst_deinterlace_simple_method_deinterlace_frame_packed()
455 scanlines.t0 = get_line (&lg, 0, 0, i, -1); in gst_deinterlace_simple_method_deinterlace_frame_packed()
456 scanlines.b0 = get_line (&lg, 0, 0, i, 1); in gst_deinterlace_simple_method_deinterlace_frame_packed()
458 scanlines.tt1 = get_line (&lg, 1, 0, i, -2); in gst_deinterlace_simple_method_deinterlace_frame_packed()
459 scanlines.m1 = get_line (&lg, 1, 0, i, 0); in gst_deinterlace_simple_method_deinterlace_frame_packed()
460 scanlines.bb1 = get_line (&lg, 1, 0, i, 2); in gst_deinterlace_simple_method_deinterlace_frame_packed()
462 scanlines.t2 = get_line (&lg, 2, 0, i, -1); in gst_deinterlace_simple_method_deinterlace_frame_packed()
463 scanlines.b2 = get_line (&lg, 2, 0, i, 1); in gst_deinterlace_simple_method_deinterlace_frame_packed()
465 self->interpolate_scanline_packed (self, LINE (outframe, i), &scanlines, in gst_deinterlace_simple_method_deinterlace_frame_packed()
475 const GstDeinterlaceScanlineData * scanlines, guint size) in gst_deinterlace_simple_method_interpolate_scanline_planar_y() argument
477 memcpy (out, scanlines->m1, size); in gst_deinterlace_simple_method_interpolate_scanline_planar_y()
482 * self, guint8 * out, const GstDeinterlaceScanlineData * scanlines, guint in gst_deinterlace_simple_method_copy_scanline_planar_y() argument
485 memcpy (out, scanlines->m0, size); in gst_deinterlace_simple_method_copy_scanline_planar_y()
491 const GstDeinterlaceScanlineData * scanlines, guint size) in gst_deinterlace_simple_method_interpolate_scanline_planar_u() argument
493 memcpy (out, scanlines->m1, size); in gst_deinterlace_simple_method_interpolate_scanline_planar_u()
498 * self, guint8 * out, const GstDeinterlaceScanlineData * scanlines, guint in gst_deinterlace_simple_method_copy_scanline_planar_u() argument
501 memcpy (out, scanlines->m0, size); in gst_deinterlace_simple_method_copy_scanline_planar_u()
507 const GstDeinterlaceScanlineData * scanlines, guint size) in gst_deinterlace_simple_method_interpolate_scanline_planar_v() argument
509 memcpy (out, scanlines->m1, size); in gst_deinterlace_simple_method_interpolate_scanline_planar_v()
514 * self, guint8 * out, const GstDeinterlaceScanlineData * scanlines, guint in gst_deinterlace_simple_method_copy_scanline_planar_v() argument
517 memcpy (out, scanlines->m0, size); in gst_deinterlace_simple_method_copy_scanline_planar_v()
528 GstDeinterlaceScanlineData scanlines; in gst_deinterlace_simple_method_deinterlace_frame_planar_plane() local
543 memset (&scanlines, 0, sizeof (scanlines)); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
544 scanlines.bottom_field = (cur_field_flags == PICTURE_INTERLACED_BOTTOM); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
546 if (!((i & 1) ^ scanlines.bottom_field)) { in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
548 scanlines.tp = get_line (lg, -1, plane, i, -1); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
549 scanlines.bp = get_line (lg, -1, plane, i, 1); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
551 scanlines.tt0 = get_line (lg, 0, plane, i, -2); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
552 scanlines.m0 = get_line (lg, 0, plane, i, 0); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
553 scanlines.bb0 = get_line (lg, 0, plane, i, 2); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
555 scanlines.t1 = get_line (lg, 1, plane, i, -1); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
556 scanlines.b1 = get_line (lg, 1, plane, i, 1); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
558 scanlines.tt2 = get_line (lg, 2, plane, i, -2); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
559 scanlines.m2 = get_line (lg, 2, plane, i, 0); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
560 scanlines.bb2 = get_line (lg, 2, plane, i, 2); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
562 copy_scanline (self, LINE (dest, i), &scanlines, frame_width); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
565 scanlines.tp2 = get_line (lg, -2, plane, i, -1); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
566 scanlines.bp2 = get_line (lg, -2, plane, i, 1); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
568 scanlines.ttp = get_line (lg, -1, plane, i, -2); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
569 scanlines.mp = get_line (lg, -1, plane, i, 0); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
570 scanlines.bbp = get_line (lg, -1, plane, i, 2); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
572 scanlines.t0 = get_line (lg, 0, plane, i, -1); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
573 scanlines.b0 = get_line (lg, 0, plane, i, 1); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
575 scanlines.tt1 = get_line (lg, 1, plane, i, -2); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
576 scanlines.m1 = get_line (lg, 1, plane, i, 0); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
577 scanlines.bb1 = get_line (lg, 1, plane, i, 2); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
579 scanlines.t2 = get_line (lg, 2, plane, i, -1); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
580 scanlines.b2 = get_line (lg, 2, plane, i, 1); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()
582 interpolate_scanline (self, LINE (dest, i), &scanlines, frame_width); in gst_deinterlace_simple_method_deinterlace_frame_planar_plane()