gralloc_module_t Struct Reference

gralloc_module_t Struct Reference

#include < gralloc.h >

Data Fields

struct hw_module_t   common
 
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(*  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 )(struct gralloc_module_t const *module, buffer_handle_t handle)
 
int(*  perform )(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 fenceFd)
 
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 fenceFd)
 
void *  reserved_proc [3]
 

Detailed Description

Every hardware module must have a data structure named HAL_MODULE_INFO_SYM and the fields of this data structure must begin with hw_module_t followed by module specific information.

Definition at line 155 of file gralloc.h .

Field Documentation

struct hw_module_t common

Definition at line 156 of file gralloc.h .

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

Definition at line 226 of file gralloc.h .

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)

Definition at line 265 of file gralloc.h .

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 fenceFd)

Definition at line 280 of file gralloc.h .

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 fenceFd)

Definition at line 310 of file gralloc.h .

int(* perform)(struct gralloc_module_t const *module, int operation,...)

Definition at line 242 of file gralloc.h .

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

Definition at line 173 of file gralloc.h .

void* reserved_proc[3]

Definition at line 316 of file gralloc.h .

int(* unlock)(struct gralloc_module_t const *module, buffer_handle_t handle)

Definition at line 237 of file gralloc.h .

int(* unlockAsync)(struct gralloc_module_t const *module, buffer_handle_t handle, int *fenceFd)

Definition at line 296 of file gralloc.h .

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

Definition at line 188 of file gralloc.h .


The documentation for this struct was generated from the following file: