summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIgor Murashkin <iam@google.com>2013-02-11 11:34:53 -0800
committerIgor Murashkin <iam@google.com>2013-02-11 11:34:53 -0800
commitd755b52b43913913e0915c50b5ff0d03c96eed49 (patch)
treef03524c037979bcf334a7b36b08d9bc9e13de1c1 /include
parent9e00e66ebcea150e75536e065419128efd4ee5b8 (diff)
downloadsystem_core-d755b52b43913913e0915c50b5ff0d03c96eed49.zip
system_core-d755b52b43913913e0915c50b5ff0d03c96eed49.tar.gz
system_core-d755b52b43913913e0915c50b5ff0d03c96eed49.tar.bz2
graphics.h: Remove unnecessary comments for Y8/Y16 formats
Change-Id: Ic80f6c4be7df9d9729334b97bb662eb2d0456c33
Diffstat (limited to 'include')
-rw-r--r--include/system/graphics.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/include/system/graphics.h b/include/system/graphics.h
index c8b9d40..ab064db 100644
--- a/include/system/graphics.h
+++ b/include/system/graphics.h
@@ -106,12 +106,7 @@ enum {
* - a horizontal stride multiple of 16 pixels
* - a vertical stride equal to the height
*
- * y_size = stride * height
- * c_stride = ALIGN(stride/2, 16)
- * c_size = c_stride * height/2
- * size = y_size + c_size * 2
- * cr_offset = y_size
- * cb_offset = y_size + c_size
+ * size = stride * height
*
*/
HAL_PIXEL_FORMAT_Y8 = 0x20203859,
@@ -135,12 +130,7 @@ enum {
* - a vertical stride equal to the height
* - strides are specified in pixels, not in bytes
*
- * y_size = stride * height
- * c_stride = ALIGN(stride/2, 16)
- * c_size = c_stride * height/2
- * size = y_size + c_size * 2
- * cr_offset = y_size
- * cb_offset = y_size + c_size
+ * size = stride * height * 2
*
*/
HAL_PIXEL_FORMAT_Y16 = 0x20363159,