summaryrefslogtreecommitdiff
path: root/include/video/b2r2_blt.h
diff options
context:
space:
mode:
authorNaveen Kumar Gaddipati <naveen.gaddipati@stericsson.com>2011-08-26 20:41:41 +0530
committerPhilippe Langlais <philippe.langlais@stericsson.com>2012-05-22 11:04:01 +0200
commit44e567d83a7baeb3d0021fd75f8b634ca52590d5 (patch)
treec4d62e20b2be1f15ade63fdac52a37cb32f7e5f0 /include/video/b2r2_blt.h
parent14178eb2a0ce3c4601ca94f7c771297ed0b7d5cc (diff)
b2r2:Migrate driver to kernel 3.0
Migrate the following b2r2 driver patches to kernel3.0 dbc424d b2r2: Add optimized path for VUY(A)888(8) 24/32-bit formats 2142b2d b2r2: Add VUY(A)888(8) 24/32-bit formats 797c68c [b2r2] Fix QA tools warning in b2r2_node_split.c ST-Ericsson ID: 352334 ST-Ericsson Linux next: NA ST-Ericsson FOSS-OUT ID: NA Change-Id: I5f3160a9568ad17eb05eae0b7b8adba146153ea9 Signed-off-by: Naveen Kumar Gaddipati <naveen.gaddipati@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29563
Diffstat (limited to 'include/video/b2r2_blt.h')
-rw-r--r--include/video/b2r2_blt.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/video/b2r2_blt.h b/include/video/b2r2_blt.h
index 1cf5f661598..a992155f0da 100644
--- a/include/video/b2r2_blt.h
+++ b/include/video/b2r2_blt.h
@@ -127,6 +127,10 @@ struct b2r2_blt_rect {
* The buffer shall contain a plane of Y, V, and U data in this order.
* (Same as B2R2_BLT_FMT_YUV422_PACKED_PLANAR except that chroma
* order is swapped.)
+ * @B2R2_BLT_FMT_24_BIT_VUY888: 24 bits per pixel VUY format with colors
+ * stored as V 23:16, U 15:8, and Y 7:0.
+ * @B2R2_BLT_FMT_32_BIT_VUYA8888: 32 bits per pixel VUYA format with colors
+ * stored as V 31:24, U 23:16, Y 15:8, and Alpha 7:0.
*/
enum b2r2_blt_fmt {
B2R2_BLT_FMT_UNUSED = 0,
@@ -155,6 +159,8 @@ enum b2r2_blt_fmt {
B2R2_BLT_FMT_YVU422_PACKED_SEMI_PLANAR = 0x7F00000A,
B2R2_BLT_FMT_YVU420_PACKED_PLANAR = 0x7F00000B,
B2R2_BLT_FMT_YVU422_PACKED_PLANAR = 0x7F00000C,
+ B2R2_BLT_FMT_24_BIT_VUY888 = 0x7F00000D,
+ B2R2_BLT_FMT_32_BIT_VUYA8888 = 0x7F00000E,
};
/**