summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/va/gstvavideoformat.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sys/va/gstvavideoformat.c b/sys/va/gstvavideoformat.c
index a81886b1a..6b4c1a921 100644
--- a/sys/va/gstvavideoformat.c
+++ b/sys/va/gstvavideoformat.c
@@ -84,9 +84,12 @@ static struct FormatMap
G (Y210, ('Y', '2', '1', '0'), YUV422_10, NSB, 32),
/* F (????, Y216), */
G (Y410, ('Y', '4', '1', '0'), YUV444_10, NSB, 32),
+ G (Y212_LE, ('Y', '2', '1', '2'), YUV422_12, NSB, 32),
+ G (Y412_LE, ('Y', '4', '1', '2'), YUV422_12, NSB, 32),
/* F (????, Y416), */
/* F (????, YV16), */
G (P010_10LE, ('P', '0', '1', '0'), YUV420_10, NSB, 24),
+ G (P012_LE, ('P', '0', '1', '2'), YUV420_12, NSB, 24),
/* F (P016_LE, P016, ????), */
/* F (????, I010), */
/* F (????, IYUV), */
@@ -95,11 +98,18 @@ static struct FormatMap
/* F (????, X2R10G10B10), */
/* F (????, X2B10G10R10), */
G (GRAY8, ('Y', '8', '0', '0'), YUV400, NSB, 8),
+ G (Y444, ('4', '4', '4', 'P'), YUV444, NSB, 24),
/* F (????, Y16), */
/* G (VYUY, VYUY, YUV422), */
/* G (YVYU, YVYU, YUV422), */
/* F (ARGB64, ARGB64, ????), */
/* F (????, ABGR64), */
+ F (RGB16, ('R', 'G', '1', '6'), RGB16, NSB, 16, 16, 0x0000f800,
+ 0x000007e0, 0x0000001f, 0x00000000),
+ F (RGB, ('R', 'G', '2', '4'), RGB32, NSB, 32, 24, 0x00ff0000,
+ 0x0000ff00, 0x000000ff, 0x00000000),
+ F (BGR10A2_LE, ('A', 'R', '3', '0'), RGB32, LSB, 32, 30, 0x3ff00000,
+ 0x000ffc00, 0x000003ff, 0x30000000),
#undef F
#undef G
};