From: Tomi Valkeinen <tomi.valkeinen@xxxxxxxxxxxxxxxx> Hi, These kms++ patches add support for Y21x formats. Changes in v2: - Add Y212 and Y216 too - Fix Y210 shifts (must be in the msbs) - Format the pixelformats list a bit better - Have dst as the first parameter in the write functions Tomi Tomi Valkeinen (4): kms++: PixelFormats: Fix formatting kms++: PixelFormats: Add Y21x formats kms++util: Add endian.h kms++util: Add Y21x drawing support kms++/inc/kms++/pixelformats.h | 4 ++ kms++/src/pixelformats.cpp | 92 +++++++++----------------------- kms++util/inc/kms++util/endian.h | 46 ++++++++++++++++ kms++util/src/drawing.cpp | 63 ++++++++++++++++++++++ 4 files changed, 139 insertions(+), 66 deletions(-) create mode 100644 kms++util/inc/kms++util/endian.h -- 2.34.1