hi_mpi_vpc_create_engine_config_handle

Applicable Products

Product

Supported

Ascend 950PR/Ascend 950DT

☓

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

☓

Function

Creates a handle for the VPC Engine in the HiCAID deterministic framework. One handle corresponds to only one VPC Engine.

Prototype

hi_s32 hi_mpi_vpc_create_engine_config_handle(hi_vpc_handle handle_type, hi_s32 *handle, const void *handle_param, const hi_u32 param_size)

Parameters

Parameter

Input/Output

Description

handle_type

Input

Handle type.

handle

Output

Image processing handle ID.

A maximum of 36 handles are supported.

handle_param

Input

Pointer to the parameter content.

Constructs handle_param based on the type selected by handle_type and the corresponding structures hi_crop_resize_handle_param, hi_remap_handle_param, and hi_roundview_stitching_handle_param.

param_size

Input

Parameter size, in bytes. The value must be the same as the size of the structure corresponding to the handle_param parameter.

Returns