Home
last modified time | relevance | path

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

12

/third_party/cmsis/CMSIS/DSP/Source/FilteringFunctions/
Darm_fir_decimate_fast_q15.c74 q31_t sum0; /* Accumulators */ in arm_fir_decimate_fast_q15() local
200 sum0 = 0; in arm_fir_decimate_fast_q15()
225 sum0 = __SMLAD(x0, c0, sum0); in arm_fir_decimate_fast_q15()
231 sum0 = __SMLAD(x0, c1, sum0); in arm_fir_decimate_fast_q15()
256 sum0 = __SMLAD(x0, c0, sum0); in arm_fir_decimate_fast_q15()
268 *pDst++ = (q15_t) (__SSAT((sum0 >> 15), 16)); in arm_fir_decimate_fast_q15()
320 q31_t sum0; /* Accumulators */ in arm_fir_decimate_fast_q15() local
466 sum0 = 0; in arm_fir_decimate_fast_q15()
488 sum0 += x0 * c0; in arm_fir_decimate_fast_q15()
497 sum0 += x0 * c0; in arm_fir_decimate_fast_q15()
[all …]
Darm_fir_decimate_q15.c331 q63_t sum0; /* Accumulators */ in arm_fir_decimate_q15() local
457 sum0 = 0; in arm_fir_decimate_q15()
482 sum0 = __SMLALD(x0, c0, sum0); in arm_fir_decimate_q15()
488 sum0 = __SMLALD(x0, c1, sum0); in arm_fir_decimate_q15()
513 sum0 = __SMLALD(x0, c0, sum0); in arm_fir_decimate_q15()
525 *pDst++ = (q15_t) (__SSAT((sum0 >> 15), 16)); in arm_fir_decimate_q15()
576 q63_t sum0; /* Accumulators */ in arm_fir_decimate_q15() local
722 sum0 = 0; in arm_fir_decimate_q15()
744 sum0 += x0 * c0; in arm_fir_decimate_q15()
753 sum0 += x0 * c0; in arm_fir_decimate_q15()
[all …]
Darm_fir_interpolate_f32.c484 float32_t sum0; /* Accumulators */ in arm_fir_interpolate_f32() local
755 sum0 = vget_lane_f32(tempV, 0) + vget_lane_f32(tempV, 1); in arm_fir_interpolate_f32()
763 sum0 += *(ptr1++) * (*ptr2); in arm_fir_interpolate_f32()
773 *pDst++ = sum0; in arm_fir_interpolate_f32()
839 float32_t sum0; /* Accumulators */ in arm_fir_interpolate_f32() local
1033 sum0 = 0.0f; in arm_fir_interpolate_f32()
1052 sum0 += *ptr1++ * *ptr2; in arm_fir_interpolate_f32()
1059 sum0 += *ptr1++ * *ptr2; in arm_fir_interpolate_f32()
1062 sum0 += *ptr1++ * *ptr2; in arm_fir_interpolate_f32()
1065 sum0 += *ptr1++ * *ptr2; in arm_fir_interpolate_f32()
[all …]
Darm_fir_interpolate_q31.c363 q63_t sum0; /* Accumulators */ in arm_fir_interpolate_q31() local
556 sum0 = 0; in arm_fir_interpolate_q31()
575 sum0 += (q63_t) *ptr1++ * *ptr2; in arm_fir_interpolate_q31()
582 sum0 += (q63_t) *ptr1++ * *ptr2; in arm_fir_interpolate_q31()
585 sum0 += (q63_t) *ptr1++ * *ptr2; in arm_fir_interpolate_q31()
588 sum0 += (q63_t) *ptr1++ * *ptr2; in arm_fir_interpolate_q31()
608 sum0 += (q63_t) *ptr1++ * *ptr2; in arm_fir_interpolate_q31()
620 *pDst++ = (q31_t) (sum0 >> 31); in arm_fir_interpolate_q31()
688 q63_t sum0; /* Accumulators */ in arm_fir_interpolate_q31()
711 sum0 = 0; in arm_fir_interpolate_q31()
[all …]
Darm_fir_interpolate_q15.c366 q63_t sum0; /* Accumulators */ in arm_fir_interpolate_q15() local
559 sum0 = 0; in arm_fir_interpolate_q15()
578 sum0 += (q63_t) *ptr1++ * *ptr2; in arm_fir_interpolate_q15()
585 sum0 += (q63_t) *ptr1++ * *ptr2; in arm_fir_interpolate_q15()
588 sum0 += (q63_t) *ptr1++ * *ptr2; in arm_fir_interpolate_q15()
591 sum0 += (q63_t) *ptr1++ * *ptr2; in arm_fir_interpolate_q15()
611 sum0 += (q63_t) *ptr1++ * *ptr2; in arm_fir_interpolate_q15()
623 *pDst++ = (q15_t) (__SSAT((sum0 >> 15), 16)); in arm_fir_interpolate_q15()
689 q63_t sum0; /* Accumulators */ in arm_fir_interpolate_q15()
712 sum0 = 0; in arm_fir_interpolate_q15()
[all …]
/third_party/ffmpeg/tests/
Dtiny_ssim.c100 static float ssim_end4( int sum0[5][4], int sum1[5][4], int width ) in ssim_end4()
106 ssim += ssim_end1( sum0[i][0] + sum0[i+1][0] + sum1[i][0] + sum1[i+1][0], in ssim_end4()
107 sum0[i][1] + sum0[i+1][1] + sum1[i][1] + sum1[i+1][1], in ssim_end4()
108 sum0[i][2] + sum0[i+1][2] + sum1[i][2] + sum1[i+1][2], in ssim_end4()
109 sum0[i][3] + sum0[i+1][3] + sum1[i][3] + sum1[i+1][3] ); in ssim_end4()
121 int (*sum0)[4] = buf; in ssim_plane() local
122 int (*sum1)[4] = sum0 + (width >> 2) + 3; in ssim_plane()
129 FFSWAP( void*, sum0, sum1 ); in ssim_plane()
131 … ssim_4x4x2_core( &pix1[4*(x+z*stride1)], stride1, &pix2[4*(x+z*stride2)], stride2, &sum0[x] ); in ssim_plane()
134 ssim += ssim_end4( sum0+x, sum1+x, FFMIN(4,width-x-1) ); in ssim_plane()
/third_party/ffmpeg/libavfilter/
Dvf_ssim.c194 static float ssim_endn_16bit(const int64_t (*sum0)[4], const int64_t (*sum1)[4], int width, int max) in ssim_endn_16bit()
200 ssim += ssim_end1x(sum0[i][0] + sum0[i + 1][0] + sum1[i][0] + sum1[i + 1][0], in ssim_endn_16bit()
201 sum0[i][1] + sum0[i + 1][1] + sum1[i][1] + sum1[i + 1][1], in ssim_endn_16bit()
202 sum0[i][2] + sum0[i + 1][2] + sum1[i][2] + sum1[i + 1][2], in ssim_endn_16bit()
203 sum0[i][3] + sum0[i + 1][3] + sum1[i][3] + sum1[i + 1][3], in ssim_endn_16bit()
208 static double ssim_endn_8bit(const int (*sum0)[4], const int (*sum1)[4], int width) in ssim_endn_8bit()
214 ssim += ssim_end1(sum0[i][0] + sum0[i + 1][0] + sum1[i][0] + sum1[i + 1][0], in ssim_endn_8bit()
215 sum0[i][1] + sum0[i + 1][1] + sum1[i][1] + sum1[i + 1][1], in ssim_endn_8bit()
216 sum0[i][2] + sum0[i + 1][2] + sum1[i][2] + sum1[i + 1][2], in ssim_endn_8bit()
217 sum0[i][3] + sum0[i + 1][3] + sum1[i][3] + sum1[i + 1][3]); in ssim_endn_8bit()
[all …]
Dvf_convolution.c174 int sum0 = c0[x] * 5 + c1[x] * 5 + c2[x] * 5 + in filter16_kirsch() local
199 sum0 = FFMAX(sum0, sum1); in filter16_kirsch()
203 sum0 = FFMAX(sum0, sum2); in filter16_kirsch()
205 sum0 = FFMAX(sum0, sum4); in filter16_kirsch()
207 dst[x] = av_clip(FFABS(sum0) * scale + delta, 0, peak); in filter16_kirsch()
277 int sum0 = c0[x] * 5 + c1[x] * 5 + c2[x] * 5 + in filter_kirsch() local
302 sum0 = FFMAX(sum0, sum1); in filter_kirsch()
306 sum0 = FFMAX(sum0, sum2); in filter_kirsch()
308 sum0 = FFMAX(sum0, sum4); in filter_kirsch()
310 dst[x] = av_clip_uint8(FFABS(sum0) * scale + delta); in filter_kirsch()
/third_party/pulseaudio/src/pulsecore/
Dmix_neon.c38 int32x4_t sum0, sum1; in pa_mix_ch2_s16ne_neon() local
44 : [sum0] "=w" (sum0), [sum1] "=w" (sum1) in pa_mix_ch2_s16ne_neon()
64 : [ptr] "+r" (m->ptr), [sum0] "+w" (sum0), [sum1] "+w" (sum1) in pa_mix_ch2_s16ne_neon()
75 : [sum0] "w" (sum0), [sum1] "w" (sum1) in pa_mix_ch2_s16ne_neon()
/third_party/pulseaudio/src/modules/echo-cancel/
Dadrian-aec.h156 REAL sum0 = 0.0, sum1 = 0.0; in highpass() local
161 sum0 += a[j] * z[j]; in highpass()
164 return sum0 + sum1; in highpass()
187 REAL sum0 = 0.0, sum1 = 0.0; in FIR_HP_300Hz_highpass() local
208 sum0 += a[j] * f->z[j]; in FIR_HP_300Hz_highpass()
211 return sum0 + sum1; in FIR_HP_300Hz_highpass()
Dadrian-aec.c40 REAL sum0 = 0.0f, sum1 = 0.0f; in dotp() local
45 sum0 += a[j] * b[j]; in dotp()
48 return sum0 + sum1; in dotp()
/third_party/mindspore/tests/ut/python/ops/
Dtest_tuple_slice.py43 sum0 = self.addN(tensor_tuple_slice0)
47 ret = sum0 + sum1 + sum2 + sum3
66 sum0 = self.addN(tensor_tuple_slice0)
71 ret = sum0 + sum1 + sum2 + sum3 + sum4
/third_party/skia/src/effects/imagefilters/
DSkBlurImageFilter.cpp382 skvx::Vec<4, uint32_t> sum0 = skvx::Vec<4, uint32_t>::Load(fSum0); in blurSegment() local
388 sum0 += leadingEdge; in blurSegment()
389 sum1 += sum0; in blurSegment()
398 *buffer1Cursor = sum0; in blurSegment()
400 sum0 -= *buffer0Cursor; in blurSegment()
438 sum0.store(fSum0); in blurSegment()
625 skvx::Vec<4, uint32_t> sum0 = skvx::Vec<4, uint32_t>::Load(fSum0); in blurSegment() local
630 sum0 += leadingEdge; in blurSegment()
631 sum1 += sum0; in blurSegment()
636 *buffer1Cursor = sum0; in blurSegment()
[all …]
/third_party/ffmpeg/libavcodec/
Dttaenc.c137 rice->sum0 += outval - (rice->sum0 >> 4); in tta_encode_frame()
138 if (rice->k0 > 0 && rice->sum0 < ff_tta_shift_16[rice->k0]) in tta_encode_frame()
140 else if (rice->sum0 > ff_tta_shift_16[rice->k0 + 1]) in tta_encode_frame()
Dsbrdsp.c33 float sum0 = 0.0f, sum1 = 0.0f; in sbr_sum_square_c() local
38 sum0 += x[i + 0][0] * x[i + 0][0]; in sbr_sum_square_c()
40 sum0 += x[i + 1][0] * x[i + 1][0]; in sbr_sum_square_c()
44 return sum0 + sum1; in sbr_sum_square_c()
Dtta.c306 rice->sum0 += value - (rice->sum0 >> 4); in tta_decode_frame()
307 if (rice->k0 > 0 && rice->sum0 < ff_tta_shift_16[rice->k0]) in tta_decode_frame()
309 else if(rice->sum0 > ff_tta_shift_16[rice->k0 + 1]) in tta_decode_frame()
/third_party/flutter/skia/src/core/
DSkMaskBlurFilter.cpp117 uint32_t sum0 = 0; in blur() local
124 sum0 += leadingEdge; in blur()
125 sum1 += sum0; in blur()
135 *buffer1Cursor = sum0; in blur()
138 sum0 -= *buffer0Cursor; in blur()
146 sum0 += leadingEdge; in blur()
147 sum1 += sum0; in blur()
157 *buffer1Cursor = sum0; in blur()
160 sum0 -= *buffer0Cursor; in blur()
170 sum0 = sum1 = sum2 = 0; in blur()
[all …]
/third_party/skia/src/core/
DSkMaskBlurFilter.cpp118 uint32_t sum0 = 0; in blur() local
125 sum0 += leadingEdge; in blur()
126 sum1 += sum0; in blur()
136 *buffer1Cursor = sum0; in blur()
139 sum0 -= *buffer0Cursor; in blur()
147 sum0 += leadingEdge; in blur()
148 sum1 += sum0; in blur()
158 *buffer1Cursor = sum0; in blur()
161 sum0 -= *buffer0Cursor; in blur()
171 sum0 = sum1 = sum2 = 0; in blur()
[all …]
/third_party/cmsis/CMSIS/DSP/Source/MatrixFunctions/
Darm_mat_cholesky_f32.c226 float32_t sum0=0.0f,sum1=0.0f,sum2=0.0f,sum3=0.0f; in arm_mat_cholesky_f32() local
268 sum0 = vpadds_f32(vpadd_f32(vget_low_f32(acc0), vget_high_f32(acc0))); in arm_mat_cholesky_f32()
275 sum0 = vget_lane_f32(tmp, 0) + vget_lane_f32(tmp, 1); in arm_mat_cholesky_f32()
291 sum0 = sum0 + pG[i * n + k] * pG[(j + 0) * n + k]; in arm_mat_cholesky_f32()
299 pG[(j + 0) * n + i] -= sum0; in arm_mat_cholesky_f32()
/third_party/flatbuffers/tests/FlatBuffers.Test.Swift/Tests/FlatBuffers.Test.SwiftTests/
DFlatBuffersMonsterWriterTests.swift250 var sum0 = 0 in readFlatbufferMonster() variable
253 sum0 = Int(a) + Int(b) in readFlatbufferMonster()
258 XCTAssertEqual(sum0 + sum1, 100) in readFlatbufferMonster()
317 var sum0 = 0 in readObjectApi() variable
320 sum0 = Int(a) + Int(b) in readObjectApi()
325 XCTAssertEqual(sum0 + sum1, 100) in readObjectApi()
/third_party/boost/boost/math/special_functions/detail/
Dpolygamma.hpp152 T sum0(0); in polygamma_attransitionplus() local
161 sum0 += z_plus_k_pow_minus_m_minus_one; in polygamma_attransitionplus()
164 sum0 *= boost::math::factorial<T>(n); in polygamma_attransitionplus()
171 sum0 += exp(log_term); in polygamma_attransitionplus()
176 sum0 = -sum0; in polygamma_attransitionplus()
178 return sum0 + polygamma_atinfinityplus(n, z, pol, function); in polygamma_attransitionplus()
/third_party/ffmpeg/libavcodec/mips/
Dhpeldsp_msa.c537 v8u16 add0, add1, add2, sum0, sum1; in common_hv_bil_4w_msa() local
552 ADD2(add0, add1, add1, add2, sum0, sum1); in common_hv_bil_4w_msa()
553 SRARI_H2_UH(sum0, sum1, 2); in common_hv_bil_4w_msa()
554 res = (v16u8) __msa_pckev_b((v16i8) sum1, (v16i8) sum0); in common_hv_bil_4w_msa()
575 v8u16 sum0, sum1, sum2, sum3; in common_hv_bil_8w_msa() local
594 sum0, sum1, sum2, sum3); in common_hv_bil_8w_msa()
595 SRARI_H4_UH(sum0, sum1, sum2, sum3, 2); in common_hv_bil_8w_msa()
596 PCKEV_B2_SB(sum1, sum0, sum3, sum2, src0, src1); in common_hv_bil_8w_msa()
670 v8u16 sum0, sum1, sum2, sum3, sum4, sum5, sum6, sum7; in common_hv_bil_no_rnd_8x8_msa() local
692 sum0 = add0 + add1 + 1; in common_hv_bil_no_rnd_8x8_msa()
[all …]
Dsbrdsp_mips.c276 float sum0 = 0.0f, sum1 = 0.0f; in sbr_sum_square_mips() local
308 [temp3]"=&f"(temp3), [sum0]"+f"(sum0), [sum1]"+f"(sum1), in sbr_sum_square_mips()
313 return sum0 + sum1; in sbr_sum_square_mips()
Dhevc_idct_msa.c66 sum0, sum1, sum2, sum3, shift) \ argument
77 sum0 = vec0 + vec2; \
79 sum3 = sum0; \
85 sum0 += vec1; \
90 SRARI_W4_SW(sum0, sum1, sum2, sum3, shift); \
91 SAT_SW4_SW(sum0, sum1, sum2, sum3, 15); \
312 v4i32 sum0, sum1, sum2, sum3; in hevc_idct_4x4_msa() local
319 HEVC_IDCT4x4_COL(in_r0, in_l0, in_r1, in_l1, sum0, sum1, sum2, sum3, 7); in hevc_idct_4x4_msa()
320 TRANSPOSE4x4_SW_SW(sum0, sum1, sum2, sum3, in_r0, in_l0, in_r1, in_l1); in hevc_idct_4x4_msa()
321 HEVC_IDCT4x4_COL(in_r0, in_l0, in_r1, in_l1, sum0, sum1, sum2, sum3, 12); in hevc_idct_4x4_msa()
[all …]
/third_party/skia/third_party/externals/spirv-cross/shaders-no-opt/asm/vert/
Dconstant-composite-extract.asm.vert61 %sum0 = OpFAdd %v4float %m0 %m1
63 %sum = OpFAdd %v4float %sum0 %sum1

12