Home
last modified time | relevance | path

Searched refs:avg (Results 1 – 25 of 207) sorted by relevance

123456789

/external/libvpx/libvpx/vpx_dsp/x86/
Dconvolve.h23 #define FUN_CONV_1D(name, offset, step_q4, dir, src_start, avg, opt) \ argument
37 vpx_filter_block1d16_##dir##8_##avg##opt(src_start, src_stride, dst, \
44 vpx_filter_block1d8_##dir##8_##avg##opt(src_start, src_stride, dst, \
47 vpx_filter_block1d4_##dir##8_##avg##opt(src_start, src_stride, dst, \
52 vpx_filter_block1d16_##dir##4_##avg##opt(src_start, src_stride, dst, \
59 vpx_filter_block1d8_##dir##4_##avg##opt(src_start, src_stride, dst, \
62 vpx_filter_block1d4_##dir##4_##avg##opt(src_start, src_stride, dst, \
67 vpx_filter_block1d16_##dir##2_##avg##opt(src, src_stride, dst, \
74 vpx_filter_block1d8_##dir##2_##avg##opt(src, src_stride, dst, \
77 vpx_filter_block1d4_##dir##2_##avg##opt(src, src_stride, dst, \
[all …]
Dhighbd_subpel_variance_impl_sse2.asm95 %if %2 == 1 ; avg
110 %if %2 == 1 ; avg
142 %if %2 == 1 ; avg
167 %if %2 == 1 ; avg
185 %if %2 == 1 ; avg
193 %if %2 == 1 ; avg
201 %if %2 == 1 ; avg
210 %if %2 == 1 ; avg
233 %if %2 == 1 ; avg
241 %if %2 == 1 ; avg
[all …]
Davg_pred_sse2.c29 const __m128i avg = _mm_avg_epu8(p, r); in vpx_comp_avg_pred_sse2() local
30 _mm_store_si128((__m128i *)(comp_pred + x), avg); in vpx_comp_avg_pred_sse2()
44 __m128i avg; in vpx_comp_avg_pred_sse2() local
62 avg = _mm_avg_epu8(p, r); in vpx_comp_avg_pred_sse2()
63 _mm_store_si128((__m128i *)comp_pred, avg); in vpx_comp_avg_pred_sse2()
Dvpx_convolve_copy_sse2.asm16 %ifidn %1, avg
57 %ifidn %1, avg
72 %ifidn %1, avg
96 %ifidn %1, avg
119 %ifidn %1, avg
144 %ifidn %1, avg
169 %ifidn %1, avg
199 %ifidn %1, avg
222 convolve_fn avg
225 convolve_fn avg, highbd
/external/libaom/libaom/aom_dsp/x86/
Dconvolve.h25 #define FUN_CONV_1D(name, step_q4, filter, dir, src_start, avg, opt) \ argument
39 aom_filter_block1d16_##dir##4_##avg##opt(src_start, src_stride, dst, \
46 aom_filter_block1d8_##dir##4_##avg##opt(src_start, src_stride, dst, \
53 aom_filter_block1d4_##dir##4_##avg##opt(src_start, src_stride, dst, \
61 aom_filter_block1d16_##dir##8_##avg##opt(src_start, src_stride, dst, \
68 aom_filter_block1d8_##dir##8_##avg##opt(src_start, src_stride, dst, \
75 aom_filter_block1d4_##dir##8_##avg##opt(src_start, src_stride, dst, \
83 aom_filter_block1d16_##dir##2_##avg##opt(src, src_stride, dst, \
90 aom_filter_block1d8_##dir##2_##avg##opt(src, src_stride, dst, \
97 aom_filter_block1d4_##dir##2_##avg##opt(src, src_stride, dst, \
[all …]
Dhighbd_subpel_variance_impl_sse2.asm98 %if %2 == 1 ; avg
113 %if %2 == 1 ; avg
145 %if %2 == 1 ; avg
170 %if %2 == 1 ; avg
188 %if %2 == 1 ; avg
196 %if %2 == 1 ; avg
204 %if %2 == 1 ; avg
213 %if %2 == 1 ; avg
236 %if %2 == 1 ; avg
244 %if %2 == 1 ; avg
[all …]
Daom_convolve_copy_sse2.asm19 %ifidn %1, avg
66 %ifidn %1, avg
80 %ifidn %1, avg
94 %ifidn %1, avg
109 %ifidn %1, avg
132 %ifidn %1, avg
147 %ifidn %1, avg
170 %ifidn %1, avg
193 %ifidn %1, avg
218 %ifidn %1, avg
[all …]
/external/ltp/include/
Dtst_fuzzy_sync.h78 float avg; member
234 s->avg = 0; in tst_init_stat()
290 name, unit, stat.avg, stat.avg_dev, stat.dev_ratio); in tst_fzsync_stat_info()
344 s->avg = tst_exp_moving_avg(alpha, sample, s->avg); in tst_upd_stat()
346 fabs(s->avg - sample), s->avg_dev); in tst_upd_stat()
347 s->dev_ratio = fabs(s->avg ? s->avg_dev / s->avg : 0); in tst_upd_stat()
480 } else if (fabsf(pair->diff_ab.avg) >= 1 && pair->spins_avg.avg >= 1) { in tst_fzsync_pair_update()
481 per_spin_time = fabsf(pair->diff_ab.avg) / pair->spins_avg.avg; in tst_fzsync_pair_update()
482 time_delay = drand48() * (pair->diff_sa.avg + pair->diff_sb.avg) in tst_fzsync_pair_update()
483 - pair->diff_sb.avg; in tst_fzsync_pair_update()
[all …]
/external/libvpx/libvpx/vpx_dsp/mips/
Dsub_pixel_variance_msa.c49 v8i16 avg = { 0 }; in avg_sse_diff_4width_msa() local
64 CALC_MSE_AVG_B(src, ref, var, avg); in avg_sse_diff_4width_msa()
67 vec = __msa_hadd_s_w(avg, avg); in avg_sse_diff_4width_msa()
83 v8i16 avg = { 0 }; in avg_sse_diff_8width_msa() local
97 CALC_MSE_AVG_B(src0, ref0, var, avg); in avg_sse_diff_8width_msa()
98 CALC_MSE_AVG_B(src1, ref1, var, avg); in avg_sse_diff_8width_msa()
101 vec = __msa_hadd_s_w(avg, avg); in avg_sse_diff_8width_msa()
115 v8i16 avg = { 0 }; in avg_sse_diff_16width_msa() local
126 CALC_MSE_AVG_B(src, ref, var, avg); in avg_sse_diff_16width_msa()
135 CALC_MSE_AVG_B(src, ref, var, avg); in avg_sse_diff_16width_msa()
[all …]
Dvariance_msa.c49 v8i16 avg = { 0 }; in sse_diff_4width_msa() local
60 CALC_MSE_AVG_B(src, ref, var, avg); in sse_diff_4width_msa()
63 vec = __msa_hadd_s_w(avg, avg); in sse_diff_4width_msa()
75 v8i16 avg = { 0 }; in sse_diff_8width_msa() local
86 CALC_MSE_AVG_B(src0, ref0, var, avg); in sse_diff_8width_msa()
87 CALC_MSE_AVG_B(src1, ref1, var, avg); in sse_diff_8width_msa()
90 vec = __msa_hadd_s_w(avg, avg); in sse_diff_8width_msa()
101 v8i16 avg = { 0 }; in sse_diff_16width_msa() local
109 CALC_MSE_AVG_B(src, ref, var, avg); in sse_diff_16width_msa()
115 CALC_MSE_AVG_B(src, ref, var, avg); in sse_diff_16width_msa()
[all …]
/external/libaom/libaom/aom_dsp/mips/
Dsub_pixel_variance_msa.c47 v8i16 avg = { 0 }; in avg_sse_diff_4width_msa() local
62 CALC_MSE_AVG_B(src, ref, var, avg); in avg_sse_diff_4width_msa()
65 vec = __msa_hadd_s_w(avg, avg); in avg_sse_diff_4width_msa()
81 v8i16 avg = { 0 }; in avg_sse_diff_8width_msa() local
95 CALC_MSE_AVG_B(src0, ref0, var, avg); in avg_sse_diff_8width_msa()
96 CALC_MSE_AVG_B(src1, ref1, var, avg); in avg_sse_diff_8width_msa()
99 vec = __msa_hadd_s_w(avg, avg); in avg_sse_diff_8width_msa()
113 v8i16 avg = { 0 }; in avg_sse_diff_16width_msa() local
124 CALC_MSE_AVG_B(src, ref, var, avg); in avg_sse_diff_16width_msa()
133 CALC_MSE_AVG_B(src, ref, var, avg); in avg_sse_diff_16width_msa()
[all …]
Dvariance_msa.c51 v8i16 avg = { 0 }; in sse_diff_4width_msa() local
62 CALC_MSE_AVG_B(src, ref, var, avg); in sse_diff_4width_msa()
65 vec = __msa_hadd_s_w(avg, avg); in sse_diff_4width_msa()
77 v8i16 avg = { 0 }; in sse_diff_8width_msa() local
88 CALC_MSE_AVG_B(src0, ref0, var, avg); in sse_diff_8width_msa()
89 CALC_MSE_AVG_B(src1, ref1, var, avg); in sse_diff_8width_msa()
92 vec = __msa_hadd_s_w(avg, avg); in sse_diff_8width_msa()
103 v8i16 avg = { 0 }; in sse_diff_16width_msa() local
111 CALC_MSE_AVG_B(src, ref, var, avg); in sse_diff_16width_msa()
117 CALC_MSE_AVG_B(src, ref, var, avg); in sse_diff_16width_msa()
[all …]
/external/libpng/intel/
Dfilter_sse2_intrinsics.c144 __m128i avg; in png_read_filter_row_avg3_sse2() local
149 avg = _mm_avg_epu8(a,b); in png_read_filter_row_avg3_sse2()
151 avg = _mm_sub_epi8(avg, _mm_and_si128(_mm_xor_si128(a,b), in png_read_filter_row_avg3_sse2()
153 d = _mm_add_epi8(d, avg); in png_read_filter_row_avg3_sse2()
161 __m128i avg; in png_read_filter_row_avg3_sse2() local
166 avg = _mm_avg_epu8(a,b); in png_read_filter_row_avg3_sse2()
168 avg = _mm_sub_epi8(avg, _mm_and_si128(_mm_xor_si128(a,b), in png_read_filter_row_avg3_sse2()
171 d = _mm_add_epi8(d, avg); in png_read_filter_row_avg3_sse2()
197 __m128i avg; in png_read_filter_row_avg4_sse2() local
202 avg = _mm_avg_epu8(a,b); in png_read_filter_row_avg4_sse2()
[all …]
/external/pdfium/third_party/libpng16/contrib/intel/
Dfilter_sse2_intrinsics.c134 __m128i avg = _mm_avg_epu8(a,b); in png_read_filter_row_avg3_sse2() local
136 avg = _mm_sub_epi8(avg, _mm_and_si128(_mm_xor_si128(a,b), in png_read_filter_row_avg3_sse2()
138 d = _mm_add_epi8(d, avg); in png_read_filter_row_avg3_sse2()
150 __m128i avg = _mm_avg_epu8(a,b); in png_read_filter_row_avg3_sse2() local
152 avg = _mm_sub_epi8(avg, _mm_and_si128(_mm_xor_si128(a,b), in png_read_filter_row_avg3_sse2()
155 d = _mm_add_epi8(d, avg); in png_read_filter_row_avg3_sse2()
183 __m128i avg = _mm_avg_epu8(a,b); in png_read_filter_row_avg4_sse2() local
185 avg = _mm_sub_epi8(avg, _mm_and_si128(_mm_xor_si128(a,b), in png_read_filter_row_avg4_sse2()
188 d = _mm_add_epi8(d, avg); in png_read_filter_row_avg4_sse2()
/external/libpng/contrib/intel/
Dfilter_sse2_intrinsics.c134 __m128i avg = _mm_avg_epu8(a,b); in png_read_filter_row_avg3_sse2() local
136 avg = _mm_sub_epi8(avg, _mm_and_si128(_mm_xor_si128(a,b), in png_read_filter_row_avg3_sse2()
138 d = _mm_add_epi8(d, avg); in png_read_filter_row_avg3_sse2()
150 __m128i avg = _mm_avg_epu8(a,b); in png_read_filter_row_avg3_sse2() local
152 avg = _mm_sub_epi8(avg, _mm_and_si128(_mm_xor_si128(a,b), in png_read_filter_row_avg3_sse2()
155 d = _mm_add_epi8(d, avg); in png_read_filter_row_avg3_sse2()
183 __m128i avg = _mm_avg_epu8(a,b); in png_read_filter_row_avg4_sse2() local
185 avg = _mm_sub_epi8(avg, _mm_and_si128(_mm_xor_si128(a,b), in png_read_filter_row_avg4_sse2()
188 d = _mm_add_epi8(d, avg); in png_read_filter_row_avg4_sse2()
/external/iptables/extensions/
Dlibxt_hashlimit.c192 to->avg = cfg->avg; in cfg_copy()
438 if (!parse_rate(cb->arg, &info->cfg.avg, cb->udata, 1)) in hashlimit_parse()
462 if (parse_bytes(cb->arg, &info->cfg.avg, cb->udata, 1)) in hashlimit_mt_parse_v1()
464 else if (!parse_rate(cb->arg, &info->cfg.avg, cb->udata, 1)) in hashlimit_mt_parse_v1()
471 if (parse_bytes(cb->arg, &info->cfg.avg, cb->udata, 1)) in hashlimit_mt_parse_v1()
473 else if (!parse_rate(cb->arg, &info->cfg.avg, cb->udata, 1)) in hashlimit_mt_parse_v1()
503 if (parse_bytes(cb->arg, &info->cfg.avg, cb->udata, 2)) in hashlimit_mt_parse()
505 else if (!parse_rate(cb->arg, &info->cfg.avg, cb->udata, 2)) in hashlimit_mt_parse()
512 if (parse_bytes(cb->arg, &info->cfg.avg, cb->udata, 2)) in hashlimit_mt_parse()
514 else if (!parse_rate(cb->arg, &info->cfg.avg, cb->udata, 2)) in hashlimit_mt_parse()
[all …]
/external/ltp/testcases/realtime/func/measurement/
Dpreempt_timing.c84 unsigned long long i, j, delta, min, max, avg; in main() local
94 max = avg = 0; in main()
144 avg += delta; in main()
148 avg /= (ITERATIONS * INTERVALS); in main()
155 printf("Average: %llu \n", avg); in main()
Drdtsc-latency.c103 unsigned long long max, min, avg, tsc_a, tsc_b, tsc_period; in main() local
144 max = min = avg = 0; in main()
153 avg += deltas[i]; in main()
155 avg /= ITERATIONS; in main()
163 printf(" Avg: %llu ns\n", avg); in main()
/external/grpc-grpc/test/core/profiling/
Dmark_timings.stp25 "min(ns)", "avg(ns)", "max(ns)");
28 @min(times[tag, tid]), @avg(times[tag, tid]), @max(times[tag, tid]));
33 times_per_tag[tag] <<< @avg(times[tag, tid]);
35 printf("%15s %10s %10s\n", "tag", "count", "avg(ns)");
38 @avg(times_per_tag[tag]));
/external/libaom/libaom/av1/encoder/
Dpickrst.h41 uint64_t avg = sum / ((v_end - v_start) * (h_end - h_start)); in find_average() local
42 return (uint8_t)avg; in find_average()
54 uint64_t avg = sum / ((v_end - v_start) * (h_end - h_start)); in find_average_highbd() local
55 return (uint16_t)avg; in find_average_highbd()
/external/webp/src/dsp/
Dlossless_neon.c163 const uint8x8_t avg = Average2_u8_NEON(c0, c1); in ClampedAddSubtractHalf_NEON() local
166 const uint8x8_t cmp = vcgt_u8(C2, avg); in ClampedAddSubtractHalf_NEON()
169 const int8x8_t diff_avg = vreinterpret_s8_u8(vhsub_u8(avg, C2_1)); in ClampedAddSubtractHalf_NEON()
171 const int16x8_t avg_16 = vreinterpretq_s16_u16(vmovl_u8(avg)); in ClampedAddSubtractHalf_NEON()
179 const uint32_t avg = GET_U8_AS_U32(avg_u8x8); in Average2_NEON() local
180 return avg; in Average2_NEON()
187 const uint32_t avg = GET_U8_AS_U32(vhadd_u8(avg0, A1)); in Average3_NEON() local
188 return avg; in Average3_NEON()
268 const uint8x16_t avg = vhaddq_u8(avgLTR, T); \
269 const uint8x16_t res = vaddq_u8(avg, src); \
[all …]
/external/libvpx/libvpx/test/
Dcomp_avg_pred_test.cc31 int width, int height, Buffer<uint8_t> *avg) { in reference_pred() argument
32 ASSERT_TRUE(avg->TopLeftPixel() != NULL); in reference_pred()
38 avg->TopLeftPixel()[y * avg->stride() + x] = in reference_pred()
146 Buffer<uint8_t> avg = Buffer<uint8_t>(width, height, 0, 16); in TEST_P() local
147 ASSERT_TRUE(avg.Init()); in TEST_P()
155 avg_pred_func_(avg.TopLeftPixel(), pred.TopLeftPixel(), width, height, in TEST_P()
/external/kernel-headers/original/uapi/linux/netfilter/
Dxt_hashlimit.h34 __u32 avg; /* Average secs between packets * scale */ member
58 __u32 avg; /* Average secs between packets * scale */ member
71 __u64 avg; /* Average secs between packets * scale */ member
85 __u64 avg; /* Average secs between packets * scale */ member
/external/libvpx/libvpx/vp9/encoder/
Dvp9_denoiser.c70 uint8_t *avg, int avg_stride, int increase_denoising, in vp9_denoiser_filter_c() argument
75 uint8_t *avg_start = avg; in vp9_denoiser_filter_c()
100 avg[c] = mc_avg[c]; in vp9_denoiser_filter_c()
119 avg[c] = VPXMIN(UINT8_MAX, sig[c] + adj); in vp9_denoiser_filter_c()
122 avg[c] = VPXMAX(0, sig[c] - adj); in vp9_denoiser_filter_c()
128 avg += avg_stride; in vp9_denoiser_filter_c()
147 avg = avg_start; in vp9_denoiser_filter_c()
160 avg[c] = VPXMAX(0, avg[c] - adj); in vp9_denoiser_filter_c()
166 avg[c] = VPXMIN(UINT8_MAX, avg[c] + adj); in vp9_denoiser_filter_c()
171 avg += avg_stride; in vp9_denoiser_filter_c()
[all …]
Dvp9_aq_variance.c154 int avg; in block_variance() local
159 &sse, &avg); in block_variance()
161 avg >>= (xd->bd - 8); in block_variance()
164 bw, bh, &sse, &avg); in block_variance()
168 bw, bh, &sse, &avg); in block_variance()
170 var = sse - (unsigned int)(((int64_t)avg * avg) / (bw * bh)); in block_variance()

123456789