Odniesienie do struktury gralloc_module_t
Odniesienie do struktury gralloc_module_t
#include < gralloc.h >
Pola danych | |
struct hw_module_t | wspólny |
int(* | registerBuffer )(struct gralloc_module_t const *moduł, uchwyt buffer_handle_t) |
int(* | unregisterBuffer )(struct gralloc_module_t const *moduł, uchwyt buffer_handle_t) |
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 *moduł, uchwyt buffer_handle_t) |
int(* | perform )(struct gralloc_module_t const *moduł, operacja int,...) |
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 *moduł, uchwyt buffer_handle_t, 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) |
próżnia * | Reserved_proc [3] |
szczegółowy opis
Każdy moduł sprzętowy musi mieć strukturę danych o nazwie HAL_MODULE_INFO_SYM, a pola tej struktury danych muszą zaczynać się od hw_module_t , po którym następują informacje specyficzne dla modułu.
Dokumentacja terenowa
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 *moduł, operacja int,...) |
int(* registerBuffer)(struct gralloc_module_t const *moduł, uchwyt buffer_handle_t) |
int(* unlock)(struct gralloc_module_t const *moduł, uchwyt buffer_handle_t) |
int(* unlockAsync)(struct gralloc_module_t const *moduł, uchwyt buffer_handle_t, int *fenceFd) |
int(* unregisterBuffer)(struct gralloc_module_t const *moduł, uchwyt buffer_handle_t) |
Dokumentacja dla tej struktury została wygenerowana z następującego pliku:
- sprzęt/libhardware/include/hardware/ gralloc.h