/aosp_15_r20/external/harfbuzz_ng/src/ |
H A D | hb-subset-instancer-solver.cc | 45 double start = tent.minimum, peak = tent.middle, end = tent.maximum; in supportScalar() local 47 if (unlikely (start > peak || peak > end)) in supportScalar() 49 if (unlikely (start < 0 && end > 0 && peak != 0)) in supportScalar() 52 if (peak == 0 || coord == peak) in supportScalar() 59 if (coord < peak) in supportScalar() 60 return (coord - start) / (peak - start); in supportScalar() 62 return (end - coord) / (end - peak); in supportScalar() 72 double peak = tent.middle; in _solve() local 75 // Mirror the problem such that axisDef <= peak in _solve() 76 if (axisDef > peak) in _solve() [all …]
|
/aosp_15_r20/external/fonttools/Lib/fontTools/varLib/instancer/ |
H A D | solver.py | 16 lower, peak, upper = tent 18 # Mirror the problem such that axisDef <= peak 19 if axisDef > peak: 28 # axisDef <= peak 32 # peak 41 if axisMax <= lower and axisMax < peak: 44 # case 2: Only the peak and outermost bound fall outside the new limit; 45 # we keep the deltaset, update peak and outermost bound and and scale deltas 49 # |peak 64 # o peak [all …]
|
/aosp_15_r20/external/webrtc/modules/audio_coding/codecs/isac/main/source/ |
H A D | pitch_estimator.c | 190 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() 329 /* threshold value to qualify as a peak */ in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN() 342 /* found a peak; store index into matrix */ in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN() 358 /* found a peak; store index into matrix */ in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN() 368 /* examine each peak */ in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN() 371 peak = peaks[k]; in RTC_PUSH_IGNORING_WFRAME_LARGER_THAN() 373 /* compute four interpolated values around current peak */ 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() [all …]
|
/aosp_15_r20/external/pytorch/torch/cuda/ |
H A D | memory.py | 203 - ``"allocated.{all,large_pool,small_pool}.{current,peak,allocated,freed}"``: 205 - ``"allocated_bytes.{all,large_pool,small_pool}.{current,peak,allocated,freed}"``: 207 - ``"segment.{all,large_pool,small_pool}.{current,peak,allocated,freed}"``: 209 - ``"reserved_bytes.{all,large_pool,small_pool}.{current,peak,allocated,freed}"``: 211 - ``"active.{all,large_pool,small_pool}.{current,peak,allocated,freed}"``: 213 - ``"active_bytes.{all,large_pool,small_pool}.{current,peak,allocated,freed}"``: 215 - ``"inactive_split.{all,large_pool,small_pool}.{current,peak,allocated,freed}"``: 217 - ``"inactive_split_bytes.{all,large_pool,small_pool}.{current,peak,allocated,freed}"``: 233 - ``peak``: maximum value of this metric. 255 - ``"oversize_allocations.{current,peak,allocated,freed}"``: [all …]
|
/aosp_15_r20/external/aac/libAACenc/src/ |
H A D | metadata_compressor.cpp | 185 FIXP_DBL prevPeak[2]; /*!< max peak of previous block (stereo/mono)*/ 397 const FIXP_DBL dmxGain2, FIXP_DBL peak[2]) { in findPeakLevels() 402 /* find peak level */ 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() [all …]
|
/aosp_15_r20/external/fonttools/Lib/fontTools/varLib/ |
H A D | models.py | 126 with support. If ot is True, then a peak value of zero 161 for axis, (lower, peak, upper) in support.items(): 164 if peak == 0.0: 166 if lower > peak or peak > upper: 174 if v == peak: 180 if peak <= axisMin and peak < upper: 181 scalar *= (v - upper) / (peak - upper) 183 elif axisMin < peak: 184 scalar *= (v - lower) / (peak - lower) 187 if axisMax <= peak and lower < peak: [all …]
|
/aosp_15_r20/tools/loganalysis/javatests/com/android/loganalysis/parser/ |
H A D | MemHealthParserTest.java | 36 "Peak Native Heap: 11136", in testOneForegroundProc() 37 "Peak Dalvik Heap: 9812", in testOneForegroundProc() 38 "Peak PSS: 95161", in testOneForegroundProc() 77 "Peak Native Heap: 11136", in testTwoForegroundProc() 78 "Peak Dalvik Heap: 9812", in testTwoForegroundProc() 79 "Peak PSS: 95161", in testTwoForegroundProc() 93 "Peak Native Heap: 4", in testTwoForegroundProc() 94 "Peak Dalvik Heap: 5", in testTwoForegroundProc() 95 "Peak PSS: 6", in testTwoForegroundProc() 133 "Peak Native Heap: 11136", in testForegroundBackgroundProc() [all …]
|
/aosp_15_r20/external/pytorch/torch/xpu/ |
H A D | memory.py | 27 r"""Reset the "peak" stats tracked by the XPU memory allocator. 29 See :func:`~torch.xpu.memory_stats` for details. Peak stats correspond to the 30 `"peak"` key in each individual stat dict. 72 - ``"allocated_bytes.{all,large_pool,small_pool}.{current,peak,allocated,freed}"``: 74 - ``"reserved_bytes.{all,large_pool,small_pool}.{current,peak,allocated,freed}"``: 76 - ``"active_bytes.{all,large_pool,small_pool}.{current,peak,allocated,freed}"``: 78 - ``"requested_bytes.{all,large_pool,small_pool}.{current,peak,allocated,freed}"``: 93 - ``peak``: maximum value of this metric. 139 By default, this returns the peak allocated memory since the beginning of 142 functions can measure the peak allocated memory usage of each iteration in a [all …]
|
/aosp_15_r20/external/pigweed/pw_thread/py/ |
H A D | thread_analyzer_test.py | 34 ' Est peak usage: size unknown', 52 ' Est peak usage: size unknown', 70 ' Est peak usage: size unknown', 89 ' Est peak usage: size unknown', 110 ' Est peak usage: size unknown', 139 ' Est peak usage: size unknown', 178 ' Est peak usage: 512 bytes, 100.00%', 185 ' Est peak usage: size unknown', 227 ' Est peak usage: size unknown', 234 ' Est peak usage: 512 bytes, 100.00%', [all …]
|
/aosp_15_r20/external/autotest/server/brillo/feedback/ |
H A D | closed_loop_audio_client.py | 32 # The peak when recording silence is 5% of the max volume. 198 # Fail if the silence peak volume exceeds the maximum allowed. 201 logging.error('Silence peak level (%d) exceeds the max allowed ' 207 logging.info('Silent peak level (%d) is below the max allowed (%d); ' 221 """Ensure that peak recording volume exceeds the threshold.""" 236 'Audible peak level (%d) is less than expected (%d) for ' 240 'The played audio peak level is below the expected ' 245 logging.info('Audible peak level (%d) exceeds the threshold (%d)', 318 @peak_percent_min: Lower bound on peak recorded volume as percentage of 320 @peak_percent_max: Upper bound on peak recorded volume as percentage of [all …]
|
/aosp_15_r20/external/flac/src/share/grabbag/ |
H A D | replaygain.c | 228 double peak = (double)block_peak / peak_scale; in grabbag__replaygain_analyze() local 229 if(peak > title_peak_) in grabbag__replaygain_analyze() 230 title_peak_ = peak; in grabbag__replaygain_analyze() 231 if(peak > album_peak_) in grabbag__replaygain_analyze() 232 album_peak_ = peak; in grabbag__replaygain_analyze() 238 void grabbag__replaygain_get_album(float *gain, float *peak) in grabbag__replaygain_get_album() argument 241 *peak = (float)album_peak_; in grabbag__replaygain_get_album() 245 void grabbag__replaygain_get_title(float *gain, float *peak) in grabbag__replaygain_get_title() argument 248 *peak = (float)title_peak_; in grabbag__replaygain_get_title() 606 …ta *block, FLAC__bool album_mode, FLAC__bool strict, double *reference, double *gain, double *peak) in grabbag__replaygain_load_from_vorbiscomment() argument [all …]
|
/aosp_15_r20/external/cronet/third_party/rust/chromium_crates_io/vendor/read-fonts-0.15.6/src/tables/ |
H A D | gvar.rs | 214 /// Returns the 'peak' tuple for this variation 215 pub fn peak(&self) -> Tuple<'a> { in peak() method 235 let peak = self.peak(); in compute_scalar() localVariable 238 if peak.len() != self.axis_count as usize { in compute_scalar() 245 let peak = peak.get(i).unwrap_or_default().to_fixed(); in compute_scalar() localVariable 246 if peak == ZERO || peak == coord { in compute_scalar() 260 if coord < peak { in compute_scalar() 261 scalar = scalar.mul_div(coord - start, peak - start); in compute_scalar() 263 scalar = scalar.mul_div(end - coord, end - peak); in compute_scalar() 266 if coord < peak.min(ZERO) || coord > peak.max(ZERO) { in compute_scalar() [all …]
|
H A D | variations.rs | 20 /// peak tuple record, immediately after the tupleIndex field. 31 /// tuple records, immediately after the peak tuple record (if present). 63 /// `true` if the header includes an embedded peak tuple. 150 /// Peak tuple record for this tuple variation table — optional, 662 let peak = axis_coords.peak_coord.get().to_fixed(); in compute_scalar() localVariable 663 if start > peak || peak > end || peak == ZERO || start < ZERO && end > ZERO { in compute_scalar() 667 } else if coord == peak { in compute_scalar() 669 } else if coord < peak { in compute_scalar() 670 scalar = scalar.mul_div(coord - start, peak - start); in compute_scalar() 672 scalar = scalar.mul_div(end - coord, end - peak); in compute_scalar() [all …]
|
/aosp_15_r20/external/fec/ |
H A D | peakval_sse.c | 11 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()
|
H A D | peakval_sse2.c | 10 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()
|
H A D | peakval_mmx.c | 10 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()
|
/aosp_15_r20/external/libaom/aom_dsp/ |
H A D | psnr.c | 27 STATIC double aom_sse_to_psnr(double samples, double peak, double sse) { in aom_sse_to_psnr() argument 29 const double psnr = 10.0 * log10(samples * peak * peak / sse); in aom_sse_to_psnr() 362 double peak = (double)(255 << (in_bit_depth - 8)); in aom_calc_highbd_psnr() local 364 double peak = (double)((1 << in_bit_depth) - 1); in aom_calc_highbd_psnr() local 387 psnr->psnr[1 + i] = aom_sse_to_psnr(samples, peak, (double)sse); in aom_calc_highbd_psnr() 396 aom_sse_to_psnr((double)total_samples, peak, (double)total_sse); in aom_calc_highbd_psnr() 401 peak = (double)(255 << (bit_depth - 8)); in aom_calc_highbd_psnr() 403 peak = (double)((1 << bit_depth) - 1); in aom_calc_highbd_psnr() 416 psnr->psnr_hbd[1 + i] = aom_sse_to_psnr(samples, peak, (double)sse); in aom_calc_highbd_psnr() 424 aom_sse_to_psnr((double)total_samples, peak, (double)total_sse); in aom_calc_highbd_psnr() [all …]
|
/aosp_15_r20/external/libnl/lib/route/qdisc/ |
H A D | tbf.c | 131 " peak-rate %.2f%s/s (%.0f%s) " in tbf_dump_details() 212 * configured rate and peak rate. In order for this operation to succeed, 213 * the rate and if required the peak rate must have been set in advance. 219 * limit = min(limit_{rate},limit_{peak}) 358 * Set peak rate of TBF qdisc. 360 * @arg rate New peak rate in bytes per second. 389 * Get peak rate of TBF qdisc. 391 * @return Peak rate in bytes per seconds or a negative error code. 407 * Get peak rate bucket size of TBF qdisc. 409 * @return Size of peak rate bucket or a negative error code. [all …]
|
/aosp_15_r20/external/executorch/backends/cadence/aot/ |
H A D | memory_planning.py | 181 Given a GraphModule with a memory plan, find the peak memory usages for each memory 216 Given a GraphModule with a memory plan, find the peak usage over time across all 217 memories in the memory hierarchy. The resulting peak memory usage should be: 239 # find the peak memory usage and the index 252 # | Memory Space | Base Address | Memory Size (Bytes) | Peak Memory U… 261 # | Peak memory usage across all spaces | 2380032 bytes | Node 86 | 270 # Get the peak memory usages per memory space 277 …# Create a table of memory spaces and their base addresses, total memory sizes, and peak memory us… 297 "Peak Memory Usage (Bytes)", 303 # Get the total peak memory usage across all memory spaces [all …]
|
/aosp_15_r20/external/coreboot/src/drivers/wifi/generic/ |
H A D | generic.c | 93 /* Wilkins Peak 2 */ 96 /* Stone Peak 2 */ 99 /* Stone Field Peak */ 102 /* Windstorm Peak */ 104 /* Thunder Peak 2 */ 106 /* Cyclone Peak (CyP) */ 108 /* Typhoon Peak (TyP) */ 110 /* Misty Peak (MtP) */
|
/aosp_15_r20/device/google/tangorpro/audio/tangorpro/aidl_config/ |
D | mixer_paths_aidl.xml | 123 <ctl name="Boost Peak Current Limit" value="3.50A"/> 124 <ctl name="R Boost Peak Current Limit" value="3.50A"/> 125 <ctl name="L2 Boost Peak Current Limit" value="3.50A"/> 126 <ctl name="R2 Boost Peak Current Limit" value="3.50A"/> 1218 <ctl name="Boost Peak Current Limit" value="4.50A"/> 1219 <ctl name="R Boost Peak Current Limit" value="4.50A"/> 1220 <ctl name="L2 Boost Peak Current Limit" value="4.50A"/> 1221 <ctl name="R2 Boost Peak Current Limit" value="4.50A"/> 1256 <ctl name="Boost Peak Current Limit" value="4.50A"/> 1263 <ctl name="L2 Boost Peak Current Limit" value="4.50A"/> [all …]
|
/aosp_15_r20/external/webrtc/modules/audio_processing/agc2/ |
H A D | clipping_predictor.cc | 71 // and an estimation peak threshold `clipping_threshold` and a crest factor 118 float peak = 0.0f; in Analyze() local 121 peak = std::max(std::fabs(sample), peak); in Analyze() 124 {sum_squares / static_cast<float>(samples_per_channel), peak}); in Analyze() 199 // Performs crest factor-based clipping peak prediction. 257 float peak = 0.0f; in Analyze() local 260 peak = std::max(std::fabs(sample), peak); in Analyze() 263 {sum_squares / static_cast<float>(samples_per_channel), peak}); in Analyze() 321 // Returns the estimated peak value if clipping is predicted. Otherwise
|
/aosp_15_r20/external/libvpx/tools/ |
H A D | tiny_ssim.c | 79 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 361 if (bit_depth == 10) peak = 1023.0; in main() 363 if (bit_depth == 12) peak = 4095.0; in main() 495 mse2psnr(w * h * 6 / 4, peak, (double)psnry[i] + psnru[i] + psnrv[i]); in main() 496 frame_psnry = mse2psnr(w * h * 4 / 4, peak, (double)psnry[i]); in main() 497 frame_psnru = mse2psnr(w * h * 1 / 4, peak, (double)psnru[i]); in main() 498 frame_psnrv = mse2psnr(w * h * 1 / 4, peak, (double)psnrv[i]); in main() 540 psnrglb = mse2psnr((double)n_frames * w * h * 6 / 4, peak, psnrglb); in main() [all …]
|
/aosp_15_r20/frameworks/proto_logging/stats/atoms/coregraphics/ |
H A D | coregraphics_extension_atoms.proto | 42 * Peak: 1 time in 16ms | Avg: 1000 per device per day 43 * The peak logging rate is pessimally estimated from one color mode change per frame 75 * Peak: 1 time in 16ms | Avg: 500 per device per day 76 * The peak logging rate is pessimally estimated from one dataspace change per video 99 * Peak: 1 time in 16ms | Avg: 1000 per device per day 100 * The peak logging rate is pessimally estimated from one dataspace change per layer 122 * Peak: 4 times in 50ms | Avg: 11000 per device per day 123 * The peak logging rate is estimated from decoding 4 jpegs in 50ms over 4
|
/aosp_15_r20/external/autotest/client/cros/audio/ |
H A D | audio_analysis.py | 16 # Only peaks with coefficient greater than 0.01 of the first peak should be 20 PEAK_WINDOW_SIZE_HZ = 20 # Window size for peak detection. 60 to the first peak peak_0. 109 # Gets the peak detection window size in indice. 116 # Transform back the peak location from index to frequency. 143 A point (i, array[i]) is a peak if array[i] is the maximum among 146 then there is no peak in this window. 147 Note that we only consider peak with value greater than 0. 153 where the tuples are sorted by peak values. 170 next_candidate is the index of next candidate for peak if
|