API Reference
4-86
4.4.5
Termination API
Termination API is used to terminate the algorithm instance and free up the memory space that it
uses.
║
Name
algFree()
– determine the addresses of all memory buffers used by the algorithm
║
Synopsis
XDAS_Int32 algFree(IALG_Handle handle, IALG_MemRec
memTab[]);
║
Arguments
IALG_Handle handle; /* handle to the algorithm instance */
IALG_MemRec memTab[]; /* output array of memory records */
║
Return Value
XDAS_Int32; /* Number of buffers used by the algorithm */
║
Description
algFree()
determines the addresses of all memory buffers used by the algorithm. The primary
aim of doing so is to free up these memory regions after closing an instance of the algorithm.
The first argument to
algFree()
is a handle to the algorithm instance.
The second argument is a table of memory records that describe the base address, size, alignment,
type, and memory space of all buffers previously allocated for the algorithm instance.
For more details, see
TMS320 DSP Algorithm Standard API Reference
(literature number
SPRU360).
║
See Also
algAlloc()