summaryrefslogtreecommitdiff
path: root/gralloc-headers/pixel-gralloc/metadata.h
diff options
context:
space:
mode:
Diffstat (limited to 'gralloc-headers/pixel-gralloc/metadata.h')
-rw-r--r--gralloc-headers/pixel-gralloc/metadata.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gralloc-headers/pixel-gralloc/metadata.h b/gralloc-headers/pixel-gralloc/metadata.h
index 7502f29..adb44c0 100644
--- a/gralloc-headers/pixel-gralloc/metadata.h
+++ b/gralloc-headers/pixel-gralloc/metadata.h
@@ -51,11 +51,18 @@ enum class MetadataType : int64_t {
// TODO: These metadata queries returns a pointer inside metadata for now. Need to change that
// so we are returning proper data only.
+ // Returns: void*
VIDEO_HDR = std::numeric_limits<int64_t>::max() - (1 << 16),
// TODO(b/289448426#comment2): ROIINFO is probably not being used. Remove this after
// confirmation.
+ // Returns: void*
VIDEO_ROI,
+
+ // This metadata just refers to the same fd contained in buffer handle and not a clone.
+ // So the client should not attempt to close these fds.
+ // Returns: std::vector<int>
+ PLANE_DMA_BUFS,
};
#undef MapMetadataType