Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
86
MML_GDC_SURF_ATTR_COLORSHIFT. A mmlGdcSmGetAttribute call with the attribute
MML_GDC_SURF_ATTR_SURF_FORMAT will return the related color format if the same attributes match the
MML_GDC_SURF_FORMAT definition.
MML_GDC_SURF_ATTR_USERDEFINED
User defined (initial: 0).
11.4.4.2 enum MML_GDC_SURF_CLF
Color format of color lookup table.
Enumerator
MML_GDC_SURF_CLF_R8G8B8
R8G8B8
MML_GDC_SURF_CLF_B8G8R8
B8G8R8
MML_GDC_SURF_CLF_R5G5B5
R5G5B5
MML_GDC_SURF_CLF_A1R5G5B5
A1R5G5B5
MML_GDC_SURF_CLF_A4R4G4B4
A4R4G4B4
11.4.4.3 enum MML_GDC_SURF_CLM
Mode definition for color lookup table.
Enumerator
MML_GDC_SURF_CLM_NEUTRAL
Module in neutral mode, input data is bypassed to the output.
MML_GDC_SURF_CLM_INDEX_RGB
Module in color index table mode (LUT holds a R, G, B color value, indexed with the red input color).
MML_GDC_SURF_CLM_INDEX_RGBA
Module in color index table mode (LUT holds a R, G, B, A color value, indexed with the red input color).
11.4.4.4 enum MML_GDC_SURF_COMP
Compression format.
Enumerator
MML_GDC_SURF_COMP_NON
The buffer is not compressed.
MML_GDC_SURF_COMP_RLC
Run-Length Encoded (allowed for read buffers only).
MML_GDC_SURF_COMP_RLA
Run-Length Adaptive (lossless compression, allowed for read buffers only).
MML_GDC_SURF_COMP_RLAD
Run-Length Adaptive Dithering (lossy compression).