Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
121
11.6.4.8 enum MML_GDC_PE_GEO_MATRIX_FORMAT
Geometry matrix format.
Enumerator
MML_GDC_PE_GEO_MATRIX_FORMAT_3X2
float[6] array with 3 column and 2 lines.
MML_GDC_PE_GEO_MATRIX_FORMAT_3X3
float[9] array with 3 column and 3 lines.
11.6.4.9 enum MML_GDC_PE_SURF_ATTR
Surface attributes used by mmlGdcPeSurfAttribute.
Enumerator
MML_GDC_PE_SURF_ATTR_COLORMULTI
Enable/disable of color multiplication. The related parameter can be
MM_TRUE Enable color multiplication.
MM_FALSE Disable color multiplication (default). The related formula is
if
(ColorMultiply == MM_TRUE)
Cout = Cin * Aout;
// (Aout see MML_GDC_PE_SURF_ATTR_ALPHAMULTI)
else
Cout = Cin;
MML_GDC_PE_SURF_ATTR_ALPHAMULTI
Enable/disable multiplication of pixel alpha with constant alpha defined by mmlGdcPeSurfColor(). The related
parameter can be
MM_TRUE Enable alpha multiplication.
MM_FALSE Disable alpha multiplication (default). The related formula is
if
(AlphaMultiply == MM_TRUE)
Aout = Ain * Aconst;
else
Aout = Ain;
MML_GDC_PE_SURF_ATTR_TILE_MODE
Mode of tiling mode for pixels outside of source buffer. The related parameter can be
MML_GDC_PE_TILE_FILL_ZERO.
MML_GDC_PE_TILE_FILL_CONSTANT.
MML_GDC_PE_TILE_PAD.
MML_GDC_PE_TILE_PAD_ZERO (default).
Note:
Compressed and YUV422 images can only be used with MML_GDC_PE_TILE_FILL_ZERO. The
MML_GDC_PE_SURF_ATTR_TILE_MODE settings will be ignored for such images.