/external/opencv3/modules/core/include/opencv2/core/ |
D | sse_utils.hpp | 169 __m128i v_mask = _mm_set1_epi16(0x00ff); in _mm_interleave_epi8() local 171 …__m128i layer4_chunk0 = _mm_packus_epi16(_mm_and_si128(v_r0, v_mask), _mm_and_si128(v_r1, v_mask)); in _mm_interleave_epi8() 173 …__m128i layer4_chunk1 = _mm_packus_epi16(_mm_and_si128(v_g0, v_mask), _mm_and_si128(v_g1, v_mask)); in _mm_interleave_epi8() 176 …hunk0 = _mm_packus_epi16(_mm_and_si128(layer4_chunk0, v_mask), _mm_and_si128(layer4_chunk1, v_mask… in _mm_interleave_epi8() 178 …hunk1 = _mm_packus_epi16(_mm_and_si128(layer4_chunk2, v_mask), _mm_and_si128(layer4_chunk3, v_mask… in _mm_interleave_epi8() 181 …hunk0 = _mm_packus_epi16(_mm_and_si128(layer3_chunk0, v_mask), _mm_and_si128(layer3_chunk1, v_mask… in _mm_interleave_epi8() 183 …hunk1 = _mm_packus_epi16(_mm_and_si128(layer3_chunk2, v_mask), _mm_and_si128(layer3_chunk3, v_mask… in _mm_interleave_epi8() 186 …hunk0 = _mm_packus_epi16(_mm_and_si128(layer2_chunk0, v_mask), _mm_and_si128(layer2_chunk1, v_mask… in _mm_interleave_epi8() 188 …hunk1 = _mm_packus_epi16(_mm_and_si128(layer2_chunk2, v_mask), _mm_and_si128(layer2_chunk3, v_mask… in _mm_interleave_epi8() 191 …v_r0 = _mm_packus_epi16(_mm_and_si128(layer1_chunk0, v_mask), _mm_and_si128(layer1_chunk1, v_mask)… in _mm_interleave_epi8() [all …]
|
/external/opencv3/modules/imgproc/src/ |
D | thresh.cpp | 334 uint8x16_t v_src = vld1q_u8(src + j_scalar), v_mask = vcgtq_u8(v_src, v_thresh); in thresh_8u() local 335 vst1q_u8(dst + j_scalar, vandq_u8(v_mask, v_src)); in thresh_8u() 348 uint8x16_t v_src = vld1q_u8(src + j_scalar), v_mask = vcleq_u8(v_src, v_thresh); in thresh_8u() local 349 vst1q_u8(dst + j_scalar, vandq_u8(v_mask, v_src)); in thresh_8u() 500 uint16x8_t v_mask = vcgtq_s16(vld1q_s16(src + j), v_thresh); in thresh_16s() local 501 vst1q_s16(dst + j, vandq_s16(vreinterpretq_s16_u16(v_mask), v_maxval)); in thresh_16s() 536 uint16x8_t v_mask = vcleq_s16(vld1q_s16(src + j), v_thresh); in thresh_16s() local 537 vst1q_s16(dst + j, vandq_s16(vreinterpretq_s16_u16(v_mask), v_maxval)); in thresh_16s() 602 uint16x8_t v_mask = vcgtq_s16(v_src, v_thresh); in thresh_16s() local 603 vst1q_s16(dst + j, vandq_s16(vreinterpretq_s16_u16(v_mask), v_src)); in thresh_16s() [all …]
|
D | accum.cpp | 245 … uint16x8_t v_mask = vreinterpretq_u16_u8(vcombine_u8(v_mask_zp.val[0], v_mask_zp.val[1])), in operator ()() local 246 v_src = vandq_u16(vld1q_u16(src + x), v_mask); in operator ()() 312 uint8x16_t v_mask = veorq_u8(v_255, vceqq_u8(vld1q_u8(mask + x), v_0)); in operator ()() local 313 …uint8x16_t v_1src = vandq_u8(vld1q_u8(src1 + x), v_mask), v_2src = vandq_u8(vld1q_u8(src2 + x), v_… in operator ()() 356 … uint16x8_t v_mask = vreinterpretq_u16_u8(vcombine_u8(v_mask_zp.val[0], v_mask_zp.val[1])), in operator ()() local 357 v_1src = vandq_u16(vld1q_u16(src1 + x), v_mask), in operator ()() 358 v_2src = vandq_u16(vld1q_u16(src2 + x), v_mask); in operator ()()
|
D | imgwarp.cpp | 4902 int32x4_t v_mask = vdupq_n_s32(INTER_TAB_SIZE - 1); in convertMaps() local 4919 … uint16x4_t v_dst0 = vqmovun_s32(vaddq_s32(vshlq_n_s32(vandq_s32(v_iy0, v_mask), INTER_BITS), in convertMaps() 4920 vandq_s32(v_ix0, v_mask))); in convertMaps() 4921 … uint16x4_t v_dst1 = vqmovun_s32(vaddq_s32(vshlq_n_s32(vandq_s32(v_iy1, v_mask), INTER_BITS), in convertMaps() 4922 vandq_s32(v_ix1, v_mask))); in convertMaps() 5007 int32x4_t v_mask = vdupq_n_s32(INTER_TAB_SIZE - 1); in convertMaps() local 5025 … uint16x4_t v_dst0 = vqmovun_s32(vaddq_s32(vshlq_n_s32(vandq_s32(v_iy0, v_mask), INTER_BITS), in convertMaps() 5026 vandq_s32(v_ix0, v_mask))); in convertMaps() 5027 … uint16x4_t v_dst1 = vqmovun_s32(vaddq_s32(vshlq_n_s32(vandq_s32(v_iy1, v_mask), INTER_BITS), in convertMaps() 5028 vandq_s32(v_ix1, v_mask))); in convertMaps() [all …]
|
D | color.cpp | 739 v_mask = vdupq_n_u16(0x8000); in RGB5x52RGB() 811 v_dst.val[3] = vbslq_u8(vcombine_u8(vqmovn_u16(vandq_u16(v_src0, v_mask)), in operator ()() 812 … vqmovn_u16(vandq_u16(v_src1, v_mask))), v_255, v_0); in operator ()() 831 uint16x8_t v_n3, v_n7, v_mask; member 847 v_mask = vdupq_n_u16(0x8000); in RGB2RGB5x5() 913 … vbslq_u16(veorq_u16(vceqq_u16(vmovl_u8(v_src.val[3]), v_0), v_full), v_mask, v_0))); in operator ()() 926 uint16x8_t v_mask, v_0, v_full; member
|
/external/webp/src/dsp/ |
D | yuv_sse2.c | 162 const __m128i v_mask = _mm_set1_epi16(0x00ff); in PlanarTo24bHelper() local 165 out[0] = _mm_packus_epi16(_mm_and_si128(in[0], v_mask), in PlanarTo24bHelper() 166 _mm_and_si128(in[1], v_mask)); in PlanarTo24bHelper() 167 out[1] = _mm_packus_epi16(_mm_and_si128(in[2], v_mask), in PlanarTo24bHelper() 168 _mm_and_si128(in[3], v_mask)); in PlanarTo24bHelper() 169 out[2] = _mm_packus_epi16(_mm_and_si128(in[4], v_mask), in PlanarTo24bHelper() 170 _mm_and_si128(in[5], v_mask)); in PlanarTo24bHelper()
|
/external/opencv3/modules/core/src/ |
D | arithm.cpp | 4179 v_mask = vdupq_n_u8(255); in Cmp_SIMD() 4197 … vst1q_u8(dst + x, veorq_u8(vceqq_s8(vld1q_s8(src1 + x), vld1q_s8(src2 + x)), v_mask)); in operator ()() 4203 uint8x16_t v_mask; member 4215 v_mask = vdup_n_u8(255); in Cmp_SIMD() 4244 vst1_u8(dst + x, veor_u8(vmovn_u16(v_dst), v_mask)); in operator ()() 4251 uint8x8_t v_mask; member 4263 v_mask = vdup_n_u8(255); in Cmp_SIMD() 4297 vst1_u8(dst + x, veor_u8(v_dst, v_mask)); in operator ()() 4304 uint8x8_t v_mask; member 4316 v_mask = vdup_n_u8(255); in Cmp_SIMD() [all …]
|
D | copy.cpp | 121 uint8x16_t v_mask = vcgeq_u8(vld1q_u8(mask + x), v_one); in copyMask_() local 123 vst1q_u8(dst + x, vbslq_u8(v_mask, v_src, v_dst)); in copyMask_() 171 uint8x8_t v_mask = vcge_u8(vld1_u8(mask + x), v_one); in copyMask_() local 172 uint8x8x2_t v_mask2 = vzip_u8(v_mask, v_mask); in copyMask_()
|