hi_mpi_hdmi_get_sink_capability

The Atlas 200/300/500 Inference Product does not support this API.

The Atlas Training Series Product does not support this API.

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