Documentation de référence sur la struct hdmi_cec_device
#include <
hdmi_cec.h
>
Champs de données |
|
| struct hw_device_t | commun |
| 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 * | réservé [16-11] |
Description détaillée
Définition sur la ligne 299 du fichier hdmi_cec.h .
Documentation des champs
| int(* add_logical_address)(const struct hdmi_cec_device *dev, cec_logical_address_t addr) |
Définition à la ligne 319 du fichier hdmi_cec.h .
| void(* clear_logical_address)(const struct hdmi_cec_device *dev) |
Définition à la ligne 328 du fichier hdmi_cec.h .
| struct hw_device_t common |
Méthodes courantes de l'appareil HDMI-CEC. Cet élément doit être le premier membre de hdmi_cec_device , car les utilisateurs de cette structure castent un hw_device_t en pointeur hdmi_cec_device dans les contextes où il est connu que hw_device_t fait référence à un hdmi_cec_device .
Définition à la ligne 305 du fichier hdmi_cec.h .
| int(* get_physical_address)(const struct hdmi_cec_device *dev, uint16_t *addr) |
Définition à la ligne 341 du fichier hdmi_cec.h .
| void(* get_port_info)(const struct hdmi_cec_device *dev, struct hdmi_port_info *list[], int *total) |
Définition à la ligne 385 du fichier hdmi_cec.h .
| void(* get_vendor_id)(const struct hdmi_cec_device *dev, uint32_t *vendor_id) |
Définition à la ligne 378 du fichier hdmi_cec.h .
| void(* get_version)(const struct hdmi_cec_device *dev, int *version) |
Définition à la ligne 371 du fichier hdmi_cec.h .
| int(* is_connected)(const struct hdmi_cec_device *dev, int port_id) |
Définition à la ligne 409 du fichier hdmi_cec.h .
| void(* register_event_callback)(const struct hdmi_cec_device *dev, event_callback_t callback, void *arg) |
Définition à la ligne 365 du fichier hdmi_cec.h .
| void* reserved[16-11] |
Définition à la ligne 412 du fichier hdmi_cec.h .
| int(* send_message)(const struct hdmi_cec_device *dev, const cec_message_t *) |
Définition à la ligne 356 du fichier hdmi_cec.h .
| void(* set_audio_return_channel)(const struct hdmi_cec_device *dev, int port_id, int flag) |
Définition à la ligne 402 du fichier hdmi_cec.h .
| void(* set_option)(const struct hdmi_cec_device *dev, int flag, int value) |
Définition à la ligne 393 du fichier hdmi_cec.h .
La documentation de ce struct a été générée à partir du fichier suivant :
- hardware/libhardware/include/hardware/ hdmi_cec.h