From 44e567d83a7baeb3d0021fd75f8b634ca52590d5 Mon Sep 17 00:00:00 2001 From: Naveen Kumar Gaddipati Date: Fri, 26 Aug 2011 20:41:41 +0530 Subject: 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 Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/29563 --- include/video/b2r2_blt.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'include/video/b2r2_blt.h') 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, }; /** -- cgit v1.2.3