hi_mpi_hdmi_get_attr

Applicability

Product

Supported

Atlas 350 Accelerator Card

Atlas A3 training product/Atlas A3 inference product

Atlas A2 training product/Atlas A2 inference product

Atlas 200I/500 A2 inference product

Atlas inference product

Atlas training product

Function Description

Obtains the HDMI attributes.

Prototype

hi_s32 hi_mpi_hdmi_get_attr(hi_hdmi_id hdmi, hi_hdmi_attr *attr)

Parameters

Parameter

Input/Output

Description

hdmi

Input

HDMI ID.

Value range: [0, 2)

attr

Input

Pointer to the structure of the HDMI attributes. Some attributes are not supported currently. For details, see the description of hi_hdmi_attr.

Returns

Restrictions

  • After the HDMI is enabled by calling the hi_mpi_hdmi_open API, call this API to obtain the HDMI attributes. Ensure that the value of hi_hdmi_id in the hi_mpi_hdmi_open API is the same as that in this API.
  • Currently, this API does not support multiple processes.