hi_mpi_hdmi_get_sink_capability

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

Atlas A2 training products/Atlas A2 inference products

Atlas 200I/500 A2 inference products

Atlas inference products

Atlas training products

Description

Obtains the capability set of a specified port.

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

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.