使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
gralloc_module_t 结构参考
#include < gralloc.h >
|
结构hw_module_t | 常见的 |
|
整数(* | registerBuffer )(struct gralloc_module_t const *module, buffer_handle_t 句柄) |
|
整数(* | unregisterBuffer )(struct gralloc_module_t const *module, buffer_handle_t 句柄) |
|
整数(* | lock )(struct gralloc_module_t const *module, buffer_handle_t 句柄, int 用法, int l, int t, int w, int h, void **vaddr) |
|
整数(* | unlock )(struct gralloc_module_t const *module, buffer_handle_t 句柄) |
|
整数(* | perform )(struct gralloc_module_t const *module, int operation,...) |
|
整数(* | lock_ycbcr )(struct gralloc_module_t const *module, buffer_handle_t 句柄, int 用法, int l, int t, int w, int h, struct android_ycbcr *ycbcr) |
|
整数(* | lockAsync )(struct gralloc_module_t const *module, buffer_handle_t 句柄, int 用法, int l, int t, int w, int h, void **vaddr, int fenceFd) |
|
整数(* | unlockAsync )(struct gralloc_module_t const *module, buffer_handle_t 句柄, int *fenceFd) |
|
整数(* | lockAsync_ycbcr )(struct gralloc_module_t const *module, buffer_handle_t 句柄, int 用法, int l, int t, int w, int h, struct android_ycbcr *ycbcr, int fenceFd) |
|
空白 * | reserved_proc [3] |
|
每个硬件模块都必须有一个名为 HAL_MODULE_INFO_SYM 的数据结构,并且该数据结构的字段必须以hw_module_t开头,后跟模块特定信息。
文件gralloc.h第155行的定义。
int(* lock)(struct gralloc_module_t const *module, buffer_handle_t 句柄, int 用法, int l, int t, int w, int h, void **vaddr) |
int(* lock_ycbcr)(struct gralloc_module_t const *module, buffer_handle_t 句柄, int 用法, int l, int t, int w, int h, struct android_ycbcr *ycbcr) |
int(* lockAsync)(struct gralloc_module_t const *module, buffer_handle_t 句柄, int 用法, int l, int t, int w, int h, void **vaddr, int fenceFd) |
int(* lockAsync_ycbcr)(struct gralloc_module_t const *module, buffer_handle_t 句柄, int 使用, 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 句柄) |
int(* unlockAsync)(struct gralloc_module_t const *module, buffer_handle_t 句柄, int *fenceFd) |
int(* unregisterBuffer)(struct gralloc_module_t const *module, buffer_handle_t 句柄) |
此结构的文档是从以下文件生成的:
本页面上的内容和代码示例受内容许可部分所述许可的限制。Java 和 OpenJDK 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-08-30。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"没有我需要的信息"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"太复杂/步骤太多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"内容需要更新"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/代码问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]