summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4fd6c59)
raw | patch | inline | side by side (parent: 4fd6c59)
author | Sreenidhi Koti Ananda Rao <sreenidhi@ti.com> | |
Tue, 2 Apr 2013 15:02:40 +0000 (10:02 -0500) | ||
committer | Praneeth Bajjuri <praneeth@ti.com> | |
Fri, 12 Jul 2013 22:41:45 +0000 (17:41 -0500) |
Descrition: The bit-field info is used by the truncation logic, if
enabled, for the specific color format chosen.This patch appends the
BGRA color format & updates the corresponding bit-fields.
Change-Id: Ie78e1869d589012b604ed86a85bf1b132cbf6feb
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
enabled, for the specific color format chosen.This patch appends the
BGRA color format & updates the corresponding bit-fields.
Change-Id: Ie78e1869d589012b604ed86a85bf1b132cbf6feb
Signed-off-by: Arthur Philpott <arthur.philpott@ti.com>
drivers/video/omap2/dsscomp/base.c | patch | blob | history |
index 791b01959a89b5b8b01899b125ca2588e29a9477..affbbaaa5ef80b2a18b2c6b2bfd7e3023a056734 100755 (executable)
int x_bt;
enum omap_color_mode mode;
const char *name;
-} fmts[2][16] = { {
+} fmts[2][17] = { {
{ 0, 0, 0, 0, 0, 0, 0, 0, 1, OMAP_DSS_COLOR_CLUT1, "BITMAP1" },
{ 0, 0, 0, 0, 0, 0, 0, 0, 2, OMAP_DSS_COLOR_CLUT2, "BITMAP2" },
{ 0, 0, 0, 0, 0, 0, 0, 0, 4, OMAP_DSS_COLOR_CLUT4, "BITMAP4" },
{ 24, 8, 16, 8, 8, 8, 0, 8, 0, OMAP_DSS_COLOR_ARGB32, "ARGB32-8888" },
{ 0, 8, 24, 8, 16, 8, 8, 8, 0, OMAP_DSS_COLOR_RGBA32, "RGBA32-8888" },
{ 0, 0, 24, 8, 16, 8, 8, 8, 8, OMAP_DSS_COLOR_RGBX32, "RGBx24-8888" },
+ { 0, 8, 8, 8, 16, 8, 24, 8, 0, OMAP_DSS_COLOR_BGRA32, "BGRA32-8888" },
{ 0, 0, 10, 5, 5, 5, 0, 5, 1, OMAP_DSS_COLOR_XRGB16_1555,
"xRGB15-1555" },
}, {
{ 0, 0, 0, 0, 0, 0, 0, 0, 16, OMAP_DSS_COLOR_UYVY, "UYVY" },
{ 24, 8, 16, 8, 8, 8, 0, 8, 0, OMAP_DSS_COLOR_ARGB32, "ARGB32-8888" },
{ 0, 8, 24, 8, 16, 8, 8, 8, 0, OMAP_DSS_COLOR_RGBA32, "RGBA32-8888" },
+ { 0, 8, 8, 8, 16, 8, 24, 8, 0, OMAP_DSS_COLOR_BGRA32, "BGRA32-8888" },
{ 0, 0, 24, 8, 16, 8, 8, 8, 8, OMAP_DSS_COLOR_RGBX32, "RGBx24-8888" },
{ 0, 0, 10, 5, 5, 5, 0, 5, 1, OMAP_DSS_COLOR_XRGB16_1555,
"xRGB15-1555" },