hdmi_cec_device-Strukturreferenz
#include <
hdmi_cec.h
>
Datenfelder |
|
struct hw_device_t | common |
int(* | add_logical_address )(const struct hdmi_cec_device *dev, cec_logical_address_t addr) |
void(* | clear_logical_address )(const struct hdmi_cec_device *dev) |
int(* | get_physical_address )(const struct hdmi_cec_device *dev, uint16_t *addr) |
int(* | send_message )(const struct hdmi_cec_device *dev, const cec_message_t *) |
void(* | register_event_callback )(const struct hdmi_cec_device *dev, event_callback_t callback, void *arg) |
void(* | get_version )(const struct hdmi_cec_device *dev, int *version) |
void(* | get_vendor_id )(const struct hdmi_cec_device *dev, uint32_t *vendor_id) |
void(* | get_port_info )(const struct hdmi_cec_device *dev, struct hdmi_port_info *list[], int *total) |
void(* | set_option )(const struct hdmi_cec_device *dev, int flag, int value) |
void(* | set_audio_return_channel )(const struct hdmi_cec_device *dev, int port_id, int flag) |
int(* | is_connected )(const struct hdmi_cec_device *dev, int port_id) |
void * | reserved [16-11] |
Detaillierte Beschreibung
Definition in Zeile 299 der Datei hdmi_cec.h .
Felddokumentation
int(* add_logical_address)(const struct hdmi_cec_device *dev, cec_logical_address_t addr) |
Definition in Zeile 319 der Datei hdmi_cec.h .
void(* clear_logical_address)(const struct hdmi_cec_device *dev) |
Definition in Zeile 328 der Datei hdmi_cec.h .
struct hw_device_t common |
Häufige Methoden des HDMI-CEC-Geräts. Dies muss das erste Element von hdmi_cec_device sein, da Nutzer dieser Struktur einen hw_device_t in Kontexten, in denen bekannt ist, dass der hw_device_t auf ein hdmi_cec_device verweist.
Definition in Zeile 305 der Datei hdmi_cec.h .
int(* get_physical_address)(const struct hdmi_cec_device *dev, uint16_t *addr) |
Definition in Zeile 341 der Datei hdmi_cec.h .
void(* get_port_info)(const struct hdmi_cec_device *dev, struct hdmi_port_info *list[], int *total) |
Definition in Zeile 385 der Datei hdmi_cec.h .
void(* get_vendor_id)(const struct hdmi_cec_device *dev, uint32_t *vendor_id) |
Definition in Zeile 378 der Datei hdmi_cec.h .
void(* get_version)(const struct hdmi_cec_device *dev, int *version) |
Definition in Zeile 371 der Datei hdmi_cec.h .
int(* is_connected)(const struct hdmi_cec_device *dev, int port_id) |
Definition in Zeile 409 der Datei hdmi_cec.h .
void(* register_event_callback)(const struct hdmi_cec_device *dev, event_callback_t callback, void *arg) |
Definition in Zeile 365 der Datei hdmi_cec.h .
void* reserved[16-11] |
Definition in Zeile 412 der Datei hdmi_cec.h .
int(* send_message)(const struct hdmi_cec_device *dev, const cec_message_t *) |
Definition in Zeile 356 der Datei hdmi_cec.h .
void(* set_audio_return_channel)(const struct hdmi_cec_device *dev, int port_id, int flag) |
Definition in Zeile 402 der Datei hdmi_cec.h .
void(* set_option)(const struct hdmi_cec_device *dev, int flag, int value) |
Definition in Zeile 393 der Datei hdmi_cec.h .
Die Dokumentation für diese Struktur wurde aus der folgenden Datei generiert:
- hardware/libhardware/include/hardware/ hdmi_cec.h