Searched defs:q0 (Results 1 - 25 of 49) sorted by relevance

12

/external/fdlibm/
H A De_jn.c161 double q0,q1,h,tmp; int k,m; local
163 q0 = w; z = w+h; q1 = w*z - 1.0; k=1;
166 tmp = z*q1 - q0;
167 q0 = q1;
H A Dk_rem_pio2.c104 * q0 the corresponding exponent of q[0]. Note that the
105 * exponent for q[i] would be q0-24*i.
170 int jz,jx,jv,jp,jk,carry,n,iq[20],i,j,k,m,q0,ih; local
177 /* determine jx,jv,q0, note that 3>q0 */
180 q0 = e0-24*(jv+1);
201 z = ieee_scalbn(z,q0); /* actual value of z */
206 if(q0>0) { /* need iq[jz-1] to determine n */
207 i = (iq[jz-1]>>(24-q0)); n += i;
208 iq[jz-1] -= i<<(24-q0);
[all...]
/external/eigen/test/
H A Dgeo_quaternion.cpp24 template<typename QuatType> void check_slerp(const QuatType& q0, const QuatType& q1) argument
32 Scalar theta_tot = AA(q1*q0.inverse()).angle();
37 QuatType q = q0.slerp(t,q1);
38 Scalar theta = AA(q*q0.inverse()).angle();
/external/libvpx/libvpx/vp8/common/arm/neon/
H A Didct_dequant_full_2x_neon.c24 int16x8_t q0, q1, q2, q3, q4, q5, q6, q7, q8, q9, q10, q11; local
33 q0 = vld1q_s16(dq);
69 q2 = vmulq_s16(q2, q0);
71 q4 = vmulq_s16(q4, q0);
/external/libvpx/libvpx/vpx_dsp/mips/
H A Dloopfilter_masks_dspr2.h30 uint32_t q0, uint32_t q1,
65 /* mask |= (abs(q1 - q0) > limit)
66 * hev |= (abs(q1 - q0) > thresh)
68 "subu_s.qb %[c], %[q1], %[q0] \n\t"
69 "subu_s.qb %[r_k], %[q0], %[q1] \n\t"
94 [p1] "r" (p1), [p0] "r" (p0), [q1] "r" (q1), [q0] "r" (q0),
99 /* abs(p0 - q0) */
100 "subu_s.qb %[c], %[p0], %[q0] \n\t"
101 "subu_s.qb %[r_k], %[q0],
27 filter_hev_mask_dspr2(uint32_t limit, uint32_t flimit, uint32_t p1, uint32_t p0, uint32_t p3, uint32_t p2, uint32_t q0, uint32_t q1, uint32_t q2, uint32_t q3, uint32_t thresh, uint32_t *hev, uint32_t *mask) argument
132 filter_hev_mask_flatmask4_dspr2(uint32_t limit, uint32_t flimit, uint32_t thresh, uint32_t p1, uint32_t p0, uint32_t p3, uint32_t p2, uint32_t q0, uint32_t q1, uint32_t q2, uint32_t q3, uint32_t *hev, uint32_t *mask, uint32_t *flat) argument
282 flatmask5(uint32_t p4, uint32_t p3, uint32_t p2, uint32_t p1, uint32_t p0, uint32_t q0, uint32_t q1, uint32_t q2, uint32_t q3, uint32_t q4, uint32_t *flat2) argument
[all...]
H A Dloopfilter_mb_dspr2.c35 uint32_t p3, p2, p1, p0, q0, q1, q2, q3; local
72 "lw %[q0], (%[sq0]) \n\t"
78 [q3] "=&r" (q3), [q2] "=&r" (q2), [q1] "=&r" (q1), [q0] "=&r" (q0)
84 p1, p0, p3, p2, q0, q1, q2, q3,
88 filter1_dspr2(mask, hev, p1, p0, q0, q1,
120 "sw %[q0], (%[sq0]) \n\t"
126 [q0] "r" (q0), [q1] "r" (q1), [q2] "r" (q2),
132 filter1_dspr2(mask, hev, p1, p0, q0, q
333 uint32_t p3, p2, p1, p0, q3, q2, q1, q0; local
[all...]
H A Dloopfilter_4_msa.c20 v16u8 p3, p2, p1, p0, q3, q2, q1, q0, p1_out, p0_out, q0_out, q1_out; local
25 LD_UB8((src - 4 * pitch), pitch, p3, p2, p1, p0, q0, q1, q2, q3);
31 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh,
33 VP9_LPF_FILTER4_8W(p1, p0, q0, q1, mask, hev, p1_out, p0_out, q0_out, q1_out);
50 v16u8 p3, p2, p1, p0, q3, q2, q1, q0; local
53 LD_UB8((src - 4 * pitch), pitch, p3, p2, p1, p0, q0, q1, q2, q3);
67 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit0, b_limit0, thresh0,
69 VP9_LPF_FILTER4_4W(p1, p0, q0, q1, mask, hev, p1, p0, q0, q1);
71 ST_UB4(p1, p0, q0, q
80 v16u8 p3, p2, p1, p0, q3, q2, q1, q0; local
114 v16u8 p3, p2, p1, p0, q3, q2, q1, q0; local
[all...]
H A Dloopfilter_8_msa.c20 v16u8 p3, p2, p1, p0, q3, q2, q1, q0; local
29 LD_UB8((src - 4 * pitch), pitch, p3, p2, p1, p0, q0, q1, q2, q3);
35 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh,
37 VP9_FLAT4(p3, p2, p0, q0, q2, q3, flat);
38 VP9_LPF_FILTER4_8W(p1, p0, q0, q1, mask, hev, p1_out, p0_out, q0_out, q1_out);
49 ILVR_B8_UH(zero, p3, zero, p2, zero, p1, zero, p0, zero, q0, zero, q1,
93 v16u8 p3, p2, p1, p0, q3, q2, q1, q0; local
103 LD_UB8(src - (4 * pitch), pitch, p3, p2, p1, p0, q0, q1, q2, q3);
118 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit, b_limit, thresh,
120 VP9_FLAT4(p3, p2, p0, q0, q
166 v16u8 p3, p2, p1, p0, q3, q2, q1, q0; local
248 v16u8 p3, p2, p1, p0, q3, q2, q1, q0; local
[all...]
H A Dloopfilter_filters_dspr2.h378 const uint32_t q0 = *oq0, q1 = *oq1, q2 = *oq2, q3 = *oq3; local
385 /* *op2 = ROUND_POWER_OF_TWO(p3 + p3 + p3 + p2 + p2 + p1 + p0 + q0, 3) 1 */
386 /* *op1 = ROUND_POWER_OF_TWO(p3 + p3 + p2 + p1 + p1 + p0 + q0 + q1, 3) 2 */
387 /* *op0 = ROUND_POWER_OF_TWO(p3 + p2 + p1 + p0 + p0 + q0 + q1 + q2, 3) 3 */
388 /* *oq0 = ROUND_POWER_OF_TWO(p2 + p1 + p0 + q0 + q0 + q1 + q2 + q3, 3) 4 */
389 /* *oq1 = ROUND_POWER_OF_TWO(p1 + p0 + q0 + q1 + q1 + q2 + q3 + q3, 3) 5 */
390 /* *oq2 = ROUND_POWER_OF_TWO(p0 + q0 + q1 + q2 + q2 + q3 + q3 + q3, 3) 6 */
395 "addu.ph %[add_p210_q012], %[add_p210_q012], %[q0] \n\t"
413 "addu.ph %[res_oq0], %[q0],
449 mbfilter1_dspr2(uint32_t p3, uint32_t p2, uint32_t p1, uint32_t p0, uint32_t q0, uint32_t q1, uint32_t q2, uint32_t q3, uint32_t *op2_f1, uint32_t *op1_f1, uint32_t *op0_f1, uint32_t *oq0_f1, uint32_t *oq1_f1, uint32_t *oq2_f1) argument
537 const uint32_t q0 = *oq0, q1 = *oq1, q2 = *oq2, q3 = *oq3; local
[all...]
H A Dloopfilter_mb_horiz_dspr2.c35 uint32_t p7, p6, p5, p4, p3, p2, p1, p0, q0, q1, q2, q3, q4, q5, q6, q7; local
97 "lw %[q0], (%[sq0]) \n\t"
106 : [q3] "=&r" (q3), [q2] "=&r" (q2), [q1] "=&r" (q1), [q0] "=&r" (q0),
113 p1, p0, p3, p2, q0, q1, q2, q3,
116 flatmask5(p7, p6, p5, p4, p0, q0, q4, q5, q6, q7, &flat2);
121 filter1_dspr2(mask, hev, p1, p0, q0, q1,
179 "sw %[q0], (%[sq0]) \n\t"
183 [q2] "r" (q2), [q1] "r" (q1), [q0] "r" (q0),
[all...]
/external/mesa3d/src/mesa/tnl_dd/
H A Dt_dd_vertex.h65 GLfloat u0, v0, q0; member in struct:__anon12844::__anon12846
/external/v8/third_party/fdlibm/
H A Dfdlibm.cc122 int32_t q0 = e0 - 24 * (jv + 1); local
149 z = scalbn(z, q0);
154 if (q0 > 0) {
155 int32_t i = (iq[jz - 1] >> (24 - q0));
157 iq[jz - 1] -= i << (24 - q0);
158 ih = iq[jz - 1] >> (23 - q0);
159 } else if (q0 == 0) {
179 if (q0 == 1) {
181 } else if (q0 == 2) {
186 if (carry != 0) z -= scalbn(one, q0);
[all...]
/external/apache-commons-math/src/main/java/org/apache/commons/math/geometry/
H A DRotation.java104 private final double q0; field in class:Rotation
125 * @param q0 scalar part of the quaternion
133 public Rotation(double q0, double q1, double q2, double q3, argument
138 double inv = 1.0 / FastMath.sqrt(q0 * q0 + q1 * q1 + q2 * q2 + q3 * q3);
139 q0 *= inv;
145 this.q0 = q0;
183 q0 = FastMath.cos (halfAngle);
257 // compute q0 an
[all...]
/external/guava/guava/src/com/google/common/cache/
H A DStriped64.java100 volatile long q0, q1, q2, q3, q4, q5, q6; field in class:Striped64.Cell
/external/jemalloc/test/unit/
H A Dmallctl.c305 void *q0 = qs[i]; local
309 assert_ptr_eq(qs[i], q0,
/external/libavc/common/
H A Dih264_iquant_itrans_recon.c124 WORD32 q0, q1, q2, q3; local
132 q0 = pi2_src_ptr[0];
133 INV_QUANT(q0, pu2_iscal_mat[0], pu2_weigh_mat[0], u4_qp_div_6, rnd_fact,
136 q0 = pi2_dc_ld_addr[0]; // Restoring dc value for intra case
142 x0 = q0 + q2;
143 x1 = q0 - q2;
227 WORD32 q0; local
234 q0 = pi2_src[0];
235 INV_QUANT(q0, pu2_iscal_mat[0], pu2_weigh_mat[0], u4_qp_div_6, rnd_fact, 4);
239 q0
700 WORD32 q0, q1, q2, q3; local
835 WORD32 q0; local
[all...]
H A Dih264_deblk_edge_filters.c81 /* Inputs : pu1_src - pointer to the src sample q0 */
109 UWORD8 p3, p2, p1, p0, q0, q1, q2, q3; local
131 q0 = pu1_src_temp[pos_q0];
137 if((ABS(p0 - q0) >= alpha) ||
138 (ABS(q1 - q0) >= beta) ||
147 if(ABS(p0 - q0) < ((alpha >> 2) + 2))
151 a_q = (UWORD8)ABS(q2 - q0);
156 pu1_src_temp[pos_p0] = ((p2 + X2(p1) + X2(p0) + X2(q0) + q1
158 pu1_src_temp[pos_p1] = ((p2 + p1 + p0 + q0 + 2) >> 2);
160 ((X2(p3) + X3(p2) + p1 + p0 + q0
229 UWORD8 p3, p2, p1, p0, q0, q1, q2, q3; local
544 UWORD8 p2, p1, p0, q0, q1, q2; local
773 UWORD8 p2, p1, p0, q0, q1, q2; local
1014 UWORD8 p3, p2, p1, p0, q0, q1, q2, q3; local
1227 UWORD8 p2, p1, p0, q0, q1, q2; local
[all...]
/external/libavc/common/x86/
H A Dih264_iquant_itrans_recon_dc_ssse3.c114 WORD32 q0 = pi2_src[0]; local
125 INV_QUANT(q0, pu2_iscal_mat[0], pu2_weigh_mat[0], u4_qp_div_6, rnd_fact, 4);
128 q0 = pi2_dc_ld_addr[0]; // Restoring dc value for intra case
130 i_macro = ((q0 + 32) >> 6);
239 WORD32 q0 = pi2_src[0]; local
252 INV_QUANT(q0, pu2_iscale_mat[0], pu2_weigh_mat[0], qp_div, rnd_fact, 6);
253 i_macro = ((q0 + 32) >> 6);
399 WORD16 q0 = pi2_dc_src[0]; // DC value won't be dequantized for chroma inverse transform local
400 WORD16 i_macro = ((q0 + 32) >> 6);
/external/libvpx/libvpx/vp8/common/
H A Dloopfilter_filters.c29 uc q0, uc q1, uc q2, uc q3)
35 mask |= (abs(q1 - q0) > limit);
38 mask |= (abs(p0 - q0) * 2 + abs(p1 - q1) / 2 > blimit);
43 static signed char vp8_hevmask(uc thresh, uc p1, uc p0, uc q0, uc q1) argument
47 hev |= (abs(q1 - q0) > thresh) * -1;
282 static signed char vp8_simple_filter_mask(uc blimit, uc p1, uc p0, uc q0, uc q1) argument
288 signed char mask = (abs(p0 - q0) * 2 + abs(p1 - q1) / 2 <= blimit) * -1;
297 signed char q0 = (signed char) * oq0 ^ 0x80; local
302 filter_value = vp8_signed_char_clamp(filter_value + 3 * (q0 - p0));
308 u = vp8_signed_char_clamp(q0
27 vp8_filter_mask(uc limit, uc blimit, uc p3, uc p2, uc p1, uc p0, uc q0, uc q1, uc q2, uc q3) argument
[all...]
/external/libvpx/libvpx/vpx_dsp/arm/
H A Dsad_neon.c87 uint8x16_t q0, q4; local
94 q0 = vld1q_u8(src_ptr);
98 q12 = vabdl_u8(vget_low_u8(q0), vget_low_u8(q4));
99 q13 = vabdl_u8(vget_high_u8(q0), vget_high_u8(q4));
102 q0 = vld1q_u8(src_ptr);
106 q12 = vabal_u8(q12, vget_low_u8(q0), vget_low_u8(q4));
107 q13 = vabal_u8(q13, vget_high_u8(q0), vget_high_u8(q4));
/external/tremolo/Tremolo/
H A Dmdct.c367 REG_TYPE t0,t1,v0,v1,q0,q1,s0,s1; local
377 t0 += (q0 = (v0-t0)>>2);
382 t0 = v0-q0;
390 v0 += (q0 = (t0-v0)>>2);
395 v0 = t0-q0;
/external/webp/src/dsp/
H A Ddec_mips32.c29 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; local
30 const int a = 3 * (q0 - p0) + VP8ksclip1[p1 - q1];
34 p[ 0] = VP8kclip1[q0 - a1];
39 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; local
40 const int a = 3 * (q0 - p0);
46 p[ 0] = VP8kclip1[q0 - a1];
53 const int q0 = p[0], q1 = p[step], q2 = p[2 * step]; local
54 const int a = VP8ksclip1[3 * (q0 - p0) + VP8ksclip1[p1 - q1]];
61 p[ 0] = VP8kclip1[q0 - a1];
67 const int p1 = p[-2 * step], p0 = p[-step], q0 local
72 const int p1 = p[-2 * step], p0 = p[-step], q0 = p[0], q1 = p[step]; local
80 const int q0 = p[0], q1 = p[step], q2 = p[2 * step], q3 = p[3 * step]; local
[all...]
/external/libvpx/libvpx/vp8/common/mips/msa/
H A Didct_msa.c327 v8i16 dqc0, dqc1, q0, q1, dq0, dq1; local
330 LD_SH2(d->qcoeff, 8, q0, q1);
331 MUL2(dqc0, q0, dqc1, q1, dq0, dq1);
H A Dloopfilter_filters_msa.c15 #define VP8_SIMPLE_MASK(p1, p0, q0, q1, b_limit, mask) \
19 p0_a_sub_q0 = __msa_asub_u_b(p0, q0); \
132 #define VP8_MBFILTER(p2, p1, p0, q0, q1, q2, mask, hev) \
145 q0_m = (v16i8)__msa_xori_b(q0, 0x80); \
197 q0 = __msa_xori_b((v16u8)q0_m, 0x80); \
284 v16u8 p3, p2, p1, p0, q3, q2, q1, q0; local
286 LD_UB8((src - 4 * pitch), pitch, p3, p2, p1, p0, q0, q1, q2, q3);
299 LPF_MASK_HEV(p3, p2, p1, p0, q0, q1, q2, q3, limit0, b_limit0, thresh0,
301 VP8_LPF_FILTER4_4W(p1, p0, q0, q1, mask, hev);
303 ST_UB4(p1, p0, q0, q
316 v16u8 p3, p2, p1, p0, q3, q2, q1, q0; local
360 v16u8 p3, p2, p1, p0, q3, q2, q1, q0; local
385 v16u8 p3, p2, p1, p0, q3, q2, q1, q0; local
438 v16u8 p3, p2, p1, p0, q3, q2, q1, q0; local
505 v16u8 p3, p2, p1, p0, q3, q2, q1, q0; local
570 v16u8 p1, p0, q1, q0; local
584 v16u8 p1, p0, q1, q0; local
621 v16u8 p3, p2, p1, p0, q3, q2, q1, q0; local
665 v16u8 p3, p2, p1, p0, q3, q2, q1, q0; local
[all...]
/external/libvpx/libvpx/vpx_dsp/
H A Dloopfilter.c39 uint8_t q0, uint8_t q1,
45 mask |= (abs(q1 - q0) > limit) * -1;
48 mask |= (abs(p0 - q0) * 2 + abs(p1 - q1) / 2 > blimit) * -1;
55 uint8_t q0, uint8_t q1,
59 mask |= (abs(q1 - q0) > thresh) * -1;
61 mask |= (abs(q2 - q0) > thresh) * -1;
63 mask |= (abs(q3 - q0) > thresh) * -1;
70 uint8_t p0, uint8_t q0,
73 int8_t mask = ~flat_mask4(thresh, p3, p2, p1, p0, q0, q1, q2, q3);
75 mask |= (abs(q4 - q0) > thres
36 filter_mask(uint8_t limit, uint8_t blimit, uint8_t p3, uint8_t p2, uint8_t p1, uint8_t p0, uint8_t q0, uint8_t q1, uint8_t q2, uint8_t q3) argument
52 flat_mask4(uint8_t thresh, uint8_t p3, uint8_t p2, uint8_t p1, uint8_t p0, uint8_t q0, uint8_t q1, uint8_t q2, uint8_t q3) argument
67 flat_mask5(uint8_t thresh, uint8_t p4, uint8_t p3, uint8_t p2, uint8_t p1, uint8_t p0, uint8_t q0, uint8_t q1, uint8_t q2, uint8_t q3, uint8_t q4) argument
80 hev_mask(uint8_t thresh, uint8_t p1, uint8_t p0, uint8_t q0, uint8_t q1) argument
129 const uint8_t q0 = s[0 * p], q1 = s[1 * p], q2 = s[2 * p], q3 = s[3 * p]; local
154 const uint8_t q0 = s[0], q1 = s[1], q2 = s[2], q3 = s[3]; local
178 const uint8_t q0 = *oq0, q1 = *oq1, q2 = *oq2, q3 = *oq3; local
201 const uint8_t q0 = s[0 * p], q1 = s[1 * p], q2 = s[2 * p], q3 = s[3 * p]; local
227 const uint8_t q0 = s[0], q1 = s[1], q2 = s[2], q3 = s[3]; local
260 const uint8_t q0 = *oq0, q1 = *oq1, q2 = *oq2, q3 = *oq3, local
306 const uint8_t q0 = s[0 * p], q1 = s[1 * p], q2 = s[2 * p], q3 = s[3 * p]; local
332 const uint8_t q0 = s[0], q1 = s[1], q2 = s[2], q3 = s[3]; local
358 highbd_filter_mask(uint8_t limit, uint8_t blimit, uint16_t p3, uint16_t p2, uint16_t p1, uint16_t p0, uint16_t q0, uint16_t q1, uint16_t q2, uint16_t q3, int bd) argument
376 highbd_flat_mask4(uint8_t thresh, uint16_t p3, uint16_t p2, uint16_t p1, uint16_t p0, uint16_t q0, uint16_t q1, uint16_t q2, uint16_t q3, int bd) argument
392 highbd_flat_mask5(uint8_t thresh, uint16_t p4, uint16_t p3, uint16_t p2, uint16_t p1, uint16_t p0, uint16_t q0, uint16_t q1, uint16_t q2, uint16_t q3, uint16_t q4, int bd) argument
407 highbd_hev_mask(uint8_t thresh, uint16_t p1, uint16_t p0, uint16_t q0, uint16_t q1, int bd) argument
463 const uint16_t q0 = s[0 * p]; local
495 const uint16_t q0 = s[0], q1 = s[1], q2 = s[2], q3 = s[3]; local
523 const uint16_t q0 = *oq0, q1 = *oq1, q2 = *oq2, q3 = *oq3; local
546 const uint16_t q0 = s[0 * p], q1 = s[1 * p], q2 = s[2 * p], q3 = s[3 * p]; local
578 const uint16_t q0 = s[0], q1 = s[1], q2 = s[2], q3 = s[3]; local
623 const uint16_t q0 = *oq0; local
679 const uint16_t q0 = s[0 * p]; local
713 const uint16_t q0 = s[0]; local
[all...]

Completed in 733 milliseconds

12