Gralloc: add a usage bit for video encoding
This change adds a new Gralloc usage bit to indicate that a buffer will be passed to the HW video encoder. Change-Id: I75c3fc514906e5b18fb60345a2d9c5a606403633
This commit is contained in:
@@ -74,8 +74,10 @@ enum {
|
|||||||
GRALLOC_USAGE_HW_COMPOSER = 0x00000800,
|
GRALLOC_USAGE_HW_COMPOSER = 0x00000800,
|
||||||
/* buffer will be used with the framebuffer device */
|
/* buffer will be used with the framebuffer device */
|
||||||
GRALLOC_USAGE_HW_FB = 0x00001000,
|
GRALLOC_USAGE_HW_FB = 0x00001000,
|
||||||
|
/* buffer will be used with the HW video encoder */
|
||||||
|
GRALLOC_USAGE_HW_VIDEO_ENCODER = 0x00010000,
|
||||||
/* mask for the software usage bit-mask */
|
/* mask for the software usage bit-mask */
|
||||||
GRALLOC_USAGE_HW_MASK = 0x00001F00,
|
GRALLOC_USAGE_HW_MASK = 0x00011F00,
|
||||||
|
|
||||||
/* buffer should be displayed full-screen on an external display when
|
/* buffer should be displayed full-screen on an external display when
|
||||||
* possible
|
* possible
|
||||||
|
|||||||
Reference in New Issue
Block a user