Tham chiếu cấu trúc gralloc_module_t
#include < gralloc.h >
|
struct hw_module_t | phổ thông |
|
int (* | registerBuffer ) (mô-đun struct gralloc_module_t const *, bộ đệm_handle_t xử lý) |
|
int (* | unregisterBuffer ) (mô-đun struct gralloc_module_t const *, bộ điều khiển buffer_handle_t) |
|
int (* | lock ) (struct gralloc_module_t const * module, buffer_handle_t handle, int using, int l, int t, int w, int h, void ** vaddr) |
|
int (* | mở khóa ) (mô-đun struct gralloc_module_t const *, bộ đệm_handle_t xử lý) |
|
int (* | thực hiện ) (struct gralloc_module_t mô-đun const *, hoạt động int, ...) |
|
int (* | lock_ycbcr ) (struct gralloc_module_t const * module, buffer_handle_t handle, int using, int l, int t, int w, int h, struct android_ycbcr * ycbcr) |
|
int (* | lockAsync ) (mô-đun struct gralloc_module_t const *, bộ đệm_handle_t, cách sử dụng int, int l, int t, int w, int h, void ** vaddr, int rowFd) |
|
int (* | unlockAsync ) (mô-đun struct gralloc_module_t const *, bộ điều khiển buffer_handle_t, int * ràoFd) |
|
int (* | lockAsync_ycbcr ) (struct gralloc_module_t const * module, buffer_handle_t handle, int using, int l, int t, int w, int h, struct android_ycbcr * ycbcr, int rowFd) |
|
void * | Reser_proc [3] |
|
Mọi mô-đun phần cứng phải có cấu trúc dữ liệu có tên HAL_MODULE_INFO_SYM và các trường của cấu trúc dữ liệu này phải bắt đầu bằng hw_module_t theo sau là thông tin cụ thể của mô-đun.
Định nghĩa ở dòng 155 của tệp gralloc.h .
int (* lock) (struct gralloc_module_t const * module, buffer_handle_t handle, int using, int l, int t, int w, int h, void ** vaddr) |
int (* lock_ycbcr) (struct gralloc_module_t const * module, buffer_handle_t handle, int using, 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 using, int l, int t, int w, int h, void ** vaddr, int rowFd) |
int (* lockAsync_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 rowFd) |
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 * rowFd) |
int (* unregisterBuffer) (struct gralloc_module_t const * module, buffer_handle_t handle) |
Tài liệu cho cấu trúc này được tạo từ tệp sau:
- phần cứng / libhardware / bao gồm / phần cứng / gralloc.h
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2019-10-02 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Thiếu thông tin tôi cần"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Quá phức tạp/quá nhiều bước"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Đã lỗi thời"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"Vấn đề về bản dịch"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Vấn đề về mẫu/mã"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Khác"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Dễ hiểu"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Giúp tôi giải quyết được vấn đề"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Khác"
}]