Home
last modified time | relevance | path

Searched refs:v_zero (Results 1 – 11 of 11) sorted by relevance

/external/libvpx/libvpx/vp9/encoder/arm/neon/
Dvp9_quantize_neon.c41 const int16x8_t v_zero = vdupq_n_s16(0); in vp9_quantize_fp_neon() local
56 const int16x8_t v_tmp = vabaq_s16(v_round, v_coeff, v_zero); in vp9_quantize_fp_neon()
63 const uint16x8_t v_nz_mask = vceqq_s16(v_tmp2, v_zero); in vp9_quantize_fp_neon()
65 const int16x8_t v_nz_iscan = vbslq_s16(v_nz_mask, v_zero, v_iscan_plus1); in vp9_quantize_fp_neon()
81 const int16x8_t v_tmp = vabaq_s16(v_round, v_coeff, v_zero); in vp9_quantize_fp_neon()
88 const uint16x8_t v_nz_mask = vceqq_s16(v_tmp2, v_zero); in vp9_quantize_fp_neon()
90 const int16x8_t v_nz_iscan = vbslq_s16(v_nz_mask, v_zero, v_iscan_plus1); in vp9_quantize_fp_neon()
/external/opencv3/modules/core/src/
Dconvert.cpp1962 __m128i v_zero = _mm_setzero_si128(); in operator ()() local
1967 __m128i v_src = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i const *)(src + x)), v_zero); in operator ()()
1968 __m128 v_src_f = _mm_cvtepi32_ps(_mm_unpacklo_epi16(v_src, v_zero)); in operator ()()
1971 v_src_f = _mm_cvtepi32_ps(_mm_unpackhi_epi16(v_src, v_zero)); in operator ()()
1976 _mm_storel_epi64((__m128i *)(dst + x), _mm_packus_epi16(v_dst, v_zero)); in operator ()()
1993 __m128i v_zero = _mm_setzero_si128(); in operator ()() local
1998 __m128i v_src = _mm_unpacklo_epi8(_mm_loadl_epi64((__m128i const *)(src + x)), v_zero); in operator ()()
1999 __m128 v_src_f = _mm_cvtepi32_ps(_mm_unpacklo_epi16(v_src, v_zero)); in operator ()()
2002 v_src_f = _mm_cvtepi32_ps(_mm_unpackhi_epi16(v_src, v_zero)); in operator ()()
2007 _mm_storel_epi64((__m128i *)(dst + x), _mm_packs_epi16(v_dst, v_zero)); in operator ()()
[all …]
Dstat.cpp87 __m128i v_zero = _mm_setzero_si128(), v_sum = v_zero; in operator ()() local
92 __m128i v_half = _mm_srai_epi16(_mm_unpacklo_epi8(v_zero, v_src), 8); in operator ()()
94 v_sum = _mm_add_epi32(v_sum, _mm_srai_epi32(_mm_unpacklo_epi16(v_zero, v_half), 16)); in operator ()()
95 v_sum = _mm_add_epi32(v_sum, _mm_srai_epi32(_mm_unpackhi_epi16(v_zero, v_half), 16)); in operator ()()
97 v_half = _mm_srai_epi16(_mm_unpackhi_epi8(v_zero, v_src), 8); in operator ()()
98 v_sum = _mm_add_epi32(v_sum, _mm_srai_epi32(_mm_unpacklo_epi16(v_zero, v_half), 16)); in operator ()()
99 v_sum = _mm_add_epi32(v_sum, _mm_srai_epi32(_mm_unpackhi_epi16(v_zero, v_half), 16)); in operator ()()
104 …__m128i v_src = _mm_srai_epi16(_mm_unpacklo_epi8(v_zero, _mm_loadl_epi64((__m128i const *)(src0 + … in operator ()()
106 v_sum = _mm_add_epi32(v_sum, _mm_srai_epi32(_mm_unpacklo_epi16(v_zero, v_src), 16)); in operator ()()
107 v_sum = _mm_add_epi32(v_sum, _mm_srai_epi32(_mm_unpackhi_epi16(v_zero, v_src), 16)); in operator ()()
[all …]
Darithm.cpp2575 __m128i v_zero = _mm_setzero_si128(); in operator ()() local
2585 __m128 v_dst1 = _mm_mul_ps(_mm_cvtepi32_ps(_mm_unpacklo_epi16(v_src1, v_zero)), in operator ()()
2586 _mm_cvtepi32_ps(_mm_unpacklo_epi16(v_src2, v_zero))); in operator ()()
2589 __m128 v_dst2 = _mm_mul_ps(_mm_cvtepi32_ps(_mm_unpackhi_epi16(v_src1, v_zero)), in operator ()()
2590 _mm_cvtepi32_ps(_mm_unpackhi_epi16(v_src2, v_zero))); in operator ()()
2621 __m128i v_zero = _mm_setzero_si128(); in operator ()() local
2629 v_src1 = _mm_srai_epi16(_mm_unpacklo_epi8(v_zero, v_src1), 8); in operator ()()
2630 v_src2 = _mm_srai_epi16(_mm_unpacklo_epi8(v_zero, v_src2), 8); in operator ()()
2632 …__m128 v_dst1 = _mm_mul_ps(_mm_cvtepi32_ps(_mm_srai_epi32(_mm_unpacklo_epi16(v_zero, v_src1), 16)), in operator ()()
2633 … _mm_cvtepi32_ps(_mm_srai_epi32(_mm_unpacklo_epi16(v_zero, v_src2), 16))); in operator ()()
[all …]
Dmatmul.cpp2979 uint32x4_t v_zero = vdupq_n_u32(0u); in dotProd_8u() local
2985 uint32x4_t v_sum = v_zero; in dotProd_8u()
3073 int32x4_t v_zero = vdupq_n_s32(0); in dotProd_8s() local
3079 int32x4_t v_sum = v_zero; in dotProd_8s()
3183 float32x4_t v_zero = vdupq_n_f32(0.0f); in dotProd_32f() local
3189 float32x4_t v_sum = v_zero; in dotProd_32f()
/external/opencv3/modules/imgproc/src/
Dcolor.cpp973 v_zero = _mm_setzero_si128(); in Gray2RGB5x5()
998 __m128i v_src_p = _mm_unpacklo_epi8(v_src, v_zero); in operator ()()
1004 v_src_p = _mm_unpackhi_epi8(v_src, v_zero); in operator ()()
1034 __m128i v_src_p = _mm_srli_epi16(_mm_unpacklo_epi8(v_src, v_zero), 3); in operator ()()
1040 v_src_p = _mm_srli_epi16(_mm_unpackhi_epi8(v_src, v_zero), 3); in operator ()()
1060 __m128i v_n7, v_n3, v_zero; member
1130 __m128i v_zero = _mm_setzero_si128(); in operator ()()
1160 _mm_storel_epi64((__m128i *)(dst + i), _mm_packus_epi16(v_dst, v_zero)); in operator ()()
1194 __m128i v_zero = _mm_setzero_si128(); in operator ()()
1224 _mm_storel_epi64((__m128i *)(dst + i), _mm_packus_epi16(v_dst, v_zero)); in operator ()()
[all …]
Dsumpixels.cpp89 __m128i v_zero = _mm_setzero_si128(), prev = v_zero; in operator ()() local
101 prev = v_zero; in operator ()()
117 __m128i el8shr12 = _mm_add_epi16(_mm_unpacklo_epi8(el8shr1, v_zero), in operator ()()
118 _mm_unpacklo_epi8(el8shr2, v_zero)); in operator ()()
119 __m128i el8shr03 = _mm_add_epi16(_mm_unpacklo_epi8(el8shr0, v_zero), in operator ()()
120 _mm_unpacklo_epi8(el8shr3, v_zero)); in operator ()()
123 __m128i el4h = _mm_add_epi16(_mm_unpackhi_epi16(el8, v_zero), in operator ()()
124 _mm_unpacklo_epi16(el8, v_zero)); in operator ()()
126 vsuml = _mm_add_epi32(vsuml, _mm_unpacklo_epi16(el8, v_zero)); in operator ()()
Dcanny.cpp360 __m128i v_zero = _mm_setzero_si128(); in operator ()() local
365 v_dx = _mm_max_epi16(v_dx, _mm_sub_epi16(v_zero, v_dx)); in operator ()()
366 v_dy = _mm_max_epi16(v_dy, _mm_sub_epi16(v_zero, v_dy)); in operator ()()
368 …__m128i v_norm = _mm_add_epi32(_mm_unpacklo_epi16(v_dx, v_zero), _mm_unpacklo_epi16(v_dy, v_zero)); in operator ()()
371 … v_norm = _mm_add_epi32(_mm_unpackhi_epi16(v_dx, v_zero), _mm_unpackhi_epi16(v_dy, v_zero)); in operator ()()
764 __m128i v_zero = _mm_setzero_si128(); in Canny() local
769 v_dx = _mm_max_epi16(v_dx, _mm_sub_epi16(v_zero, v_dx)); in Canny()
770 v_dy = _mm_max_epi16(v_dy, _mm_sub_epi16(v_zero, v_dy)); in Canny()
772 …__m128i v_norm = _mm_add_epi32(_mm_unpacklo_epi16(v_dx, v_zero), _mm_unpacklo_epi16(v_dy, v_zero)); in Canny()
775 … v_norm = _mm_add_epi32(_mm_unpackhi_epi16(v_dx, v_zero), _mm_unpackhi_epi16(v_dy, v_zero)); in Canny()
Dmoments.cpp349 v_delta = _mm_set1_epi32(8), v_zero = _mm_setzero_si128(), v_x0 = v_zero, in operator ()() local
350 v_x1 = v_zero, v_x2 = v_zero, v_x3 = v_zero, v_ix0 = vx_init0, v_ix1 = vx_init1; in operator ()()
355 … __m128i v_src0 = _mm_unpacklo_epi16(v_src, v_zero), v_src1 = _mm_unpackhi_epi16(v_src, v_zero); in operator ()()
365 …= _mm_add_epi64(v_x3, _mm_add_epi64(_mm_unpacklo_epi32(t, v_zero), _mm_unpackhi_epi32(t, v_zero))); in operator ()()
Dimgwarp.cpp5070 uint32x4_t v_zero = vdupq_n_u32(0u), v_mask = vdupq_n_u32(INTER_TAB_SIZE-1); in convertMaps() local
5083 v_fxy1 = v_fxy2 = v_zero; in convertMaps()
5102 __m128i v_zero = _mm_setzero_si128(), v_mask = _mm_set1_epi32(INTER_TAB_SIZE-1); in convertMaps()
5114 …m128i v_fxy = src2 ? _mm_and_si128(_mm_loadu_si128((__m128i const *)(src2 + x)), v_mask2) : v_zero; in convertMaps()
5115 __m128i v_fxy_p = _mm_unpacklo_epi16(v_fxy, v_zero); in convertMaps()
5116 …_ps(dst1f + x, _mm_add_ps(_mm_cvtepi32_ps(_mm_srai_epi32(_mm_unpacklo_epi16(v_zero, v_src10), 16)), in convertMaps()
5118 …_ps(dst2f + x, _mm_add_ps(_mm_cvtepi32_ps(_mm_srai_epi32(_mm_unpacklo_epi16(v_zero, v_src20), 16)), in convertMaps()
5120 v_fxy_p = _mm_unpackhi_epi16(v_fxy, v_zero); in convertMaps()
5121 …dst1f + x + 4, _mm_add_ps(_mm_cvtepi32_ps(_mm_srai_epi32(_mm_unpackhi_epi16(v_zero, v_src10), 16)), in convertMaps()
5123 …dst2f + x + 4, _mm_add_ps(_mm_cvtepi32_ps(_mm_srai_epi32(_mm_unpackhi_epi16(v_zero, v_src20), 16)), in convertMaps()
[all …]
Dpyramids.cpp306 __m128i v_delta = _mm_set1_epi16(32), v_zero = _mm_setzero_si128(); in operator ()() local
351 …_m128i *)(dst0 + x), _mm_packus_epi16(_mm_srli_epi16(_mm_adds_epu16(v_dst0, v_delta), 6), v_zero)); in operator ()()
352 …_m128i *)(dst1 + x), _mm_packus_epi16(_mm_srli_epi16(_mm_adds_epu16(v_dst1, v_delta), 6), v_zero)); in operator ()()
370 __m128i v_delta = _mm_set1_epi32(32), v_zero = _mm_setzero_si128(); in operator ()() local
408 _mm_packs_epi32(_mm_srai_epi32(_mm_add_epi32(v_dst0, v_delta), 6), v_zero)); in operator ()()
410 _mm_packs_epi32(_mm_srai_epi32(_mm_add_epi32(v_dst1, v_delta), 6), v_zero)); in operator ()()
430 __m128i v_delta = _mm_set1_epi32(32), v_zero = _mm_setzero_si128(); in operator ()() local
468 _mm_packus_epi32(_mm_srli_epi32(_mm_add_epi32(v_dst0, v_delta), 6), v_zero)); in operator ()()
470 _mm_packus_epi32(_mm_srli_epi32(_mm_add_epi32(v_dst1, v_delta), 6), v_zero)); in operator ()()