Informacje o strukturze alloc_device_t

Informacje o strukturze alloc_device_t

#include < gralloc.h >

Pola danych

struct hw_device_t   wspólne
 
int(*  alloc )(struct alloc_device_t *dev, int w, int h, int format, int usage, buffer_handle_t *handle, int *stride)
 
int(*  free )(struct alloc_device_t *dev, buffer_handle_t handle)
 
void(*  dump )(struct alloc_device_t *dev, char *buff, int buff_len)
 
void *  reserved_proc [7]
 

Szczegółowy opis

Każda struktura danych urządzenia musi zaczynać się od hw_device_t a następnie zawierać publiczne metody i atrybuty specyficzne dla modułu.

Definicja w wierszu 326 pliku gralloc.h .

Dokumentacja pola

int(* alloc)(struct alloc_device_t *dev, int w, int h, int format, int usage, buffer_handle_t *handle, int *stride)

Definicja w wierszu 343 pliku gralloc.h .

struct hw_device_t common

Definicja w wierszu 327 pliku gralloc.h .

void(* dump)(struct alloc_device_t *dev, char *buff, int buff_len)

Definicja w wierszu 364 pliku gralloc.h .

int(* free)(struct alloc_device_t *dev, buffer_handle_t handle)

Definicja w wierszu 357 pliku gralloc.h .

void* reserved_proc[7]

Definicja w wierszu 366 pliku gralloc.h .


Dokumentacja tego typu danych została wygenerowana z tego pliku: