alloc_device_t構造体リファレンス
alloc_device_t構造体リファレンス
#include < gralloc.h >
データフィールド | |
struct hw_device_t | 一般 |
int(* | alloc )(struct alloc_device_t * dev、int w、int h、int format、int Usage、buffer_handle_t * handle、int * stride) |
int(* | 無料)(struct alloc_device_t * dev、buffer_handle_t handle) |
void(* | ダンプ)(struct alloc_device_t * dev、char * buff、int buff_len) |
ボイド* | reserved_proc [7] |
詳細な説明
すべてのデバイスデータ構造は、 hw_device_tで始まり、その後にモジュール固有のパブリックメソッドと属性が続く必要があります。
フィールドドキュメント
int(* alloc)(struct alloc_device_t * dev、int w、int h、int format、int Usage、buffer_handle_t * handle、int * stride) |
ファイルgralloc.hの343行で定義されています。
struct hw_device_t common |
void(* dump)(struct alloc_device_t * dev、char * buff、int buff_len) |
int(* free)(struct alloc_device_t * dev、buffer_handle_t handle) |
void * reserved_proc [7] |
ファイルgralloc.hの366行で定義されています。
この構造体のドキュメントは、次のファイルから生成されました。