gralloc_module_t مرجع الهيكل

gralloc_module_t مرجع الهيكل

#include < gralloc.h >

حقول البيانات

هيكل hw_module_t مشترك
int (* registerBuffer ) ( هيكل gralloc_module_t const * module، buffer_handle_t handle)
int (* unregisterBuffer ) ( هيكل 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 ) ( هيكل gralloc_module_t const * module، buffer_handle_t handle)
int (* أداء ) ( هيكل gralloc_module_t const * module، int العملية، ...)
int (* lock_ycbcr ) ( هيكل gralloc_module_t const * module، buffer_handle_t handle، int use، int l، int t، int w، int h، structure android_ycbcr * ycbcr)
int (* lockAsync ) ( هيكل 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 ) ( هيكل gralloc_module_t const * module، buffer_handle_t handle، int * fenceFd)
int (* lockAsync_ycbcr ) ( هيكل gralloc_module_t const * module، buffer_handle_t handle، int use، 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 .

التوثيق الميداني

التعريف في السطر 156 من الملف gralloc.h .

int (* lock) (Struct gralloc_module_t const * module، buffer_handle_t handle، int use، int l، int t، int w، int h، void ** vaddr)

التعريف في السطر 226 من الملف gralloc.h .

int (* lock_ycbcr) ( هيكل gralloc_module_t const * module، buffer_handle_t handle، int use، int l، int t، int w، int h، Struct android_ycbcr * ycbcr)

التعريف في السطر 265 من ملف gralloc.h .

int (* lockAsync) ( هيكل gralloc_module_t const * module، buffer_handle_t handle، int Usage، int l، int t، int w، int h، void ** vaddr، int fenceFd)

التعريف في السطر 280 من ملف gralloc.h .

int (* lockAsync_ycbcr) ( هيكل gralloc_module_t const * module، buffer_handle_t handle، int use، int l، int t، int w، int h، Struct android_ycbcr * ycbcr، int fenceFd)

التعريف في السطر 310 من ملف gralloc.h .

int (* Perform) ( هيكل gralloc_module_t const * module، int operation، ...)

التعريف في السطر 242 لملف gralloc.h .

int (* registerBuffer) ( هيكل gralloc_module_t const * module، buffer_handle_t handle)

التعريف في السطر 173 من ملف gralloc.h .

void * reserved_proc [3]

التعريف في السطر 316 لملف gralloc.h .

int (* unlock) (Struct gralloc_module_t const * module، buffer_handle_t handle)

التعريف في السطر 237 للملف gralloc.h .

int (* unlockAsync) ( هيكل gralloc_module_t const * module، buffer_handle_t handle، int * fenceFd)

التعريف في السطر 296 للملف gralloc.h .

int (* unregisterBuffer) ( هيكل gralloc_module_t const * module، buffer_handle_t handle)

التعريف في السطر 188 من ملف gralloc.h .


تم إنشاء وثائق هذه البنية من الملف التالي:
  • الأجهزة / libhardware / تشمل / الأجهزة / gralloc.h