![Texas Instruments DM365 User Manual Download Page 115](http://html.mh-extra.com/html/texas-instruments/dm365/dm365_user-manual_1094517115.webp)
API Reference
4-69
║
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()
Note:
In the current implementation,
algFree()
API additionally resets
HDVICP hardware co-processor and also releases DMA resources held
by it. Thus, it is important that this function is used only to release the
resource at the end and not in between
process()
/
control()
API
functions.
Summary of Contents for DM365
Page 10: ...x This page is intentionally left blank ...
Page 12: ...xii This page is intentionally left blank ...
Page 24: ...Introduction 1 12 This page is intentionally left blank ...
Page 34: ...Installation Overview 2 10 This page is intentionally left blank ...
Page 116: ...API Reference 4 70 This page is intentionally left blank ...
Page 120: ...Error Description B 2 This page is intentionally left blank ...
Page 124: ...ARM926 TCM Buffer Usage By Codec D 2 This page is intentionally left blank ...
Page 126: ...Simple Two pass Encoding Sample Usage E 2 Case 1 Case 2 Case 3 Case 4 Frame Skip ...
Page 130: ...Simple Two pass Encoding Sample Usage E 6 This page is intentionally left blank ...