Download Graphics Driver Manual for 2D core of S6E2D devices

Transcript
A P P L I C A T I O N
N O T E
Parameters
out
dst
The destination matrix.
in
src1
The first source matrix.
in
src2
The second source matrix.
11.17.4.6
MML_GDC_2D_MATRIX_API void utMat3x2Rot ( Mat3x2 m,
MM_FLOAT f
)
Modify a matrix to realize a rotation. The resulting matrix represents m = m ∗ m_rot.
Parameters
in,out
m
The matrix to modify.
in
f
Rotation angle in degrees.
11.17.4.7
MML_GDC_2D_MATRIX_API void utMat3x2RotPre (
m, MM_FLOAT f
Mat3x2
)
Modify a matrix by pre-multiplying a rotation matrix. The resulting matrix represents m = m_rot ∗ m.
Parameters
in,out
m
The matrix to modify.
in
f
Rotation angle in degrees.
11.17.4.8
MML_GDC_2D_MATRIX_API void utMat3x2Scale (
MM_FLOAT x,
Mat3x2 m,
MM_FLOAT y )
Modify a 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.
11.17.4.9
MML_GDC_2D_MATRIX_API void utMat3x2ScalePre
( Mat3x2 m, MM_FLOAT x,
MM_FLOAT y )
Modify a matrix by pre-multiplying a scale matrix. The resulting matrix represents m = m_scale ∗ m.
Parameters
182
CONFIDENTIAL
in,out
m
The matrix to modify.
in
x
Scale factor in x direction.
in
y
Scale factor in y direction.
S6E2DH_AN709-00022-1v0-E, September 11, 2015