/system/media/audio_utils/include/audio_utils/ |
D | primitives.h | 806 static const float scale = 1 << 15; in clamp16_from_float() local 807 return roundf(fmaxf(fminf(f * scale, scale - 1.f), -scale)); in clamp16_from_float() 888 static const float scale = (float)(1 << 23); in clamp24_from_float() 889 static const float limpos = 0x7fffff / scale; in clamp24_from_float() 890 static const float limneg = -0x800000 / scale; in clamp24_from_float() 897 f *= scale; in clamp24_from_float() 903 static const float scale = 1 << 23; in clamp24_from_float() local 904 return roundf(fmaxf(fminf(f * scale, scale - 1.f), -scale)); in clamp24_from_float() 937 static const float scale = (float)(1UL << 27); in clampq4_27_from_float() local 946 f *= scale; in clampq4_27_from_float() [all …]
|
/system/update_engine/scripts/update_payload/ |
D | histogram.py | 45 def __init__(self, data, scale=20, formatter=None): argument 55 self.scale = scale 61 def FromCountDict(count_dict, scale=20, formatter=None, key_names=None): argument 86 return Histogram(hist, scale, formatter) 89 def FromKeyList(key_list, scale=20, formatter=None, key_names=None): argument 109 return Histogram.FromCountDict(count_dict, scale, formatter, key_names) 116 bar_len = count * self.scale // self.total 117 hist_bar = '|%s|' % ('#' * bar_len).ljust(self.scale)
|
/system/media/audio_utils/ |
D | fixedfft.cpp | 109 int scale = LOG_FFT_SIZE, i, p, r; in fixed_fft() local 121 --scale; in fixed_fft() 131 int32_t w = MAX_FFT_SIZE / 4 - (r << scale); in fixed_fft() 146 int scale = LOG_FFT_SIZE, m = n >> 1, i; in fixed_fft_real() local 149 for (i = 1; i <= n; i <<= 1, --scale) in fixed_fft_real() 159 y = mult(y, ((int32_t) twiddle[i << scale])); in fixed_fft_real()
|
/system/extras/ANRdaemon/ |
D | Android.bp | 5 // Added automatically by a large-scale-change 13 // large-scale-change unable to identify any license_text files
|
/system/extras/tests/workloads/ |
D | capture.sh | 30 scale=$3 34 ((out=in*scale/max))
|
/system/extras/simpleperf/ |
D | cmd_stat_impl.h | 84 double scale; member 94 double scale, bool auto_generated, bool csv) in CounterSummary() 102 scale(scale), in CounterSummary() 130 return (fabs(scale - 1.0) < SCALE_ERROR_LIMIT); in IsMonitoredAllTheTime() 249 double scale = 1.0; in AddSummary() local 251 scale = static_cast<double>(sum.time_enabled) / sum.time_running; in AddSummary() 264 sum.value, sum.time_running, scale, false, csv_); in AddSummary()
|
D | cmd_stat_test.cpp | 434 ASSERT_NEAR(summaries[0].scale, 1.0, 1e-5); in TEST_F() 437 ASSERT_NEAR(summaries[1].scale, 1.0, 1e-5); in TEST_F() 448 ASSERT_NEAR(summaries[0].scale, 1.25, 1e-5); in TEST_F() 461 ASSERT_NEAR(summaries[0].scale, 1.5, 1e-5); in TEST_F() 465 ASSERT_NEAR(summaries[1].scale, 1.0, 1e-5); in TEST_F() 477 ASSERT_NEAR(summaries[0].scale, 1.0, 1e-5); in TEST_F() 482 ASSERT_NEAR(summaries[1].scale, 1.5, 1e-5); in TEST_F() 495 ASSERT_NEAR(summaries[0].scale, 1.0, 1e-5); in TEST_F() 499 ASSERT_NEAR(summaries[1].scale, 2.0, 1e-5); in TEST_F() 503 ASSERT_NEAR(summaries[2].scale, 1.0, 1e-5); in TEST_F() [all …]
|
/system/chre/platform/slpi/include/chre/platform/slpi/see/ |
D | see_cal_helper.h | 128 bool hasScale, float scale[3], bool hasMatrix, 145 float scale[3]; member
|
/system/chre/platform/slpi/see/ |
D | see_cal_helper.cc | 132 float scale[3], bool hasMatrix, in updateCalibration() 147 memcpy(calData.scale, scale, sizeof(calData.scale)); in updateCalibration()
|
/system/media/audio_utils/fuzz/ |
D | Android.bp | 3 // A large-scale-change added 'default_applicable_licenses' to import
|
/system/media/ |
D | Android.bp | 5 // Added automatically by a large-scale-change
|
/system/ca-certificates/ |
D | Android.bp | 22 // Added automatically by a large-scale-change 30 // large-scale-change unable to identify any license_text files
|
/system/nfc/ |
D | Android.bp | 5 // Added automatically by a large-scale-change
|
/system/extras/tests/lib/ |
D | Android.bp | 3 // A large-scale-change added 'default_applicable_licenses' to import
|
/system/bt/vendor_libs/linux/ |
D | Android.bp | 3 // A large-scale-change added 'default_applicable_licenses' to import
|
/system/media/audio_utils/fuzz/format_fuzzer/ |
D | Android.bp | 3 // A large-scale-change added 'default_applicable_licenses' to import
|
/system/bt/embdrv/sbc/ |
D | Android.bp | 3 // A large-scale-change added 'default_applicable_licenses' to import
|
/system/media/audio_utils/fuzz/metadata_fuzzer/ |
D | Android.bp | 3 // A large-scale-change added 'default_applicable_licenses' to import
|
/system/bt/vendor_libs/ |
D | Android.bp | 3 // A large-scale-change added 'default_applicable_licenses' to import
|
/system/memory/libion/ |
D | Android.bp | 5 // Added automatically by a large-scale-change that took the approach of 26 // large-scale-change unable to identify any license_text files
|
/system/media/audio_utils/fuzz/fdtostring_fuzzer/ |
D | Android.bp | 3 // A large-scale-change added 'default_applicable_licenses' to import
|
/system/media/audio_utils/fuzz/audioutilsfiforeaderwriter_fuzzer/ |
D | Android.bp | 3 // A large-scale-change added 'default_applicable_licenses' to import
|
/system/tools/hidl/test/ |
D | Android.bp | 3 // A large-scale-change added 'default_applicable_licenses' to import
|
/system/media/audio_utils/fuzz/dtsframescanner_fuzzer/ |
D | Android.bp | 3 // A large-scale-change added 'default_applicable_licenses' to import
|
/system/media/audio_effects/ |
D | Android.bp | 3 // A large-scale-change added 'default_applicable_licenses' to import
|