hdmi_cec_device 結構體參考資料
  
   #include <
   
    hdmi_cec.h
   
   >
  
 
| 資料欄位 | |
| struct hw_device_t | 通用 | 
| 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 * | 保留 [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 裝置的常用方法。這個 必須是 hdmi_cec_device 的首要成員,因為這個結構體的使用者會在已知 hw_device_t 參照 hdmi_cec_device 的情況下,將 hw_device_t 轉換為 hdmi_cec_device 指標。
定義位於檔案 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
