hi_mpi_dvpp_free

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

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

  • 0: success
  • Other values: failure

Reference

For details about the API call sequence and example, see DVPP Image/Video Processing.