O Google tem o compromisso de promover a igualdade racial para as comunidades negras.
Saiba como.
Referência de estrutura gralloc_module_t
#include < gralloc.h >
|
struct hw_module_t | comum |
|
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(* | desbloquear )(struct gralloc_module_t const *module, buffer_handle_t handle) |
|
int(* | perform )(struct gralloc_module_t const *module, operação 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 *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) |
|
vazio * | reservado_proc [3] |
|
Cada módulo de hardware deve ter uma estrutura de dados chamada HAL_MODULE_INFO_SYM e os campos dessa estrutura de dados devem começar com hw_module_t seguido de informações específicas do módulo.
Definição na linha 155 do arquivo gralloc.h .
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 use, 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(* registerBuffer)(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) |
A documentação para esta estrutura foi gerada a partir do seguinte arquivo:
- hardware/libhardware/include/hardware/ gralloc.h
O conteúdo e os exemplos de código nesta página estão sujeitos às licenças descritas na Licença de conteúdo. Java e OpenJDK são marcas registradas da Oracle e/ou suas afiliadas.
Última atualização 2022-08-30 UTC.
[null,null,["Última atualização 2022-08-30 UTC."],[],[]]