gralloc_module_t Yapı Referansı

gralloc_module_t Yapı Referansı

#include < gralloc.h >

Veri alanları

struct hw_module_t yaygın
int(* registerBuffer )(struct gralloc_module_t const *module, buffer_handle_t tanıtıcı)
int(* unregisterBuffer )(struct gralloc_module_t const *module, buffer_handle_t tanıtıcı)
int(* kilit )(struct gralloc_module_t const *module, buffer_handle_t tanıtıcı, int kullanımı, int l, int t, int w, int h, void **vaddr)
int(* kilidini aç )(struct gralloc_module_t const *module, buffer_handle_t tanıtıcı)
int(* gerçekleştir )(struct gralloc_module_t const *module, int işlemi,...)
int(* lock_ycbcr )(struct gralloc_module_t const *module, buffer_handle_t tanıtıcı, int kullanımı, int l, int t, int w, int h, struct android_ycbcr *ycbcr)
int(* lockAsync )(struct gralloc_module_t const *module, buffer_handle_t tanıtıcı, int kullanımı, int l, int t, int w, int h, void **vaddr, int çitFd)
int(* unlockAsync )(struct gralloc_module_t const *module, buffer_handle_t tanıtıcı, int *fenceFd)
int(* lockAsync_ycbcr )(struct gralloc_module_t const *module, buffer_handle_t tanıtıcı, int kullanımı, int l, int t, int w, int h, struct android_ycbcr *ycbcr, int çitFd)
geçersiz * ayrılmış_proc [3]

Detaylı Açıklama

Her donanım modülünün HAL_MODULE_INFO_SYM adında bir veri yapısı olmalıdır ve bu veri yapısının alanları hw_module_t ile başlayıp modüle özel bilgiler gelmelidir.

grlloc.h dosyasının 155. satırındaki tanım.

Saha Dokümantasyonu

struct hw_module_t ortak

grlloc.h dosyasının 156. satırındaki tanım.

int(* kilit)(struct gralloc_module_t const *module, buffer_handle_t tanıtıcı, int kullanımı, int l, int t, int w, int h, void **vaddr)

grlloc.h dosyasının 226. satırındaki tanım.

int(* lock_ycbcr)(struct gralloc_module_t const *module, buffer_handle_t tanıtıcı, int kullanımı, int l, int t, int w, int h, struct android_ycbcr *ycbcr)

grlloc.h dosyasının 265. satırındaki tanım.

int(* lockAsync)(struct gralloc_module_t const *module, buffer_handle_t tanıtıcı, int kullanımı, int l, int t, int w, int h, void **vaddr, int çitFd)

gralloc.h dosyasının 280. satırındaki tanım.

int(* lockAsync_ycbcr)(struct gralloc_module_t const *module, buffer_handle_t tanıtıcı, int kullanımı, int l, int t, int w, int h, struct android_ycbcr *ycbcr, int çitFd)

grlloc.h dosyasının 310. satırındaki tanım.

int(* perform)(struct gralloc_module_t const *module, int işlemi,...)

grlloc.h dosyasının 242 satırındaki tanım.

int(* registerBuffer)(struct gralloc_module_t const *module, buffer_handle_t tanıtıcı)

grlloc.h dosyasının 173 satırındaki tanım.

void* ayrılmış_proc[3]

grlloc.h dosyasının 316 satırındaki tanım.

int(* unlock)(struct gralloc_module_t const *module, buffer_handle_t tanıtıcı)

grlloc.h dosyasının 237. satırındaki tanım.

int(* unlockAsync)(struct gralloc_module_t const *module, buffer_handle_t tanıtıcı, int *fenceFd)

grlloc.h dosyasının 296. satırındaki tanım.

int(* unregisterBuffer)(struct gralloc_module_t const *module, buffer_handle_t tanıtıcı)

gralloc.h dosyasının 188. satırındaki tanım.


Bu yapı için belgeler aşağıdaki dosyadan oluşturulmuştur:
  • donanım/libdonanım/içerme/donanım/ gralloc.h