mbox series

[kms++,v2,0/4] Support Y210, Y212, Y216

Message ID 20221205080339.12801-1-tomi.valkeinen+renesas@ideasonboard.com (mailing list archive)
Headers show
Series Support Y210, Y212, Y216 | expand

Message

Tomi Valkeinen Dec. 5, 2022, 8:03 a.m. UTC
From: Tomi Valkeinen <tomi.valkeinen@ideasonboard.com>

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