Home
last modified time | relevance | path

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

123456

/external/libvpx/libvpx/vpx_dsp/x86/
Dconvolve.h28 #define FUN_CONV_1D(name, step_q4, filter, dir, src_start, avg, opt) \ argument
38 vpx_filter_block1d16_##dir##8_##avg##opt(src_start, \
49 vpx_filter_block1d8_##dir##8_##avg##opt(src_start, \
60 vpx_filter_block1d4_##dir##8_##avg##opt(src_start, \
72 vpx_filter_block1d16_##dir##2_##avg##opt(src, \
83 vpx_filter_block1d8_##dir##2_##avg##opt(src, \
94 vpx_filter_block1d4_##dir##2_##avg##opt(src, \
107 #define FUN_CONV_2D(avg, opt) \ argument
108 void vpx_convolve8_##avg##opt(const uint8_t *src, ptrdiff_t src_stride, \
125 vpx_convolve8_##avg##vert_##opt(fdata2 + 3 * 64, 64, dst, dst_stride, \
[all …]
Dvariance_mmx.c54 int avg; in vpx_variance4x4_mmx() local
56 vpx_get4x4var_mmx(a, a_stride, b, b_stride, &var, &avg); in vpx_variance4x4_mmx()
58 return (var - (((unsigned int)avg * avg) >> 4)); in vpx_variance4x4_mmx()
65 int avg; in vpx_variance8x8_mmx() local
67 vpx_get8x8var_mmx(a, a_stride, b, b_stride, &var, &avg); in vpx_variance8x8_mmx()
70 return (var - (((unsigned int)avg * avg) >> 6)); in vpx_variance8x8_mmx()
95 int sum0, sum1, sum2, sum3, avg; in vpx_variance16x16_mmx() local
105 avg = sum0 + sum1 + sum2 + sum3; in vpx_variance16x16_mmx()
107 return (var - (((unsigned int)avg * avg) >> 8)); in vpx_variance16x16_mmx()
114 int sum0, sum1, avg; in vpx_variance16x8_mmx() local
[all …]
Dhighbd_subpel_variance_impl_sse2.asm102 %if %2 == 1 ; avg
116 %if %2 == 1 ; avg
155 %if %2 == 1 ; avg
186 %if %2 == 1 ; avg
204 %if %2 == 1 ; avg
212 %if %2 == 1 ; avg
220 %if %2 == 1 ; avg
229 %if %2 == 1 ; avg
252 %if %2 == 1 ; avg
260 %if %2 == 1 ; avg
[all …]
Dvpx_convolve_copy_sse2.asm53 %ifidn %1, avg
68 %ifidn %1, avg
92 %ifidn %1, avg
115 %ifidn %1, avg
140 %ifidn %1, avg
166 %ifidn %1, avg
192 %ifidn %1, avg
214 convolve_fn avg
217 convolve_fn avg, highbd
Dsubpel_variance_sse2.asm118 %if %2 == 1 ; avg
132 %if %2 == 1 ; avg
171 %if %2 == 1 ; avg
409 %if %2 == 1 ; avg
453 %if %2 == 1 ; avg
466 %if %2 == 1 ; avg
491 %if %2 == 1 ; avg
504 %if %2 == 1 ; avg
520 %else ; !avg
537 %if %2 == 1 ; avg
[all …]
/external/libvpx/libvpx/vpx_dsp/mips/
Dsub_pixel_variance_msa.c56 v8i16 avg = { 0 }; in avg_sse_diff_4width_msa() local
71 CALC_MSE_AVG_B(src, ref, var, avg); in avg_sse_diff_4width_msa()
74 vec = __msa_hadd_s_w(avg, avg); in avg_sse_diff_4width_msa()
91 v8i16 avg = { 0 }; in avg_sse_diff_8width_msa() local
105 CALC_MSE_AVG_B(src0, ref0, var, avg); in avg_sse_diff_8width_msa()
106 CALC_MSE_AVG_B(src1, ref1, var, avg); in avg_sse_diff_8width_msa()
109 vec = __msa_hadd_s_w(avg, avg); in avg_sse_diff_8width_msa()
124 v8i16 avg = { 0 }; in avg_sse_diff_16width_msa() local
135 CALC_MSE_AVG_B(src, ref, var, avg); in avg_sse_diff_16width_msa()
144 CALC_MSE_AVG_B(src, ref, var, avg); in avg_sse_diff_16width_msa()
[all …]
Dvariance_msa.c48 v8i16 avg = { 0 }; in sse_diff_4width_msa() local
59 CALC_MSE_AVG_B(src, ref, var, avg); in sse_diff_4width_msa()
62 vec = __msa_hadd_s_w(avg, avg); in sse_diff_4width_msa()
74 v8i16 avg = { 0 }; in sse_diff_8width_msa() local
85 CALC_MSE_AVG_B(src0, ref0, var, avg); in sse_diff_8width_msa()
86 CALC_MSE_AVG_B(src1, ref1, var, avg); in sse_diff_8width_msa()
89 vec = __msa_hadd_s_w(avg, avg); in sse_diff_8width_msa()
100 v8i16 avg = { 0 }; in sse_diff_16width_msa() local
108 CALC_MSE_AVG_B(src, ref, var, avg); in sse_diff_16width_msa()
114 CALC_MSE_AVG_B(src, ref, var, avg); in sse_diff_16width_msa()
[all …]
/external/chromium-trace/catapult/telemetry/telemetry/util/
Dperf_tests_results_helper.py74 avg = None
79 avg = sum([float(v) for v in values]) / len(values)
80 sqdiffs = [(float(v) - avg) ** 2 for v in values]
87 return value, avg, sd
133 value, avg, sd = _MeanAndStdDevFromList(flattened_values)
156 avg, sd = GeomMeanAndStdDevFromHistogram(value)
158 if avg:
159 output += '\nAvg %s: %f%s' % (measurement, avg, units)
/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/opencv3/modules/ml/src/
Dnbayes.cpp76 avg.resize(nclasses); in train()
85 avg[cls] = Mat::zeros( 1, nvars, CV_64FC1 ); in train()
138 double* avg_data = avg[cls].ptr<double>(); in train()
150 avg_data = avg[cls].ptr<double>(); in train()
155 double* avg2_data = avg[cls].ptr<double>(); in train()
199 avg = &_avg; in NBPredictBody()
211 const vector<Mat>* avg; member in cv::ml::NormalBayesClassifierImpl::NBPredictBody
227 int nvars = avg->at(0).cols; in operator ()()
258 const double* avg_data = avg->at(i).ptr<double>(); in operator ()()
335 NBPredictBody(c, cov_rotate_mats, inv_eigen_values, avg, samples, in predictProb()
[all …]
/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/libpng/contrib/intel/
Dfilter_sse2_intrinsics.c102 __m128i avg = _mm_avg_epu8(a,b); in png_read_filter_row_avg3_sse2() local
104 avg = _mm_sub_epi8(avg, _mm_and_si128(_mm_xor_si128(a,b), in png_read_filter_row_avg3_sse2()
107 d = _mm_add_epi8(d, avg); in png_read_filter_row_avg3_sse2()
133 __m128i avg = _mm_avg_epu8(a,b); in png_read_filter_row_avg4_sse2() local
135 avg = _mm_sub_epi8(avg, _mm_and_si128(_mm_xor_si128(a,b), in png_read_filter_row_avg4_sse2()
138 d = _mm_add_epi8(d, avg); in png_read_filter_row_avg4_sse2()
/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/libvpx/libvpx/vp9/encoder/
Dvp9_denoiser.c75 uint8_t *avg, int avg_stride, in vp9_denoiser_filter_c() argument
82 uint8_t *avg_start = avg; in vp9_denoiser_filter_c()
107 avg[c] = mc_avg[c]; in vp9_denoiser_filter_c()
122 avg[c] = VPXMIN(UINT8_MAX, sig[c] + adj); in vp9_denoiser_filter_c()
125 avg[c] = VPXMAX(0, sig[c] - adj); in vp9_denoiser_filter_c()
131 avg += avg_stride; in vp9_denoiser_filter_c()
149 avg = avg_start; in vp9_denoiser_filter_c()
162 avg[c] = VPXMAX(0, avg[c] - adj); in vp9_denoiser_filter_c()
168 avg[c] = VPXMIN(UINT8_MAX, avg[c] + adj); in vp9_denoiser_filter_c()
173 avg += avg_stride; in vp9_denoiser_filter_c()
[all …]
Dvp9_aq_variance.c153 int avg; in block_variance() local
158 &sse, &avg); in block_variance()
160 avg >>= (xd->bd - 8); in block_variance()
163 vp9_64_zeros, 0, bw, bh, &sse, &avg); in block_variance()
167 vp9_64_zeros, 0, bw, bh, &sse, &avg); in block_variance()
169 var = sse - (((int64_t)avg * avg) / (bw * bh)); in block_variance()
/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/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/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/snakeyaml/src/test/resources/pyyaml/
Dspec-02-06.data1 Mark McGwire: {hr: 65, avg: 0.278}
4 avg: 0.288
Dspec-02-04.data4 avg: 0.278
8 avg: 0.288
/external/llvm/test/YAMLParser/
Dspec-02-06.test3 Mark McGwire: {hr: 65, avg: 0.278}
6 avg: 0.288
Dspec-02-04.test6 avg: 0.278
10 avg: 0.288
/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()

123456