hi_mpi_hdmi_get_sink_capability
The
The
Description
Obtains the capability set of a specified port.
Restrictions
If this API is called after the HDMI device is started (by calling hi_mpi_hdmi_open), the information about whether the device is connected can be obtained. If this API is called after the HDMI device is started (by calling hi_mpi_hdmi_open) and cables are inserted, all information about the sink-end capability set can be obtained.
Prototype
hi_s32 hi_mpi_hdmi_get_sink_capability(hi_hdmi_id hdmi, hi_hdmi_sink_capability *capability)
Parameters
Parameter |
Input/Output |
Description |
|---|---|---|
hdmi |
Input |
HDMI ID. Value range: [0, 2) |
capability |
Input |
Pointer to the structure of the HDMI sink capability set. |
Returns
- 0: success
- Other values: failure. For details, see HDMI Peripheral Return Codes.
Parent topic: HDMI Peripherals