Home
last modified time | relevance | path

Searched refs:gralloc_hnd (Results 1 – 2 of 2) sorted by relevance

/hardware/google/gchips/libvendorgraphicbuffer/gralloc3/
Dvendor_graphicbuffer_meta.cpp30 const private_handle_t *gralloc_hnd = static_cast<const private_handle_t *>(buffer_hnd_p); in is_afbc() local
32 if (!gralloc_hnd) in is_afbc()
35 return gralloc_hnd->is_compressible; in is_afbc()
67 const private_handle_t *gralloc_hnd = static_cast<const private_handle_t *>(hnd); \
68 if (!gralloc_hnd) return 0; \
69 return gralloc_hnd->__member__; \
89 const private_handle_t *gralloc_hnd = static_cast<const private_handle_t *>(hnd); in get_dataspace() local
91 if (!gralloc_hnd) in get_dataspace()
94 int attr_fd = gralloc_hnd->get_share_attr_fd(); in get_dataspace()
116 const private_handle_t *gralloc_hnd = static_cast<const private_handle_t *>(hnd); in set_dataspace() local
[all …]
/hardware/google/gchips/libvendorgraphicbuffer/gralloc4/
Dvendor_graphicbuffer_meta.cpp77 const private_handle_t *gralloc_hnd = static_cast<const private_handle_t *>(hnd); in get_video_metadata_fd() local
79 if (!gralloc_hnd) in get_video_metadata_fd()
82 uint64_t usage = gralloc_hnd->producer_usage | gralloc_hnd->consumer_usage; in get_video_metadata_fd()
85 return gralloc_hnd->get_share_attr_fd(); in get_video_metadata_fd()
143 const private_handle_t *gralloc_hnd = static_cast<const private_handle_t *>(hnd); in is_afbc() local
145 if (!gralloc_hnd) in is_afbc()
148 if (gralloc_hnd->alloc_format & MALI_GRALLOC_INTFMT_AFBCENABLE_MASK) in is_afbc()
164 const private_handle_t *gralloc_hnd = static_cast<const private_handle_t *>(hnd); \
165 if (!gralloc_hnd) return 0; \
166 return gralloc_hnd->__member__; \
[all …]