Function: dvpp_free

Applicable Products

Product

Supported (√/x)

Ascend 950PR&950DT products

x

Atlas A3 products

√

Atlas A2 products

√

Atlas training products

√

Atlas inference products

√

Atlas 200I/500 A2 inference products

√

Description

Frees the memory allocated by acl.media.dvpp_malloc.

Prototype

  • C Prototype
    1
    aclError acldvppFree(void *devPtr)
    
  • Python Function
    1
    ret = acl.media.dvpp_free(dev_ptr)
    

Parameters

Parameter

Description

dev_ptr

Int, pointer address of the memory to be freed.

Return Values

Return Value

Description

ret

Int, error code: 0 on success; else, failure.

Reference

For details about the API call sequence and examples, see Media Data Processing V1.