hi_mpi_vi_set_chn_dis_config

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

The Atlas Training Series Product does not support this API.

Description

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

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 information 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.

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