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 を参照していることがわかっているコンテキストで、 hw_device_t を hdmi_cec_device ポインタにキャストするため、これは 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
