Home
last modified time | relevance | path

Searched refs:scale (Results 1 – 25 of 385) sorted by relevance

12345678910>>...16

/system/media/audio_utils/include/audio_utils/
Dprimitives.h806 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/
Dhistogram.py45 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/
Dfixedfft.cpp109 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/
DAndroid.bp5 // Added automatically by a large-scale-change
13 // large-scale-change unable to identify any license_text files
/system/extras/tests/workloads/
Dcapture.sh30 scale=$3
34 ((out=in*scale/max))
/system/extras/simpleperf/
Dcmd_stat_impl.h84 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()
Dcmd_stat_test.cpp434 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/
Dsee_cal_helper.h128 bool hasScale, float scale[3], bool hasMatrix,
145 float scale[3]; member
/system/chre/platform/slpi/see/
Dsee_cal_helper.cc132 float scale[3], bool hasMatrix, in updateCalibration()
147 memcpy(calData.scale, scale, sizeof(calData.scale)); in updateCalibration()
/system/media/audio_utils/fuzz/
DAndroid.bp3 // A large-scale-change added 'default_applicable_licenses' to import
/system/media/
DAndroid.bp5 // Added automatically by a large-scale-change
/system/ca-certificates/
DAndroid.bp22 // Added automatically by a large-scale-change
30 // large-scale-change unable to identify any license_text files
/system/nfc/
DAndroid.bp5 // Added automatically by a large-scale-change
/system/extras/tests/lib/
DAndroid.bp3 // A large-scale-change added 'default_applicable_licenses' to import
/system/bt/vendor_libs/linux/
DAndroid.bp3 // A large-scale-change added 'default_applicable_licenses' to import
/system/media/audio_utils/fuzz/format_fuzzer/
DAndroid.bp3 // A large-scale-change added 'default_applicable_licenses' to import
/system/bt/embdrv/sbc/
DAndroid.bp3 // A large-scale-change added 'default_applicable_licenses' to import
/system/media/audio_utils/fuzz/metadata_fuzzer/
DAndroid.bp3 // A large-scale-change added 'default_applicable_licenses' to import
/system/bt/vendor_libs/
DAndroid.bp3 // A large-scale-change added 'default_applicable_licenses' to import
/system/memory/libion/
DAndroid.bp5 // 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/
DAndroid.bp3 // A large-scale-change added 'default_applicable_licenses' to import
/system/media/audio_utils/fuzz/audioutilsfiforeaderwriter_fuzzer/
DAndroid.bp3 // A large-scale-change added 'default_applicable_licenses' to import
/system/tools/hidl/test/
DAndroid.bp3 // A large-scale-change added 'default_applicable_licenses' to import
/system/media/audio_utils/fuzz/dtsframescanner_fuzzer/
DAndroid.bp3 // A large-scale-change added 'default_applicable_licenses' to import
/system/media/audio_effects/
DAndroid.bp3 // A large-scale-change added 'default_applicable_licenses' to import

12345678910>>...16