Home
last modified time | relevance | path

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

/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/libvpx/libvpx/vp9/encoder/x86/
Dvp9_variance_mmx.c43 int sum0, sum1, sum2, sum3; in vp9_mse16x16_mmx() local
45 vp9_get8x8var_mmx(src, src_stride, ref, ref_stride, &sse0, &sum0); in vp9_mse16x16_mmx()
61 int sum0, sum1, sum2, sum3, sum; in vp9_variance16x16_mmx() local
63 vp9_get8x8var_mmx(src, src_stride, ref, ref_stride, &sse0, &sum0); in vp9_variance16x16_mmx()
71 sum = sum0 + sum1 + sum2 + sum3; in vp9_variance16x16_mmx()
79 int sum0, sum1, sum; in vp9_variance16x8_mmx() local
81 vp9_get8x8var_mmx(src, src_stride, ref, ref_stride, &sse0, &sum0); in vp9_variance16x8_mmx()
85 sum = sum0 + sum1; in vp9_variance16x8_mmx()
94 int sum0, sum1, sum; in vp9_variance8x16_mmx() local
96 vp9_get8x8var_mmx(src, src_stride, ref, ref_stride, &sse0, &sum0); in vp9_variance8x16_mmx()
[all …]
Dvp9_variance_avx2.c75 int sum0; in variance_avx2() local
85 ref_ptr + recon_stride * i + j, recon_stride, &sse0, &sum0); in variance_avx2()
87 *sum += sum0; in variance_avx2()
115 int sum0; in vp9_mse16x16_avx2() local
117 &sum0); in vp9_mse16x16_avx2()
Dvp9_variance_sse2.c45 int sum0; in variance_sse2() local
47 ref + ref_stride * i + j, ref_stride, &sse0, &sum0); in variance_sse2()
49 *sum += sum0; in variance_sse2()
/external/libvpx/libvpx/vp8/common/x86/
Dvariance_mmx.c122 int sum0, sum1, sum2, sum3; in vp8_mse16x16_mmx() local
125 vp8_get8x8var_mmx(src_ptr, source_stride, ref_ptr, recon_stride, &sse0, &sum0) ; in vp8_mse16x16_mmx()
144 int sum0, sum1, sum2, sum3, avg; in vp8_variance16x16_mmx() local
147 vp8_get8x8var_mmx(src_ptr, source_stride, ref_ptr, recon_stride, &sse0, &sum0) ; in vp8_variance16x16_mmx()
153 avg = sum0 + sum1 + sum2 + sum3; in vp8_variance16x16_mmx()
166 int sum0, sum1, avg; in vp8_variance16x8_mmx() local
168 vp8_get8x8var_mmx(src_ptr, source_stride, ref_ptr, recon_stride, &sse0, &sum0) ; in vp8_variance16x8_mmx()
172 avg = sum0 + sum1; in vp8_variance16x8_mmx()
187 int sum0, sum1, avg; in vp8_variance8x16_mmx() local
189 vp8_get8x8var_mmx(src_ptr, source_stride, ref_ptr, recon_stride, &sse0, &sum0) ; in vp8_variance8x16_mmx()
[all …]
Dvariance_sse2.c181 int sum0; in vp8_variance16x16_wmt() local
184 vp8_get16x16var_sse2(src_ptr, source_stride, ref_ptr, recon_stride, &sse0, &sum0) ; in vp8_variance16x16_wmt()
186 return (sse0 - (((unsigned int)sum0 * sum0) >> 8)); in vp8_variance16x16_wmt()
197 int sum0; in vp8_mse16x16_wmt() local
198 vp8_get16x16var_sse2(src_ptr, source_stride, ref_ptr, recon_stride, &sse0, &sum0) ; in vp8_mse16x16_wmt()
214 int sum0, sum1, avg; in vp8_variance16x8_wmt() local
216 vp8_get8x8var_sse2(src_ptr, source_stride, ref_ptr, recon_stride, &sse0, &sum0) ; in vp8_variance16x8_wmt()
220 avg = sum0 + sum1; in vp8_variance16x8_wmt()
235 int sum0, sum1, avg; in vp8_variance8x16_wmt() local
237 vp8_get8x8var_sse2(src_ptr, source_stride, ref_ptr, recon_stride, &sse0, &sum0) ; in vp8_variance8x16_wmt()
[all …]
/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/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/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/llvm/test/Transforms/SROA/
Dbig-endian.ll60 ; CHECK: %[[sum0:.*]] = add i8 %[[trunc0]], %[[trunc1]]
61 ; CHECK-NEXT: %[[sum1:.*]] = add i8 %[[sum0]], %[[trunc2]]
Dbasictest.ll626 ; CHECK: %[[sum0:.*]] = add i8 %[[trunc0]], %[[trunc1]]
627 ; CHECK-NEXT: %[[sum1:.*]] = add i8 %[[sum0]], %[[trunc2]]
/external/webp/src/dsp/
Dlossless_neon.c232 const uint16x8_t sum0 = vaddl_u8(p0, p1); // add and widen in ClampedAddSubtractFull() local
233 const uint16x8_t sum1 = vqsubq_u16(sum0, vmovl_u8(p2)); // widen and subtract in ClampedAddSubtractFull()
Denc_sse2.c620 const __m128i sum0 = _mm_add_epi32(madd0, madd1); in SSE4x4() local
622 const __m128i sum2 = _mm_add_epi32(sum0, sum1); in SSE4x4()
/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()
Dcvhaar.cpp534 double sum0 = 0, area0 = 0; in cvSetImagesForHaarClassifierCascade() local
651 sum0 += hidfeature->rect[k].weight * tr.width * tr.height; in cvSetImagesForHaarClassifierCascade()
654 hidfeature->rect[0].weight = (float)(-sum0/area0); in cvSetImagesForHaarClassifierCascade()