Allocating Memory

Ascend 310 acldvpp API

Ascend 310P hi_mpi API

What You Need to Do

Allocate memory:

acldvppMalloc

Allocate memory:

hi_mpi_dvpp_malloc

Modify your code to allocate memory required by the media data processing function using hi_mpi_dvpp_malloc.

Free memory:

acldvppFree

Free memory:

hi_mpi_dvpp_free

Modify your code to free memory by using the hi_mpi_dvpp_free API.