hi_mpi_vi_set_chn_dis_config

Applicability

Product

Supported

Atlas A3 training products/Atlas A3 inference products

x

Atlas A2 training products/Atlas A2 inference products

x

Atlas 200I/500 A2 inference products

Atlas inference products

x

Atlas training products

x

Description

Configures the digital image stabilization (DIS) function of a VI channel.

Prototype

hi_s32 hi_mpi_vi_set_chn_dis_config(hi_vi_pipe vi_pipe, hi_vi_chn vi_chn, const hi_dis_config *dis_config)

Parameters

Parameter

Input/Output

Description

vi_pipe

Input

Pipe ID.

Value range: [0, 12)

vi_chn

Input

VI channel ID.

Value range: [0, 1)

dis_config

Input

Pointer to the DIS configuration information structure.

Returns

Restrictions

  • When you call this API to set hi_dis_config.scale to HI_TRUE and call hi_mpi_vi_set_chn_dis_attr to enable the DIS function, crop_ratio in the DIS configuration can be dynamically modified when the DIS function is enabled. To modify the DIS configuration parameters in other cases, disable the DIS function by calling hi_mpi_vi_set_chn_dis_attr before modification as the parameters cannot be dynamically modified.