hi_mpi_dvpp_free

Applicable Products

Product

Supported

Ascend 950PR&950DT products

√

Atlas A3 products

√

Atlas A2 products

√

Atlas 200I/500 A2 inference products

√

Atlas inference products

√

Atlas training products

☓

Function

Frees a buffer from a device.

hi_mpi_dvpp_free frees only the buffer allocated by the hi_mpi_dvpp_malloc call.

Prototype

hi_s32 hi_mpi_dvpp_free(hi_void *dev_ptr)

Parameters

Parameter

Input/Output

Description

dev_ptr

Input

Pointer to the buffer to free.

Returns

Reference

For details about the API call sequence and example, see DVPP Image/Video Processing (Media Data Processing V2).