Android Hardware Abstraction Layer
Data Fields
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)
 
void * reserved_proc [6]
 

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

Field Documentation

struct hw_module_t common

Definition at line 139 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 209 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 239 of file gralloc.h.

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

Definition at line 225 of file gralloc.h.

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

Definition at line 156 of file gralloc.h.

void* reserved_proc[6]

Definition at line 245 of file gralloc.h.

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

Definition at line 220 of file gralloc.h.

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

Definition at line 171 of file gralloc.h.


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