hdmi_cec_device 구조체 참조
#include <
hdmi_cec.h
>
데이터 필드 |
|
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] |
상세 설명
파일 hdmi_cec.h 의 299 행에 정의되어 있습니다.
필드 문서
int(* add_logical_address)(const struct hdmi_cec_device *dev, cec_logical_address_t addr) |
hdmi_cec.h 파일의 319 번째 줄에 정의되어 있습니다.
void(* clear_logical_address)(const struct hdmi_cec_device *dev) |
hdmi_cec.h 파일의 328 번째 줄에 정의되어 있습니다.
struct hw_device_t common |
HDMI CEC 기기의 일반적인 메서드입니다. 이는 이 구조의 사용자가 hw_device_t 를 hdmi_cec_device 포인터로 캐스팅하므로 hdmi_cec_device 의 첫 번째 멤버여야 합니다 (must) .
hdmi_cec.h 파일의 305 행에 정의되어 있습니다.
int(* get_physical_address)(const struct hdmi_cec_device *dev, uint16_t *addr) |
hdmi_cec.h 파일의 341 번째 줄에 정의되어 있습니다.
void(* get_port_info)(const struct hdmi_cec_device *dev, struct hdmi_port_info *list[], int *total) |
hdmi_cec.h 파일의 385 번째 줄에 정의되어 있습니다.
void(* get_vendor_id)(const struct hdmi_cec_device *dev, uint32_t *vendor_id) |
hdmi_cec.h 파일의 378 번째 줄에서 정의되었습니다.
void(* get_version)(const struct hdmi_cec_device *dev, int *version) |
hdmi_cec.h 파일의 371 번째 줄에 정의되어 있습니다.
int(* is_connected)(const struct hdmi_cec_device *dev, int port_id) |
hdmi_cec.h 파일의 409 줄에 정의되어 있습니다.
void(* register_event_callback)(const struct hdmi_cec_device *dev, event_callback_t callback, void *arg) |
hdmi_cec.h 파일의 365 번째 줄에 정의되어 있습니다.
void* reserved[16-11] |
hdmi_cec.h 파일의 412 번째 줄에 정의되어 있습니다.
int(* send_message)(const struct hdmi_cec_device *dev, const cec_message_t *) |
hdmi_cec.h 파일의 356 줄에 정의되어 있습니다.
void(* set_audio_return_channel)(const struct hdmi_cec_device *dev, int port_id, int flag) |
hdmi_cec.h 파일의 402 줄에 정의되어 있습니다.
void(* set_option)(const struct hdmi_cec_device *dev, int flag, int value) |
hdmi_cec.h 파일의 393 번째 줄에서 정의되었습니다.
이 구조체의 문서는 다음 파일에서 생성되었습니다.
- hardware/libhardware/include/hardware/ hdmi_cec.h