- {"UNKNOWN", GST_VIDEO_FORMAT_UNKNOWN, 0x00000000},
- {"I420", GST_VIDEO_FORMAT_I420, GST_MAKE_FOURCC ('I', '4', '2', '0')},
- {"YV12", GST_VIDEO_FORMAT_YV12, GST_MAKE_FOURCC ('Y', 'V', '1', '2')},
- {"YUY2", GST_VIDEO_FORMAT_YUY2, GST_MAKE_FOURCC ('Y', 'U', 'Y', '2')},
- {"UYVY", GST_VIDEO_FORMAT_UYVY, GST_MAKE_FOURCC ('U', 'Y', 'V', 'Y')},
- {"AYUV", GST_VIDEO_FORMAT_AYUV, GST_MAKE_FOURCC ('A', 'Y', 'U', 'V')},
- {"RGBx", GST_VIDEO_FORMAT_RGBx, 0x00000000},
- {"BGRx", GST_VIDEO_FORMAT_BGRx, 0x00000000},
- {"xRGB", GST_VIDEO_FORMAT_xRGB, 0x00000000},
- {"xBGR", GST_VIDEO_FORMAT_xBGR, 0x00000000},
- {"RGBA", GST_VIDEO_FORMAT_RGBA, 0x00000000},
- {"BGRA", GST_VIDEO_FORMAT_BGRA, 0x00000000},
- {"ARGB", GST_VIDEO_FORMAT_ARGB, 0x00000000},
- {"ABGR", GST_VIDEO_FORMAT_ABGR, 0x00000000},
- {"RGB", GST_VIDEO_FORMAT_RGB, 0x00000000},
- {"BGR", GST_VIDEO_FORMAT_BGR, 0x00000000},
- {"Y41B", GST_VIDEO_FORMAT_Y41B, GST_MAKE_FOURCC ('Y', '4', '1', 'B')},
- {"Y42B", GST_VIDEO_FORMAT_Y42B, GST_MAKE_FOURCC ('Y', '4', '2', 'B')},
- {"YVYU", GST_VIDEO_FORMAT_YVYU, GST_MAKE_FOURCC ('Y', 'V', 'Y', 'U')},
- {"Y444", GST_VIDEO_FORMAT_Y444, GST_MAKE_FOURCC ('Y', '4', '4', '4')},
- {"v210", GST_VIDEO_FORMAT_v210, GST_MAKE_FOURCC ('v', '2', '1', '0')},
- {"v216", GST_VIDEO_FORMAT_v216, GST_MAKE_FOURCC ('v', '2', '1', '6')},
- {"NV12", GST_VIDEO_FORMAT_NV12, GST_MAKE_FOURCC ('N', 'V', '1', '2')},
- {"NV21", GST_VIDEO_FORMAT_NV21, GST_MAKE_FOURCC ('N', 'V', '2', '1')},
- {"GRAY8", GST_VIDEO_FORMAT_GRAY8, 0x00000000},
- {"GRAY16_BE", GST_VIDEO_FORMAT_GRAY16_BE, 0x00000000},
- {"GRAY16_LE", GST_VIDEO_FORMAT_GRAY16_LE, 0x00000000},
- {"v308", GST_VIDEO_FORMAT_v308, GST_MAKE_FOURCC ('v', '3', '0', '8')},
- {"Y800", GST_VIDEO_FORMAT_Y800, GST_MAKE_FOURCC ('Y', '8', '0', '0')},
- {"Y16", GST_VIDEO_FORMAT_Y16, GST_MAKE_FOURCC ('Y', '1', '6', ' ')},
- {"RGB16", GST_VIDEO_FORMAT_RGB16, 0x00000000},
- {"BGR16", GST_VIDEO_FORMAT_BGR16, 0x00000000},
- {"RGB15", GST_VIDEO_FORMAT_RGB15, 0x00000000},
- {"BGR15", GST_VIDEO_FORMAT_BGR15, 0x00000000},
- {"UYVP", GST_VIDEO_FORMAT_UYVP, GST_MAKE_FOURCC ('U', 'Y', 'V', 'P')},
- {"A420", GST_VIDEO_FORMAT_A420, GST_MAKE_FOURCC ('A', '4', '2', '0')},
- {"RGB8_PALLETTED", GST_VIDEO_FORMAT_RGB8_PALETTED, 0x00000000},
- {"YUV9", GST_VIDEO_FORMAT_YUV9, GST_MAKE_FOURCC ('Y', 'U', 'V', '9')},
- {"YVU9", GST_VIDEO_FORMAT_YVU9, GST_MAKE_FOURCC ('Y', 'V', 'U', '9')},
- {"IYU1", GST_VIDEO_FORMAT_IYU1, GST_MAKE_FOURCC ('I', 'Y', 'U', '1')},
- {"ARGB64", GST_VIDEO_FORMAT_ARGB64, 0x00000000},
- {"AYUV64", GST_VIDEO_FORMAT_AYUV64, GST_MAKE_FOURCC ('A', 'Y', '6', '4')},
- {"r210", GST_VIDEO_FORMAT_r210, 0x00000000}
+ {"UNKNOWN", GST_VIDEO_FORMAT_UNKNOWN, 0x00000000, 0, COMP0},
+
+ MAKE_YUV_FORMAT (I420, GST_MAKE_FOURCC ('I', '4', '2', '0'), COMP888),
+ MAKE_YUV_FORMAT (YV12, GST_MAKE_FOURCC ('Y', 'V', '1', '2'), COMP888),
+ MAKE_YUV_FORMAT (YUY2, GST_MAKE_FOURCC ('Y', 'U', 'Y', '2'), COMP888),
+ MAKE_YUV_FORMAT (UYVY, GST_MAKE_FOURCC ('U', 'Y', 'V', 'Y'), COMP888),
+ MAKE_YUVA_FORMAT (AYUV, GST_MAKE_FOURCC ('A', 'Y', 'U', 'V'), COMP8888),
+ MAKE_RGB_FORMAT (RGBx, COMP888),
+ MAKE_RGB_FORMAT (BGRx, COMP888),
+ MAKE_RGB_FORMAT (xRGB, COMP888),
+ MAKE_RGB_FORMAT (xBGR, COMP888),
+ MAKE_RGBA_FORMAT (RGBA, COMP8888),
+ MAKE_RGBA_FORMAT (BGRA, COMP8888),
+ MAKE_RGBA_FORMAT (ARGB, COMP8888),
+ MAKE_RGBA_FORMAT (ABGR, COMP8888),
+ MAKE_RGB_FORMAT (RGB, COMP888),
+ MAKE_RGB_FORMAT (BGR, COMP888),
+
+ MAKE_YUV_FORMAT (Y41B, GST_MAKE_FOURCC ('Y', '4', '1', 'B'), COMP888),
+ MAKE_YUV_FORMAT (Y42B, GST_MAKE_FOURCC ('Y', '4', '2', 'B'), COMP888),
+ MAKE_YUV_FORMAT (YVYU, GST_MAKE_FOURCC ('Y', 'V', 'Y', 'U'), COMP888),
+ MAKE_YUV_FORMAT (Y444, GST_MAKE_FOURCC ('Y', '4', '4', '4'), COMP888),
+ MAKE_YUV_FORMAT (v210, GST_MAKE_FOURCC ('v', '2', '1', '0'), COMP10_10_10),
+ MAKE_YUV_FORMAT (v216, GST_MAKE_FOURCC ('v', '2', '1', '6'), COMP16_16_16),
+ MAKE_YUV_FORMAT (NV12, GST_MAKE_FOURCC ('N', 'V', '1', '2'), COMP888),
+ MAKE_YUV_FORMAT (NV21, GST_MAKE_FOURCC ('N', 'V', '2', '1'), COMP888),
+
+ MAKE_GRAY_FORMAT (GRAY8, COMP8),
+ MAKE_GRAY_FORMAT (GRAY16_BE, COMP16),
+ MAKE_GRAY_FORMAT (GRAY16_LE, COMP16),
+
+ MAKE_YUV_FORMAT (v308, GST_MAKE_FOURCC ('v', '3', '0', '8'), COMP888),
+ MAKE_YUV_FORMAT (Y800, GST_MAKE_FOURCC ('Y', '8', '0', '0'), COMP8),
+ MAKE_YUV_FORMAT (Y16, GST_MAKE_FOURCC ('Y', '1', '6', ' '), COMP16),
+
+ MAKE_RGB_FORMAT (RGB16, COMP565),
+ MAKE_RGB_FORMAT (BGR16, COMP565),
+ MAKE_RGB_FORMAT (RGB15, COMP555),
+ MAKE_RGB_FORMAT (BGR15, COMP555),
+
+ MAKE_YUV_FORMAT (UYVP, GST_MAKE_FOURCC ('U', 'Y', 'V', 'P'), COMP10_10_10),
+ MAKE_YUVA_FORMAT (A420, GST_MAKE_FOURCC ('A', '4', '2', '0'), COMP888),
+ MAKE_RGBA_FORMAT (RGB8_PALETTED, COMP8888),
+ MAKE_YUV_FORMAT (YUV9, GST_MAKE_FOURCC ('Y', 'U', 'V', '9'), COMP888),
+ MAKE_YUV_FORMAT (YVU9, GST_MAKE_FOURCC ('Y', 'V', 'U', '9'), COMP888),
+ MAKE_YUV_FORMAT (IYU1, GST_MAKE_FOURCC ('I', 'Y', 'U', '1'), COMP888),
+ MAKE_RGBA_FORMAT (ARGB64, COMP16_16_16_16),
+ MAKE_YUVA_FORMAT (AYUV64, 0x00000000, COMP16_16_16_16),
+ MAKE_YUV_FORMAT (r210, GST_MAKE_FOURCC ('r', '2', '1', '0'), COMP10_10_10),