From 6b773560f630dadfc266a817eee984ba0838f6d0 Mon Sep 17 00:00:00 2001 From: Gabriel Bouvigne Date: Mon, 21 Jan 2008 12:19:13 +0000 Subject: gst/deinterlace/gstdeinterlace.*: Provide 4:2:2 support Original commit message from CVS: Patch by: Gabriel Bouvigne * gst/deinterlace/gstdeinterlace.c: (gst_deinterlace_class_init), (gst_deinterlace_init), (gst_deinterlace_set_caps), (gst_deinterlace_transform_ip), (gst_deinterlace_set_property), (gst_deinterlace_get_property): * gst/deinterlace/gstdeinterlace.h: Provide 4:2:2 support Also deinterlace chroma planes Allow to turn on/off deinterlacing Change of default thresholds, in order to provide acceptable results with default params. Fixes #511001. --- gst/deinterlace/gstdeinterlace.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'gst/deinterlace/gstdeinterlace.h') diff --git a/gst/deinterlace/gstdeinterlace.h b/gst/deinterlace/gstdeinterlace.h index 20d63bfa..3e7c834e 100644 --- a/gst/deinterlace/gstdeinterlace.h +++ b/gst/deinterlace/gstdeinterlace.h @@ -40,14 +40,25 @@ struct _GstDeinterlace { gint width; gint height; + gint uv_height; + guint32 fourcc; gboolean show_deinterlaced_area_only; + gboolean show_noninterlaced_area_only; gboolean blend; + gboolean deinterlace; gint threshold_blend; /* here we start blending */ gint threshold; /* here we start interpolating TODO FIXME */ gint edge_detect; gint picsize; + gint y_stride; + gint u_stride; + gint v_stride; + gint y_off; + gint u_off; + gint v_off; + guchar *src; }; -- cgit v1.2.1