From 1dfc2b47e94623d11fdab4ccdf1772f61ded5045 Mon Sep 17 00:00:00 2001 From: Harish Krupo Date: Wed, 6 Sep 2017 17:31:44 -0700 Subject: [PATCH] AndroidIA: Add information required for media. Change-Id: Ib818412df9a752835ba2bc91568fb602f33a2a75 Signed-off-by: Harish Krupo --- cros_gralloc/cros_gralloc_handle.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/cros_gralloc/cros_gralloc_handle.h b/cros_gralloc/cros_gralloc_handle.h index adb4c29..83a73d3 100644 --- a/cros_gralloc/cros_gralloc_handle.h +++ b/cros_gralloc/cros_gralloc_handle.h @@ -33,6 +33,16 @@ struct cros_gralloc_handle { int32_t usage; /* Android usage. */ uint32_t consumer_usage; uint32_t producer_usage; + uint32_t yuv_color_range; // YUV Color range. + uint32_t is_updated; // frame updated flag + uint32_t is_encoded; // frame encoded flag + uint32_t is_encrypted; + uint32_t is_key_frame; + uint32_t is_interlaced; + uint32_t is_mmc_capable; + uint32_t compression_mode; + uint32_t compression_hint; + uint32_t codec; }; typedef const struct cros_gralloc_handle *cros_gralloc_handle_t; -- 2.11.0