Home
last modified time | relevance | path

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

/aosp12/frameworks/rs/driver/runtime/
H A 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()
/aosp12/frameworks/base/rs/java/android/renderscript/
H A DMatrix3f.java125 float recipLen = 1.f / len; in loadRotate() local
126 x *= recipLen; in loadRotate()
127 y *= recipLen; in loadRotate()
128 z *= recipLen; in loadRotate()
H A DMatrix4f.java170 float recipLen = 1.f / len; in loadRotate() local
171 x *= recipLen; in loadRotate()
172 y *= recipLen; in loadRotate()
173 z *= recipLen; in loadRotate()
/aosp12/frameworks/rs/support/java/src/androidx/renderscript/
H A DMatrix3f.java128 float recipLen = 1.f / len; in loadRotate() local
129 x *= recipLen; in loadRotate()
130 y *= recipLen; in loadRotate()
131 z *= recipLen; in loadRotate()
H A DMatrix4f.java171 float recipLen = 1.f / len; in loadRotate() local
172 x *= recipLen; in loadRotate()
173 y *= recipLen; in loadRotate()
174 z *= recipLen; in loadRotate()
/aosp12/frameworks/rs/script_api/include/
H A 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;
/aosp12/frameworks/rs/
H A 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()
/aosp12/frameworks/base/libs/hwui/
H A DMatrix.cpp351 float recipLen = 1.0f / length; in loadRotate() local
352 x *= recipLen; in loadRotate()
353 y *= recipLen; in loadRotate()
354 z *= recipLen; in loadRotate()
/aosp12/frameworks/base/opengl/java/android/opengl/
H A 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()