/third_party/boost/libs/qvm/test/ |
D | slerp_test.cpp | 18 test_qvm::quaternion<Q1> a=rotx_quat(1.0f); in test() 19 test_qvm::quaternion<Q1> b=rotx_quat(.5f); in test() 20 test_qvm::quaternion<Q1> aa=slerp(a,b,0); in test() 21 test_qvm::quaternion<Q1> bb=slerp(a,b,1); in test() 27 test_qvm::quaternion<Q1> const qx1=rotx_quat(a1); in test() 28 test_qvm::quaternion<Q1> const qy1=roty_quat(a1); in test() 29 test_qvm::quaternion<Q1> const qz1=rotz_quat(a1); in test() 32 test_qvm::quaternion<Q1> const qx2=rotx_quat(a2); in test() 33 test_qvm::quaternion<Q1> const qy2=roty_quat(a2); in test() 34 test_qvm::quaternion<Q1> const qz2=rotz_quat(a2); in test() [all …]
|
D | rot_quat_test.cpp | 22 test_qvm::quaternion<Q1> q1=rot_quat(axis,r); in test_x() 31 test_qvm::quaternion<Q1> q3(42,1); in test_x() 32 test_qvm::quaternion<Q1> q4(42,1); in test_x() 46 test_qvm::quaternion<Q1> q1=rot_quat(axis,r); in test_y() 55 test_qvm::quaternion<Q1> q3(42,1); in test_y() 56 test_qvm::quaternion<Q1> q4(42,1); in test_y() 70 test_qvm::quaternion<Q1> q1=rot_quat(axis,r); in test_z() 79 test_qvm::quaternion<Q1> q3(42,1); in test_z() 80 test_qvm::quaternion<Q1> q4(42,1); in test_z()
|
D | mul_eq_qq_test.cpp | 24 test_qvm::quaternion<Q1> const qx=rotx_quat(a); in test() 25 test_qvm::quaternion<Q1> const qy=roty_quat(a); in test() 26 test_qvm::quaternion<Q1> const qz=rotz_quat(a); in test() 27 test_qvm::quaternion<Q1> q1=identity_quat<float>(); in test() 35 test_qvm::quaternion<Q1> const q2=convert_to< test_qvm::quaternion<Q1> >(m); in test()
|
D | mul_qq_test.cpp | 25 test_qvm::quaternion<Q1> const qx=rotx_quat(a); in test() 26 test_qvm::quaternion<Q1> const qy=roty_quat(a); in test() 27 test_qvm::quaternion<Q1> const qz=rotz_quat(a); in test() 28 test_qvm::quaternion<Q1> const q1=qx*qy*qref(qz); in test() 33 test_qvm::quaternion<Q1> const q2=convert_to< test_qvm::quaternion<Q1> >(m); in test()
|
D | minus_qq_test.cpp | 21 test_qvm::quaternion<Q1> const x(42,2); in test() 23 test_qvm::quaternion<Q1> const y(42,1); in test() 25 test_qvm::quaternion<Q1> r=x-y; in test() 30 test_qvm::quaternion<Q1> const y(42,1); in test() 36 test_qvm::quaternion<Q1> const y(42,1); in test()
|
D | plus_qq_test.cpp | 21 test_qvm::quaternion<Q1> const x(42,2); in test() 23 test_qvm::quaternion<Q1> const y(42,1); in test() 25 test_qvm::quaternion<Q1> r=x+y; in test() 30 test_qvm::quaternion<Q1> const y(42,1); in test() 36 test_qvm::quaternion<Q1> const y(42,1); in test()
|
D | normalize_q_test.cpp | 22 test_qvm::quaternion<Q1> const x(42,1); in test() 24 test_qvm::quaternion<Q1> y=normalized(x); in test() 30 test_qvm::quaternion<Q1> const x(42,1); in test() 31 test_qvm::quaternion<Q1> y=normalized(qref(x)); in test() 37 test_qvm::quaternion<Q1> x(42,1); in test()
|
D | inverse_q_test.cpp | 22 test_qvm::quaternion<Q1> x=rotx_quat(4.2f); in test() 24 test_qvm::quaternion<Q1> y=rotx_quat(-4.2f); in test() 26 test_qvm::quaternion<Q1> z=inverse(x); in test() 30 test_qvm::quaternion<Q1> z=inverse(qref(x)); in test()
|
D | convert_to_test.cpp | 39 test_qvm::quaternion<Q1> x(42,1); in test_quaternion() 47 test_qvm::quaternion<Q1> const qy=convert_to< test_qvm::quaternion<Q1> >(my); in test_quaternion() 59 … test_qvm::quaternion<Q1> const qy=convert_to< test_qvm::quaternion<Q1> >(del_row_col<3,3>(my)); in test_quaternion()
|
D | mul_qs_test.cpp | 21 test_qvm::quaternion<Q1> const x(42,1); in test() 25 test_qvm::quaternion<Q1> y=x*2; in test() 29 test_qvm::quaternion<Q1> y=qref(x)*2; in test()
|
D | minus_q_test.cpp | 21 test_qvm::quaternion<Q1> const x(42,1); in test() 25 test_qvm::quaternion<Q1> y=-x; in test() 29 test_qvm::quaternion<Q1> y=-qref(x); in test()
|
D | div_qs_test.cpp | 21 test_qvm::quaternion<Q1> const x(42,1); in test() 25 test_qvm::quaternion<Q1> y=x/2; in test() 29 test_qvm::quaternion<Q1> y=qref(x)/2; in test()
|
D | conjugate_test.cpp | 21 test_qvm::quaternion<Q1> const x(42,1); in test() 26 test_qvm::quaternion<Q1> y=conjugate(x); in test() 30 test_qvm::quaternion<Q1> y=conjugate(qref(x)); in test()
|
D | dot_qq_test.cpp | 21 test_qvm::quaternion<Q1> const x(42,1); in test() 23 test_qvm::quaternion<Q1> const y(43,1); in test() 30 test_qvm::quaternion<Q1,double> const y(43,1); in test()
|
D | rotz_quat_test.cpp | 21 test_qvm::quaternion<Q1> q1=rotz_quat(r); in test() 30 test_qvm::quaternion<Q1> q3(42,1); in test() 31 test_qvm::quaternion<Q1> r1=q3*q1; in test()
|
D | roty_quat_test.cpp | 21 test_qvm::quaternion<Q1> q1=roty_quat(r); in test() 30 test_qvm::quaternion<Q1> q3(42,1); in test() 31 test_qvm::quaternion<Q1> r1=q3*q1; in test()
|
D | rotx_quat_test.cpp | 21 test_qvm::quaternion<Q1> q1=rotx_quat(r); in test() 30 test_qvm::quaternion<Q1> q3(42,1); in test() 31 test_qvm::quaternion<Q1> r1=q3*q1; in test()
|
D | mul_qv_test.cpp | 25 test_qvm::quaternion<Q1> const qx=rotx_quat(a); in test() 26 test_qvm::quaternion<Q1> const qy=roty_quat(a); in test() 27 test_qvm::quaternion<Q1> const qz=rotz_quat(a); in test()
|
D | scalar_cast_q_test.cpp | 16 test_qvm::quaternion<Q1,double> x(42,1); in test() 17 test_qvm::quaternion<Q1,float> y; in test()
|
/third_party/boost/libs/mp11/test/ |
D | mp_invoke_q.cpp | 18 struct Q1 struct 45 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q1>, void>)); in main() 46 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q1, int>, void>)); in main() 47 BOOST_TEST_TRAIT_TRUE((std::is_same<mp_invoke_q<Q1, int[], char[]>, void>)); in main()
|
D | mp_unique_if_q.cpp | 27 struct Q1 struct 39 struct Q1 argument 66 using R2 = mp_unique_if_q<L1, Q1>; in main() 83 using R1 = mp_unique_if_q<mp_append<L1, L2, L3>, Q1>; in main()
|
/third_party/quickjs/examples/ |
D | pi.js | 17 var c, P, Q, G, P1, Q1, G1, P2, Q2, G2; 27 [P1, Q1, G1] = chud_bs(a, c, true); 30 Q = Q1 * Q2;
|
D | pi_bigdecimal.js | 17 var c, P, Q, G, P1, Q1, G1, P2, Q2, G2, b1; 28 [P1, Q1, G1] = chud_bs(a, c, true); 31 Q = Q1 * Q2;
|
D | pi_bigfloat.js | 17 var c, P, Q, G, P1, Q1, G1, P2, Q2, G2; 27 [P1, Q1, G1] = chud_bs(a, c, true); 30 Q = Q1 * Q2;
|
/third_party/ffmpeg/libavcodec/ |
D | cavsdsp.c | 42 #define Q1 p0_p[ 1*stride] macro 50 if(abs(p0-q0)<alpha && abs(P1-p0)<beta && abs(Q1-q0)<beta) { in loop_filter_l2() 59 Q0 = (Q1 + q0 + s) >> 2; in loop_filter_l2() 60 Q1 = (2*Q1 + s) >> 2; in loop_filter_l2() 62 Q0 = (2*Q1 + s) >> 2; in loop_filter_l2() 71 if(abs(p0-q0)<alpha && abs(P1-p0)<beta && abs(Q1-q0)<beta) { in loop_filter_l1() 72 int delta = av_clip(((q0-p0)*3+P1-Q1+4)>>3,-tc, tc); in loop_filter_l1() 80 delta = av_clip(((Q1-Q0)*3+P0-Q2+4)>>3, -tc, tc); in loop_filter_l1() 81 Q1 = av_clip_uint8(Q1-delta); in loop_filter_l1() 91 if(abs(p0-q0)<alpha && abs(P1-p0)<beta && abs(Q1-q0)<beta) { in loop_filter_c2() [all …]
|