gralloc_module_t Struct Reference
gralloc_module_t Struct Reference
#include <
gralloc.h
>
Data Fields |
|
struct hw_module_t | common |
int(* | registerBuffer )(struct gralloc_module_t const *module, buffer_handle_t handle) |
int(* | unregisterBuffer )(struct gralloc_module_t const *module, buffer_handle_t handle) |
int(* | lock )(struct gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, int t, int w, int h, void **vaddr) |
int(* | unlock )(struct gralloc_module_t const *module, buffer_handle_t handle) |
int(* | perform )(struct gralloc_module_t const *module, int operation,...) |
int(* | lock_ycbcr )(struct gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, int t, int w, int h, struct android_ycbcr *ycbcr) |
int(* | lockAsync )(struct gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, int t, int w, int h, void **vaddr, int fenceFd) |
int(* | unlockAsync )(struct gralloc_module_t const *module, buffer_handle_t handle, int *fenceFd) |
int(* | lockAsync_ycbcr )(struct gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, int t, int w, int h, struct android_ycbcr *ycbcr, int fenceFd) |
void * | reserved_proc [3] |
Detailed Description
Every hardware module must have a data structure named HAL_MODULE_INFO_SYM and the fields of this data structure must begin with hw_module_t followed by module specific information.
Field Documentation
struct hw_module_t common |
int(* lock)(struct gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, int t, int w, int h, void **vaddr) |
int(* lock_ycbcr)(struct gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, int t, int w, int h, struct android_ycbcr *ycbcr) |
int(* lockAsync)(struct gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, int t, int w, int h, void **vaddr, int fenceFd) |
int(* lockAsync_ycbcr)(struct gralloc_module_t const *module, buffer_handle_t handle, int usage, int l, int t, int w, int h, struct android_ycbcr *ycbcr, int fenceFd) |
int(* perform)(struct gralloc_module_t const *module, int operation,...) |
int(* registerBuffer)(struct gralloc_module_t const *module, buffer_handle_t handle) |
int(* unlock)(struct gralloc_module_t const *module, buffer_handle_t handle) |
int(* unlockAsync)(struct gralloc_module_t const *module, buffer_handle_t handle, int *fenceFd) |
int(* unregisterBuffer)(struct gralloc_module_t const *module, buffer_handle_t handle) |
The documentation for this struct was generated from the following file:
- hardware/libhardware/include/hardware/ gralloc.h