mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-09-08 21:28:45 +00:00
qtdemux: Add support for 2Vuy and r210
This commit is contained in:
parent
88cbcf5aa4
commit
6565dd5fbc
1 changed files with 12 additions and 0 deletions
|
@ -8923,6 +8923,7 @@ qtdemux_video_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
|
||||||
NULL);
|
NULL);
|
||||||
break;
|
break;
|
||||||
case GST_MAKE_FOURCC ('2', 'v', 'u', 'y'):
|
case GST_MAKE_FOURCC ('2', 'v', 'u', 'y'):
|
||||||
|
case GST_MAKE_FOURCC ('2', 'V', 'u', 'y'):
|
||||||
_codec ("Raw packed YUV 4:2:2");
|
_codec ("Raw packed YUV 4:2:2");
|
||||||
caps = gst_caps_new_simple ("video/x-raw-yuv",
|
caps = gst_caps_new_simple ("video/x-raw-yuv",
|
||||||
"format", GST_TYPE_FOURCC, GST_MAKE_FOURCC ('U', 'Y', 'V', 'Y'),
|
"format", GST_TYPE_FOURCC, GST_MAKE_FOURCC ('U', 'Y', 'V', 'Y'),
|
||||||
|
@ -8934,6 +8935,17 @@ qtdemux_video_caps (GstQTDemux * qtdemux, QtDemuxStream * stream,
|
||||||
"format", GST_TYPE_FOURCC, GST_MAKE_FOURCC ('v', '2', '1', '0'),
|
"format", GST_TYPE_FOURCC, GST_MAKE_FOURCC ('v', '2', '1', '0'),
|
||||||
NULL);
|
NULL);
|
||||||
break;
|
break;
|
||||||
|
case GST_MAKE_FOURCC ('r', '2', '1', '0'):
|
||||||
|
_codec ("Raw packed RGB 10-bit 4:4:4");
|
||||||
|
caps = gst_caps_new_simple ("video/x-raw-rgb",
|
||||||
|
"endianness", G_TYPE_INT, G_BIG_ENDIAN, "depth", G_TYPE_INT, 30,
|
||||||
|
"bpp", G_TYPE_INT, 32,
|
||||||
|
"endianness", G_TYPE_INT, G_BIG_ENDIAN,
|
||||||
|
"red_mask", G_TYPE_INT, 0x3ff00000,
|
||||||
|
"green_mask", G_TYPE_INT, 0x000ffc00,
|
||||||
|
"blue_mask", G_TYPE_INT, 0x000003ff, NULL);
|
||||||
|
GST_ERROR ("caps %P", caps);
|
||||||
|
break;
|
||||||
case GST_MAKE_FOURCC ('m', 'p', 'e', 'g'):
|
case GST_MAKE_FOURCC ('m', 'p', 'e', 'g'):
|
||||||
case GST_MAKE_FOURCC ('m', 'p', 'g', '1'):
|
case GST_MAKE_FOURCC ('m', 'p', 'g', '1'):
|
||||||
_codec ("MPEG-1 video");
|
_codec ("MPEG-1 video");
|
||||||
|
|
Loading…
Reference in a new issue