Home
last modified time | relevance | path

Searched refs:sum1 (Results 1 – 25 of 69) sorted by relevance

123

/third_party/ffmpeg/libavcodec/loongarch/
Dhpeldsp_lasx.c618 __m256i sum0, sum1, sum2, sum3, sum4, sum5, sum6, sum7; in common_hv_bil_no_rnd_16x16_lasx() local
653 sum1, sum3, sum5, sum7); in common_hv_bil_no_rnd_16x16_lasx()
657 DUP4_ARG2(__lasx_xvhaddw_hu_bu, sum0, sum0, sum1, sum1, sum2, sum2, in common_hv_bil_no_rnd_16x16_lasx()
664 sum0, sum1, sum2, sum3); in common_hv_bil_no_rnd_16x16_lasx()
667 DUP4_ARG2(__lasx_xvaddi_hu, sum0, 1, sum1, 1, sum2, 1, sum3, 1, in common_hv_bil_no_rnd_16x16_lasx()
668 sum0, sum1, sum2, sum3); in common_hv_bil_no_rnd_16x16_lasx()
671 DUP4_ARG3(__lasx_xvsrani_b_h, sum1, sum0, 2, sum3, sum2, 2, sum5, sum4, 2, in common_hv_bil_no_rnd_16x16_lasx()
672 sum7, sum6, 2, sum0, sum1, sum2, sum3); in common_hv_bil_no_rnd_16x16_lasx()
676 __lasx_xvstelm_d(sum1, dst, 0, 0); in common_hv_bil_no_rnd_16x16_lasx()
677 __lasx_xvstelm_d(sum1, dst, 8, 1); in common_hv_bil_no_rnd_16x16_lasx()
[all …]
Dhevc_idct_lsx.c68 sum0, sum1, sum2, sum3, shift) \ argument
83 sum1 = __lsx_vsub_w(vec0, vec2); \
86 sum2 = __lsx_vsub_w(sum1, vec4); \
89 sum1 = __lsx_vadd_w(sum1, vec4); \
92 sum1 = __lsx_vsrari_w(sum1, shift); \
96 sum1 = __lsx_vsat_w(sum1, 15); \
334 __m128i sum0, sum1, sum2, sum3; in ff_hevc_idct_4x4_lsx() local
344 HEVC_IDCT4x4_COL(in_r0, in_l0, in_r1, in_l1, sum0, sum1, sum2, sum3, 7); in ff_hevc_idct_4x4_lsx()
345 LSX_TRANSPOSE4x4_W(sum0, sum1, sum2, sum3, in_r0, in_l0, in_r1, in_l1); in ff_hevc_idct_4x4_lsx()
346 HEVC_IDCT4x4_COL(in_r0, in_l0, in_r1, in_l1, sum0, sum1, sum2, sum3, 12); in ff_hevc_idct_4x4_lsx()
[all …]
/third_party/ltp/testcases/network/tcp_cmds/ftp/
Dftp01.sh35 local file sum1 sum2
46 sum1="$(ls -l $file | awk '{print $5}')"
49 EXPECT_PASS "[ '$sum1' = '$sum2' ]"
55 local file sum1 sum2
67 sum1="$(tst_rhost_run -c "sum $TST_TMPDIR/$file" -s | awk '{print $1}')"
70 EXPECT_PASS "[ '$sum1' = '$sum2' ]"
/third_party/zlib/
Dadler32.c148 unsigned long sum1; local
159 sum1 = adler1 & 0xffff;
160 sum2 = rem * sum1;
162 sum1 += (adler2 & 0xffff) + BASE - 1;
164 if (sum1 >= BASE) sum1 -= BASE;
165 if (sum1 >= BASE) sum1 -= BASE;
168 return sum1 | (sum2 << 16);
/third_party/node/deps/zlib/
Dadler32.c162 unsigned long sum1; in adler32_combine_() local
173 sum1 = adler1 & 0xffff; in adler32_combine_()
174 sum2 = rem * sum1; in adler32_combine_()
176 sum1 += (adler2 & 0xffff) + BASE - 1; in adler32_combine_()
178 if (sum1 >= BASE) sum1 -= BASE; in adler32_combine_()
179 if (sum1 >= BASE) sum1 -= BASE; in adler32_combine_()
182 return sum1 | (sum2 << 16); in adler32_combine_()
/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_colorconstancy.c117 double sum1, sum2; in set_gauss() local
132 sum1 = 0.0; in set_gauss()
138 sum1 += s->gauss[0][i]; in set_gauss()
141 s->gauss[0][i] /= sum1; in set_gauss()
147 sum1 = 0.0; in set_gauss()
150 sum1 += s->gauss[1][i] * GINDX(filtersize, i); in set_gauss()
154 s->gauss[1][i] /= sum1; in set_gauss()
160 sum1 = 0.0; in set_gauss()
164 sum1 += s->gauss[2][i]; in set_gauss()
169 s->gauss[2][i] -= sum1 / (filtersize); in set_gauss()
/third_party/ffmpeg/tests/
Dtiny_ssim.c99 static float ssim_end4( int sum0[5][4], int sum1[5][4], int width ) in ssim_end4()
105 ssim += ssim_end1( sum0[i][0] + sum0[i+1][0] + sum1[i][0] + sum1[i+1][0], in ssim_end4()
106 sum0[i][1] + sum0[i+1][1] + sum1[i][1] + sum1[i+1][1], in ssim_end4()
107 sum0[i][2] + sum0[i+1][2] + sum1[i][2] + sum1[i+1][2], in ssim_end4()
108 sum0[i][3] + sum0[i+1][3] + sum1[i][3] + sum1[i+1][3] ); in ssim_end4()
121 int (*sum1)[4] = sum0 + (width >> 2) + 3; in ssim_plane() local
128 FFSWAP( void*, sum0, sum1 ); in ssim_plane()
133 ssim += ssim_end4( sum0+x, sum1+x, FFMIN(4,width-x-1) ); in ssim_plane()
/third_party/libwebsockets/win32port/zlib/
Dadler32.c136 unsigned long sum1; local
142 sum1 = adler1 & 0xffff;
143 sum2 = rem * sum1;
145 sum1 += (adler2 & 0xffff) + BASE - 1;
147 if (sum1 >= BASE) sum1 -= BASE;
148 if (sum1 >= BASE) sum1 -= BASE;
151 return sum1 | (sum2 << 16);
/third_party/node/deps/v8/third_party/zlib/
Dadler32.c176 unsigned long sum1; local
187 sum1 = adler1 & 0xffff;
188 sum2 = rem * sum1;
190 sum1 += (adler2 & 0xffff) + BASE - 1;
192 if (sum1 >= BASE) sum1 -= BASE;
193 if (sum1 >= BASE) sum1 -= BASE;
196 return sum1 | (sum2 << 16);
/third_party/skia/third_party/externals/zlib/
Dadler32.c176 unsigned long sum1; local
187 sum1 = adler1 & 0xffff;
188 sum2 = rem * sum1;
190 sum1 += (adler2 & 0xffff) + BASE - 1;
192 if (sum1 >= BASE) sum1 -= BASE;
193 if (sum1 >= BASE) sum1 -= BASE;
196 return sum1 | (sum2 << 16);
/third_party/ffmpeg/libavcodec/
Dmpegaudiodsp_template.c37 float sum1=*sum; in round_sample() local
39 return sum1; in round_sample()
58 int sum1; in round_sample() local
59 sum1 = (int)((*sum) >> OUT_SHIFT); in round_sample()
61 return av_clip_int16(sum1); in round_sample()
94 #define SUM8P2(sum1, op1, sum2, op2, w1, w2, p) \ argument
98 op1(sum1, (w1)[0 * 64], tmp);\
101 op1(sum1, (w1)[1 * 64], tmp);\
104 op1(sum1, (w1)[2 * 64], tmp);\
107 op1(sum1, (w1)[3 * 64], tmp);\
[all …]
Dcelp_filters.c69 int sum = rounder, sum1; in ff_celp_lp_synthesis_filter() local
73 sum1 = ((sum >> 12) + in[n]) >> shift; in ff_celp_lp_synthesis_filter()
74 sum = av_clip_int16(sum1); in ff_celp_lp_synthesis_filter()
76 if (stop_on_overflow && sum != sum1) in ff_celp_lp_synthesis_filter()
/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/skia/third_party/externals/libwebp/src/dsp/
Dssim_sse2.c37 const __m128i sum1 = _mm_madd_epi16(C0, C0); in SubtractAndSquare_SSE2() local
39 *sum = _mm_add_epi32(sum1, sum2); in SubtractAndSquare_SSE2()
52 __m128i sum1; in AccumulateSSE_SSE2() local
62 SubtractAndSquare_SSE2(a0, b0, &sum1); in AccumulateSSE_SSE2()
63 sum = _mm_add_epi32(sum, sum1); in AccumulateSSE_SSE2()
70 SubtractAndSquare_SSE2(a0, b0, &sum1); in AccumulateSSE_SSE2()
71 sum = _mm_add_epi32(sum, sum1); in AccumulateSSE_SSE2()
/third_party/ffmpeg/libavcodec/mips/
Dmpegaudiodsp_mips_fixed.c72 int sum1 = 0; in ff_mpadsp_apply_window_mips_fixed() local
171 [sum1] "+r" (sum1), [w] "+r" (w), [temp3] "+r" (temp3) in ff_mpadsp_apply_window_mips_fixed()
294 [p_temp1] "+r" (p_temp1), [p_temp2] "+r" (p_temp2), [sum1] "+r" (sum1), in ff_mpadsp_apply_window_mips_fixed()
345 [w_asm2] "=&r" (w_asm2), [p_asm2] "=&r" (p_asm2), [sum1] "+r" (sum1) in ff_mpadsp_apply_window_mips_fixed()
Daacpsy_mips.h127 float sum1, sum2, sum3, sum4; in psy_hp_filter_mips() local
221 : [sum1]"=&f"(sum1), [sum2]"=&f"(sum2), in psy_hp_filter_mips()
/third_party/libsnd/src/ALAC/
Ddp_dec.c60 int32_t sum1, sg, sgn, top, dd ; in unpc_block() local
128 sum1 = (denhalf - ia0 * ib0 - ia1 * ib1 - ia2 * ib2 - ia3 * ib3) >> denshift ; in unpc_block()
133 del += top + sum1 ; in unpc_block()
221 sum1 = (denhalf - a0 * b0 - a1 * b1 - a2 * b2 - a3 * b3 in unpc_block()
227 del += top + sum1 ; in unpc_block()
342 sum1 = 0 ; in unpc_block() local
347 sum1 += coefs [k] * (pout [-k] - top) ; in unpc_block()
352 del += top + ((sum1 + denhalf) >> denshift) ; in unpc_block()
Ddp_enc.c81 int32_t sum1, dd ; in pc_block() local
135 sum1 = (denhalf - a0 * b0 - a1 * b1 - a2 * b2 - a3 * b3) >> denshift ; in pc_block()
137 del = in [j] - top - sum1 ; in pc_block()
227 sum1 = (denhalf - a0 * b0 - a1 * b1 - a2 * b2 - a3 * b3 in pc_block()
230 del = in [j] - top - sum1 ; in pc_block()
351 sum1 = 0 ; in pc_block()
353 sum1 -= coefs [k] * (top - pin [-k]) ; in pc_block()
355 del = in [j] - top - ((sum1 + denhalf) >> denshift) ; in pc_block()
/third_party/pulseaudio/src/modules/echo-cancel/
Dadrian-aec.h156 REAL sum0 = 0.0, sum1 = 0.0; in highpass() local
162 sum1 += a[j + 1] * z[j + 1]; in highpass()
164 return sum0 + sum1; in highpass()
187 REAL sum0 = 0.0, sum1 = 0.0; in FIR_HP_300Hz_highpass() local
209 sum1 += a[j + 1] * f->z[j + 1]; in FIR_HP_300Hz_highpass()
211 return sum0 + sum1; in FIR_HP_300Hz_highpass()
/third_party/ffmpeg/libavfilter/opencl/
Dconvolution.cl59 float4 sum1 = read_imagef(src, sampler, loc + (int2)(-1,-1)) * -1 +
73 float4 dstPix = hypot(sum1, sum2) * div + bias;
88 float4 sum1 = read_imagef(src, sampler, loc + (int2)(-1,-1)) * 1 +
102 float4 dstPix = hypot(sum1, sum2) * div + bias;
117 float4 sum1 = read_imagef(src, sampler, loc + (int2)(-1,-1)) * 1 +
125 float4 dstPix = hypot(sum1, sum2) * div + bias;
/third_party/pulseaudio/src/tests/
Dmult-s16-test.c56 int32_t sum1 = 0, sum2 = 0; in START_TEST() local
74 sum1 += pa_mult_s16_volume_32(samples[i], volumes[i]); in START_TEST()
83 fail_unless(sum1 == sum2); in START_TEST()
/third_party/openh264/codec/encoder/core/loongarch/
Dget_intra_predictor_lsx.c65 __m128i TopSum, LeftSum, sum, sum0, sum1, uiTmp, uiTmp0, uiTmp1; in WelsI16x16LumaPredPlane_lsx() local
135 DUP2_ARG2(__lsx_vadd_h, iLTshift_vec, iTopshift_vec1, sum1, sixteen, sum1, sum1); in WelsI16x16LumaPredPlane_lsx()
152 sum = __lsx_vadd_h(sum1, iLeftshift_vec0); in WelsI16x16LumaPredPlane_lsx()
/third_party/skia/src/core/
DSkMaskBlurFilter.cpp119 uint32_t sum1 = 0; in blur() local
126 sum1 += sum0; in blur()
127 sum2 += sum1; in blur()
132 *buffer2Cursor = sum1; in blur()
135 sum1 -= *buffer1Cursor; in blur()
148 sum1 += sum0; in blur()
149 sum2 += sum1; in blur()
154 *buffer2Cursor = sum1; in blur()
157 sum1 -= *buffer1Cursor; in blur()
171 sum0 = sum1 = sum2 = 0; in blur()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
Dmem_intrin.cpp50 int sum1; in memmove_test() local
61 sum1 = fletcher_checksum(overlap_buf, reduced_length); in memmove_test()
65 return sum1 + sum2; in memmove_test()

123