Referensi Struktur gralloc_module_t

Referensi Struktur gralloc_module_t

#include < gralloc.h >

Bidang Data

struct hw_module_t umum
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, penggunaan int, 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, operasi int,...)
int(* lock_ycbcr )(struct gralloc_module_t const *module, buffer_handle_t handle, penggunaan int, int l, int t, int w, int h, struct android_ycbcr *ycbcr)
int(* lockAsync )(struct gralloc_module_t const *module, buffer_handle_t handle, penggunaan int, 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, penggunaan int, int l, int t, int w, int h, struct android_ycbcr *ycbcr, int fenceFd)
ruang kosong * reserved_proc [3]

Detil Deskripsi

Setiap modul perangkat keras harus memiliki struktur data bernama HAL_MODULE_INFO_SYM dan bidang struktur data ini harus dimulai dengan hw_module_t diikuti dengan informasi spesifik modul.

Definisi pada baris 155 dari file gralloc.h .

Dokumentasi Lapangan

struct hw_module_t umum

Definisi pada baris 156 dari file gralloc.h .

int(* lock)(struct gralloc_module_t const *module, buffer_handle_t handle, int penggunaan, int l, int t, int w, int h, void **vaddr)

Definisi pada baris 226 dari file gralloc.h .

int(* lock_ycbcr)(struct gralloc_module_t const *module, buffer_handle_t handle, penggunaan int, int l, int t, int w, int h, struct android_ycbcr *ycbcr)

Definisi pada baris 265 dari file gralloc.h .

int(* lockAsync)(struct gralloc_module_t const *module, buffer_handle_t handle, penggunaan int, int l, int t, int w, int h, void **vaddr, int fenceFd)

Definisi pada baris 280 dari file gralloc.h .

int(* lockAsync_ycbcr)(struct gralloc_module_t const *module, buffer_handle_t handle, penggunaan int, int l, int t, int w, int h, struct android_ycbcr *ycbcr, int fenceFd)

Definisi pada baris 310 dari file gralloc.h .

int(* perform)(struct gralloc_module_t const *module, operasi int,...)

Definisi pada baris 242 dari file gralloc.h .

int(* registerBuffer)(struct gralloc_module_t const *module, buffer_handle_t handle)

Definisi pada baris 173 dari file gralloc.h .

void* reserved_proc[3]

Definisi pada baris 316 dari file gralloc.h .

int(* unlock)(struct gralloc_module_t const *module, buffer_handle_t handle)

Definisi pada baris 237 dari file gralloc.h .

int(* unlockAsync)(struct gralloc_module_t const *module, buffer_handle_t handle, int *fenceFd)

Definisi pada baris 296 dari file gralloc.h .

int(* unregisterBuffer)(struct gralloc_module_t const *module, buffer_handle_t handle)

Definisi pada baris 188 dari file gralloc.h .


Dokumentasi untuk struct ini dibuat dari file berikut:
  • hardware/libhardware/include/hardware/ gralloc.h