Home
last modified time | relevance | path

Searched refs:peak (Results 1 – 25 of 76) sorted by relevance

1234

/external/webrtc/webrtc/modules/audio_coding/codecs/isac/main/source/
Dpitch_estimator.c143 int ind1, ind2, peaks_ind, peak, max_ind; in WebRtcIsac_InitializePitch() local
163 peak = 0; in WebRtcIsac_InitializePitch()
324 peak = peaks[k]; in WebRtcIsac_InitializePitch()
327 IntrepolFilter(&CorrSurfPtr1[peak - (PITCH_LAG_SPAN2+5)], &intrp_a); in WebRtcIsac_InitializePitch()
328 IntrepolFilter(&CorrSurfPtr1[peak - 1 ], &intrp_b); in WebRtcIsac_InitializePitch()
329 IntrepolFilter(&CorrSurfPtr1[peak ], &intrp_c); in WebRtcIsac_InitializePitch()
330 IntrepolFilter(&CorrSurfPtr1[peak + (PITCH_LAG_SPAN2+4)], &intrp_d); in WebRtcIsac_InitializePitch()
333 corr = CorrSurfPtr1[peak]; in WebRtcIsac_InitializePitch()
340 row = peak / (PITCH_LAG_SPAN2+4); in WebRtcIsac_InitializePitch()
341 lags1[k] = (double) ((peak - row * (PITCH_LAG_SPAN2+4)) + PITCH_MIN_LAG/2 - 4); in WebRtcIsac_InitializePitch()
[all …]
/external/fec/
Dpeakval_mmx.c10 int peak = 0; in peakval_mmx() local
15 if(a > peak) in peakval_mmx()
16 peak = a; in peakval_mmx()
21 if(a > peak) in peakval_mmx()
22 peak = a; in peakval_mmx()
28 if(a > peak) in peakval_mmx()
29 peak = a; in peakval_mmx()
33 return peak; in peakval_mmx()
Dpeakval_sse2.c10 int peak = 0; in peakval_sse2() local
15 if(a > peak) in peakval_sse2()
16 peak = a; in peakval_sse2()
21 if(a > peak) in peakval_sse2()
22 peak = a; in peakval_sse2()
28 if(a > peak) in peakval_sse2()
29 peak = a; in peakval_sse2()
33 return peak; in peakval_sse2()
Dpeakval_sse.c11 int peak = 0; in peakval_sse() local
16 if(a > peak) in peakval_sse()
17 peak = a; in peakval_sse()
22 if(a > peak) in peakval_sse()
23 peak = a; in peakval_sse()
29 if(a > peak) in peakval_sse()
30 peak = a; in peakval_sse()
34 return peak; in peakval_sse()
Dpeakval_port.c7 int peak = 0; in peakval_port() local
12 if(a > peak) in peakval_port()
13 peak = a; in peakval_port()
15 return peak; in peakval_port()
Dpeak_mmx_assist.s7 # Find peak value in signed 16-bit input samples
22 pxor %mm7,%mm7 # clear peak
31 movq %mm7,%mm6 # copy previous peak
32 pcmpgtw %mm0,%mm6 # ff == old peak greater
Dpeakval_mmx_assist.s7 # Find peak value in signed 16-bit input samples
22 pxor %mm7,%mm7 # clear peak
31 movq %mm7,%mm6 # copy previous peak
32 pcmpgtw %mm0,%mm6 # ff == old peak greater
Dpeakval_sse_assist.s7 # Find peak absolute value in signed 16-bit input samples
21 pxor %mm7,%mm7 # clear peak
30 pmaxsw %mm0,%mm7 # store peak
Dpeak_sse_assist.s7 # Find peak absolute value in signed 16-bit input samples
21 pxor %mm7,%mm7 # clear peak
30 pmaxsw %mm0,%mm7 # store peak
Dpeak_sse2_assist.s7 # Find peak absolute value in signed 16-bit input samples
21 pxor %xmm7,%xmm7 # clear peak
30 pmaxsw %xmm0,%xmm7 # store peak
Dpeakval_sse2_assist.s7 # Find peak absolute value in signed 16-bit input samples
21 pxor %xmm7,%xmm7 # clear peak
30 pmaxsw %xmm0,%xmm7 # store peak
/external/aac/libAACenc/src/
Dmetadata_compressor.cpp397 const FIXP_DBL dmxGain2, FIXP_DBL peak[2]) { in findPeakLevels()
403 peak[0] = peak[1] = FL2FXCONST_DBL(0.f); in findPeakLevels()
412 peak[0] = fixMax(peak[0], FX_PCM2FX_DBL(maxSample) >> DOWNMIX_SHIFT); in findPeakLevels()
458 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in findPeakLevels()
499 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in findPeakLevels()
518 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in findPeakLevels()
523 peak[0] = fMult(dmxGain5, peak[0]) in findPeakLevels()
573 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in findPeakLevels()
615 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in findPeakLevels()
728 peak[0] = fixMax(peak[0], fixp_abs(tmp)); in findPeakLevels()
[all …]
/external/flac/include/share/grabbag/
Dreplaygain.h52 void grabbag__replaygain_get_album(float *gain, float *peak);
53 void grabbag__replaygain_get_title(float *gain, float *peak);
66 …a *block, FLAC__bool album_mode, FLAC__bool strict, double *reference, double *gain, double *peak);
67 double grabbag__replaygain_compute_scale_factor(double peak, double gain, double preamp, FLAC__bool…
/external/libvpx/libvpx/tools/
Dtiny_ssim.c79 static double mse2psnr(double samples, double peak, double mse) { in mse2psnr() argument
83 psnr = 10.0 * log10(peak * peak * samples / mse); in mse2psnr()
330 double peak = 255.0; in main() local
360 if (bit_depth == 10) peak = 1023.0; in main()
362 if (bit_depth == 12) peak = 4095.0; in main()
480 mse2psnr(w * h * 6 / 4, peak, (double)psnry[i] + psnru[i] + psnrv[i]); in main()
481 frame_psnry = mse2psnr(w * h * 4 / 4, peak, (double)psnry[i]); in main()
482 frame_psnru = mse2psnr(w * h * 1 / 4, peak, (double)psnru[i]); in main()
483 frame_psnrv = mse2psnr(w * h * 1 / 4, peak, (double)psnrv[i]); in main()
525 psnrglb = mse2psnr((double)n_frames * w * h * 6 / 4, peak, psnrglb); in main()
[all …]
/external/libvpx/libvpx/vpx_dsp/
Dpsnr.c17 double vpx_sse_to_psnr(double samples, double peak, double sse) { in vpx_sse_to_psnr() argument
19 const double psnr = 10.0 * log10(samples * peak * peak / sse); in vpx_sse_to_psnr()
214 const double peak = (double)((1 << in_bit_depth) - 1); in vpx_calc_highbd_psnr() local
235 psnr->psnr[1 + i] = vpx_sse_to_psnr(samples, peak, (double)sse); in vpx_calc_highbd_psnr()
244 vpx_sse_to_psnr((double)total_samples, peak, (double)total_sse); in vpx_calc_highbd_psnr()
251 static const double peak = 255.0; in vpx_calc_psnr() local
271 psnr->psnr[1 + i] = vpx_sse_to_psnr(samples, peak, (double)sse); in vpx_calc_psnr()
280 vpx_sse_to_psnr((double)total_samples, peak, (double)total_sse); in vpx_calc_psnr()
Dpsnr.h38 double vpx_sse_to_psnr(double samples, double peak, double sse);
/external/fonttools/Lib/fontTools/varLib/
Dmodels.py122 for axis,(lower,peak,upper) in support.items():
125 if peak == 0.:
127 if lower > peak or peak > upper:
135 if v == peak:
140 if v < peak:
141 scalar *= (v - lower) / (peak - lower)
143 scalar *= (v - upper) / (peak - upper)
298 for axis, (lower,peak,upper) in box.items():
299 if axis not in m or not (m[axis] == peak or lower < m[axis] < upper):
/external/freetype/src/base/
Dftbbox.c273 FT_Pos peak = 0; in cubic_peak() local
341 peak = q1; in cubic_peak()
346 peak = q4; in cubic_peak()
352 peak >>= shift; in cubic_peak()
354 peak <<= -shift; in cubic_peak()
356 return peak; in cubic_peak()
/external/libaom/libaom/aom_dsp/
Dpsnr.c20 double aom_sse_to_psnr(double samples, double peak, double sse) { in aom_sse_to_psnr() argument
22 const double psnr = 10.0 * log10(samples * peak * peak / sse); in aom_sse_to_psnr()
317 const double peak = (double)((1 << in_bit_depth) - 1); in aom_calc_highbd_psnr() local
339 psnr->psnr[1 + i] = aom_sse_to_psnr(samples, peak, (double)sse); in aom_calc_highbd_psnr()
348 aom_sse_to_psnr((double)total_samples, peak, (double)total_sse); in aom_calc_highbd_psnr()
353 static const double peak = 255.0; in aom_calc_psnr() local
371 psnr->psnr[1 + i] = aom_sse_to_psnr(samples, peak, (double)sse); in aom_calc_psnr()
380 aom_sse_to_psnr((double)total_samples, peak, (double)total_sse); in aom_calc_psnr()
/external/tensorflow/tensorflow/core/grappler/costs/
Dgraph_memory.cc255 size_t peak = 0; in InferFromTrace() local
277 if (current > peak) { in InferFromTrace()
278 peak = current; in InferFromTrace()
284 peak_mem_usage.used_memory = peak; in InferFromTrace()
/external/fonttools/Lib/fontTools/ttLib/tables/
DTupleVariation.py571 peak = sharedTuples[flags & TUPLE_INDEX_MASK]
573 peak, pos = TupleVariation.decompileCoord_(axisTags, data, pos)
578 start, end = inferRegion_(peak)
581 region = start[axis], peak[axis], end[axis]
612 def inferRegion_(peak): argument
624 for (axis, value) in peak.items():
/external/ltp/testcases/kernel/sched/tool/
Dtime-schedule.c441 unsigned long peak = 0; in compute_median() local
454 if (table[count] < peak) in compute_median()
456 peak = table[count]; in compute_median()
/external/autotest/client/site_tests/video_VEAPerf/
Dvideo_VEAPerf.py141 def mse_to_psnr(samples, peak, mse): argument
149 psnr = 10.0 * math.log10(peak * peak * samples / float(mse))
/external/tensorflow/tensorflow/core/profiler/
Dop_profile.proto62 // peak core FLOPS * program time. This representation has useful properties:
66 // - it does not reveal the peak core FLOPS of the hardware
/external/harfbuzz_ng/src/
Dhb-ot-layout-common.hh1598 int start = startCoord, peak = peakCoord, end = endCoord; in evaluate() local
1601 if (unlikely (start > peak || peak > end)) in evaluate()
1603 if (unlikely (start < 0 && end > 0 && peak != 0)) in evaluate()
1606 if (peak == 0 || coord == peak) in evaluate()
1613 if (coord < peak) in evaluate()
1614 return float (coord - start) / (peak - start); in evaluate()
1616 return float (end - coord) / (end - peak); in evaluate()

1234