driver: display: Clarified byte order of pixel formats
Clarified that the byte order of multi byte pixel formats is in big endian order. Signed-off-by: Jan Van Winkel <jan.van_winkel@dxplore.eu>
This commit is contained in:
parent
c08565dad4
commit
ecaa7102d2
1 changed files with 8 additions and 0 deletions
|
@ -27,6 +27,14 @@
|
||||||
extern "C" {
|
extern "C" {
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @brief Display pixel formats
|
||||||
|
*
|
||||||
|
* Display pixel format enumeration.
|
||||||
|
*
|
||||||
|
* In case a pixel format consists out of multiple bytes the byte order is
|
||||||
|
* big endian.
|
||||||
|
*/
|
||||||
enum display_pixel_format {
|
enum display_pixel_format {
|
||||||
PIXEL_FORMAT_RGB_888 = BIT(0),
|
PIXEL_FORMAT_RGB_888 = BIT(0),
|
||||||
PIXEL_FORMAT_MONO01 = BIT(1), /* 0=Black 1=White */
|
PIXEL_FORMAT_MONO01 = BIT(1), /* 0=Black 1=White */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue