/external/webrtc/webrtc/modules/audio_processing/test/ |
D | audio_file_processor.cc | 20 using rtc::CheckedDivExact; 38 CheckedDivExact(file.sample_rate(), AudioFileProcessor::kChunksPerSecond), in GetChannelBuffer() 116 CheckedDivExact(msg.sample_rate(), kChunksPerSecond), in HandleMessage() 122 CheckedDivExact(reverse_sample_rate, kChunksPerSecond), in HandleMessage()
|
D | test_utils.cc | 134 rtc::CheckedDivExact(values.size(), static_cast<size_t>(3)); in ParseArrayGeometry()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/ |
D | audio_encoder_opus.cc | 28 config.frame_size_ms = rtc::CheckedDivExact(codec_inst.pacsize, 48); in CreateConfig() 150 rtc::CheckedDivExact(input_buffer_.size(), config_.num_channels), in EncodeInternal() 216 return static_cast<size_t>(rtc::CheckedDivExact(config_.frame_size_ms, 10)); in Num10msFramesPerPacket() 220 return rtc::CheckedDivExact(kSampleRateHz, 100) * config_.num_channels; in SamplesPer10msFrame()
|
D | opus_unittest.cc | 120 rtc::CheckedDivExact(input_audio.size(), channels_), in EncodeDecode() 593 rtc::CheckedDivExact(speech_block.size(), 2 * channels_), in TEST_P() 605 rtc::CheckedDivExact(speech_block.size(), channels_), in TEST_P() 647 rtc::CheckedDivExact(speech_block.size(), channels_), in TEST_P()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/pcm16b/ |
D | audio_encoder_pcm16b.cc | 34 config.frame_size_ms = rtc::CheckedDivExact( in CreateConfig() 35 codec_inst.pacsize, rtc::CheckedDivExact(config.sample_rate_hz, 1000)); in CreateConfig()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/ |
D | audio_encoder_isac_t_impl.h | 29 rtc::CheckedDivExact(1000 * codec_inst.pacsize, config.sample_rate_hz); in CreateIsacConfig() 99 rtc::CheckedDivExact(samples_in_next_packet, in Num10MsFramesInNextPacket() 100 rtc::CheckedDivExact(SampleRateHz(), 100))); in Num10MsFramesInNextPacket()
|
/external/webrtc/webrtc/modules/audio_processing/beamformer/ |
D | nonlinear_beamformer_test.cc | 62 rtc::CheckedDivExact(in_file.sample_rate(), kChunksPerSecond), in main() 65 rtc::CheckedDivExact(out_file.sample_rate(), kChunksPerSecond), in main()
|
/external/webrtc/webrtc/modules/audio_processing/ |
D | three_band_filter_bank.cc | 112 : in_buffer_(rtc::CheckedDivExact(length, kNumBands)), in ThreeBandFilterBank() 141 RTC_CHECK_EQ(in_buffer_.size(), rtc::CheckedDivExact(length, kNumBands)); in Analysis()
|
D | audio_buffer.cc | 39 num_bands = rtc::CheckedDivExact(num_frames, kSamplesPer16kHzChannel); in NumBandsFromSamplesPerChannel() 58 num_split_frames_(rtc::CheckedDivExact(proc_num_frames_, num_bands_)), in AudioBuffer()
|
D | audio_processing_impl.cc | 1376 rtc::CheckedDivExact(capture_nonlocked_.split_rate, 1000); in MaybeUpdateHistograms()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/cng/ |
D | audio_encoder_cng.cc | 70 rtc::CheckedDivExact(kMaxFrameSizeMs, 10) * SamplesPer10msFrame(); in MaxEncodedBytes() 261 return rtc::CheckedDivExact(10 * SampleRateHz(), 1000); in SamplesPer10msFrame()
|
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
D | codec_manager.cc | 125 ci.pacsize = rtc::CheckedDivExact( in ForgeCodecInst()
|
D | audio_coding_module_impl.cc | 141 rtc::CheckedDivExact( in Encode() 143 static_cast<uint32_t>(rtc::CheckedDivExact( in Encode()
|
D | audio_coding_module_unittest_oldapi.cc | 811 for (int i = 0; i < rtc::CheckedDivExact(kPacketSizeMs, 10); ++i) { in CbReceiveImpl()
|
/external/webrtc/webrtc/base/ |
D | checks.h | 222 inline T CheckedDivExact(T a, T b) { in CheckedDivExact() function
|
/external/webrtc/webrtc/modules/audio_coding/neteq/ |
D | statistics_calculator.cc | 173 rtc::CheckedDivExact(static_cast<int>(1000 * num_samples), fs_hz); in IncreaseCounter()
|
D | neteq_impl.cc | 302 static_cast<int>(delay_samples) / rtc::CheckedDivExact(fs_hz_, 1000); in CurrentDelayMs()
|