summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorIgor Murashkin <iam@google.com>2013-02-11 17:34:27 -0800
committerAndroid Git Automerger <android-git-automerger@android.com>2013-02-11 17:34:27 -0800
commit4869a68d56aaf3fefd2c1022bdab8571077e063c (patch)
tree8e7c62f937f21d4acba97899611c8248b4a1989e /include
parent51b78949b27d1c76d1979cac3aa61c04f820ff9f (diff)
parent1b69da3ef0f505b885f8621ca2dad44d46aa824e (diff)
downloadsystem_core-4869a68d56aaf3fefd2c1022bdab8571077e063c.zip
system_core-4869a68d56aaf3fefd2c1022bdab8571077e063c.tar.gz
system_core-4869a68d56aaf3fefd2c1022bdab8571077e063c.tar.bz2
am 1b69da3e: am 6711f76d: Merge "graphics.h: Remove unnecessary comments for Y8/Y16 formats" into jb-mr1-aah-dev
# Via Android (Google) Code Review (1) and others * commit '1b69da3ef0f505b885f8621ca2dad44d46aa824e': graphics.h: Remove unnecessary comments for Y8/Y16 formats
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,