Home
last modified time | relevance | path

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

1234

/external/libvpx/libvpx/vp9/encoder/x86/
Dvp9_variance_avx2.c100 int avg; in vp9_variance16x16_avx2() local
103 &var, &avg, vp9_get16x16var_avx2, 16); in vp9_variance16x16_avx2()
105 return (var - (((unsigned int)avg * avg) >> 8)); in vp9_variance16x16_avx2()
128 int avg; in vp9_variance32x32_avx2() local
132 &var, &avg, vp9_get32x32var_avx2, 32); in vp9_variance32x32_avx2()
134 return (var - (((int64_t)avg * avg) >> 10)); in vp9_variance32x32_avx2()
143 int avg; in vp9_variance32x16_avx2() local
147 &var, &avg, vp9_get32x32var_avx2, 32); in vp9_variance32x16_avx2()
149 return (var - (((int64_t)avg * avg) >> 9)); in vp9_variance32x16_avx2()
159 int avg; in vp9_variance64x64_avx2() local
[all …]
Dvp9_subpel_variance.asm142 %if %2 == 1 ; avg
156 %if %2 == 1 ; avg
195 %if %2 == 1 ; avg
433 %if %2 == 1 ; avg
477 %if %2 == 1 ; avg
490 %if %2 == 1 ; avg
515 %if %2 == 1 ; avg
528 %if %2 == 1 ; avg
544 %else ; !avg
561 %if %2 == 1 ; avg
[all …]
/external/libvpx/libvpx/vp8/common/
Dvariance_c.c73 int avg; in vp8_variance16x16_c() local
76 variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 16, &var, &avg); in vp8_variance16x16_c()
78 return (var - (((unsigned int)avg * avg) >> 8)); in vp8_variance16x16_c()
89 int avg; in vp8_variance8x16_c() local
92 variance(src_ptr, source_stride, ref_ptr, recon_stride, 8, 16, &var, &avg); in vp8_variance8x16_c()
94 return (var - (((unsigned int)avg * avg) >> 7)); in vp8_variance8x16_c()
105 int avg; in vp8_variance16x8_c() local
108 variance(src_ptr, source_stride, ref_ptr, recon_stride, 16, 8, &var, &avg); in vp8_variance16x8_c()
110 return (var - (((unsigned int)avg * avg) >> 7)); in vp8_variance16x8_c()
122 int avg; in vp8_variance8x8_c() local
[all …]
/external/libvpx/libvpx/vp8/common/x86/
Dvariance_mmx.c89 int avg; in vp8_variance4x4_mmx() local
91 vp8_get4x4var_mmx(src_ptr, source_stride, ref_ptr, recon_stride, &var, &avg) ; in vp8_variance4x4_mmx()
93 return (var - (((unsigned int)avg * avg) >> 4)); in vp8_variance4x4_mmx()
105 int avg; in vp8_variance8x8_mmx() local
107 vp8_get8x8var_mmx(src_ptr, source_stride, ref_ptr, recon_stride, &var, &avg) ; in vp8_variance8x8_mmx()
110 return (var - (((unsigned int)avg * avg) >> 6)); in vp8_variance8x8_mmx()
144 int sum0, sum1, sum2, sum3, avg; in vp8_variance16x16_mmx() local
153 avg = sum0 + sum1 + sum2 + sum3; in vp8_variance16x16_mmx()
155 return (var - (((unsigned int)avg * avg) >> 8)); in vp8_variance16x16_mmx()
166 int sum0, sum1, avg; in vp8_variance16x8_mmx() local
[all …]
Dvariance_sse2.c146 int avg; in vp8_variance4x4_wmt() local
148 vp8_get4x4var_mmx(src_ptr, source_stride, ref_ptr, recon_stride, &var, &avg) ; in vp8_variance4x4_wmt()
150 return (var - (((unsigned int)avg * avg) >> 4)); in vp8_variance4x4_wmt()
163 int avg; in vp8_variance8x8_wmt() local
165 vp8_get8x8var_sse2(src_ptr, source_stride, ref_ptr, recon_stride, &var, &avg) ; in vp8_variance8x8_wmt()
167 return (var - (((unsigned int)avg * avg) >> 6)); in vp8_variance8x8_wmt()
214 int sum0, sum1, avg; in vp8_variance16x8_wmt() local
220 avg = sum0 + sum1; in vp8_variance16x8_wmt()
222 return (var - (((unsigned int)avg * avg) >> 7)); in vp8_variance16x8_wmt()
235 int sum0, sum1, avg; in vp8_variance8x16_wmt() local
[all …]
/external/linux-tools-perf/src/tools/perf/
Dbuiltin-stat.c574 static void print_noise_pct(double total, double avg) in print_noise_pct() argument
576 double pct = rel_stddev_stats(total, avg); in print_noise_pct()
584 static void print_noise(struct perf_evsel *evsel, double avg) in print_noise() argument
592 print_noise_pct(stddev_stats(&ps->res_stats[0]), avg); in print_noise()
628 static void nsec_printout(int cpu, int nr, struct perf_evsel *evsel, double avg) in nsec_printout() argument
630 double msecs = avg / 1e6; in nsec_printout()
645 avg / avg_stats(&walltime_nsecs_stats)); in nsec_printout()
679 __maybe_unused, double avg) in print_stalled_cycles_frontend() argument
687 ratio = avg / total * 100.0; in print_stalled_cycles_frontend()
698 __maybe_unused, double avg) in print_stalled_cycles_backend() argument
[all …]
/external/opencv/cvaux/src/
Dcveigenobjects.cpp214 void *userData, float *avg, int avgStep, in icvCalcCovarMatrixEx_8u32fR() argument
229 if( input == NULL || avg == NULL || covarMatrix == NULL ) in icvCalcCovarMatrixEx_8u32fR()
280 float *fu = avg; in icvCalcCovarMatrixEx_8u32fR()
310 float *fu = avg; in icvCalcCovarMatrixEx_8u32fR()
364 float *a = avg; in icvCalcCovarMatrixEx_8u32fR()
473 CvTermCriteria* calcLimit, float* avg, in icvCalcEigenObjects_8u32fR() argument
495 if( input == NULL || output == NULL || avg == NULL ) in icvCalcEigenObjects_8u32fR()
567 bf = avg; in icvCalcEigenObjects_8u32fR()
592 bf = avg; in icvCalcEigenObjects_8u32fR()
598 bf = avg; in icvCalcEigenObjects_8u32fR()
[all …]
/external/libvpx/libvpx/vp9/common/x86/
Dvp9_asm_stubs.c26 #define FUN_CONV_1D(name, step_q4, filter, dir, src_start, avg, opt) \ argument
35 vp9_filter_block1d16_##dir##8_##avg##opt(src_start, \
46 vp9_filter_block1d8_##dir##8_##avg##opt(src_start, \
57 vp9_filter_block1d4_##dir##8_##avg##opt(src_start, \
69 vp9_filter_block1d16_##dir##2_##avg##opt(src, \
80 vp9_filter_block1d8_##dir##2_##avg##opt(src, \
91 vp9_filter_block1d4_##dir##2_##avg##opt(src, \
110 #define FUN_CONV_2D(avg, opt) \ argument
111 void vp9_convolve8_##avg##opt(const uint8_t *src, ptrdiff_t src_stride, \
125 vp9_convolve8_##avg##vert_##opt(fdata2 + 3 * 64, 64, dst, dst_stride, \
[all …]
Dvp9_copy_sse2.asm36 %ifidn %1, avg
59 %ifidn %1, avg
84 %ifidn %1, avg
110 %ifidn %1, avg
135 %ifidn %1, avg
156 convolve_fn avg
/external/libvpx/libvpx/vp9/encoder/
Dvp9_denoiser.c79 uint8_t *avg, int avg_stride, in denoiser_filter() argument
85 uint8_t *avg_start = avg; in denoiser_filter()
97 avg[c] = mc_avg[c]; in denoiser_filter()
112 avg[c] = MIN(UINT8_MAX, sig[c] + adj); in denoiser_filter()
115 avg[c] = MAX(0, sig[c] - adj); in denoiser_filter()
121 avg += avg_stride; in denoiser_filter()
138 avg = avg_start; in denoiser_filter()
148 avg[c] = MAX(0, avg[c] - adj); in denoiser_filter()
151 avg[c] = MIN(UINT8_MAX, avg[c] + adj); in denoiser_filter()
156 avg += avg_stride; in denoiser_filter()
[all …]
Dvp9_aq_variance.c127 int avg; in block_variance() local
129 vp9_64_zeros, 0, bw, bh, &sse, &avg); in block_variance()
130 var = sse - (((int64_t)avg * avg) / (bw * bh)); in block_variance()
/external/linux-tools-perf/src/tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/
DUtil.py19 def avg(total, n): function
39 min, max, avg, count = dict[key]
44 avg = (avg + value) / 2
45 dict[key] = (min, max, avg, count + 1)
/external/opencv/cxcore/src/
Dcxmatrix.cpp1592 CvMat astub, *avg = (CvMat*)avg_arr; in cvCalcPCA() local
1601 if( !CV_IS_MAT(avg) ) in cvCalcPCA()
1602 CV_CALL( avg = cvGetMat( avg, &astub )); in cvCalcPCA()
1610 if( CV_MAT_CN(data->type) != 1 || CV_MAT_CN(avg->type) != 1 || in cvCalcPCA()
1614 if( CV_MAT_DEPTH(avg->type) < CV_32F || !CV_ARE_DEPTHS_EQ(avg, evals) || in cvCalcPCA()
1615 !CV_ARE_DEPTHS_EQ(avg, evects) ) in cvCalcPCA()
1624 if( avg->cols != 1 || avg->rows != len ) in cvCalcPCA()
1636 if( avg->rows != 1 || avg->cols != len ) in cvCalcPCA()
1663 CV_CALL( cvConvert( avg, tmp_avg ) ); in cvCalcPCA()
1737 cvConvert( tmp_avg, avg ); in cvCalcPCA()
[all …]
/external/opencv/ml/src/
Dmlnbayes.cpp51 avg = 0; in CvNormalBayesClassifier()
68 cvReleaseMat( &avg[cls] ); in clear()
97 avg = 0; in CvNormalBayesClassifier()
153 avg = productsum + nclasses; in train()
154 inv_eigen_values= avg + nclasses; in train()
164 CV_CALL(avg[cls] = cvCreateMat( 1, var_count, CV_64FC1 )); in train()
170 CV_CALL(cvZero( avg[cls] )); in train()
221 double* avg_data = avg[cls]->data.db; in train()
233 avg_data = avg[cls]->data.db; in train()
238 double* avg2_data = avg[cls]->data.db; in train()
[all …]
/external/iptables/extensions/
Dlibxt_hashlimit.c333 if (!parse_rate(cb->arg, &info->cfg.avg, cb->udata)) in hashlimit_parse()
357 if (parse_bytes(cb->arg, &info->cfg.avg, cb->udata)) in hashlimit_mt_parse()
359 else if (!parse_rate(cb->arg, &info->cfg.avg, cb->udata)) in hashlimit_mt_parse()
366 if (parse_bytes(cb->arg, &info->cfg.avg, cb->udata)) in hashlimit_mt_parse()
368 else if (!parse_rate(cb->arg, &info->cfg.avg, cb->udata)) in hashlimit_mt_parse()
412 if (info->cfg.burst < cost_to_bytes(info->cfg.avg)) in hashlimit_mt_check()
414 "burst cannot be smaller than %ub", cost_to_bytes(info->cfg.avg)); in hashlimit_mt_check()
417 burst /= cost_to_bytes(info->cfg.avg); in hashlimit_mt_check()
418 if (info->cfg.burst % cost_to_bytes(info->cfg.avg)) in hashlimit_mt_check()
465 static uint32_t print_bytes(uint32_t avg, uint32_t burst, const char *prefix) in print_bytes() argument
[all …]
Dlibxt_limit.c84 parse_rate(XT_LIMIT_AVG, &r->avg); in limit_init()
102 if (!parse_rate(cb->arg, &r->avg)) in limit_parse()
142 printf(" limit: avg"); print_rate(r->avg); in limit_print()
150 printf(" --limit"); print_rate(r->avg); in limit_save()
/external/v8/tools/testrunner/local/
Dperfdata.py36 self.avg = 0.0
45 self.avg = self.avg * effective_count + result
47 self.avg /= self.count
74 return self.database[key].avg
/external/linux-tools-perf/src/tools/perf/util/
Dstat.c55 double rel_stddev_stats(double stddev, double avg) in rel_stddev_stats() argument
59 if (avg) in rel_stddev_stats()
60 pct = 100.0 * stddev/avg; in rel_stddev_stats()
/external/lldb/test/benchmarks/disassembly/
DTestXcode41Vs42GDBDisassembly.py31 self.gdb_41_avg = self.stopwatch.avg()
34 self.gdb_42_avg = self.stopwatch.avg()
43 self.gdb_42_avg = self.stopwatch.avg()
46 self.gdb_41_avg = self.stopwatch.avg()
/external/libopus/silk/
Ddebug.c89 double avg, sum_avg; in silk_TimerSave() local
120 avg = (1e6 * silk_Timer_sum[k] / silk_Timer_cnt[k] - del) / lpFrequency.QuadPart; in silk_TimerSave()
122 fprintf(fp, "%12.2f %6.2f", avg, 100.0 * avg / sum_avg * silk_Timer_cnt[k]); in silk_TimerSave()
/external/llvm/test/YAMLParser/
Dspec-02-06.data3 Mark McGwire: {hr: 65, avg: 0.278}
6 avg: 0.288
Dspec-02-04.data6 avg: 0.278
10 avg: 0.288
/external/fio/tools/plot/
Dfio2gnuplot107 avg = average(disk_perf[pos])
108 …pm_dir,title,tmp_filename,fio_data_file[pos],raw_filename,mode,smooth_filename,trend_filename,avg))
252 avg = average(disk_perf[disk])
253 variance = map(lambda x: (x - avg)**2, disk_perf[disk])
256 average_file.write('%d %d\n' % (disk, avg))
266 avg = average(global_disk_perf)
267 variance = map(lambda x: (x - avg)**2, global_disk_perf)
272 global_file.write('avg=%.2f\n' % avg)
288 …ipt("Average values of "+title,gnuplot_output_filename+'.average',mode,int(avg),gnuplot_output_dir…
/external/fio/
Dgettime.c261 uint64_t minc, maxc, avg, cycles[NR_TIME_ITERS]; in calibrate_cpu_clock() local
285 maxc = samples = avg = 0; in calibrate_cpu_clock()
295 avg += this; in calibrate_cpu_clock()
305 avg /= samples; in calibrate_cpu_clock()
306 avg = (avg + 5) / 10; in calibrate_cpu_clock()
309 dprint(FD_TIME, "avg: %llu\n", (unsigned long long) avg); in calibrate_cpu_clock()
314 cycles_per_usec = avg; in calibrate_cpu_clock()
/external/e2fsprogs/misc/
De2freefrag.c67 info->max = info->avg = 0; in init_chunk_info()
91 info->avg += chunk_size; in update_chunk_stats()
177 info->avg = info->avg / info->real_free_chunks * scale; in get_chunk_info()
183 "Avg. free extent: %lu KB\n", info->min, info->max, info->avg); in get_chunk_info()

1234