Searched refs:half_scale (Results 1 – 3 of 3) sorted by relevance
159 auto half_scale = CreateInt16Sinusoid(1000, INT16_MAX / 2, kSampleRateHz); in TEST() local161 auto x = half_scale; in TEST()163 x.insert(x.end(), half_scale.begin(), half_scale.end()); in TEST()
314 const float half_scale = kMaxQuantizedValue; in SymmetricPerChannelQuantization() local319 output_scales->at(channel_idx) = half_range / half_scale; in SymmetricPerChannelQuantization()323 scale_invs[channel_idx] = half_scale / half_range; in SymmetricPerChannelQuantization()
638 const double half_scale = 0.5 * full_scale; in generate_unsigned_raw() local649 FLAC__int32 v = (FLAC__int32)(half_scale + val + 0.5) + ((GET_RANDOM_BYTE>>4)-8); in generate_unsigned_raw()