summaryrefslogtreecommitdiff
path: root/kms++/src/pixelformats.cpp
diff options
context:
space:
mode:
authorTomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com>2022-12-02 15:05:02 +0200
committerTomi Valkeinen <tomi.valkeinen@ideasonboard.com>2022-12-18 15:45:10 +0200
commitdc8d3e0089f2382028e68cdc0fbb26ac675bf1e6 (patch)
tree159861fbb65c48a89bfd5a5ffb2feb489b07d859 /kms++/src/pixelformats.cpp
parentc1895b6ed77aa9739291594c86b7fa6bc144608e (diff)
kms++: PixelFormats: Add Y21x formats
Add Y210, Y212, Y216 pixel formats. Signed-off-by: Tomi Valkeinen <tomi.valkeinen+renesas@ideasonboard.com> Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Diffstat (limited to 'kms++/src/pixelformats.cpp')
-rw-r--r--kms++/src/pixelformats.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/kms++/src/pixelformats.cpp b/kms++/src/pixelformats.cpp
index 1f10f3a..5f13ef4 100644
--- a/kms++/src/pixelformats.cpp
+++ b/kms++/src/pixelformats.cpp
@@ -28,6 +28,22 @@ static const map<PixelFormat, PixelFormatInfo> format_info_array = {
1,
{ { 16, 2, 1 } },
} },
+ { PixelFormat::Y210, {
+ PixelColorType::YUV,
+ 1,
+ { { 32, 2, 1 } },
+ } },
+ { PixelFormat::Y212, {
+ PixelColorType::YUV,
+ 1,
+ { { 32, 2, 1 } },
+ } },
+ { PixelFormat::Y216, {
+ PixelColorType::YUV,
+ 1,
+ { { 32, 2, 1 } },
+ } },
+
/* YUV semi-planar */
{ PixelFormat::NV12, {
PixelColorType::YUV,