gralloc_module_t Riferimento alla struttura
gralloc_module_t Riferimento alla struttura
#include < gralloc.h >
Campi dati | |
struttura hw_module_t | Comune |
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 operazione,...) |
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) |
vuoto * | riservato_proc [3] |
Descrizione dettagliata
Ogni modulo hardware deve avere una struttura dati denominata HAL_MODULE_INFO_SYM ei campi di questa struttura dati devono iniziare con hw_module_t seguito da informazioni specifiche del modulo.
Documentazione sul campo
struttura hw_module_t comune |
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 operazione,...) |
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) |
La documentazione per questa struttura è stata generata dal seguente file:
- hardware/libhardware/include/hardware/ gralloc.h