Graphics Driver Manual for 2D core of S6E2D devices Download

Transcript
A P P L I C A T I O N
N O T E
MM_ERROR mmlGdcVideoGetLargestBlock ( MM_U32 ∗
11.18.3.11
size )
Retrieve the size of the largest contiguous block of free video memory. Depending on the configuration (see
mmlGdcVideoConfig), this refers to VRAM, SDRAM or both.
Parameters
out
size
Parameter to receive the query result [not NULL].
Return values
MML_OK
Normal termination.
MML_ERR_MMAN_INVALID_PARAMETER
An unexpected internal error occurred.
MM_ERROR mmlGdcVideoGetSize ( MM_U32 ∗ size )
11.18.3.12
Retrieve the size of video memory heap. Depending on the configuration (see mmlGdcVideoConfig), this is
the size of VRAM, SDRAM or both.
Parameters
out
size
Parameter to receive the query result [not NULL].
Return values
MML_OK
Normal termination.
MML_ERR_MMAN_INVALID_PARAMETER
An unexpected internal error occurred.
void mmlOsLibcFree ( void ∗ _Memory )
11.18.3.13
Implements the standard C Library function free().
Parameters
in
_Memory
11.18.3.14
Virtual address previously returned from mmlOsLibcMalloc.
void∗ mmlOsLibcMalloc (
size_t _Size )
Implements the standard C Library function malloc().
Parameters
in
_Size
Amount of memory to be allocated in bytes.
Returns
NULL on failure, or the virtual address of the allocated memory.
194
CONFIDENTIAL
S6E2DH_AN709-00022-1v0-E, September 11, 2015