Sử dụng bộ sưu tập để sắp xếp ngăn nắp các trang
Lưu và phân loại nội dung dựa trên lựa chọn ưu tiên của bạn.
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
Nội dung và mã mẫu trên trang này phải tuân thủ các giấy phép như mô tả trong phần Giấy phép nội dung. Java và OpenJDK là nhãn hiệu hoặc nhãn hiệu đã đăng ký của Oracle và/hoặc đơn vị liên kết của Oracle.
Cập nhật lần gần đây nhất: 2022-08-30 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"
}]