mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-06-05 06:58:56 +00:00
deinterlace2: Add support for YVYU colorspace
This is the same as YUY2 with just Cr and Cb swapped. As we don't make a difference between them when deinterlacing this works.
This commit is contained in:
parent
50424e44ad
commit
5a95bac390
1 changed files with 4 additions and 2 deletions
|
@ -328,13 +328,15 @@ gst_deinterlace2_field_layout_get_type (void)
|
||||||
static GstStaticPadTemplate src_templ = GST_STATIC_PAD_TEMPLATE ("src",
|
static GstStaticPadTemplate src_templ = GST_STATIC_PAD_TEMPLATE ("src",
|
||||||
GST_PAD_SRC,
|
GST_PAD_SRC,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("YUY2"))
|
GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("YUY2") ";"
|
||||||
|
GST_VIDEO_CAPS_YUV ("YVYU"))
|
||||||
);
|
);
|
||||||
|
|
||||||
static GstStaticPadTemplate sink_templ = GST_STATIC_PAD_TEMPLATE ("sink",
|
static GstStaticPadTemplate sink_templ = GST_STATIC_PAD_TEMPLATE ("sink",
|
||||||
GST_PAD_SINK,
|
GST_PAD_SINK,
|
||||||
GST_PAD_ALWAYS,
|
GST_PAD_ALWAYS,
|
||||||
GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("YUY2"))
|
GST_STATIC_CAPS (GST_VIDEO_CAPS_YUV ("YUY2") ";"
|
||||||
|
GST_VIDEO_CAPS_YUV ("YVYU"))
|
||||||
);
|
);
|
||||||
|
|
||||||
static void gst_deinterlace2_finalize (GObject * self);
|
static void gst_deinterlace2_finalize (GObject * self);
|
||||||
|
|
Loading…
Reference in a new issue