/frameworks/native/libs/math/tests/ |
D | quat_test.cpp | 47 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/ |
D | rsCpuIntrinsics_neon_ColorMatrix.S | 34 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 …]
|
D | rsCpuIntrinsics_neon_Blend.S | 61 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 …]
|
D | rsCpuIntrinsics_neon_YuvToRGB.S | 45 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
|
D | rsCpuIntrinsics_neon_3DLUT.S | 147 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
|
D | rsCpuIntrinsics_neon_Resize.S | 468 vhadd.s16 q0, q10, q8 470 vsub.s16 q0, q9, q0
|
D | rsCpuIntrinsics_neon_Convolve.S | 36 vld1.16 {q0, q1}, [r4]
|
/frameworks/rs/driver/runtime/ |
D | rs_quaternion.c | 27 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/ |
D | quat.h | 32 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()
|
D | Fusion.h | 92 void initFusion(const vec4_t& q0, float dT);
|
/frameworks/rs/script_api/ |
D | rs_quaternion.spec | 56 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/ |
D | rs_quaternion.rsh | 70 * 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/ |
D | SensorManager.java | 1652 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/ |
D | test_amr_ietf.amr | 107 D�q0<T]�N��������[yq���D�D�:mj<Tf'��(�H��D?5̮����"4�) <BTN�8�v�t��/�M����#fH���<…
|