Home
last modified time | relevance | path

Searched refs:half_scale (Results 1 – 3 of 3) sorted by relevance

/external/webrtc/modules/audio_processing/
Drms_level_unittest.cc159 auto half_scale = CreateInt16Sinusoid(1000, INT16_MAX / 2, kSampleRateHz); in TEST() local
161 auto x = half_scale; in TEST()
163 x.insert(x.end(), half_scale.begin(), half_scale.end()); in TEST()
/external/tensorflow/tensorflow/lite/tools/optimize/
Dquantization_utils.cc314 const float half_scale = kMaxQuantizedValue; in SymmetricPerChannelQuantization() local
319 output_scales->at(channel_idx) = half_range / half_scale; in SymmetricPerChannelQuantization()
323 scale_invs[channel_idx] = half_scale / half_range; in SymmetricPerChannelQuantization()
/external/flac/src/test_streams/
Dmain.c638 const double half_scale = 0.5 * full_scale; in generate_unsigned_raw() local
649 FLAC__int32 v = (FLAC__int32)(half_scale + val + 0.5) + ((GET_RANDOM_BYTE>>4)-8); in generate_unsigned_raw()