Module Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
171
11.17.4.10 MML_GDC_2D_MATRIX_API void utMat3x2ToMat4x4 ( Mat3x2 src, Mat4x4 dst )
Convert a 3x2-matrix to a 4x4-matrix.
Parameters
out
dst
The destination matrix.
in
src
The source matrix.
11.17.4.11 MML_GDC_2D_MATRIX_API void utMat3x2Translate ( Mat3x2 m, MM_FLOAT x,
MM_FLOAT y )
Modify a matrix to realize a move operation. The resulting matrix represents m = m
∗
m_trans
Parameters
in,out
m
The matrix to modify.
in
x
Move dimension in x direction.
in
y
Move dimension in y direction.
11.17.4.12 MML_GDC_2D_MATRIX_API void utMat3x2TranslatePre ( Mat3x2 m, MM_FLOAT x,
MM_FLOAT y )
Modify a matrix by pre-multiplying a move matrix. The resulting matrix represents m = m_trans
∗
m.
Parameters
in,out
m
The matrix to modify.
in
x
Move dimension in x direction.
in
y
Move dimension in y direction.
11.17.4.13 MML_GDC_2D_MATRIX_API void utMat3x3Copy ( Mat3x3 dst, const Mat3x3 src )
Copy the content of a 3x3-matrix to a new one.
Parameters
out
dst
The destination matrix.
in
src
The source matrix.
11.17.4.14 MML_GDC_2D_MATRIX_API void utMat3x3LoadIdentity ( Mat3x3 m )
Fill a 3x3-matrix with a unit matrix.
Parameters
in,out
m
The matrix to modify.
11.17.4.15 MML_GDC_2D_MATRIX_API void utMat3x3Multiply ( Mat3x3 dst, const Mat3x3 src1,
const Mat3x3 src2 )
Multiply 2 3x3-matrices. The resulting matrix represents dst = src1
∗
src2.
Parameters
out
dst
The destination matrix.
in
src1
The first source matrix.
in
src2
The second source matrix.