Home
last modified time | relevance | path

Searched refs:v_src (Results 1 – 21 of 21) sorted by relevance

/external/opencv3/modules/core/src/
Dconvert.cpp1481 __m128i v_src = _mm_loadu_si128((const __m128i *)(src + x)); in operator ()() local
1482 …__m128i v_src12 = _mm_unpacklo_epi8(v_src, v_zero_i), v_src_34 = _mm_unpackhi_epi8(v_src, v_zero_i… in operator ()()
1518 __m128i v_src = _mm_loadu_si128((const __m128i *)(src + x)); in operator ()() local
1519 __m128i v_src_12 = _mm_srai_epi16(_mm_unpacklo_epi8(v_zero_i, v_src), 8), in operator ()()
1520 v_src_34 = _mm_srai_epi16(_mm_unpackhi_epi8(v_zero_i, v_src), 8); in operator ()()
1560 __m128i v_src = _mm_loadu_si128((const __m128i *)(src + x)); in operator ()() local
1561 …__m128 v_dst1 = _mm_add_ps(_mm_mul_ps(_mm_cvtepi32_ps(_mm_unpacklo_epi16(v_src, v_zero_i)), v_scal… in operator ()()
1563 …__m128 v_dst2 = _mm_add_ps(_mm_mul_ps(_mm_cvtepi32_ps(_mm_unpackhi_epi16(v_src, v_zero_i)), v_scal… in operator ()()
1591 __m128i v_src = _mm_loadu_si128((const __m128i *)(src + x)); in operator ()() local
1592 …m_add_ps(_mm_mul_ps(_mm_cvtepi32_ps(_mm_srai_epi32(_mm_unpacklo_epi16(v_src, v_src), 16)), v_scale… in operator ()()
[all …]
Dstat.cpp91 __m128i v_src = _mm_loadu_si128((const __m128i *)(src0 + x)); in operator ()() local
92 __m128i v_half = _mm_srai_epi16(_mm_unpacklo_epi8(v_zero, v_src), 8); in operator ()()
97 v_half = _mm_srai_epi16(_mm_unpackhi_epi8(v_zero, v_src), 8); in operator ()()
104 …__m128i v_src = _mm_srai_epi16(_mm_unpacklo_epi8(v_zero, _mm_loadl_epi64((__m128i const *)(src0 + … in operator ()() local
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 ()()
134 __m128i v_src = _mm_loadu_si128((__m128i const *)(src0 + x)); in operator ()() local
135 v_sum0 = _mm_add_pd(v_sum0, _mm_cvtepi32_pd(v_src)); in operator ()()
136 v_sum1 = _mm_add_pd(v_sum1, _mm_cvtepi32_pd(_mm_srli_si128(v_src, 8))); in operator ()()
164 __m128 v_src = _mm_loadu_ps(src0 + x); in operator ()() local
[all …]
Dmathfuncs.cpp280 __m128 v_src = _mm_loadu_ps(buf[0] + k); in phase() local
281 _mm_storeu_pd(angle + k, _mm_cvtps_pd(v_src)); in phase()
282 …oreu_pd(angle + k + 2, _mm_cvtps_pd(_mm_castsi128_ps(_mm_srli_si128(_mm_castps_si128(v_src), 8)))); in phase()
417 __m128 v_src = _mm_loadu_ps(buf[0] + k); in cartToPolar() local
418 _mm_storeu_pd(angle + k, _mm_cvtps_pd(v_src)); in cartToPolar()
419 …oreu_pd(angle + k + 2, _mm_cvtps_pd(_mm_castsi128_ps(_mm_srli_si128(_mm_castps_si128(v_src), 8)))); in cartToPolar()
1776 __m128i v_src = _mm_loadu_si128((__m128i const *)(tptr + j)); in patchNaNs() local
1777 __m128i v_cmp_mask = _mm_cmplt_epi32(v_mask2, _mm_and_si128(v_src, v_mask1)); in patchNaNs()
1778 …__m128i v_res = _mm_or_si128(_mm_andnot_si128(v_cmp_mask, v_src), _mm_and_si128(v_cmp_mask, v_val)… in patchNaNs()
1785 int32x4_t v_src = vld1q_s32(tptr + j); in patchNaNs() local
[all …]
Darithm.cpp5138 __m128i v_src = _mm_add_epi8(_mm_loadu_si128((const __m128i *)(src1 + x)), v_128); in operator ()() local
5139 …v_mask1 = _mm_cmpgt_epi8(_mm_add_epi8(_mm_loadu_si128((const __m128i *)(src2 + x)), v_128), v_src); in operator ()()
5140 …__m128i v_mask2 = _mm_cmpgt_epi8(v_src, _mm_add_epi8(_mm_loadu_si128((const __m128i *)(src3 + x)),… in operator ()()
5163 __m128i v_src = _mm_loadu_si128((const __m128i *)(src1 + x)); in operator ()() local
5164 … __m128i v_mask1 = _mm_cmpgt_epi8(_mm_loadu_si128((const __m128i *)(src2 + x)), v_src); in operator ()()
5165 … __m128i v_mask2 = _mm_cmpgt_epi8(v_src, _mm_loadu_si128((const __m128i *)(src3 + x))); in operator ()()
5188 … __m128i v_src = _mm_add_epi16(_mm_loadu_si128((const __m128i *)(src1 + x)), v_32768); in operator ()() local
5189 …sk1 = _mm_cmpgt_epi16(_mm_add_epi16(_mm_loadu_si128((const __m128i *)(src2 + x)), v_32768), v_src); in operator ()()
5190 …__m128i v_mask2 = _mm_cmpgt_epi16(v_src, _mm_add_epi16(_mm_loadu_si128((const __m128i *)(src3 + x)… in operator ()()
5214 __m128i v_src = _mm_loadu_si128((const __m128i *)(src1 + x)); in operator ()() local
[all …]
Dcopy.cpp122 uint8x16_t v_dst = vld1q_u8(dst + x), v_src = vld1q_u8(src + x); in copyMask_() local
123 vst1q_u8(dst + x, vbslq_u8(v_mask, v_src, v_dst)); in copyMask_()
175 uint16x8_t v_src = vld1q_u16(src + x), v_dst = vld1q_u16(dst + x); in copyMask_() local
176 vst1q_u16(dst + x, vbslq_u16(v_mask_res, v_src, v_dst)); in copyMask_()
/external/opencv3/modules/imgproc/src/
Dcolor.cpp611 uint8x16x3_t v_src = vld3q_u8(src), v_dst; in operator ()() local
612 v_dst.val[0] = v_src.val[bidx]; in operator ()()
613 v_dst.val[1] = v_src.val[1]; in operator ()()
614 v_dst.val[2] = v_src.val[bidx ^ 2]; in operator ()()
619 uint8x8x3_t v_src = vld3_u8(src), v_dst; in operator ()() local
620 v_dst.val[0] = v_src.val[bidx]; in operator ()()
621 v_dst.val[1] = v_src.val[1]; in operator ()()
622 v_dst.val[2] = v_src.val[bidx ^ 2]; in operator ()()
635 uint8x16x4_t v_src = vld4q_u8(src); in operator ()() local
637 v_dst.val[0] = v_src.val[bidx]; in operator ()()
[all …]
Daccum.cpp100 uint8x16_t v_src = vld1q_u8(src + x); in operator ()() local
101 … uint16x8_t v_src0 = vmovl_u8(vget_low_u8(v_src)), v_src1 = vmovl_u8(vget_high_u8(v_src)); in operator ()()
115 …uint8x16_t v_src = vandq_u8(vld1q_u8(src + x), veorq_u8(v_255, vceqq_u8(vld1q_u8(mask + x), v_0))); in operator ()() local
116 … uint16x8_t v_src0 = vmovl_u8(vget_low_u8(v_src)), v_src1 = vmovl_u8(vget_high_u8(v_src)); in operator ()()
141 uint16x8_t v_src = vld1q_u16(src + x); in operator ()() local
142 … uint32x4_t v_src0 = vmovl_u16(vget_low_u16(v_src)), v_src1 = vmovl_u16(vget_high_u16(v_src)); in operator ()()
186 uint8x16_t v_src = vld1q_u8(src + x); in operator ()() local
187 uint8x8_t v_src_0 = vget_low_u8(v_src), v_src_1 = vget_high_u8(v_src); in operator ()()
202 …uint8x16_t v_src = vandq_u8(vld1q_u8(src + x), veorq_u8(v_255, vceqq_u8(vld1q_u8(mask + x), v_0))); in operator ()() local
203 uint8x8_t v_src_0 = vget_low_u8(v_src), v_src_1 = vget_high_u8(v_src); in operator ()()
[all …]
Dthresh.cpp334 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()
601 int16x8_t v_src = vld1q_s16(src + j); in thresh_16s() local
602 uint16x8_t v_mask = vcgtq_s16(v_src, v_thresh); in thresh_16s()
603 vst1q_s16(dst + j, vandq_s16(vreinterpretq_s16_u16(v_mask), v_src)); in thresh_16s()
639 int16x8_t v_src = vld1q_s16(src + j); in thresh_16s() local
640 uint16x8_t v_mask = vcleq_s16(v_src, v_thresh); in thresh_16s()
641 vst1q_s16(dst + j, vandq_s16(vreinterpretq_s16_u16(v_mask), v_src)); in thresh_16s()
[all …]
Dcorner.cpp98 float32x4x3_t v_src = vld3q_f32(cov + j * 3); in calcMinEigenVal() local
99 float32x4_t v_a = vmulq_f32(v_src.val[0], v_half); in calcMinEigenVal()
100 float32x4_t v_b = v_src.val[1]; in calcMinEigenVal()
101 float32x4_t v_c = vmulq_f32(v_src.val[2], v_half); in calcMinEigenVal()
168 float32x4x3_t v_src = vld3q_f32(cov + j * 3); in calcHarris() local
169 float32x4_t v_a = v_src.val[0], v_b = v_src.val[1], v_c = v_src.val[2]; in calcHarris()
Dmoments.cpp286 uint16x8_t v_src = vmovl_u8(vld1_u8(ptr + x)); in operator ()() local
290 uint16x4_t v_p = vget_low_u16(v_src); in operator ()()
302 v_p = vget_high_u16(v_src); in operator ()()
354 __m128i v_src = _mm_loadu_si128((const __m128i *)(ptr + x)); in operator ()() local
355 … __m128i v_src0 = _mm_unpacklo_epi16(v_src, v_zero), v_src1 = _mm_unpackhi_epi16(v_src, v_zero); in operator ()()
Dimgwarp.cpp4444 float32x4x2_t v_src = vld2q_f32(sXY + (x1 << 1)); in operator ()() local
4445 int32x4_t v_sx = cv_vrndq_s32_f32(vmulq_f32(v_src.val[0], v_scale)); in operator ()()
4446 int32x4_t v_sy = cv_vrndq_s32_f32(vmulq_f32(v_src.val[1], v_scale)); in operator ()()
5085 int16x8x2_t v_src = vld2q_s16(src1 + (x << 1)); in convertMaps() local
5086 float32x4_t v_dst1 = vmlaq_f32(vcvtq_f32_s32(vmovl_s16(vget_low_s16(v_src.val[0]))), in convertMaps()
5088 float32x4_t v_dst2 = vmlaq_f32(vcvtq_f32_s32(vmovl_s16(vget_low_s16(v_src.val[1]))), in convertMaps()
5093 v_dst1 = vmlaq_f32(vcvtq_f32_s32(vmovl_s16(vget_high_s16(v_src.val[0]))), in convertMaps()
5095 v_dst2 = vmlaq_f32(vcvtq_f32_s32(vmovl_s16(vget_high_s16(v_src.val[1]))), in convertMaps()
5165 int16x8x2_t v_src = vld2q_s16(src1 + (x << 1)); in convertMaps() local
5167 v_dst.val[0] = vmlaq_f32(vcvtq_f32_s32(vmovl_s16(vget_low_s16(v_src.val[0]))), in convertMaps()
[all …]
Dhistogram.cpp2381 __m128 v_src = _mm_min_ps(_mm_loadu_ps(h1 + j), in compareHist()
2383 v_result = _mm_add_pd(v_result, _mm_cvtps_pd(v_src)); in compareHist()
2384 v_src = _mm_castsi128_ps(_mm_srli_si128(_mm_castps_si128(v_src), 8)); in compareHist()
2385 v_result = _mm_add_pd(v_result, _mm_cvtps_pd(v_src)); in compareHist()
/external/libvpx/libvpx/vpx_dsp/arm/
Dsubtract_neon.c48 const uint8x16_t v_src = vld1q_u8(&src[0]); in vpx_subtract_block_neon() local
50 const uint16x8_t v_diff_lo = vsubl_u8(vget_low_u8(v_src), in vpx_subtract_block_neon()
52 const uint16x8_t v_diff_hi = vsubl_u8(vget_high_u8(v_src), in vpx_subtract_block_neon()
62 const uint8x8_t v_src = vld1_u8(&src[0]); in vpx_subtract_block_neon() local
64 const uint16x8_t v_diff = vsubl_u8(v_src, v_pred); in vpx_subtract_block_neon()
/external/webrtc/webrtc/modules/video_processing/util/
Dskin_detection.cc45 const uint8_t* v_src, in MbHasSkinColor() argument
53 const uint8_t* v = v_src + ((mb_row << 3) + 4) * stride_v + (mb_col << 3) + 4; in MbHasSkinColor()
Dskin_detection.h19 const uint8_t* v_src,
/external/webrtc/webrtc/modules/video_processing/
Dvideo_denoiser.cc90 const uint8_t* v_src = frame.buffer(kVPlane); in DenoiseFrame() local
108 y_src, u_src, v_src, stride_y, stride_u, stride_v, mb_row, mb_col); in DenoiseFrame()
129 v_src + (mb_row << 3) * stride_v + (mb_col << 3); in DenoiseFrame()
/external/opencv3/3rdparty/libwebp/dec/
Dio.c56 const uint8_t* v_src = io->v; in EmitSampledRGB() local
62 sample(y_src, y_src + io->y_stride, u_src, v_src, in EmitSampledRGB()
66 v_src += io->uv_stride; in EmitSampledRGB()
70 sample(y_src, y_src, u_src, v_src, dst, dst, mb_w); in EmitSampledRGB()
85 const uint8_t* v_src = io->v;
91 convert(y_src, u_src, v_src, dst, mb_w);
94 v_src += io->uv_stride;
/external/libvpx/libvpx/vp8/common/
Dmfqe.c77 unsigned char *v_src, in apply_ifactor() argument
89 vp8_filter_by_weight8x8(v_src, uv_src_stride, v_dst, uv_dst_stride, src_weight); in apply_ifactor()
95 vp8_filter_by_weight4x4(v_src, uv_src_stride, v_dst, uv_dst_stride, src_weight); in apply_ifactor()
/external/valgrind/VEX/priv/
Dhost_ppc_defs.c4814 UInt v_src = vregEnc(i->Pin.AvUnary.src); in emit_PPCInstr() local
4837 p = mkFormVX( p, 4, v_dst, v_src, v_src, opc2, endness_host ); in emit_PPCInstr()
4840 p = mkFormVX( p, 4, v_dst, 0, v_src, opc2, endness_host ); in emit_PPCInstr()
5067 UInt v_src = vregEnc(i->Pin.AvCipherV128Unary.src); in emit_PPCInstr() local
5074 p = mkFormVX( p, 4, v_dst, v_src, 0, opc2, endness_host ); in emit_PPCInstr()
5095 UInt v_src = vregEnc(i->Pin.AvHashV128Binary.src); in emit_PPCInstr() local
5104 p = mkFormVX( p, 4, v_dst, v_src, s_field->Pri.Imm, opc2, endness_host ); in emit_PPCInstr()
5181 UInt v_src = vregEnc(i->Pin.AvUn32Fx4.src); in emit_PPCInstr() local
5197 p = mkFormVX( p, 4, v_dst, 0, v_src, opc2, endness_host ); in emit_PPCInstr()
5256 UInt v_src, opc2; in emit_PPCInstr() local
[all …]
Dhost_ppc_isel.c5368 HReg v_src = iselVecExpr(env, e->Iex.Binop.arg1, IEndianess); in iselVecExpr_wrk() local
5370 addInstr(env, PPCInstr_AvPerm(dst, v_src, v_src, v_ctl)); in iselVecExpr_wrk()
5535 HReg v_src = iselVecExpr(env, stmt->Ist.Store.data, IEndianess); in iselStmt() local
5537 PPCInstr_AvLdSt(False/*store*/, 16, v_src, am_addr)); in iselStmt()
5586 HReg v_src = iselVecExpr(env, stmt->Ist.Put.data, IEndianess); in iselStmt() local
5590 PPCInstr_AvLdSt(False/*store*/, 16, v_src, am_addr)); in iselStmt()
5719 HReg v_src = iselVecExpr(env, stmt->Ist.WrTmp.data, IEndianess); in iselStmt() local
5720 addInstr(env, PPCInstr_AvUnary(Pav_MOV, v_dst, v_src)); in iselStmt()
/external/libvpx/libvpx/vp8/decoder/
Ddecodeframe.c423 unsigned char *v_src) in yv12_extend_frame_left_right_c() argument
487 src_ptr1 = v_src; in yv12_extend_frame_left_right_c()