hi_vpc_workspace_param

Description

Defines the workspace parameters.

Prototype

hi_vpc_workspace_param = {"func": hi_workspace_func,
                          "max_source_pic_width": max_source_pic_width,
                          "max_source_pic_height": max_source_pic_height,
                          "max_dest_pic_width": max_dest_pic_width,
                          "max_dest_pic_height": max_dest_pic_height,
                          "reserved": reserved}

Members

For the Atlas 200I/500 A2 inference products, the resolution of the input and output images ranges from 10 x 6 to 4096 x 8192.

For the Atlas A2 training products/Atlas A2 inference products, the resolution of the input and output images ranges from 10 x 6 to 4096 x 8192.

For the Atlas A3 training products/Atlas A3 inference products, the resolution of the input and output images ranges from 10 x 6 to 4096 x 8192.

Parameter

Input/Output

Description

func

Input

Int, function for which workspace is allocated.

max_source_pic_width

Input

Int, maximum width of the input image.

max_source_pic_height

Input

Int, maximum height of the input image.

max_dest_pic_width

Input

Int, maximum width of the output image.

max_dest_pic_height

Input

Int, maximum height of the output image.

reserved

Input

Int, reserved. To ensure compatibility in later versions, use the memset configuration for resetting and initialization. Do not explicitly access the reserved field in the code.