File Documentation
FM4, S6E2DH/S6E2DF/S6E2D5/S6E2D3 Series, 32-Bit Microcontroller, Graphic Driver User Manual, Doc. No. 002-04387 Rev. *A
249
MML_GDC_2D_MATRIX_API void utMat4x4RotX (Mat4x4 m, MM_FLOAT f)
MML_GDC_2D_MATRIX_API void utMat4x4RotY (Mat4x4 m, MM_FLOAT f)
MML_GDC_2D_MATRIX_API void utMat4x4RotZ (Mat4x4 m, MM_FLOAT f)
MML_GDC_2D_MATRIX_API void utMat4x4Perspective (Mat4x4 m, MM_FLOAT fovy, MM_FLOAT aspect,
MM_FLOAT zNear, MM_FLOAT zFar)
MML_GDC_2D_MATRIX_API void utMat4x4GetXYZ (Mat4x4 m, float x, float y, float z, float
∗
xout, float
∗
yout,
float
∗
zout)
Matrix functions for the conversion of matrices
MML_GDC_2D_MATRIX_API void utMat3x2ToMat4x4 (Mat3x2 src, Mat4x4 dst)
MML_GDC_2D_MATRIX_API void utMat3x3ToMat4x4 (Mat3x3 src, Mat4x4 dst)
MML_GDC_2D_MATRIX_API void utMat4x4ToMat3x3 (Mat4x4 src, Mat3x3 dst)
MML_GDC_2D_MATRIX_API void utMat4x4ToMat3x2 (Mat4x4 src, Mat3x2 dst)
Matrix functions for color operations
MML_GDC_2D_MATRIX_API void utMat4x3Copy (Mat4x3 dst, const Mat4x3 src)
MML_GDC_2D_MATRIX_API void utMat4x3Multiply (Mat4x3 dst, const Mat4x3 src1, const Mat4x3 src2)
MML_GDC_2D_MATRIX_API void utMat4x3LoadIdentity (Mat4x3 m)
MML_GDC_2D_MATRIX_API void utMat5x4LoadIdentity (Mat5x4 m)
MML_GDC_2D_MATRIX_API void utMat4x3CalcColMatrix (Mat4x3 dst, MM_FLOAT fContrast, MM_FLOAT
fBrightness, MM_FLOAT fSaturation, MM_FLOAT fHue)
13.16.1 Detailed Description
Provide some matrix utility functions.