Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
119
11.6.3 Typedef Documentation
11.6.3.1 typedef MML_GDC_PE_CONTEXT_CONTAINER
∗
MML_GDC_PE_CONTEXT
The pixel engine context object definition.
11.6.4 Enumeration Type Documentation
11.6.4.1 enum MML_GDC_PE_BF
Blit Blend function definition used by mmlGdcPeBlendFunc.
11.6.4.2 enum MML_GDC_PE_BM
Blit Blend mode definition used by mmlGdcPeBlendMode.
11.6.4.3 enum MML_GDC_PE_CLUT_FORMAT
CLUT entities size.
Enumerator
MML_GDC_PE_CLUT_FORMAT_33
Each array for RGB contains 33 10-bit values to describe the 0-255 index range. The missing values are
interpolated (see mmlGdcPeCLUTData for details).
MML_GDC_PE_CLUT_FORMAT_256
Each array for RGB contains 256 values to describe the CLUT.
11.6.4.4 enum MML_GDC_PE_CMATRIX_FORMAT
Color matrix format.
Enumerator
MML_GDC_PE_CMATRIX_FORMAT_4X3
float[12] array with 4 column and 3 lines.
11.6.4.5 enum MML_GDC_PE_CTX_ATTR
Context attributes used by mmlGdcPeAttribute.
Enumerator
MML_GDC_PE_CTX_ATTR_DITHER_COLOR
Set the color dither mode. The related parameter can be
MM_TRUE Enable color dithering.
MM_FALSE Disable color dithering (default).
MML_GDC_PE_CTX_ATTR_DITHER_ALPHA
Set the alpha dither mode. The related parameter can be
MM_TRUE Enable alpha dithering.
MM_FALSE Disable alpha dithering (default).
MML_GDC_PE_CTX_ATTR_DITHER_OFFSET
Set a dither offset. The value can be in the range from (0..15).
Note:
If the application renders a new frame with the vsync display frame rate, the quality may be improved by
increasing this dither offset value with each frame. It is the same effect like dithering a 8-bit color buffer
component to a 6 bit panel. Using this feature it is possible to use a smaller render buffer with the same color
quality.