Mit Sammlungen den Überblick behalten Sie können Inhalte basierend auf Ihren Einstellungen speichern und kategorisieren.

alloc_device_t Strukturreferenz

alloc_device_t Strukturreferenz

#include < gralloc.h >

Datenfelder

struct hw_device_t verbreitet
int (* alloc ) (struct alloc_device_t * dev, int w, int h, int format, int usage, buffer_handle_t * handle, int * stride)
int (* frei ) (struct alloc_device_t * dev, buffer_handle_t handle)
Leere(* dump ) (struct alloc_device_t * dev, char * buff, int buff_len)
nichtig * reserved_proc [7]

detaillierte Beschreibung

Jede Gerätedatenstruktur muss mit hw_device_t beginnen, gefolgt von modulspezifischen öffentlichen Methoden und Attributen.

Definition in Zeile 326 der Datei gralloc.h .

Felddokumentation

int (* alloc) (Struktur alloc_device_t * dev, int w, int h, int-Format, int-Verwendung, buffer_handle_t * handle, int * stride)

Definition in Zeile 343 der Datei gralloc.h .

struct hw_device_t common

Definition in Zeile 327 der Datei gralloc.h .

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

Definition in Zeile 364 der Datei gralloc.h .

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

Definition in Zeile 357 der Datei gralloc.h .

void * reserved_proc [7]

Definition in Zeile 366 der Datei gralloc.h .


Die Dokumentation für diese Struktur wurde aus der folgenden Datei generiert:
  • hardware / libhardware / include / hardware / gralloc.h