Merge "gralloc: Clarify alloc stride for HAL_PIXEL_FORMAT_YCbCr_420_888" into jb-mr2-dev
This commit is contained in:
commit
c6ff6c40dd
1 changed files with 4 additions and 0 deletions
|
@ -259,6 +259,10 @@ typedef struct alloc_device_t {
|
||||||
* of a pixmap (eg: it may have to be multiple of 8 pixels).
|
* of a pixmap (eg: it may have to be multiple of 8 pixels).
|
||||||
* The CALLER TAKES OWNERSHIP of the buffer_handle_t.
|
* The CALLER TAKES OWNERSHIP of the buffer_handle_t.
|
||||||
*
|
*
|
||||||
|
* If format is HAL_PIXEL_FORMAT_YCbCr_420_888, the returned stride must be
|
||||||
|
* 0, since the actual strides are available from the android_ycbcr
|
||||||
|
* structure.
|
||||||
|
*
|
||||||
* Returns 0 on success or -errno on error.
|
* Returns 0 on success or -errno on error.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue