Home
last modified time | relevance | path

Searched refs:Q1 (Results 1 – 25 of 258) sorted by relevance

1234567891011

/third_party/boost/libs/qvm/test/
Dslerp_test.cpp18 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 …]
Drot_quat_test.cpp22 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()
Dmul_eq_qq_test.cpp24 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()
Dmul_qq_test.cpp25 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()
Dminus_qq_test.cpp21 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()
Dplus_qq_test.cpp21 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()
Dnormalize_q_test.cpp22 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()
Dinverse_q_test.cpp22 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()
Dconvert_to_test.cpp39 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()
Dmul_qs_test.cpp21 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()
Dminus_q_test.cpp21 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()
Ddiv_qs_test.cpp21 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()
Dconjugate_test.cpp21 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()
Ddot_qq_test.cpp21 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()
Drotz_quat_test.cpp21 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()
Droty_quat_test.cpp21 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()
Drotx_quat_test.cpp21 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()
Dmul_qv_test.cpp25 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()
Dscalar_cast_q_test.cpp16 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/
Dmp_invoke_q.cpp18 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()
Dmp_unique_if_q.cpp27 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/
Dpi.js17 var c, P, Q, G, P1, Q1, G1, P2, Q2, G2;
27 [P1, Q1, G1] = chud_bs(a, c, true);
30 Q = Q1 * Q2;
Dpi_bigdecimal.js17 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;
Dpi_bigfloat.js17 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/
Dcavsdsp.c42 #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 …]

1234567891011