Home
last modified time | relevance | path

Searched refs:recipLen (Results 1 – 10 of 10) sorted by relevance

/frameworks/rs/driver/runtime/
Drs_quaternion.c88 const float recipLen = 1.f / sqrt(len); in rsQuaternionLoadRotate() local
89 x *= recipLen; in rsQuaternionLoadRotate()
90 y *= recipLen; in rsQuaternionLoadRotate()
91 z *= recipLen; in rsQuaternionLoadRotate()
100 const float recipLen = 1.f / sqrt(len); in rsQuaternionNormalize() local
101 q->w *= recipLen; in rsQuaternionNormalize()
102 q->x *= recipLen; in rsQuaternionNormalize()
103 q->y *= recipLen; in rsQuaternionNormalize()
104 q->z *= recipLen; in rsQuaternionNormalize()
/frameworks/rs/support/java/src/android/support/v8/renderscript/
DMatrix3f.java124 float recipLen = 1.f / len; in loadRotate() local
125 x *= recipLen; in loadRotate()
126 y *= recipLen; in loadRotate()
127 z *= recipLen; in loadRotate()
DMatrix4f.java167 float recipLen = 1.f / len; in loadRotate() local
168 x *= recipLen; in loadRotate()
169 y *= recipLen; in loadRotate()
170 z *= recipLen; in loadRotate()
/frameworks/base/rs/java/android/renderscript/
DMatrix3f.java121 float recipLen = 1.f / len; in loadRotate() local
122 x *= recipLen; in loadRotate()
123 y *= recipLen; in loadRotate()
124 z *= recipLen; in loadRotate()
DMatrix4f.java166 float recipLen = 1.f / len; in loadRotate() local
167 x *= recipLen; in loadRotate()
168 y *= recipLen; in loadRotate()
169 z *= recipLen; in loadRotate()
/frameworks/rs/script_api/include/
Drs_quaternion.rsh193 const float recipLen = 1.f / sqrt(len);
194 x *= recipLen;
195 y *= recipLen;
196 z *= recipLen;
215 const float recipLen = 1.f / sqrt(len);
216 q->w *= recipLen;
217 q->x *= recipLen;
218 q->y *= recipLen;
219 q->z *= recipLen;
/frameworks/rs/
DrsMatrix4x4.cpp215 const float recipLen = 1.f / sqrtf(len); in loadRotate() local
216 x *= recipLen; in loadRotate()
217 y *= recipLen; in loadRotate()
218 z *= recipLen; in loadRotate()
/frameworks/base/libs/hwui/
DMatrix.cpp346 float recipLen = 1.0f / length; in loadRotate() local
347 x *= recipLen; in loadRotate()
348 y *= recipLen; in loadRotate()
349 z *= recipLen; in loadRotate()
/frameworks/base/opengl/java/android/opengl/
DMatrix.java613 float recipLen = 1.0f / len; in setRotateM() local
614 x *= recipLen; in setRotateM()
615 y *= recipLen; in setRotateM()
616 z *= recipLen; in setRotateM()
/frameworks/native/opengl/libagl/
Dmatrix.cpp361 const GLfloat recipLen = reciprocalf(len); in rotate() local
362 x *= recipLen; in rotate()
363 y *= recipLen; in rotate()
364 z *= recipLen; in rotate()