hi_mpi_isp_set_mesh_shading_attr

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

Sets the attribute of the mesh shading algorithm.

Prototype

hi_s32 hi_mpi_isp_set_mesh_shading_attr(hi_vi_pipe vi_pipe, const hi_isp_shading_attr *shading_attr)

Parameters

Parameter

Input/Output

Description

vi_pipe

Input

VI pipe ID.

Value range: [0, 12)

shading_attr

Input

Attribute of the mesh shading algorithm.

Returns

  • 0: success
  • Other values: failure. For details, see Error Codes.