gralloc_module_t Struct Reference
#include < gralloc.h >
|
struct hw_module_t | מְשׁוּתָף |
|
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 operation,...) |
|
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) |
|
בטל* | שמור_פרוק [3] |
|
לכל מודול חומרה חייב להיות מבנה נתונים בשם HAL_MODULE_INFO_SYM והשדות של מבנה נתונים זה חייבים להתחיל ב- hw_module_t ואחריו מידע ספציפי למודול.
הגדרה בשורה 155 של הקובץ 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 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(* 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) |
התיעוד עבור מבנה זה נוצר מהקובץ הבא:
- hardware/libhardware/include/hardware/ gralloc.h
דוגמאות התוכן והקוד שבדף הזה כפופות לרישיונות המפורטים בקטע רישיון לתוכן. Java ו-OpenJDK הם סימנים מסחריים או סימנים מסחריים רשומים של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2023-12-01 (שעון UTC).
[null,null,["עדכון אחרון: 2023-12-01 (שעון UTC)."],[],[]]