File Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
256
13.26
ut_compression.h File Reference
This file defines a helper function that can be used to compress a surface.
#include "mml_gdc_surfman.h"
Functions
MM_ERROR utSurfCompress (MML_GDC_SURFACE surf, MML_GDC_SURF_COMP mode)
13.26.1 Detailed Description
This file defines a helper function that can be used to compress a surface.
13.27
ut_memman.h File Reference
This file defines some interfaces for the memory management.
#include "mm_defines.h"
Macros
#define MML_ERR_MMAN_INVALID_PARAMETER MM_ERRCODE(0x18010001)
#define MML_ERR_MMAN_NO_MEMORY MM_ERRCODE(0x18010002)
#define MML_ERR_MMAN_NO_VRAM MM_ERRCODE(0x18010003)
#define MML_ERR_MMAN_INVALID_MEMORY MM_ERRCODE(0x18010004)
#define MML_ERR_MMAN_ACCESS_FAILED MM_ERRCODE(0x18010005)
#define MM_VRAM_BASE 0xD0000000U
#define MM_VRAM_SIZE 0x00080000U
#define MM_SDRAM_BASE 0xB0080000U
#define MM_SDRAM_SIZE 0x01000000U
Typedefs
typedef void
∗
MML_MMAN_HEAP_HANDLE
Functions
MM_ERROR utMmanReset (void)
MM_ERROR utMmanCreateHeap (MML_MMAN_HEAP_HANDLE
∗
hdlm em , M M _U 32 size, M M _U 32
base-Address)
MM_ERROR utMmanDestroyHeap (MML_MMAN_HEAP_HANDLE hdlmem)
MM_ERROR utMmanHeapAlloc (MML_MMAN_HEAP_HANDLE hdlmem, MM_U32 size, MM_U32 alignment,
MM_ADDR
∗
addr)
MM_ERROR utMmanHeapFree (MML_MMAN_HEAP_HANDLE hdlmem, void
∗
addr)
MM_ERROR utMmanGetSize (MML_MMAN_HEAP_HANDLE hdlmem, MM_U32
∗
size)
MM_ERROR utMmanGetFree (MML_MMAN_HEAP_HANDLE hdlmem, MM_U32
∗
size)
MM_ERROR utMmanGetLargest (MML_MMAN_HEAP_HANDLE hdlmem, MM_U32
∗
size)
13.27.1 Detailed Description
This file defines some interfaces for the memory management.