Home
last modified time | relevance | path

Searched refs:_mm_set1_ps (Results 1 – 25 of 29) sorted by relevance

12

/external/vulkan-validation-layers/libs/glm/gtx/
Dsimd_vec4.inl44 Data(_mm_set1_ps(s))
139 this->Data = _mm_div_ps(Data, _mm_set1_ps(s));
185 return fvec4SIMD(_mm_add_ps(v.Data, _mm_set1_ps(s)));
190 return fvec4SIMD(_mm_add_ps(_mm_set1_ps(s), v.Data));
201 return fvec4SIMD(_mm_sub_ps(v.Data, _mm_set1_ps(s)));
206 return fvec4SIMD(_mm_sub_ps(_mm_set1_ps(s), v.Data));
218 __m128 par1 = _mm_set1_ps(s);
224 __m128 par0 = _mm_set1_ps(s);
238 __m128 par1 = _mm_set1_ps(s);
244 __m128 par0 = _mm_set1_ps(s);
[all …]
Dsimd_quat.inl92 this->Data = _mm_div_ps(Data, _mm_set1_ps(s));
175 static const __m128 two = _mm_set1_ps(2.0f);
202 return fquatSIMD(_mm_mul_ps(q.Data, _mm_set1_ps(s)));
207 return fquatSIMD(_mm_mul_ps(_mm_set1_ps(s), q.Data));
214 return fquatSIMD(_mm_div_ps(q.Data, _mm_set1_ps(s)));
340 __m128 _tmp0 = _mm_sub_ps(_mm_set1_ps(1.0f), _mm_mul_ps(_yzxw2, _yzxw));
402 return _mm_mul_ps(q.Data, _mm_set1_ps(1.0f / length(q)));
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)));
[all …]
/external/webrtc/webrtc/modules/audio_processing/aec/
Daec_core_sse2.c87 const __m128 k1e_10f = _mm_set1_ps(1e-10f); in ScaleErrorSignalSSE2()
88 const __m128 kMu = extended_filter_enabled ? _mm_set1_ps(kExtendedMu) in ScaleErrorSignalSSE2()
89 : _mm_set1_ps(normal_mu); in ScaleErrorSignalSSE2()
91 ? _mm_set1_ps(kExtendedErrorThreshold) in ScaleErrorSignalSSE2()
92 : _mm_set1_ps(normal_error_threshold); in ScaleErrorSignalSSE2()
374 const __m128 vec_hNlFb = _mm_set1_ps(hNlFb); in OverdriveAndSuppressSSE2()
375 const __m128 vec_one = _mm_set1_ps(1.0f); in OverdriveAndSuppressSSE2()
376 const __m128 vec_minus_one = _mm_set1_ps(-1.0f); in OverdriveAndSuppressSSE2()
377 const __m128 vec_overDriveSm = _mm_set1_ps(aec->overDriveSm); in OverdriveAndSuppressSSE2()
456 __m128 vec_wfEn = _mm_set1_ps(0.0f); in PartitionDelaySSE2()
[all …]
/external/opencv3/modules/hal/src/
Dmathfuncs.cpp77 __m128 eps = _mm_set1_ps((float)DBL_EPSILON), absmask = _mm_set1_ps(iabsmask.f); in fastAtan2()
78 __m128 _90 = _mm_set1_ps(90.f), _180 = _mm_set1_ps(180.f), _360 = _mm_set1_ps(360.f); in fastAtan2()
79 __m128 z = _mm_setzero_ps(), scale4 = _mm_set1_ps(scale); in fastAtan2()
80 __m128 p1 = _mm_set1_ps(atan2_p1), p3 = _mm_set1_ps(atan2_p3); in fastAtan2()
81 __m128 p5 = _mm_set1_ps(atan2_p5), p7 = _mm_set1_ps(atan2_p7); in fastAtan2()
464 static const __m128 postscale4 = _mm_set1_ps((float)exp_postscale); in exp()
465 static const __m128 maxval4 = _mm_set1_ps((float)(exp_max_val/exp_prescale)); in exp()
466 static const __m128 minval4 = _mm_set1_ps((float)(-exp_max_val/exp_prescale)); in exp()
468 static const __m128 mA1 = _mm_set1_ps(A1); in exp()
469 static const __m128 mA2 = _mm_set1_ps(A2); in exp()
[all …]
/external/opencv3/modules/core/src/
Dconvert.cpp1475 __m128 v_scale = _mm_set1_ps(scale), v_shift = _mm_set1_ps(shift), in operator ()()
1512 __m128 v_scale = _mm_set1_ps(scale), v_shift = _mm_set1_ps(shift), in operator ()()
1554 __m128 v_scale = _mm_set1_ps(scale), v_shift = _mm_set1_ps(shift), in operator ()()
1585 __m128 v_scale = _mm_set1_ps(scale), v_shift = _mm_set1_ps(shift), in operator ()()
1616 __m128 v_scale = _mm_set1_ps(scale), v_shift = _mm_set1_ps(shift), in operator ()()
1645 __m128 v_scale = _mm_set1_ps(scale), v_shift = _mm_set1_ps(shift), in operator ()()
1673 __m128 v_scale = _mm_set1_ps(scale), v_shift = _mm_set1_ps(shift), in operator ()()
1963 __m128 v_scale = _mm_set1_ps(scale), v_shift = _mm_set1_ps(shift); in operator ()()
1994 __m128 v_scale = _mm_set1_ps(scale), v_shift = _mm_set1_ps(shift); in operator ()()
2032 __m128 v_scale = _mm_set1_ps(scale), v_shift = _mm_set1_ps(shift); in operator ()()
[all …]
Dlapack.cpp285 __m128 c4 = _mm_set1_ps(c), s4 = _mm_set1_ps(s); in givens()
305 __m128 c4 = _mm_set1_ps(c), s4 = _mm_set1_ps(s); in givensx()
871 __m128 det =_mm_set1_ps((float)d); in invert()
Darithm.cpp2579 __m128 v_scale = _mm_set1_ps(scale); in operator ()()
2643 __m128 v_scale = _mm_set1_ps(scale); in operator ()()
2690 __m128 v_scale = _mm_set1_ps(scale); in operator ()()
3745 __m128 v_alpha = _mm_set1_ps(alpha), v_beta = _mm_set1_ps(beta), in operator ()()
3746 v_gamma = _mm_set1_ps(gamma); in operator ()()
3792 __m128 v_alpha = _mm_set1_ps(alpha), v_beta = _mm_set1_ps(beta), in operator ()()
3793 v_gamma = _mm_set1_ps(gamma); in operator ()()
3836 __m128 v_alpha = _mm_set1_ps(alpha), v_beta = _mm_set1_ps(beta), in operator ()()
3837 v_gamma = _mm_set1_ps(gamma); in operator ()()
4012 __m128 a4 = _mm_set1_ps(alpha), b4 = _mm_set1_ps(beta), g4 = _mm_set1_ps(gamma); in addWeighted8u()
/external/speex/libspeex/
D_kiss_fft_guts.h137 # define KISS_FFT_COS(phase) _mm_set1_ps( cos(phase) )
138 # define KISS_FFT_SIN(phase) _mm_set1_ps( sin(phase) )
139 # define HALF_OF(x) ((x)*_mm_set1_ps(.5))
Dkiss_fftr.c113 freqdata[ncfft].i = freqdata[0].i = _mm_set1_ps(0); in kiss_fftr()
165 st->tmpbuf[ncfft - k].i *= _mm_set1_ps(-1.0); in kiss_fftri()
291 st->tmpbuf[ncfft - k].i *= _mm_set1_ps(-1.0); in kiss_fftri2()
/external/libopus/celt/
D_kiss_fft_guts.h162 # define KISS_FFT_COS(phase) _mm_set1_ps( cos(phase) )
163 # define KISS_FFT_SIN(phase) _mm_set1_ps( sin(phase) )
164 # define HALF_OF(x) ((x)*_mm_set1_ps(.5f))
/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()
32 SkNx(float val) : fVec(_mm_set1_ps(val)) {} in SkNx()
81 SkNx(float val) : fVec( _mm_set1_ps(val) ) {} in SkNx()
103 SkNx abs() const { return _mm_andnot_ps(_mm_set1_ps(-0.0f), fVec); } in abs()
/external/pdfium/third_party/libopenjpeg20/
Dmct.c382 vrv = _mm_set1_ps(1.402f); in opj_mct_decode_real()
383 vgu = _mm_set1_ps(0.34413f); in opj_mct_decode_real()
384 vgv = _mm_set1_ps(0.71414f); in opj_mct_decode_real()
385 vbu = _mm_set1_ps(1.772f); in opj_mct_decode_real()
Ddwt.c821 opj_v4dwt_decode_step1_sse(dwt->wavelet+a, dwt->sn, _mm_set1_ps(opj_K)); in opj_v4dwt_decode()
822 opj_v4dwt_decode_step1_sse(dwt->wavelet+b, dwt->dn, _mm_set1_ps(opj_c13318)); in opj_v4dwt_decode()
823 …wavelet+b, dwt->wavelet+a+1, dwt->sn, opj_int_min(dwt->sn, dwt->dn-a), _mm_set1_ps(opj_dwt_delta)); in opj_v4dwt_decode()
824 …wavelet+a, dwt->wavelet+b+1, dwt->dn, opj_int_min(dwt->dn, dwt->sn-b), _mm_set1_ps(opj_dwt_gamma)); in opj_v4dwt_decode()
825 …>wavelet+b, dwt->wavelet+a+1, dwt->sn, opj_int_min(dwt->sn, dwt->dn-a), _mm_set1_ps(opj_dwt_beta)); in opj_v4dwt_decode()
826 …wavelet+a, dwt->wavelet+b+1, dwt->dn, opj_int_min(dwt->dn, dwt->sn-b), _mm_set1_ps(opj_dwt_alpha)); in opj_v4dwt_decode()
/external/opencv3/modules/imgproc/src/
Dimgwarp.cpp554 __m128 b0 = _mm_set1_ps(beta[0]), b1 = _mm_set1_ps(beta[1]); in operator ()()
652 __m128 b0 = _mm_set1_ps(beta[0]), b1 = _mm_set1_ps(beta[1]); in operator ()()
702 __m128 b0 = _mm_set1_ps(beta[0]*scale), b1 = _mm_set1_ps(beta[1]*scale), in operator ()()
703 b2 = _mm_set1_ps(beta[2]*scale), b3 = _mm_set1_ps(beta[3]*scale); in operator ()()
797 __m128 b0 = _mm_set1_ps(beta[0]), b1 = _mm_set1_ps(beta[1]), in operator ()()
798 b2 = _mm_set1_ps(beta[2]), b3 = _mm_set1_ps(beta[3]); in operator ()()
858 __m128 b0 = _mm_set1_ps(beta[0]), b1 = _mm_set1_ps(beta[1]), in operator ()()
859 b2 = _mm_set1_ps(beta[2]), b3 = _mm_set1_ps(beta[3]); in operator ()()
910 __m128 v_b0 = _mm_set1_ps(beta[0]), v_b1 = _mm_set1_ps(beta[1]), in operator ()()
911 v_b2 = _mm_set1_ps(beta[2]), v_b3 = _mm_set1_ps(beta[3]), in operator ()()
[all …]
Dcolor.cpp1594 v_cb = _mm_set1_ps(coeffs[0]); in RGB2Gray()
1595 v_cg = _mm_set1_ps(coeffs[1]); in RGB2Gray()
1596 v_cr = _mm_set1_ps(coeffs[2]); in RGB2Gray()
1814 v_c0 = _mm_set1_ps(coeffs[0]); in RGB2YCrCb_f()
1815 v_c1 = _mm_set1_ps(coeffs[1]); in RGB2YCrCb_f()
1816 v_c2 = _mm_set1_ps(coeffs[2]); in RGB2YCrCb_f()
1817 v_c3 = _mm_set1_ps(coeffs[3]); in RGB2YCrCb_f()
1818 v_c4 = _mm_set1_ps(coeffs[4]); in RGB2YCrCb_f()
1819 v_delta = _mm_set1_ps(ColorChannel<float>::half()); in RGB2YCrCb_f()
2550 v_c0 = _mm_set1_ps(coeffs[0]); in YCrCb2RGB_f()
[all …]
Dthresh.cpp726 __m128 thresh4 = _mm_set1_ps(thresh), maxval4 = _mm_set1_ps(maxval); in thresh_32f()
764 __m128 thresh4 = _mm_set1_ps(thresh), maxval4 = _mm_set1_ps(maxval); in thresh_32f()
802 __m128 thresh4 = _mm_set1_ps(thresh); in thresh_32f()
833 __m128 thresh4 = _mm_set1_ps(thresh); in thresh_32f()
872 __m128 thresh4 = _mm_set1_ps(thresh); in thresh_32f()
Dcorner.cpp72 __m128 half = _mm_set1_ps(0.5f); in calcMinEigenVal()
142 __m128 k4 = _mm_set1_ps((float)k); in calcHarris()
699 __m128 v_factor = _mm_set1_ps(factor_f), v_m2 = _mm_set1_ps(-2.0f); in preCornerDetect()
Dsmooth.cpp283 const __m128 scale4 = _mm_set1_ps((float)_scale); in operator ()()
457 const __m128 scale4 = _mm_set1_ps((float)_scale); in operator ()()
625 const __m128 scale4 = _mm_set1_ps((float)_scale); in operator ()()
791 const __m128 scale4 = _mm_set1_ps((float)_scale); in operator ()()
946 const __m128 scale4 = _mm_set1_ps((float)_scale); in operator ()()
2792 __m128 _val0 = _mm_set1_ps(static_cast<float>(val0)); in operator ()()
2841 const __m128 _b0 = _mm_set1_ps(static_cast<float>(b0)); in operator ()()
2842 const __m128 _g0 = _mm_set1_ps(static_cast<float>(g0)); in operator ()()
2843 const __m128 _r0 = _mm_set1_ps(static_cast<float>(r0)); in operator ()()
3175 const __m128 _val0 = _mm_set1_ps(sptr[j]); in operator ()()
[all …]
Dfilter.cpp948 __m128 d4 = _mm_set1_ps(delta); in operator ()()
1097 __m128 df4 = _mm_set1_ps(delta); in operator ()()
1140 __m128 k0 = _mm_set1_ps(ky[0]), k1 = _mm_set1_ps(ky[1]); in operator ()()
1180 __m128 k1 = _mm_set1_ps(ky[1]); in operator ()()
1279 __m128 d4 = _mm_set1_ps(delta); in operator ()()
1566 __m128 k0 = _mm_set1_ps(kx[0]), k1 = _mm_set1_ps(kx[1]); in operator ()()
1605 … __m128 k0 = _mm_set1_ps(kx[0]), k1 = _mm_set1_ps(kx[1]), k2 = _mm_set1_ps(kx[2]); in operator ()()
1651 __m128 k1 = _mm_set1_ps(kx[1]); in operator ()()
1669 __m128 k1 = _mm_set1_ps(kx[1]), k2 = _mm_set1_ps(kx[2]); in operator ()()
1723 __m128 d4 = _mm_set1_ps(delta); in operator ()()
[all …]
Dpyramids.cpp152 __m128 _4 = _mm_set1_ps(4.f), _scale = _mm_set1_ps(1.f/256); in operator ()()
494 __m128 v_6 = _mm_set1_ps(6.0f), v_scale = _mm_set1_ps(1.f/64.0f), in operator ()()
495 v_scale4 = _mm_mul_ps(v_scale, _mm_set1_ps(4.0f)); in operator ()()
/external/opencv3/modules/objdetect/src/
Dhog.cpp414 __m128 fhalf = _mm_set1_ps(0.5f), fzero = _mm_setzero_ps(); in computeGradient()
415 __m128 _angleScale = _mm_set1_ps(angleScale), fone = _mm_set1_ps(1.0f); in computeGradient()
593 __m128 _bw = _mm_set1_ps(bw), _bh = _mm_set1_ps(bh); in init()
825 __m128 _a0 = _mm_set1_ps(a[0]), _a1 = _mm_set1_ps(a[1]); in getBlock()
826 __m128 _w = _mm_mul_ps(_mm_set1_ps(pk.gradWeight), _mm_loadu_ps(pk.histWeights)); in getBlock()
873 __m128 _a0 = _mm_set1_ps(a[0]), _a1 = _mm_set1_ps(a[1]); in getBlock()
874 __m128 _w = _mm_mul_ps(_mm_set1_ps(pk.gradWeight), _mm_loadu_ps(pk.histWeights)); in getBlock()
999 __m128 _scale = _mm_set1_ps(scale); in normalizeBlockHistogram()
1000 static __m128 _threshold = _mm_set1_ps(thresh); in normalizeBlockHistogram()
1045 __m128 _scale2 = _mm_set1_ps(scale); in normalizeBlockHistogram()
/external/vulkan-validation-layers/libs/glm/detail/
Dintrinsic_common.inl161 __m128 Neg = _mm_set1_ps(-1.0f);
162 __m128 Pos = _mm_set1_ps(1.0f);
/external/eigen/Eigen/src/Core/arch/SSE/
DPacketMath.h113 template<> EIGEN_STRONG_INLINE Packet4f pset1<Packet4f>(const float& from) { return _mm_set1_ps(fr…
255 __m128 res = _mm_loadl_pi(_mm_set1_ps(0.0f), (const __m64*)(from));
DComplex.h92 res.v = _mm_loadl_pi(_mm_set1_ps(0.0f), reinterpret_cast<const __m64*>(&from));
/external/clang/lib/Headers/
Dxmmintrin.h592 _mm_set1_ps(float __w) in _mm_set1_ps() function
601 return _mm_set1_ps(__w); in _mm_set_ps1()

12