Merge "graphics.h: clarify docs about stride for YV12" into jb-dev

This commit is contained in:
Jamie Gennis 2012-04-30 13:43:15 -07:00 committed by Android (Google) Code Review
commit 575b23584d
1 changed files with 2 additions and 1 deletions

View File

@ -78,7 +78,8 @@ enum {
* - a vertical stride equal to the height
*
* y_size = stride * height
* c_size = ALIGN(stride/2, 16) * height/2
* 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