Home
last modified time | relevance | path

Searched refs:q0 (Results 1 – 14 of 14) sorted by relevance

/frameworks/native/libs/math/tests/
Dquat_test.cpp47 quatd q0; in TEST_F() local
48 EXPECT_EQ(q0.x, 0); in TEST_F()
49 EXPECT_EQ(q0.y, 0); in TEST_F()
50 EXPECT_EQ(q0.z, 0); in TEST_F()
51 EXPECT_EQ(q0.w, 0); in TEST_F()
104 quatd q0(1, 2, 3, 4); in TEST_F() local
105 q0.x = 10; in TEST_F()
106 q0.y = 20; in TEST_F()
107 q0.z = 30; in TEST_F()
108 q0.w = 40; in TEST_F()
[all …]
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_neon_ColorMatrix.S34 veor q0, q0
68 #vqadd.s32 q0,q0,q0
69 #vadd.f32 q0,q0,q0
70 #vmul.f32 q0,q0,d0[0]
71 #vmla.f32 q0,q0,d0[0]
72 #vmov q0, q0
119 vmovl.u8 q0, d0
123 vmovl.u16 q0, d0
127 vcvt.f32.s32 q0, q0
137 vmovl.u8 q0, d0
[all …]
DrsCpuIntrinsics_neon_Blend.S61 vmov.i8 q0, #0
69 vmov q0, q8
85 vmull.u8 q0, d14, d0
93 vrshrn.u16 d8, q0, #8
102 vaddw.u8 q0, d8
111 vrshrn.u16 d0, q0, #8
120 vqadd.u8 q0, q8
139 vrshrn.u16 d8, q0, #8
166 vqadd.u8 q0, q8
175 vmull.u8 q0, d6, d16
[all …]
DrsCpuIntrinsics_neon_YuvToRGB.S45 vaddw.u8 q0, q1, d14 // r0 = y0 * 149 + (v >> 1)
57 vhadd.u16 q0, q11 // r0 = (r0 + r2) >> 1
64 … vqsub.u16 q0, q13 // r0 = satu16(r0 - (16 * 149 + (128 >> 1) + 128 * 204) >> 1)
71 vqrshrn.u16 d0, q0, #6
78 vzip.u8 q0, q1
196 vzip.8 q0, q2
198 vzip.8 q0, q1
DrsCpuIntrinsics_neon_3DLUT.S147 vmovl.u8 q0, d0
150 vmul.u16 q0, q0, d6[0]
159 vsra.u16 q0, q0, #8
163 vshr.u16 q12, q0, #8
167 vbic.u16 q0, #0xff00
DrsCpuIntrinsics_neon_Resize.S468 vhadd.s16 q0, q10, q8
470 vsub.s16 q0, q9, q0
DrsCpuIntrinsics_neon_Convolve.S36 vld1.16 {q0, q1}, [r4]
/frameworks/rs/driver/runtime/
Drs_quaternion.c27 rsQuaternionDot(const rs_quaternion* q0, const rs_quaternion* q1) { in rsQuaternionDot() argument
28 return q0->w*q1->w + q0->x*q1->x + q0->y*q1->y + q0->z*q1->z; in rsQuaternionDot()
129 rsQuaternionSlerp(rs_quaternion* q, const rs_quaternion* q0, const rs_quaternion* q1, float t) { in rsQuaternionSlerp() argument
131 rsQuaternionSet(q, q0); in rsQuaternionSlerp()
140 rsQuaternionSet(&tempq0, q0); in rsQuaternionSlerp()
143 float angle = rsQuaternionDot(q0, q1); in rsQuaternionSlerp()
/frameworks/native/services/sensorservice/
Dquat.h32 TYPE q0(q.w); in quatToMatrix()
40 TYPE q3_q0 = 2 * q3 * q0; in quatToMatrix()
42 TYPE q2_q0 = 2 * q2 * q0; in quatToMatrix()
44 TYPE q1_q0 = 2 * q1 * q0; in quatToMatrix()
DFusion.h92 void initFusion(const vec4_t& q0, float dT);
/frameworks/rs/script_api/
Drs_quaternion.spec56 arg: const rs_quaternion* q0, "First quaternion."
62 return q0->w*q1->w + q0->x*q1->x + q0->y*q1->y + q0->z*q1->z;
305 arg: const rs_quaternion* q0
389 arg: const rs_quaternion* q0
/frameworks/rs/script_api/include/
Drs_quaternion.rsh70 * q0: First quaternion.
75 rsQuaternionDot(const rs_quaternion* q0, const rs_quaternion* q1) {
76 return q0->w*q1->w + q0->x*q1->x + q0->y*q1->y + q0->z*q1->z;
266 * q0: First input quaternion.
272 rsQuaternionSlerp(rs_quaternion* q, const rs_quaternion* q0, const rs_quaternion* q1, float t) {
274 rsQuaternionSet(q, q0);
283 rsQuaternionSet(&tempq0, q0);
286 float angle = rsQuaternionDot(q0, q1);
326 rsQuaternionDot(const rs_quaternion* q0, const rs_quaternion* q1);
371 rsQuaternionSlerp(rs_quaternion* q, const rs_quaternion* q0, const rs_quaternion* q1, float t);
/frameworks/base/core/java/android/hardware/
DSensorManager.java1652 float q0; in getRotationMatrixFromVector() local
1658 q0 = rotationVector[3]; in getRotationMatrixFromVector()
1660 q0 = 1 - q1 * q1 - q2 * q2 - q3 * q3; in getRotationMatrixFromVector()
1661 q0 = (q0 > 0) ? (float) Math.sqrt(q0) : 0; in getRotationMatrixFromVector()
1668 float q3_q0 = 2 * q3 * q0; in getRotationMatrixFromVector()
1670 float q2_q0 = 2 * q2 * q0; in getRotationMatrixFromVector()
1672 float q1_q0 = 2 * q1 * q0; in getRotationMatrixFromVector()
/frameworks/base/media/tests/contents/media_api/music/
Dtest_amr_ietf.amr107 D�q0<T]�N��������[yq���D�D�:m j<Tf'��(�H��D?�5̮����"4 �) <BT N�8�v�t��/�M�����#fH���<…