Download Graphics Driver Manual for 2D core of S6E2D devices

Transcript
A P P L I C A T I O N
11.17.4.31
N O T E
MML_GDC_2D_MATRIX_API void utMat4x4RotX ( Mat4x4 m,
MM_FLOAT f
)
Rotate a 4x4-matrix around the X-axis.
Parameters
in,out
m
The input/output matrix.
in
f
The rotation angle (in radians).
11.17.4.32
MML_GDC_2D_MATRIX_API void utMat4x4RotY (
MM_FLOAT f
Mat4x4 m,
)
Rotate a 4x4-matrix around the Y-axis.
Parameters
in,out
m
The input/output matrix.
in
f
The rotation angle (in radians).
11.17.4.33
MML_GDC_2D_MATRIX_API void utMat4x4RotZ ( Mat4x4 m,
MM_FLOAT f
)
Rotate a 4x4-matrix around the Z-axis.
Parameters
in,out
m
The input/output matrix.
in
f
The rotation angle (in radians).
11.17.4.34
MML_GDC_2D_MATRIX_API void utMat4x4Scale (
m,
MM_FLOAT x,
MM_FLOAT y, MM_FLOAT z
Mat4x4
)
Modify a 4x4-matrix to realize a scale operation. The resulting matrix represents m = m ∗ m_scale.
Parameters
in,out
m
The matrix to modify.
in
x
Scale factor in x direction.
in
y
Scale factor in y direction.
in
z
Scale factor in z direction.
11.17.4.35
MML_GDC_2D_MATRIX_API void utMat4x4ToMat3x2
( Mat4x4 src,
Mat3x2 dst
)
Convert a 4x4-matrix to a 3x2-matrix.
188
CONFIDENTIAL
S6E2DH_AN709-00022-1v0-E, September 11, 2015