Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
164
11.16.4.2 MM_ERROR utMmanDestroyHeap ( MML_MMAN_HEAP_HANDLE hdlmem )
Destroys a video memory heap.
Note:
Typically, an application would not use this function (see utMmanCreateHeap).
Parameters
in
hdlmem
Handle to heap.
Return values
MML_OK
On success.
MML_ERR_MMAN_INVALID_PARAMETER
If hdlmem is NULL.
11.16.4.3 MM_ERROR utMmanGetFree ( MML_MMAN_HEAP_HANDLE hdlmem, MM_U32
∗
size )
Get the total amount of free memory on the heap.
Note:
Typically, an application would not use this function, but call mmlGdcVideoGetFreeTotal()
Parameters
in
hdlmem
Heap to get information for.
out
size
Pointer to variable to receive the information.
Return values
MML_OK
On success.
MML_ERR_MMAN_INVALID_PARAMETER
If hdlmem is NULL
11.16.4.4 MM_ERROR utMmanGetLargest ( MML_MMAN_HEAP_HANDLE hdlmem, MM_U32
∗
size )
Get the size of the largest free contiguous memory block on the heap.
Note:
Typically, an application would not use this function, but call mmlGdcVideoGetLargestBlock()
Parameters
in
hdlmem
Heap to get information for.
out
size
Pointer to variable to receive the information.
Return values
MML_OK
On success.
MML_ERR_MMAN_INVALID_PARAMETER
If hdlmem is NULL.