mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 20:21:24 +00:00
videofilters: Add support for more YUV formats
https://bugzilla.gnome.org/show_bug.cgi?id=737111
This commit is contained in:
parent
b2398e3fd1
commit
511dfd65de
1 changed files with 4 additions and 1 deletions
|
@ -79,7 +79,7 @@ enum
|
||||||
/* pad templates */
|
/* pad templates */
|
||||||
|
|
||||||
#define VIDEO_CAPS GST_VIDEO_CAPS_MAKE( \
|
#define VIDEO_CAPS GST_VIDEO_CAPS_MAKE( \
|
||||||
"{ I420, Y444, Y42B, Y41B, YUY2, UYVY, AYUV }")
|
"{ I420, Y444, Y42B, Y41B, YUY2, UYVY, AYUV, NV12, NV21, YV12 }")
|
||||||
|
|
||||||
|
|
||||||
/* class initialization */
|
/* class initialization */
|
||||||
|
@ -222,6 +222,9 @@ gst_zebra_stripe_transform_frame_ip (GstVideoFilter * filter,
|
||||||
case GST_VIDEO_FORMAT_Y444:
|
case GST_VIDEO_FORMAT_Y444:
|
||||||
case GST_VIDEO_FORMAT_Y42B:
|
case GST_VIDEO_FORMAT_Y42B:
|
||||||
case GST_VIDEO_FORMAT_YUY2:
|
case GST_VIDEO_FORMAT_YUY2:
|
||||||
|
case GST_VIDEO_FORMAT_NV12:
|
||||||
|
case GST_VIDEO_FORMAT_NV21:
|
||||||
|
case GST_VIDEO_FORMAT_YV12:
|
||||||
break;
|
break;
|
||||||
case GST_VIDEO_FORMAT_UYVY:
|
case GST_VIDEO_FORMAT_UYVY:
|
||||||
offset = 1;
|
offset = 1;
|
||||||
|
|
Loading…
Reference in a new issue