hi_mpi_vpc_roundview_stitching

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

Delivers a surround-view stitching task.

Surround-view stitching tasks cannot be concurrently delivered in one channel. A surround-view stitching task can be delivered through hi_mpi_vpc_roundview_stitching only after the call to hi_mpi_vpc_get_process_result.

Prototype

hi_s32 hi_mpi_vpc_roundview_stitching(hi_vpc_chn chn, hi_roundview_stitching_pic_param *roundview_stitching_pic_param, hi_u32 *task_id, hi_s32 milli_sec)

Parameters

Parameter

Input/Output

Description

chn

Input

Channel ID for image processing.

roundview_stitching_pic_param

Input

Input and output image information.

  • Input:
    • Number of input images: 4
    • Input image format: YUV420SP and YVU420SP
    • Input image resolution: [10 × 6, 4096 × 4096]
  • Output:
    • Number of output images: 1
    • Output image format: YUV420SP, YVU420SP, RGB888, and BGR888
    • Output image resolution: [10 × 6, 4096 × 4096]

milli_sec

Input

Timeout interval, in ms.

  • –1: blocking mode
  • 0: non-blocking mode
  • > 0: timeout interval (timeout mode)

task_id

Output

Task ID, used to identify a task.

Returns