Home
last modified time | relevance | path

Searched refs:Matrix4x4 (Results 1 – 4 of 4) sorted by relevance

/frameworks/rs/cpu_ref/
DrsCpuRuntimeMath.cpp28 using android::renderscript::Matrix4x4;
55 static void SC_MatrixLoadRotate(Matrix4x4 *m, float rot, float x, float y, float z) { in SC_MatrixLoadRotate()
58 static void SC_MatrixLoadScale(Matrix4x4 *m, float x, float y, float z) { in SC_MatrixLoadScale()
61 static void SC_MatrixLoadTranslate(Matrix4x4 *m, float x, float y, float z) { in SC_MatrixLoadTranslate()
64 static void SC_MatrixRotate(Matrix4x4 *m, float rot, float x, float y, float z) { in SC_MatrixRotate()
67 static void SC_MatrixScale(Matrix4x4 *m, float x, float y, float z) { in SC_MatrixScale()
70 static void SC_MatrixTranslate(Matrix4x4 *m, float x, float y, float z) { in SC_MatrixTranslate()
74 static void SC_MatrixLoadOrtho(Matrix4x4 *m, float l, float r, float b, float t, float n, float f) { in SC_MatrixLoadOrtho()
77 static void SC_MatrixLoadFrustum(Matrix4x4 *m, float l, float r, float b, float t, float n, float f… in SC_MatrixLoadFrustum()
80 static void SC_MatrixLoadPerspective(Matrix4x4 *m, float fovy, float aspect, float near, float far)… in SC_MatrixLoadPerspective()
[all …]
/frameworks/rs/
DrsMatrix4x4.cpp37 bool Matrix4x4::inverse() { in inverse()
79 bool Matrix4x4::inverseTranspose() { in inverseTranspose()
119 void Matrix4x4::transpose() { in transpose()
134 void Matrix4x4::loadIdentity() { in loadIdentity()
153 void Matrix4x4::load(const float *v) { in load()
157 void Matrix4x4::load(const rs_matrix4x4 *v) { in load()
161 void Matrix4x4::load(const rs_matrix3x3 *v) { in load()
180 void Matrix4x4::load(const rs_matrix2x2 *v) { in load()
200 void Matrix4x4::loadRotate(float rot, float x, float y, float z) { in loadRotate()
238 void Matrix4x4::loadScale(float x, float y, float z) { in loadScale()
[all …]
DrsMatrix4x4.h27 struct Matrix4x4 : public rs_matrix4x4 { struct
65 Matrix4x4 tmp; in rotate() argument
70 Matrix4x4 tmp; in scale() argument
75 Matrix4x4 tmp; in translate() argument
DrsProgramVertex.cpp50 Matrix4x4 mvp; in setup()
52 Matrix4x4 t; in setup()
143 Matrix4x4 mvp; in transformToScreen()
144 mvp.loadMultiply((Matrix4x4 *)&f[RS_PROGRAM_VERTEX_MODELVIEW_OFFSET], in transformToScreen()
145 (Matrix4x4 *)&f[RS_PROGRAM_VERTEX_PROJECTION_OFFSET]); in transformToScreen()
222 Matrix4x4 m; in updateSize()