Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
120
Warning:
For target buffers with few bits (e.g., <=4) per color component it will cause visible flickering artifacts.
MML_GDC_PE_CTX_ATTR_FILTER
Set the filter mode. The related parameter can be
MML_GDC_PE_FILTER_NEAREST.
MML_GDC_PE_FILTER_BILINEAR (default).
::MML_GDC_PE_FILTER_ANISOTROPIC.
MML_GDC_PE_ATTR_ZERO_POINT
Define the coordinate zero point for geometry operations. See alsoCoordinate System Hints. The related
parameter can be
MML_GDC_PE_ATTR_ZERO_TOP_LEFT.
MML_GDC_PE_ATTR_ZERO_BOTTOM_LEFT (default).
11.6.4.6 enum MML_GDC_PE_FILTER_CHANNEL
Color channels for filter.
Enumerator
MML_GDC_PE_FILTER_CHANNEL_R
Filter is applied to R or Y channel.
MML_GDC_PE_FILTER_CHANNEL_G
Filter is applied to G or U channel.
MML_GDC_PE_FILTER_CHANNEL_B
Filter is applied to B or V channel.
MML_GDC_PE_FILTER_CHANNEL_A
Filter is applied to Alpha channel (not available for MML_GDC_PE_FILTER_COLOR_FORMAT_R8G8B8).
MML_GDC_PE_FILTER_CHANNEL_RGB
Filter is applied to RGB or YUV channel
MML_GDC_PE_FILTER_CHANNEL_RGBA
Filter is applied to RGBA or YUVA channel (not available for
MML_GDC_PE_FILTER_COLOR_FORMAT_R8G8B8).
11.6.4.7 enum MML_GDC_PE_FILTER_COLOR_FORMAT
Filter color formates.
Enumerator
MML_GDC_PE_FILTER_COLOR_FORMAT_R8G8B8
RGB888 format. Alpha is not filtered but set to constant value 255.
MML_GDC_PE_FILTER_COLOR_FORMAT_R5G6B5A8
RGBA5658 format.
MML_GDC_PE_FILTER_COLOR_FORMAT_R8G8B8A8
RGBA8888 format.
Note:
Only available for MML_GDC_PE_FILTER_TYPE_FIR5X4.
MML_GDC_PE_FILTER_COLOR_FORMAT_R10G10B10A8
RGBA1010108 format.
Note:
Only available for MML_GDC_PE_FILTER_TYPE_FIR5X3.