History

Add BGR888_1X24 and GBR888_1X24 media bus formats

This patch adds two more 24-bit RGB formats. BGR888 is more or less common, GBR888 is used on the internal connection between the IPU display interface and the TVE (VGA DAC) on i.MX53 SoCs.

Philipp Zabel committed 11 years ago

Commit 08c38451 parent b295c222 files · +63 −1Browse files

Showing the changes to include/uapi (1 of 2 files). Show all

Unified · Split

include/uapi/linux/media-bus-format.h+3−1
@@ -33,7 +33,7 @@ · 32 unmodified lines
3333
3434 #define MEDIA_BUS_FMT_FIXED 0x0001
3535
36−/* RGB - next is 0x1013 */
36+/* RGB - next is 0x1015 */
3737 #define MEDIA_BUS_FMT_RGB444_1X12 0x100e
3838 #define MEDIA_BUS_FMT_RGB444_2X8_PADHI_BE 0x1001
3939 #define MEDIA_BUS_FMT_RGB444_2X8_PADHI_LE 0x1002
@@ -46,6 +46,8 @@ · 6 unmodified lines
4646 #define MEDIA_BUS_FMT_RGB565_2X8_LE 0x1008
4747 #define MEDIA_BUS_FMT_RGB666_1X18 0x1009
4848 #define MEDIA_BUS_FMT_RGB666_1X7X3_SPWG 0x1010
49+#define MEDIA_BUS_FMT_BGR888_1X24 0x1013
50+#define MEDIA_BUS_FMT_GBR888_1X24 0x1014
4951 #define MEDIA_BUS_FMT_RGB888_1X24 0x100a
5052 #define MEDIA_BUS_FMT_RGB888_2X12_BE 0x100b
5153 #define MEDIA_BUS_FMT_RGB888_2X12_LE 0x100c

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t