diff options
author | Yin-Chia Yeh <yinchiayeh@google.com> | 2015-07-14 12:15:29 -0700 |
---|---|---|
committer | Yin-Chia Yeh <yinchiayeh@google.com> | 2015-07-14 12:28:38 -0700 |
commit | e49b696a35dc6fd9a7ca42855620f2f88dffa405 (patch) | |
tree | b5252d9a42ccbeb0dfe3f0715a9a09a05c485292 /include | |
parent | 8104616696ac5e806b16a393ea02c4f5d8efc328 (diff) | |
download | system_core-e49b696a35dc6fd9a7ca42855620f2f88dffa405.zip system_core-e49b696a35dc6fd9a7ca42855620f2f88dffa405.tar.gz system_core-e49b696a35dc6fd9a7ca42855620f2f88dffa405.tar.bz2 |
graphics: update flexible YUV format gralloc requirement
Require gralloc accept flexible YUV when SW READ/WRITE usage is
set. Also decouple flexible YUV from camera usage flag.
Bug: 22379456
Change-Id: I5a82a8360b08036c31dc03cd639d449ba1e3ed01
Diffstat (limited to 'include')
-rw-r--r-- | include/system/graphics.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/system/graphics.h b/include/system/graphics.h index ff3fd88..afd9f7b 100644 --- a/include/system/graphics.h +++ b/include/system/graphics.h @@ -370,7 +370,7 @@ enum { * struct android_ycbcr (below) is the the struct used to describe it. * * This format must be accepted by the gralloc module when - * USAGE_HW_CAMERA_WRITE and USAGE_SW_READ_* are set. + * USAGE_SW_WRITE_* or USAGE_SW_READ_* are set. * * This format is locked for use by gralloc's (*lock_ycbcr) method, and * locking with the (*lock) method will return an error. |