hi_mpi_vpss_get_chn_fisheye

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 a VPSS physical channel's fisheye attributes that are set by calling hi_mpi_vpss_set_chn_fisheye.

Prototype

hi_s32 hi_mpi_vpss_get_chn_fisheye(hi_vpss_grp grp, hi_vpss_chn chn, hi_fisheye_correction_attr *correction_attr)

Parameters

Parameter

Input/Output

Description

grp

Input

VPSS group ID.

Value range: [0, 264)

chn

Input

VPSS channel ID.

Value range: [0, 2)

correction_attr

Output

Pointer to the fisheye attribute structure of a VPSS physical channel.

Returns

Restrictions

  • A VPSS group must have been created. For details, see hi_mpi_vpss_create_grp.
  • The attributes must have been set before you call this API.