gralloc_module_t構造体リファレンス

gralloc_module_t構造体リファレンス

#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(*ロック)(struct gralloc_module_t const * module、buffer_handle_t handle、int Usage、int l、int t、int w、int h、void ** vaddr)
int(*ロック解除)(struct gralloc_module_t const * module、buffer_handle_t handle)
int(*実行)(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速く
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速く
空所 * reserved_proc [3]

詳細な説明

すべてのハードウェアモジュールには、HAL_MODULE_INFO_SYMという名前のデータ構造が必要であり、このデータ構造のフィールドは、 hw_module_tで始まり、その後にモジュール固有の情報が続く必要があります。

gralloc.hファイルの155行で定義されています。

フィールドドキュメント

struct hw_module_t common

gralloc.hファイルの156行で定義されています。

int(* lock)(struct gralloc_module_t const * module、buffer_handle_t handle、int Usage、int l、int t、int w、int h、void ** vaddr)

gralloc.hファイルの226行で定義されています。

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)

gralloc.hファイルの265行で定義されています。

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速く

gralloc.hファイルの280行で定義されています。

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速く

gralloc.hファイルの310行で定義されています。

int(* Perform)(struct gralloc_module_t const * module、int operation、...)

gralloc.hファイルの242行で定義されています。

int(* registerBuffer)(struct gralloc_module_t const * module、buffer_handle_t handle)

gralloc.hファイルの173行で定義されています。

void * reserved_proc [3]

gralloc.hファイルの316行で定義されています。

int(*アンロック)( structgralloc_module_t const * module、buffer_handle_t handle)

gralloc.hファイルの237行で定義されています。

int(* UnlockAsync)(struct gralloc_module_t const * module、buffer_handle_t handle、int * fenceFd)

gralloc.hファイルの296行で定義されています。

int(* unregisterBuffer)(struct gralloc_module_t const * module、buffer_handle_t handle)

gralloc.hファイルの188行で定義されています。


この構造体のドキュメントは、次のファイルから生成されました。