Home
last modified time | relevance | path

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

12345

/external/fec/
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_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_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_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()
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
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
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
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
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
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
/external/webrtc/modules/audio_coding/codecs/isac/main/source/
Dpitch_estimator.c190 int ind1, ind2, peaks_ind, peak, max_ind; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN() local
210 peak = 0; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
371 peak = peaks[k]; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
374 IntrepolFilter(&CorrSurfPtr1[peak - (PITCH_LAG_SPAN2+5)], &intrp_a); in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
375 IntrepolFilter(&CorrSurfPtr1[peak - 1 ], &intrp_b); in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
376 IntrepolFilter(&CorrSurfPtr1[peak ], &intrp_c); in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
377 IntrepolFilter(&CorrSurfPtr1[peak + (PITCH_LAG_SPAN2+4)], &intrp_d); in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
380 corr = CorrSurfPtr1[peak]; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
387 row = peak / (PITCH_LAG_SPAN2+4); in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
388 lags1[k] = (double) ((peak - row * (PITCH_LAG_SPAN2+4)) + PITCH_MIN_LAG/2 - 4); in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN()
[all …]
/external/flac/src/share/grabbag/
Dreplaygain.c229 double peak = (double)block_peak / peak_scale; in grabbag__replaygain_analyze() local
230 if(peak > title_peak_) in grabbag__replaygain_analyze()
231 title_peak_ = peak; in grabbag__replaygain_analyze()
232 if(peak > album_peak_) in grabbag__replaygain_analyze()
233 album_peak_ = peak; in grabbag__replaygain_analyze()
239 void grabbag__replaygain_get_album(float *gain, float *peak) in grabbag__replaygain_get_album() argument
242 *peak = (float)album_peak_; in grabbag__replaygain_get_album()
246 void grabbag__replaygain_get_title(float *gain, float *peak) in grabbag__replaygain_get_title() argument
249 *peak = (float)title_peak_; in grabbag__replaygain_get_title()
607 …ta *block, FLAC__bool album_mode, FLAC__bool strict, double *reference, double *gain, double *peak) in grabbag__replaygain_load_from_vorbiscomment() argument
[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/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/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()
/external/harfbuzz_ng/src/
Dhb-ot-var-gvar-table.hh135 int peak = peak_tuple[i]; in calculate_scalar() local
136 if (!peak || v == peak) continue; in calculate_scalar()
142 if (unlikely (start > peak || peak > end || in calculate_scalar()
143 (start < 0 && end > 0 && peak))) continue; in calculate_scalar()
145 if (v < peak) in calculate_scalar()
146 { if (peak != start) scalar *= (float) (v - start) / (peak - start); } in calculate_scalar()
148 { if (peak != end) scalar *= (float) (end - v) / (end - peak); } in calculate_scalar()
150 else if (!v || v < hb_min (0, peak) || v > hb_max (0, peak)) return 0.f; in calculate_scalar()
152 scalar *= (float) v / peak; in calculate_scalar()
/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()
327 double peak = 255.0; in main() local
358 if (bit_depth == 10) peak = 1023.0; in main()
360 if (bit_depth == 12) peak = 4095.0; in main()
478 mse2psnr(w * h * 6 / 4, peak, (double)psnry[i] + psnru[i] + psnrv[i]); in main()
479 frame_psnry = mse2psnr(w * h * 4 / 4, peak, (double)psnry[i]); in main()
480 frame_psnru = mse2psnr(w * h * 1 / 4, peak, (double)psnru[i]); in main()
481 frame_psnrv = mse2psnr(w * h * 1 / 4, peak, (double)psnrv[i]); in main()
523 psnrglb = mse2psnr((double)n_frames * w * h * 6 / 4, peak, psnrglb); in main()
[all …]
/external/fonttools/Lib/fontTools/varLib/
Dmodels.py130 for axis,(lower,peak,upper) in support.items():
133 if peak == 0.:
135 if lower > peak or peak > upper:
143 if v == peak:
148 if v < peak:
149 scalar *= (v - lower) / (peak - lower)
151 scalar *= (v - upper) / (peak - upper)
295 for axis, (lower,peak,upper) in region.items():
296 …if axis not in prev_region or not (prev_region[axis][1] == peak or lower < prev_region[axis][1] < …
/external/tensorflow/tensorflow/core/profiler/protobuf/
Dmemory_profile.proto30 // The peak memory usage over the entire program (lifetime of memory
76 // The peak memory usage over the entire program (lifetime of memory
79 // The peak memory usage stats within the profiling window.
81 // The timestamp for peak memory usage within the profiling window.
87 // The active memory allocations at the peak memory usage.
102 // The summary of memory profile (e.g. the peak memory usage).
104 // The rows in the table of active allocations at peak memory usage within
/external/freetype/src/base/
Dftbbox.c272 FT_Pos peak = 0; in cubic_peak() local
340 peak = q1; in cubic_peak()
345 peak = q4; in cubic_peak()
351 peak >>= shift; in cubic_peak()
353 peak <<= -shift; in cubic_peak()
355 return peak; in cubic_peak()
/external/webrtc/modules/audio_processing/
Drms_level_unittest.cc93 EXPECT_EQ(3, stats.peak); in TEST()
113 EXPECT_EQ(127, stats.peak); in TEST()
125 EXPECT_EQ(127, stats.peak); in TEST()
169 EXPECT_EQ(3, stats.peak); in TEST()
182 EXPECT_EQ(9, stats.peak); in TEST()
/external/webrtc/modules/audio_processing/agc2/
Dvad_with_level.h23 constexpr LevelAndProbability(float prob, float rms, float peak) in LevelAndProbability()
26 speech_peak_dbfs(peak) {} in LevelAndProbability()
/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()
374 const double peak = (double)((1 << in_bit_depth) - 1); in aom_calc_highbd_psnr() local
396 psnr->psnr[1 + i] = aom_sse_to_psnr(samples, peak, (double)sse); in aom_calc_highbd_psnr()
405 aom_sse_to_psnr((double)total_samples, peak, (double)total_sse); in aom_calc_highbd_psnr()
411 static const double peak = 255.0; in aom_calc_psnr() local
429 psnr->psnr[1 + i] = aom_sse_to_psnr(samples, peak, (double)sse); in aom_calc_psnr()
438 aom_sse_to_psnr((double)total_samples, peak, (double)total_sse); in aom_calc_psnr()
/external/flac/src/share/replaygain_synthesis/
Dreplaygain_synthesis.c271 float peak = 0.f,
279 peak is in the range -32768.0 .. 32767.0
285 factor_clip = (float) (32767./( peak + 1));
292 new_peak = (float) peak * scale;
/external/fonttools/Doc/source/varLib/
Dindex.rst67 full contribution at the *peak* and falling linearly to zero from the
68 peak to the maximum value. The OpenType Specification calls these "regions",
71 tuple ``(min, peak, max)``.
75 a support, ignoring its peak value.
89 example, the support scalar will be 1 at the support's peak location, and

12345