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 145 of file gralloc.h.

Field Documentation

struct hw_module_t common

Definition at line 146 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 216 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 246 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 261 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 291 of file gralloc.h.

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

Definition at line 232 of file gralloc.h.

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

Definition at line 163 of file gralloc.h.

void* reserved_proc[3]

Definition at line 297 of file gralloc.h.

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

Definition at line 227 of file gralloc.h.

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

Definition at line 277 of file gralloc.h.

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

Definition at line 178 of file gralloc.h.


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