Home
last modified time | relevance | path

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

12

/external/libvpx/libvpx/vp9/encoder/mips/msa/
Dvp9_avg_msa.c17 v8u16 sum0, sum1, sum2, sum3, sum4, sum5, sum6, sum7; in vp9_avg_8x8_msa() local
21 HADD_UB4_UH(src0, src1, src2, src3, sum0, sum1, sum2, sum3); in vp9_avg_8x8_msa()
23 ADD4(sum0, sum1, sum2, sum3, sum4, sum5, sum6, sum7, sum0, sum2, sum4, sum6); in vp9_avg_8x8_msa()
24 ADD2(sum0, sum2, sum4, sum6, sum0, sum4); in vp9_avg_8x8_msa()
25 sum0 += sum4; in vp9_avg_8x8_msa()
27 sum = __msa_hadd_u_w(sum0, sum0); in vp9_avg_8x8_msa()
28 sum0 = (v8u16)__msa_pckev_h((v8i16)sum, (v8i16)sum); in vp9_avg_8x8_msa()
29 sum = __msa_hadd_u_w(sum0, sum0); in vp9_avg_8x8_msa()
40 v8u16 sum0; in vp9_avg_4x4_msa() local
47 sum0 = __msa_hadd_u_h(vec, vec); in vp9_avg_4x4_msa()
[all …]
/external/skia/src/opts/
DSkBitmapProcState_opts_SSSE3.cpp296 __m128i sum0 = ProcessPixelPair( in ProcessTwoPixelPairs() local
310 sum0 = _mm_add_epi16(sum0, sum1); in ProcessTwoPixelPairs()
312 return ScaleFourPixels<has_alpha, 8>(&sum0, alpha); in ProcessTwoPixelPairs()
328 __m128i sum0 = ProcessPixelPair( in ProcessTwoPixelPairsDXDY() local
343 sum0 = _mm_add_epi16(sum0, sum1); in ProcessTwoPixelPairsDXDY()
345 return ScaleFourPixels<has_alpha, 8>(&sum0, alpha); in ProcessTwoPixelPairsDXDY()
451 __m128i sum0 = ProcessPixelPairZeroSubY<has_alpha>( in S32_generic_D32_filter_DX_SSSE3() local
464 sum0 = _mm_packus_epi16(sum0, sum1); in S32_generic_D32_filter_DX_SSSE3()
467 _mm_storeu_si128(reinterpret_cast<__m128i *>(colors), sum0); in S32_generic_D32_filter_DX_SSSE3()
523 __m128i sum0 = ProcessTwoPixelPairs<has_alpha>( in S32_generic_D32_filter_DX_SSSE3() local
[all …]
/external/webrtc/webrtc/common_audio/signal_processing/
Dcross_correlation_neon.c23 int64x2_t sum0 = vdupq_n_s64(0); in DotProductWithScaleNeon() local
39 sum0 = vpadalq_s32(sum0, tmp0); in DotProductWithScaleNeon()
53 sum0 = vaddq_s64(sum0, sum1); in DotProductWithScaleNeon()
55 int64_t sum2 = vaddvq_s64(sum0); in DotProductWithScaleNeon()
59 int64x1_t sum2 = vadd_s64(vget_low_s64(sum0), vget_high_s64(sum0)); in DotProductWithScaleNeon()
/external/libvpx/libvpx/vpx_dsp/x86/
Dvariance_mmx.c77 int sum0, sum1, sum2, sum3; in vpx_mse16x16_mmx() local
79 vpx_get8x8var_mmx(a, a_stride, b, b_stride, &sse0, &sum0); in vpx_mse16x16_mmx()
95 int sum0, sum1, sum2, sum3, avg; in vpx_variance16x16_mmx() local
97 vpx_get8x8var_mmx(a, a_stride, b, b_stride, &sse0, &sum0); in vpx_variance16x16_mmx()
105 avg = sum0 + sum1 + sum2 + sum3; in vpx_variance16x16_mmx()
114 int sum0, sum1, avg; in vpx_variance16x8_mmx() local
116 vpx_get8x8var_mmx(a, a_stride, b, b_stride, &sse0, &sum0); in vpx_variance16x8_mmx()
120 avg = sum0 + sum1; in vpx_variance16x8_mmx()
129 int sum0, sum1, avg; in vpx_variance8x16_mmx() local
131 vpx_get8x8var_mmx(a, a_stride, b, b_stride, &sse0, &sum0); in vpx_variance8x16_mmx()
[all …]
Dvariance_avx2.c32 int sum0; in variance_avx2() local
34 &ref[ref_stride * i + j], ref_stride, &sse0, &sum0); in variance_avx2()
36 *sum += sum0; in variance_avx2()
Dhighbd_variance_sse2.c38 int sum0; in highbd_8_variance_sse2() local
40 ref + ref_stride * i + j, ref_stride, &sse0, &sum0); in highbd_8_variance_sse2()
42 *sum += sum0; in highbd_8_variance_sse2()
58 int sum0; in highbd_10_variance_sse2() local
60 ref + ref_stride * i + j, ref_stride, &sse0, &sum0); in highbd_10_variance_sse2()
62 sum_long += sum0; in highbd_10_variance_sse2()
80 int sum0; in highbd_12_variance_sse2() local
82 ref + ref_stride * i + j, ref_stride, &sse0, &sum0); in highbd_12_variance_sse2()
84 sum_long += sum0; in highbd_12_variance_sse2()
Dvariance_sse2.c160 int sum0; in variance_sse2() local
162 ref + ref_stride * i + j, ref_stride, &sse0, &sum0); in variance_sse2()
164 *sum += sum0; in variance_sse2()
/external/opencv/cxcore/src/
Dcxmean.cpp138 sumtype sum0 = 0; \
143 sumtype sum0 = 0, sum1 = 0; \
148 sumtype sum0 = 0, sum1 = 0, sum2 = 0; \
153 sumtype sum0 = 0, sum1 = 0, sum2 = 0, sum3 = 0; \
195 sum0 += s0; \
199 sum0 += s0; sum1 += s1; \
203 sum0 += s0; sum1 += s1; \
208 sum0 += s0; sum1 += s1; \
219 sum0 += s0; \
224 sum0 += s0; sum1 += s1; \
[all …]
Dcxsumpixels.cpp146 sumtype sum0 = 0; \
151 sumtype sum0 = 0, sum1 = 0; \
156 sumtype sum0 = 0, sum1 = 0, sum2 = 0; \
161 sumtype sum0 = 0, sum1 = 0, sum2 = 0, sum3 = 0; \
187 sum0 += s0; \
191 sum0 += s0; sum1 += s1; \
195 sum0 += s0; sum1 += s1; \
200 sum0 += s0; sum1 += s1; \
211 sum0 += s0; \
216 sum0 += s0; sum1 += s1; \
[all …]
Dcxmeansdv.cpp276 sumtype sum0 = 0; \
284 sumtype sum0 = 0, sum1 = 0; \
292 sumtype sum0 = 0, sum1 = 0, sum2 = 0; \
300 sumtype sum0 = 0, sum1 = 0, sum2 = 0, sum3 = 0; \
347 sum0 += s0; sqsum0 += sq0; \
352 sum0 += s0; sqsum0 += sq0; \
358 sum0 += s0; sqsum0 += sq0; \
365 sum0 += s0; sqsum0 += sq0; \
/external/libavc/common/x86/
Dih264_resi_trans_quant_sse42.c114 __m128i sum0, sum1, sum2, cmp0, cmp1; in ih264_resi_trans_quant_4x4_sse42() local
302 sum0 = _mm_hadd_epi16(cmp0, zero_8x16b); in ih264_resi_trans_quant_4x4_sse42()
303 sum1 = _mm_hadd_epi16(sum0, zero_8x16b); in ih264_resi_trans_quant_4x4_sse42()
315 sum0 = _mm_hadd_epi16(cmp1, zero_8x16b); in ih264_resi_trans_quant_4x4_sse42()
316 sum1 = _mm_hadd_epi16(sum0, zero_8x16b); in ih264_resi_trans_quant_4x4_sse42()
388 __m128i cmp0, cmp1, sum0, sum1, sum2; in ih264_resi_trans_quant_chroma_4x4_sse42() local
587 sum0 = _mm_hadd_epi16(cmp0, zero_8x16b); in ih264_resi_trans_quant_chroma_4x4_sse42()
588 sum1 = _mm_hadd_epi16(sum0, zero_8x16b); in ih264_resi_trans_quant_chroma_4x4_sse42()
600 sum0 = _mm_hadd_epi16(cmp1, zero_8x16b); in ih264_resi_trans_quant_chroma_4x4_sse42()
601 sum1 = _mm_hadd_epi16(sum0, zero_8x16b); in ih264_resi_trans_quant_chroma_4x4_sse42()
[all …]
/external/libopus/celt/arm/
Dcelt_pitch_xcorr_arm.s353 ; r6 = opus_val32 sum0
420 ; maxcorr = max(maxcorr, sum0, sum1, sum2, sum3)
438 ; {r10, r11} = {sum0, sum1} = {0, 0}
446 SMLABB r10, r6, r8, r10 ; sum0 = MAC16_16(sum0, x_0, y_0)
450 SMLATT r10, r6, r8, r10 ; sum0 = MAC16_16(sum0, x_1, y_1)
454 SMLABB r10, r7, r9, r10 ; sum0 = MAC16_16(sum0, x_2, y_2)
456 SMLATT r10, r7, r9, r10 ; sum0 = MAC16_16(sum0, x_3, y_3)
465 SMLABB r10, r6, r8, r10 ; sum0 = MAC16_16(sum0, x_0, y_0)
469 SMLATT r10, r6, r8, r10 ; sum0 = MAC16_16(sum0, x_1, y_1)
476 SMLABB r10, r6, r8, r10 ; sum0 = MAC16_16(sum0, x_0, y_0)
[all …]
/external/opencv3/modules/imgproc/src/opencl/
Dpyr_down.cl93 sum0 = co3* SRC(col_gl, EXTRAPOLATE_(src_y - 2, src_rows)); \
94 sum0 = MAD(co2, SRC(col_gl, EXTRAPOLATE_(src_y - 1, src_rows)), sum0); \
96 sum0 = MAD(co1, temp, sum0); \
99 sum0 = MAD(co2, temp, sum0); \
102 sum0 = MAD(co3, temp, sum0); \
104 smem[0][col_lcl] = sum0; \
141 FT sum0, sum1, temp;
Dcorner.cl154 float sum0 = 0.0f, sum1 = 0.0f, sum2 = 0.0f;
157 sum0 += data[0][i];
162 float sum01 = sum0 + data[0][0];
163 float sum02 = sum0 + data[0][ksY];
/external/llvm/test/Analysis/BasicAA/
Dpure-const-dce.ll14 ; CHECK-NEXT: %sum0 = add i32 %tmp0, %tmp1
15 ; CHECK-NEXT: %sum1 = add i32 %sum0, %tmp2
36 %sum0 = add i32 %tmp0, %tmp1 ; <i32> [#uses=1]
37 %sum1 = add i32 %sum0, %tmp2 ; <i32> [#uses=1]
/external/llvm/test/CodeGen/X86/
Dfma-do-not-commute.ll20 %sum0 = phi float [ %fma, %loop ], [ %arg, %entry ]
24 %fma = fadd float %sum0, %fmul
/external/opencv3/modules/core/src/
Dkmeans.cpp111 double sum0 = 0; in generateCentersPP() local
118 sum0 += dist[i]; in generateCentersPP()
128 double p = (double)rng*sum0, s = 0; in generateCentersPP()
149 sum0 = bestSum; in generateCentersPP()
/external/compiler-rt/lib/builtins/
Dfp_lib.h170 const __uint128_t sum0 = (__uint128_t)product44; in wideMultiply() local
187 const __uint128_t r0 = (sum0 & Word_FullMask) + in wideMultiply()
189 const __uint128_t r1 = (sum0 >> 64) + in wideMultiply()
/external/webrtc/webrtc/modules/video_processing/util/
Ddenoiser_filter_sse2.cc73 int32_t sum0 = 0; in VarianceSSE2() local
76 ref + ref_stride * i + j, ref_stride, &sse0, &sum0); in VarianceSSE2()
78 *sum += sum0; in VarianceSSE2()
/external/opencv3/modules/cudalegacy/src/cuda/
Dfgd.cu144 unsigned int sum0 = 0; in calcPartialHistogram() local
152 sum0 += s_Hist0[bin + i * HISTOGRAM_BIN_COUNT] & TAG_MASK; in calcPartialHistogram()
156 sum0 += s_Hist0[bin + i * HISTOGRAM_BIN_COUNT]; in calcPartialHistogram()
162 partialBuf0[blockIdx.x * HISTOGRAM_BIN_COUNT + bin] = sum0; in calcPartialHistogram()
170 unsigned int sum0 = 0; in mergeHistogram() local
177 sum0 += partialBuf0[blockIdx.x + i * HISTOGRAM_BIN_COUNT]; in mergeHistogram()
187 …reduce<MERGE_THREADBLOCK_SIZE>(smem_tuple(data0, data1, data2), thrust::tie(sum0, sum1, sum2), thr… in mergeHistogram()
191 hist0[blockIdx.x] = sum0; in mergeHistogram()
/external/llvm/test/Transforms/SROA/
Dbig-endian.ll59 ; CHECK: %[[sum0:.*]] = add i8 %[[trunc0]], %[[trunc1]]
60 ; CHECK-NEXT: %[[sum1:.*]] = add i8 %[[sum0]], %[[trunc2]]
/external/opencv3/modules/imgproc/src/
Dsumpixels.cpp551 cv::Mat src = cv::cvarrToMat(image), sum = cv::cvarrToMat(sumImage), sum0 = sum; in cvIntegral() local
569 CV_Assert( sum.data == sum0.data && sqsum.data == sqsum0.data && tilted.data == tilted0.data ); in cvIntegral()
/external/opencv/cv/src/
DmycvHaarDetectObjects.cpp733 double sum0 = 0, area0 = 0; in mycvSetImagesForHaarClassifierCascade() local
854 sum0 += tmpweight[k] * tr.width * tr.height; in mycvSetImagesForHaarClassifierCascade()
857 tmpweight[0] = (float)(-sum0/area0); in mycvSetImagesForHaarClassifierCascade()
/external/opencv3/modules/imgproc/test/
Dtest_filter.cpp1731 Mat* sum0 = &test_mat[REF_OUTPUT][0]; in prepare_to_validation() local
1739 psum2 = *sum0; in prepare_to_validation()
1751 psum.convertTo(psum2, sum0->depth()); in prepare_to_validation()
1759 cvtest::insert(psum2, *sum0, i); in prepare_to_validation()
/external/opencv3/modules/core/test/
Dtest_operations.cpp1190 int sum0 = 0, sum = 0; in run() local
1212 sum0 += val; in run()
1222 CV_Assert( k == nz0 && sum == sum0 ); in run()

12