From 3788242e4fdc57b1421b4721120477ebb2298e52 Mon Sep 17 00:00:00 2001 From: Jyri Sarha Date: Wed, 10 Aug 2016 23:16:39 +0300 Subject: Add BGR888 (BG24) and BGR565 (BG16) pixelformats. Note colorbar does not support 24 bit modes (RGB888 or BGR888) yet. --- kms++util/inc/kms++util/color.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kms++util/inc') diff --git a/kms++util/inc/kms++util/color.h b/kms++util/inc/kms++util/color.h index ef85a67..ba2ed25 100644 --- a/kms++util/inc/kms++util/color.h +++ b/kms++util/inc/kms++util/color.h @@ -14,9 +14,11 @@ struct RGB RGB(uint32_t argb); uint32_t rgb888() const; + uint32_t bgr888() const; uint32_t argb8888() const; uint32_t abgr8888() const; uint16_t rgb565() const; + uint16_t bgr565() const; YUV yuv() const; uint8_t b; -- cgit v1.2.3