Home
last modified time | relevance | path

Searched refs:_mm_sub_ps (Results 1 – 25 of 31) sorted by relevance

12

/external/webrtc/webrtc/modules/audio_processing/aec/
Daec_rdft_sse2.c39 const __m128 x1v = _mm_sub_ps(a01v, a23v); in cft1st_128_SSE2()
41 const __m128 x3v = _mm_sub_ps(a45v, a67v); in cft1st_128_SSE2()
44 x0v = _mm_sub_ps(x0v, x2v); in cft1st_128_SSE2()
61 x0v = _mm_sub_ps(x1v, x3s); in cft1st_128_SSE2()
99 const __m128 x1r0_1i0_1r1_x1i1 = _mm_sub_ps(a_00_32, a_08_40); in cftmdl_128_SSE2()
112 const __m128 x3r0_3i0_3r1_x3i1 = _mm_sub_ps(a_16_48, a_24_56); in cftmdl_128_SSE2()
115 const __m128 xx1 = _mm_sub_ps(x0r0_0i0_0r1_x0i1, x2r0_2i0_2r1_x2i1); in cftmdl_128_SSE2()
121 const __m128 x1_x3_sub = _mm_sub_ps(x1r0_1i0_1r1_x1i1, x3_swapped); in cftmdl_128_SSE2()
173 const __m128 x1r0_1i0_1r1_x1i1 = _mm_sub_ps(a_00_32, a_08_40); in cftmdl_128_SSE2()
186 const __m128 x3r0_3i0_3r1_x3i1 = _mm_sub_ps(a_16_48, a_24_56); in cftmdl_128_SSE2()
[all …]
Daec_core_sse2.c61 const __m128 e = _mm_sub_ps(a, b); in FilterFarSSE2()
182 const __m128 f = _mm_sub_ps(c, d); in FilterAdaptationSSE2()
269 const __m128 n = _mm_sub_ps(n_0, *((__m128*)implicit_leading_one)); in mm_pow_ps()
305 _mm_sub_ps(y, *((__m128*)zero_biased_exponent_is_one)); in mm_pow_ps()
339 const __m128 x_minus_half = _mm_sub_ps(x_max, *((__m128*)half)); in mm_pow_ps()
350 const __m128 y = _mm_sub_ps(x_max, _mm_cvtepi32_ps(x_minus_half_floor)); in mm_pow_ps()
385 const __m128 vec_one_weightCurve = _mm_sub_ps(vec_one, vec_weightCurve); in OverdriveAndSuppressSSE2()
543 vec_dfwefw0110 = _mm_sub_ps(vec_dfwefw0110, in SmoothedPSD()
564 vec_dfwxfw0110 = _mm_sub_ps(vec_dfwxfw0110, in SmoothedPSD()
/external/speex/libspeex/
Dfilters_sse.h69 mem[0] = _mm_sub_ps(mem[0], _mm_mul_ps(yy, den[0])); in filter_mem16_10()
75 mem[1] = _mm_sub_ps(mem[1], _mm_mul_ps(yy, den[1])); in filter_mem16_10()
80 mem[2] = _mm_sub_ps(mem[2], _mm_mul_ps(yy, den[2])); in filter_mem16_10()
119 mem[0] = _mm_sub_ps(mem[0], _mm_mul_ps(yy, den[0])); in filter_mem16_8()
125 mem[1] = _mm_sub_ps(mem[1], _mm_mul_ps(yy, den[1])); in filter_mem16_8()
173 mem[0] = _mm_sub_ps(mem[0], _mm_mul_ps(yy, den[0])); in iir_mem16_10()
178 mem[1] = _mm_sub_ps(mem[1], _mm_mul_ps(yy, den[1])); in iir_mem16_10()
182 mem[2] = _mm_sub_ps(mem[2], _mm_mul_ps(yy, den[2])); in iir_mem16_10()
220 mem[0] = _mm_sub_ps(mem[0], _mm_mul_ps(yy, den[0])); in iir_mem16_8()
225 mem[1] = _mm_sub_ps(mem[1], _mm_mul_ps(yy, den[1])); in iir_mem16_8()
Dvq_sse.h52 d = _mm_sub_ps(d, _mm_mul_ps(in[j], *codebook++)); in vq_nbest()
/external/vulkan-validation-layers/libs/glm/detail/
Dintrinsic_matrix.inl62 out[0] = _mm_sub_ps(in1[0], in2[0]);
63 out[1] = _mm_sub_ps(in1[1], in2[1]);
64 out[2] = _mm_sub_ps(in1[2], in2[2]);
65 out[3] = _mm_sub_ps(in1[3], in2[3]);
223 Fac0 = _mm_sub_ps(Mul00, Mul01);
243 Fac1 = _mm_sub_ps(Mul00, Mul01);
264 Fac2 = _mm_sub_ps(Mul00, Mul01);
284 Fac3 = _mm_sub_ps(Mul00, Mul01);
304 Fac4 = _mm_sub_ps(Mul00, Mul01);
324 Fac5 = _mm_sub_ps(Mul00, Mul01);
[all …]
Dintrinsic_geometric.inl43 __m128 sub0 = _mm_sub_ps(p0, p1);
83 __m128 sub0 = _mm_sub_ps(mul0, mul1);
118 __m128 sub0 = _mm_sub_ps(I, mul1);
128 __m128 sub0 = _mm_sub_ps(glm::detail::one, mul0);
129 __m128 sub1 = _mm_sub_ps(glm::detail::one, mul1);
140 __m128 sub2 = _mm_sub_ps(mul5, mul4);
Dintrinsic_common.inl179 __m128 sub0 = _mm_sub_ps(rnd0, and0);
196 __m128 sub0 = _mm_sub_ps(add0, or0);
206 __m128 sub0 = _mm_sub_ps(add0, or0);
222 __m128 sub0 = _mm_sub_ps(x, flr0);
231 __m128 sub0 = _mm_sub_ps(x, mul0);
257 __m128 sub0 = _mm_sub_ps(glm::detail::one, a);
275 __m128 sub0 = _mm_sub_ps(x, edge0);
276 __m128 sub1 = _mm_sub_ps(edge1, edge0);
277 __m128 div0 = _mm_sub_ps(sub0, sub1);
280 __m128 sub2 = _mm_sub_ps(glm::detail::three, mul0);
/external/vulkan-validation-layers/libs/glm/gtx/
Dsimd_mat4.inl144 this->Data[0].Data = _mm_sub_ps(this->Data[0].Data, m[0].Data);
145 this->Data[1].Data = _mm_sub_ps(this->Data[1].Data, m[1].Data);
146 this->Data[2].Data = _mm_sub_ps(this->Data[2].Data, m[2].Data);
147 this->Data[3].Data = _mm_sub_ps(this->Data[3].Data, m[3].Data);
191 this->Data[0].Data = _mm_sub_ps(this->Data[0].Data, Operand);
192 this->Data[1].Data = _mm_sub_ps(this->Data[1].Data, Operand);
193 this->Data[2].Data = _mm_sub_ps(this->Data[2].Data, Operand);
194 this->Data[3].Data = _mm_sub_ps(this->Data[3].Data, Operand);
235 this->Data[0].Data = _mm_sub_ps(this->Data[0].Data, one);
236 this->Data[1].Data = _mm_sub_ps(this->Data[1].Data, one);
[all …]
Dsimd_quat.inl183 __m128 uv = _mm_sub_ps(_mm_mul_ps(q_swp0, v_swp1), _mm_mul_ps(q_swp1, v_swp0));
186 __m128 uuv = _mm_sub_ps(_mm_mul_ps(q_swp0, uv_swp1), _mm_mul_ps(q_swp1, uv_swp0));
340 __m128 _tmp0 = _mm_sub_ps(_mm_set1_ps(1.0f), _mm_mul_ps(_yzxw2, _yzxw));
341 _tmp0 = _mm_sub_ps(_tmp0, _mm_mul_ps(_zxyw2, _zxyw));
347 _tmp2 = _mm_sub_ps(_tmp2, _mm_mul_ps(_yzxw2, _wwww));
428 return _mm_add_ps(x.Data, _mm_mul_ps(_mm_set1_ps(a), _mm_sub_ps(y.Data, x.Data)));
454 return _mm_add_ps(x.Data, _mm_mul_ps(_mm_set1_ps(a), _mm_sub_ps(y.Data, x.Data)));
479 return _mm_add_ps(x.Data, _mm_mul_ps(_mm_set1_ps(a), _mm_sub_ps(y.Data, x.Data)));
506 return _mm_add_ps(x.Data, _mm_mul_ps(_mm_set1_ps(a), _mm_sub_ps(y.Data, x.Data)));
542 return _mm_add_ps(x.Data, _mm_mul_ps(_mm_set1_ps(a), _mm_sub_ps(y.Data, x.Data)));
[all …]
Dsimd_vec4.inl115 this->Data = _mm_sub_ps(Data, _mm_set_ps1(s));
121 this->Data = _mm_sub_ps(this->Data , v.Data);
157 this->Data = _mm_sub_ps(this->Data, glm::detail::one);
201 return fvec4SIMD(_mm_sub_ps(v.Data, _mm_set1_ps(s)));
206 return fvec4SIMD(_mm_sub_ps(_mm_set1_ps(s), v.Data));
211 return fvec4SIMD(_mm_sub_ps(v1.Data, v2.Data));
257 return fvec4SIMD(_mm_sub_ps(_mm_setzero_ps(), v.Data));
267 return fvec4SIMD(_mm_sub_ps(v.Data, glm::detail::one));
318 __m128 Flr0 = detail::sse_flr_ps(_mm_sub_ps(_mm_setzero_ps(), x.Data));
319 __m128 Sub0 = _mm_sub_ps(Flr0, x.Data);
[all …]
/external/eigen/Eigen/src/LU/arch/
DInverse_SSE.h83 AB = _mm_sub_ps(AB,_mm_mul_ps(_mm_shuffle_ps(A,A,0xA5), _mm_shuffle_ps(B,B,0x4E)));
86 DC = _mm_sub_ps(DC,_mm_mul_ps(_mm_shuffle_ps(D,D,0xA5), _mm_shuffle_ps(C,C,0x4E)));
119 iD = _mm_sub_ps(_mm_mul_ps(D,_mm_shuffle_ps(dA,dA,0)), iD);
122 iA = _mm_sub_ps(_mm_mul_ps(A,_mm_shuffle_ps(dD,dD,0)), iA);
134 iB = _mm_sub_ps(iB, _mm_mul_ps(_mm_shuffle_ps(D,D,0xB1), _mm_shuffle_ps(AB,AB,0x66)));
137 iC = _mm_sub_ps(iC, _mm_mul_ps(_mm_shuffle_ps(A,A,0xB1), _mm_shuffle_ps(DC,DC,0x66)));
143 iB = _mm_sub_ps(_mm_mul_ps(C,_mm_shuffle_ps(dB,dB,0)), iB);
146 iC = _mm_sub_ps(_mm_mul_ps(B,_mm_shuffle_ps(dC,dC,0)), iC);
/external/opencv3/modules/hal/src/
Dstat.cpp193 __m128 t0 = _mm_sub_ps(_mm_loadu_ps(a + j), _mm_loadu_ps(b + j)); in normL2Sqr_()
194 __m128 t1 = _mm_sub_ps(_mm_loadu_ps(a + j + 4), _mm_loadu_ps(b + j + 4)); in normL2Sqr_()
229 __m128 t0 = _mm_sub_ps(_mm_loadu_ps(a + j), _mm_loadu_ps(b + j)); in normL1_()
230 __m128 t1 = _mm_sub_ps(_mm_loadu_ps(a + j + 4), _mm_loadu_ps(b + j + 4)); in normL1_()
Dmathfuncs.cpp96 __m128 b = _mm_sub_ps(_90, a); in fastAtan2()
99 b = _mm_sub_ps(_180, a); in fastAtan2()
103 b = _mm_sub_ps(_360, a); in fastAtan2()
1141 __m128 xf0 = _mm_sub_ps(_mm_castsi128_ps(xi0), _1_4); in log()
/external/eigen/Eigen/src/Geometry/arch/
DGeometry_SSE.h32 _mm_add_ps(_mm_sub_ps(_mm_mul_ps(a,vec4f_swizzle1(b,3,3,3,3)),
51 pstore(&res.x(),_mm_sub_ps(mul1,mul2));
/external/pdfium/third_party/libopenjpeg20/
Dmct.c394 vg = _mm_sub_ps(_mm_sub_ps(vy, _mm_mul_ps(vu, vgu)), _mm_mul_ps(vv, vgv)); in opj_mct_decode_real()
407 vg = _mm_sub_ps(_mm_sub_ps(vy, _mm_mul_ps(vu, vgu)), _mm_mul_ps(vv, vgv)); in opj_mct_decode_real()
/external/skia/src/core/
DSkHalf.h82 return _mm_sub_ps(_mm_castsi128_ps(f), in SkHalfToFloat_01()
/external/skia/src/opts/
DSkNx_sse.h23 return _mm_sub_ps(roundtrip, _mm_and_ps(too_big, _mm_set1_ps(1.0f))); in sse2_mm_floor_ps()
41 SkNx operator - (const SkNx& o) const { return _mm_sub_ps(fVec, o.fVec); }
89 SkNx operator - (const SkNx& o) const { return _mm_sub_ps(fVec, o.fVec); }
/external/opencv3/modules/imgproc/src/
Dfilter.cpp1359 x0 = _mm_sub_ps(_mm_load_ps(S), _mm_load_ps(S2)); in operator ()()
1360 x1 = _mm_sub_ps(_mm_load_ps(S+4), _mm_load_ps(S2+4)); in operator ()()
1363 x0 = _mm_sub_ps(_mm_load_ps(S+8), _mm_load_ps(S2+8)); in operator ()()
1364 x1 = _mm_sub_ps(_mm_load_ps(S+12), _mm_load_ps(S2+12)); in operator ()()
1386 x0 = _mm_sub_ps(_mm_load_ps(src[k]+i), _mm_load_ps(src[-k] + i)); in operator ()()
1559 x0 = _mm_add_ps(x0, _mm_sub_ps(x2, _mm_add_ps(x1, x1))); in operator ()()
1560 y0 = _mm_add_ps(y0, _mm_sub_ps(y2, _mm_add_ps(y1, y1))); in operator ()()
1598 x0 = _mm_add_ps(x0, _mm_sub_ps(x2, _mm_add_ps(x1, x1))); in operator ()()
1599 y0 = _mm_add_ps(y0, _mm_sub_ps(y2, _mm_add_ps(y1, y1))); in operator ()()
1644 x0 = _mm_sub_ps(x0, x2); in operator ()()
[all …]
Dcorner.cpp88 t = _mm_sub_ps(a, c); in calcMinEigenVal()
90 a = _mm_sub_ps(_mm_add_ps(a, c), _mm_sqrt_ps(t)); in calcMinEigenVal()
157 a = _mm_sub_ps(_mm_mul_ps(a, c), _mm_mul_ps(b, b)); in calcHarris()
159 a = _mm_sub_ps(a, t); in calcHarris()
Dsmooth.cpp2800 __m128 _val = _mm_andnot_ps(_signMask, _mm_sub_ps(_valF, _val0)); in operator ()()
2860 __m128 bt = _mm_andnot_ps(_signMask, _mm_sub_ps(_b,_b0)); in operator ()()
2861 __m128 gt = _mm_andnot_ps(_signMask, _mm_sub_ps(_g,_g0)); in operator ()()
2862 __m128 rt = _mm_andnot_ps(_signMask, _mm_sub_ps(_r,_r0)); in operator ()()
3184 … __m128 _alpha = _mm_mul_ps(_mm_andnot_ps( _signMask, _mm_sub_ps(_val,_val0)), _scale_index); in operator ()()
3188 _alpha = _mm_sub_ps(_alpha, _mm_cvtepi32_ps(_idx)); in operator ()()
3195 …__m128 _w = _mm_mul_ps(_sw, _mm_add_ps(_explut, _mm_mul_ps(_alpha, _mm_sub_ps(_explut1, _explut)))… in operator ()()
3255 __m128 _bt = _mm_andnot_ps(_signMask,_mm_sub_ps(_b,_b0)); in operator ()()
3256 __m128 _gt = _mm_andnot_ps(_signMask,_mm_sub_ps(_g,_g0)); in operator ()()
3257 __m128 _rt = _mm_andnot_ps(_signMask,_mm_sub_ps(_r,_r0)); in operator ()()
[all …]
Dcolor.cpp1831 v_cr = _mm_add_ps(_mm_mul_ps(_mm_sub_ps(blueIdx == 0 ? v_b : v_r, v_y), v_c3), v_delta); in process()
1832 v_cb = _mm_add_ps(_mm_mul_ps(_mm_sub_ps(blueIdx == 2 ? v_b : v_r, v_y), v_c4), v_delta); in process()
2563 v_cb = _mm_sub_ps(v_cb, v_delta); in process()
2564 v_cr = _mm_sub_ps(v_cr, v_delta); in process()
5347 v_g0 = _mm_sub_ps(v_g0, v_128); in process()
5348 v_g1 = _mm_sub_ps(v_g1, v_128); in process()
5349 v_b0 = _mm_sub_ps(v_b0, v_128); in process()
5350 v_b1 = _mm_sub_ps(v_b1, v_128); in process()
5917 v_u0 = _mm_sub_ps(_mm_mul_ps(v_u0, v_coeff1), v_134); in process()
5918 v_u1 = _mm_sub_ps(_mm_mul_ps(v_u1, v_coeff1), v_134); in process()
[all …]
/external/opencv3/modules/objdetect/src/
Dhog.cpp342 … __m128 _dx0 = _mm_sub_ps(_mm_set_ps(lut[p32[0]], lut[p22[0]], lut[p12[0]], lut[p02[0]]), in computeGradient()
344 … __m128 _dx1 = _mm_sub_ps(_mm_set_ps(lut[p32[1]], lut[p22[1]], lut[p12[1]], lut[p02[1]]), in computeGradient()
346 … __m128 _dx2 = _mm_sub_ps(_mm_set_ps(lut[p32[2]], lut[p22[2]], lut[p12[2]], lut[p02[2]]), in computeGradient()
349 …__m128 _dy0 = _mm_sub_ps(_mm_set_ps(lut[nextPtr[x3]], lut[nextPtr[x2]], lut[nextPtr[x1]], lut[next… in computeGradient()
351 …__m128 _dy1 = _mm_sub_ps(_mm_set_ps(lut[nextPtr[x3+1]], lut[nextPtr[x2+1]], lut[nextPtr[x1+1]], lu… in computeGradient()
353 …__m128 _dy2 = _mm_sub_ps(_mm_set_ps(lut[nextPtr[x3+2]], lut[nextPtr[x2+2]], lut[nextPtr[x1+2]], lu… in computeGradient()
423 _angle = _mm_sub_ps(_mm_mul_ps(_angleScale, _angle), fhalf); in computeGradient()
428 _angle = _mm_sub_ps(_angle, _mm_cvtepi32_ps(_hidx)); in computeGradient()
430 __m128 ft0 = _mm_mul_ps(_mag, _mm_sub_ps(fone, _angle)); in computeGradient()
598 __m128 t = _mm_sub_ps(_mm_cvtepi32_ps(idx), _bh); in init()
[all …]
/external/eigen/Eigen/src/Core/arch/SSE/
DComplex.h49 … psub<Packet2cf>(const Packet2cf& a, const Packet2cf& b) { return Packet2cf(_mm_sub_ps(a.v,b.v)); }
204 return Packet2cf(_mm_sub_ps(_mm_xor_ps(_mm_mul_ps(vec4f_swizzle1(a.v, 0, 0, 2, 2), b.v), mask),
DPacketMath.h126 …NG_INLINE Packet4f psub<Packet4f>(const Packet4f& a, const Packet4f& b) { return _mm_sub_ps(a,b); }
/external/opencv3/modules/core/src/
Dconvert.cpp1484 v_dst1 = _mm_max_ps(_mm_sub_ps(v_zero_f, v_dst1), v_dst1); in operator ()()
1486 v_dst2 = _mm_max_ps(_mm_sub_ps(v_zero_f, v_dst2), v_dst2); in operator ()()
1488 v_dst3 = _mm_max_ps(_mm_sub_ps(v_zero_f, v_dst3), v_dst3); in operator ()()
1490 v_dst4 = _mm_max_ps(_mm_sub_ps(v_zero_f, v_dst4), v_dst4); in operator ()()
1523 v_dst1 = _mm_max_ps(_mm_sub_ps(v_zero_f, v_dst1), v_dst1); in operator ()()
1526 v_dst2 = _mm_max_ps(_mm_sub_ps(v_zero_f, v_dst2), v_dst2); in operator ()()
1529 v_dst3 = _mm_max_ps(_mm_sub_ps(v_zero_f, v_dst3), v_dst3); in operator ()()
1532 v_dst4 = _mm_max_ps(_mm_sub_ps(v_zero_f, v_dst4), v_dst4); in operator ()()
1562 v_dst1 = _mm_max_ps(_mm_sub_ps(v_zero_f, v_dst1), v_dst1); in operator ()()
1564 v_dst2 = _mm_max_ps(_mm_sub_ps(v_zero_f, v_dst2), v_dst2); in operator ()()
[all …]

12