diff --git a/girs/GstVideo-1.0.gir b/girs/GstVideo-1.0.gir index 993f95cba3..396d42aeb9 100644 --- a/girs/GstVideo-1.0.gir +++ b/girs/GstVideo-1.0.gir @@ -2958,7 +2958,7 @@ Formats are sorted by decreasing "quality", using these criteria by priority: - + Declare all video formats as a string. Formats are sorted by decreasing "quality", using these criteria by priority: diff --git a/subprojects/gst-plugins-base/gst-libs/gst/video/video-format.h b/subprojects/gst-plugins-base/gst-libs/gst/video/video-format.h index 24225fafaf..dc1dc3070f 100644 --- a/subprojects/gst-plugins-base/gst-libs/gst/video/video-format.h +++ b/subprojects/gst-plugins-base/gst-libs/gst/video/video-format.h @@ -1057,37 +1057,41 @@ gconstpointer gst_video_format_get_palette (GstVideoFormat format, gsi * Since: 1.24 */ #if G_BYTE_ORDER == G_BIG_ENDIAN -#define GST_VIDEO_FORMATS_ALL_STR "A444_16BE, A444_16LE, ABGR64_BE, BGRA64_BE, " \ - "AYUV64, ARGB64_BE, ARGB64, RGBA64_BE, ABGR64_LE, BGRA64_LE, ARGB64_LE, " \ - "RGBA64_LE, A422_16BE, A422_16LE, A420_16BE, A420_16LE, A444_12BE, GBRA_12BE, " \ - "A444_12LE, GBRA_12LE, Y412_BE, Y412_LE, A422_12BE, A422_12LE, A420_12BE, " \ - "A420_12LE, A444_10BE, GBRA_10BE, A444_10LE, GBRA_10LE, A422_10BE, A422_10LE, " \ - "A420_10BE, A420_10LE, RGB10A2_LE, BGR10A2_LE, Y410, A444, GBRA, ABGR, VUYA, BGRA, " \ - "AYUV, ARGB, RGBA, A422, A420, AV12, Y444_16BE, Y444_16LE, v216, P016_BE, P016_LE, Y444_12BE, " \ - "GBR_12BE, Y444_12LE, GBR_12LE, I422_12BE, I422_12LE, Y212_BE, Y212_LE, I420_12BE, " \ - "I420_12LE, P012_BE, P012_LE, Y444_10BE, GBR_10BE, Y444_10LE, GBR_10LE, r210, " \ - "I422_10BE, I422_10LE, NV16_10LE32, Y210, v210, UYVP, I420_10BE, I420_10LE, " \ - "P010_10BE, NV12_10LE32, NV12_10LE40, P010_10LE, NV12_10LE40_4L4, NV12_10BE_8L128, " \ - "MT2110T, MT2110R, Y444, RGBP, GBR, BGRP, NV24, xBGR, BGRx, " \ - "xRGB, RGBx, BGR, IYU2, v308, RGB, Y42B, NV61, NV16, VYUY, UYVY, YVYU, YUY2, I420, " \ - "YV12, NV21, NV12, NV12_8L128, NV12_64Z32, NV12_4L4, NV12_32L32, NV12_16L32S, Y41B, " \ - "IYU1, YVU9, YUV9, RGB16, BGR16, RGB15, BGR15, RGB8P, GRAY16_BE, GRAY16_LE, GRAY10_LE32, GRAY8" +#define GST_VIDEO_FORMATS_ALL_STR "A444_16BE, A444_16LE, ABGR64_BE, ARGB64_BE, " \ + "BGRA64_BE, RGBA64_BE, AYUV64, ABGR64_LE, ARGB64, ARGB64_LE, BGRA64_LE, " \ + "RGBA64_LE, A422_16BE, A422_16LE, A420_16BE, A420_16LE, A444_12BE, " \ + "GBRA_12BE, A444_12LE, GBRA_12LE, Y412_BE, Y412_LE, A422_12BE, A422_12LE, " \ + "A420_12BE, A420_12LE, A444_10BE, GBRA_10BE, A444_10LE, GBRA_10LE, " \ + "A422_10BE, A422_10LE, A420_10BE, A420_10LE, Y410, BGR10A2_LE, RGB10A2_LE, " \ + "A444, GBRA, AYUV, VUYA, ABGR, ARGB, BGRA, RGBA, A422, A420, AV12, " \ + "Y444_16BE, Y444_16LE, v216, P016_BE, P016_LE, Y444_12BE, GBR_12BE, " \ + "Y444_12LE, GBR_12LE, I422_12BE, I422_12LE, Y212_BE, Y212_LE, I420_12BE, " \ + "I420_12LE, P012_BE, P012_LE, Y444_10BE, GBR_10BE, Y444_10LE, GBR_10LE, " \ + "r210, I422_10BE, I422_10LE, NV16_10LE32, Y210, UYVP, v210, I420_10BE, " \ + "I420_10LE, P010_10BE, MT2110R, MT2110T, NV12_10BE_8L128, NV12_10LE40_4L4, " \ + "P010_10LE, NV12_10LE32, NV12_10LE40, Y444, BGRP, GBR, RGBP, NV24, BGRx, " \ + "RGBx, xBGR, xRGB, IYU2, v308, BGR, RGB, Y42B, NV16, NV61, UYVY, VYUY, " \ + "YUY2, YVYU, I420, YV12, NV12, NV21, NV12_16L32S, NV12_32L32, NV12_4L4, " \ + "NV12_64Z32, NV12_8L128, Y41B, IYU1, YUV9, YVU9, BGR16, RGB16, BGR15, " \ + "RGB15, RGB8P, GRAY16_BE, GRAY16_LE, GRAY10_LE32, GRAY8" #elif G_BYTE_ORDER == G_LITTLE_ENDIAN -#define GST_VIDEO_FORMATS_ALL_STR "A444_16LE, A444_16BE, ABGR64_LE, BGRA64_LE, " \ - "AYUV64, ARGB64_LE, ARGB64, RGBA64_LE, ABGR64_BE, BGRA64_BE, ARGB64_BE, " \ - "RGBA64_BE, A422_16LE, A422_16BE, A420_16LE, A420_16BE, A444_12LE, GBRA_12LE, " \ - "A444_12BE, GBRA_12BE, Y412_LE, Y412_BE, A422_12LE, A422_12BE, A420_12LE, " \ - "A420_12BE, A444_10LE, GBRA_10LE, A444_10BE, GBRA_10BE, A422_10LE, A422_10BE, " \ - "A420_10LE, A420_10BE, RGB10A2_LE, BGR10A2_LE, Y410, A444, GBRA, ABGR, VUYA, BGRA, " \ - "AYUV, ARGB, RGBA, A422, A420, AV12, Y444_16LE, Y444_16BE, v216, P016_LE, P016_BE, Y444_12LE, " \ - "GBR_12LE, Y444_12BE, GBR_12BE, I422_12LE, I422_12BE, Y212_LE, Y212_BE, I420_12LE, " \ - "I420_12BE, P012_LE, P012_BE, Y444_10LE, GBR_10LE, Y444_10BE, GBR_10BE, r210, " \ - "I422_10LE, I422_10BE, NV16_10LE32, Y210, v210, UYVP, I420_10LE, I420_10BE, " \ - "P010_10LE, NV12_10LE32, NV12_10LE40, P010_10BE, NV12_10LE40_4L4, NV12_10BE_8L128, " \ - "MT2110T, MT2110R, Y444, RGBP, GBR, BGRP, NV24, xBGR, BGRx, " \ - "xRGB, RGBx, BGR, IYU2, v308, RGB, Y42B, NV61, NV16, VYUY, UYVY, YVYU, YUY2, I420, " \ - "YV12, NV21, NV12, NV12_8L128, NV12_64Z32, NV12_4L4, NV12_32L32, NV12_16L32S, Y41B, " \ - "IYU1, YVU9, YUV9, RGB16, BGR16, RGB15, BGR15, RGB8P, GRAY16_LE, GRAY16_BE, GRAY10_LE32, GRAY8" +#define GST_VIDEO_FORMATS_ALL_STR "A444_16LE, A444_16BE, AYUV64, ABGR64_LE, " \ + "ARGB64, ARGB64_LE, BGRA64_LE, RGBA64_LE, ABGR64_BE, ARGB64_BE, BGRA64_BE, " \ + "RGBA64_BE, A422_16LE, A422_16BE, A420_16LE, A420_16BE, A444_12LE, " \ + "GBRA_12LE, A444_12BE, GBRA_12BE, Y412_LE, Y412_BE, A422_12LE, A422_12BE, " \ + "A420_12LE, A420_12BE, A444_10LE, GBRA_10LE, A444_10BE, GBRA_10BE, " \ + "A422_10LE, A422_10BE, A420_10LE, A420_10BE, BGR10A2_LE, RGB10A2_LE, Y410, " \ + "A444, GBRA, AYUV, VUYA, ABGR, ARGB, BGRA, RGBA, A422, A420, AV12, " \ + "Y444_16LE, Y444_16BE, v216, P016_LE, P016_BE, Y444_12LE, GBR_12LE, " \ + "Y444_12BE, GBR_12BE, I422_12LE, I422_12BE, Y212_LE, Y212_BE, I420_12LE, " \ + "I420_12BE, P012_LE, P012_BE, Y444_10LE, GBR_10LE, Y444_10BE, GBR_10BE, " \ + "r210, I422_10LE, I422_10BE, NV16_10LE32, Y210, UYVP, v210, I420_10LE, " \ + "I420_10BE, P010_10LE, NV12_10LE32, NV12_10LE40, P010_10BE, MT2110R, " \ + "MT2110T, NV12_10BE_8L128, NV12_10LE40_4L4, Y444, BGRP, GBR, RGBP, NV24, " \ + "BGRx, RGBx, xBGR, xRGB, IYU2, v308, BGR, RGB, Y42B, NV16, NV61, UYVY, " \ + "VYUY, YUY2, YVYU, I420, YV12, NV12, NV21, NV12_16L32S, NV12_32L32, " \ + "NV12_4L4, NV12_64Z32, NV12_8L128, Y41B, IYU1, YUV9, YVU9, BGR16, RGB16, " \ + "BGR15, RGB15, RGB8P, GRAY16_LE, GRAY16_BE, GRAY10_LE32, GRAY8" #endif /**