Referência da estrutura hdmi_cec_device
#include <
hdmi_cec.h
>
Campos de dados |
|
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] |
Descrição detalhada
Definição na linha 299 do arquivo hdmi_cec.h .
Documentação do campo
int(* add_logical_address)(const struct hdmi_cec_device *dev, cec_logical_address_t addr) |
Definição na linha 319 do arquivo hdmi_cec.h .
void(* clear_logical_address)(const struct hdmi_cec_device *dev) |
Definição na linha 328 do arquivo hdmi_cec.h .
struct hw_device_t common |
Métodos comuns do dispositivo HDMI CEC. Esse precisa ser o primeiro membro de hdmi_cec_device porque os usuários dessa estrutura vão transmitir um hw_device_t para um ponteiro hdmi_cec_device em contextos em que se sabe que o hw_device_t faz referência a um hdmi_cec_device .
Definição na linha 305 do arquivo hdmi_cec.h .
int(* get_physical_address)(const struct hdmi_cec_device *dev, uint16_t *addr) |
Definição na linha 341 do arquivo hdmi_cec.h .
void(* get_port_info)(const struct hdmi_cec_device *dev, struct hdmi_port_info *list[], int *total) |
Definição na linha 385 do arquivo hdmi_cec.h .
void(* get_vendor_id)(const struct hdmi_cec_device *dev, uint32_t *vendor_id) |
Definição na linha 378 do arquivo hdmi_cec.h .
void(* get_version)(const struct hdmi_cec_device *dev, int *version) |
Definição na linha 371 do arquivo hdmi_cec.h .
int(* is_connected)(const struct hdmi_cec_device *dev, int port_id) |
Definição na linha 409 do arquivo hdmi_cec.h .
void(* register_event_callback)(const struct hdmi_cec_device *dev, event_callback_t callback, void *arg) |
Definição na linha 365 do arquivo hdmi_cec.h .
void* reserved[16-11] |
Definição na linha 412 do arquivo hdmi_cec.h .
int(* send_message)(const struct hdmi_cec_device *dev, const cec_message_t *) |
Definição na linha 356 do arquivo hdmi_cec.h .
void(* set_audio_return_channel)(const struct hdmi_cec_device *dev, int port_id, int flag) |
Definição na linha 402 do arquivo hdmi_cec.h .
void(* set_option)(const struct hdmi_cec_device *dev, int flag, int value) |
Definição na linha 393 do arquivo hdmi_cec.h .
A documentação dessa struct foi gerada com base no seguinte arquivo:
- hardware/libhardware/include/hardware/ hdmi_cec.h