Home
last modified time | relevance | path

Searched refs:CheckedDivExact (Results 1 – 17 of 17) sorted by relevance

/external/webrtc/webrtc/modules/audio_processing/test/
Daudio_file_processor.cc20 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()
Dtest_utils.cc134 rtc::CheckedDivExact(values.size(), static_cast<size_t>(3)); in ParseArrayGeometry()
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Daudio_encoder_opus.cc28 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()
Dopus_unittest.cc120 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/
Daudio_encoder_pcm16b.cc34 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/
Daudio_encoder_isac_t_impl.h29 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/
Dnonlinear_beamformer_test.cc62 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/
Dthree_band_filter_bank.cc112 : in_buffer_(rtc::CheckedDivExact(length, kNumBands)), in ThreeBandFilterBank()
141 RTC_CHECK_EQ(in_buffer_.size(), rtc::CheckedDivExact(length, kNumBands)); in Analysis()
Daudio_buffer.cc39 num_bands = rtc::CheckedDivExact(num_frames, kSamplesPer16kHzChannel); in NumBandsFromSamplesPerChannel()
58 num_split_frames_(rtc::CheckedDivExact(proc_num_frames_, num_bands_)), in AudioBuffer()
Daudio_processing_impl.cc1376 rtc::CheckedDivExact(capture_nonlocked_.split_rate, 1000); in MaybeUpdateHistograms()
/external/webrtc/webrtc/modules/audio_coding/codecs/cng/
Daudio_encoder_cng.cc70 rtc::CheckedDivExact(kMaxFrameSizeMs, 10) * SamplesPer10msFrame(); in MaxEncodedBytes()
261 return rtc::CheckedDivExact(10 * SampleRateHz(), 1000); in SamplesPer10msFrame()
/external/webrtc/webrtc/modules/audio_coding/acm2/
Dcodec_manager.cc125 ci.pacsize = rtc::CheckedDivExact( in ForgeCodecInst()
Daudio_coding_module_impl.cc141 rtc::CheckedDivExact( in Encode()
143 static_cast<uint32_t>(rtc::CheckedDivExact( in Encode()
Daudio_coding_module_unittest_oldapi.cc811 for (int i = 0; i < rtc::CheckedDivExact(kPacketSizeMs, 10); ++i) { in CbReceiveImpl()
/external/webrtc/webrtc/base/
Dchecks.h222 inline T CheckedDivExact(T a, T b) { in CheckedDivExact() function
/external/webrtc/webrtc/modules/audio_coding/neteq/
Dstatistics_calculator.cc173 rtc::CheckedDivExact(static_cast<int>(1000 * num_samples), fs_hz); in IncreaseCounter()
Dneteq_impl.cc302 static_cast<int>(delay_samples) / rtc::CheckedDivExact(fs_hz_, 1000); in CurrentDelayMs()