Home
last modified time | relevance | path

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

123

/external/webrtc/modules/audio_processing/agc2/
Dvad_wrapper.cc68 rtc::CheckedDivExact(vad_reset_period_ms, kFrameDurationMs)), in VoiceActivityDetectorWrapper()
74 rtc::CheckedDivExact(vad_->SampleRateHz(), kNumFramesPerSecond)); in VoiceActivityDetectorWrapper()
82 frame_size_ = rtc::CheckedDivExact(sample_rate_hz, kNumFramesPerSecond); in Initialize()
Dfixed_digital_level_estimator_unittest.cc38 num_channels, rtc::CheckedDivExact(sample_rate_hz, 100), in TestLevelEstimator()
67 num_channels, rtc::CheckedDivExact(sample_rate_hz, 100), input_level); in TimeMsToDecreaseLevel()
82 num_channels, rtc::CheckedDivExact(sample_rate_hz, 100), 0); in TimeMsToDecreaseLevel()
Dfixed_digital_level_estimator.cc111 rtc::CheckedDivExact(sample_rate_hz * kFrameDurationMs, 1000); in SetSampleRate()
113 rtc::CheckedDivExact(samples_in_frame_, kSubFramesInFrame); in SetSampleRate()
Dvad_wrapper_unittest.cc86 : samples(rtc::CheckedDivExact(sample_rate_hz, kNumFramesPerSecond), in FrameWithView()
165 return rtc::SafeEq(frame.size(), rtc::CheckedDivExact(vad_sample_rate_hz(), in TEST_P()
Dnoise_level_estimator_unittest.cc36 rtc::CheckedDivExact(sample_rate_hz, kFramesPerSecond); in RunEstimator()
/external/webrtc/modules/audio_coding/neteq/tools/
Dfake_decode_from_file.cc137 return rtc::CheckedDivExact(SampleRateHz(), 100); in PacketDuration()
142 samples_to_decode % rtc::CheckedDivExact(SampleRateHz(), 100) != 0; in PacketDuration()
150 return rtc::CheckedDivExact(SampleRateHz(), 100); in PacketDuration()
Dencode_neteq_input.cc75 const size_t num_samples = rtc::CheckedDivExact( in CreatePacket()
/external/webrtc/modules/audio_coding/codecs/opus/
Dopus_unittest.cc97 const int samples_per_ms = rtc::CheckedDivExact(sample_rate_hz, 1000); in SamplesPerChannel()
184 rtc::CheckedDivExact(encoder_sample_rate_hz_, 1000); in PrepareSpeechData()
217 rtc::CheckedDivExact(input_audio.size(), channels_); in EncodeDecode()
251 rtc::CheckedDivExact(encoder_sample_rate_hz_, 1000) * block_length_ms; in TestDtxEffect()
253 rtc::CheckedDivExact(decoder_sample_rate_hz_, 1000) * block_length_ms; in TestDtxEffect()
420 rtc::CheckedDivExact(decoder_sample_rate_hz_, 1000) * block_length_ms; in TestCbrEffect()
855 rtc::CheckedDivExact(speech_block.size(), 2 * channels_), kMaxBytes, in TEST_P()
866 rtc::CheckedDivExact(speech_block.size(), channels_), in TEST_P()
918 rtc::CheckedDivExact(speech_block.size(), channels_), in TEST_P()
Daudio_encoder_multi_channel_opus_impl.cc302 return static_cast<size_t>(rtc::CheckedDivExact(config_.frame_size_ms, 10)); in Num10msFramesPerPacket()
305 return rtc::CheckedDivExact(48000, 100) * config_.num_channels; in SamplesPer10msFrame()
344 rtc::CheckedDivExact(input_buffer_.size(), config_.num_channels), in EncodeImpl()
Daudio_encoder_opus_unittest.cc74 config.frame_size_ms = rtc::CheckedDivExact(kDefaultOpusPacSize, 48); in CreateCodec()
124 rtc::CheckedDivExact(encoder->SampleRateHz(), 1000); in Create10msAudioBlocks()
205 rtc::CheckedDivExact(48000, kDefaultOpusPacSize); in TEST_P()
412 const size_t opus_rate_khz = rtc::CheckedDivExact(sample_rate_hz_, 1000); in TEST_P()
435 rtc::CheckedDivExact(silence.size(), config.num_channels), in TEST_P()
451 rtc::CheckedDivExact(silence.size(), config.num_channels), in TEST_P()
492 const size_t opus_rate_khz = rtc::CheckedDivExact(sample_rate_hz_, 1000); in TEST_P()
/external/webrtc/modules/audio_processing/test/
Decho_canceller_test_tools_unittest.cc31 for (size_t k = 0; k < rtc::CheckedDivExact(v.size(), kBlockSize); ++k) { in TEST()
50 for (size_t k = 0; k < rtc::CheckedDivExact(v.size(), kBlockSize); ++k) { in TEST()
Daudio_processing_simulator.cc365 rtc::CheckedDivExact(input_sample_rate_hz, kChunksPerSecond), in SetupBuffersConfigsOutputs()
371 rtc::CheckedDivExact(reverse_input_sample_rate_hz, kChunksPerSecond), in SetupBuffersConfigsOutputs()
376 rtc::CheckedDivExact(output_sample_rate_hz, kChunksPerSecond), in SetupBuffersConfigsOutputs()
382 rtc::CheckedDivExact(reverse_output_sample_rate_hz, kChunksPerSecond), in SetupBuffersConfigsOutputs()
Dsimulator_buffers.cc60 int samples_per_channel = rtc::CheckedDivExact(sample_rate_hz, 100); in CreateConfigAndBuffer()
Dbitexactness_tools.cc85 rtc::CheckedDivExact(reference.size(), num_channels); in VerifyDeinterleavedArray()
/external/webrtc/modules/audio_processing/agc2/rnn_vad/
Drnn_gru_unittest.cc33 const int input_sequence_length = rtc::CheckedDivExact( in TestGatedRecurrentLayer()
35 const int output_sequence_length = rtc::CheckedDivExact( in TestGatedRecurrentLayer()
Dtest_utils.cc102 const int num_chunks = rtc::CheckedDivExact(reader->size(), kBufSize24kHz); in CreatePitchBuffer24kHzReader()
112 const int num_chunks = rtc::CheckedDivExact(reader->size(), kChunkSize); in CreateLpResidualAndPitchInfoReader()
Drnn_fc.cc42 const int input_size = rtc::CheckedDivExact( in PreprocessWeights()
Drnn_vad_tool.cc62 rtc::CheckedDivExact(wav_reader.sample_rate(), 100); in main()
/external/webrtc/modules/audio_coding/acm2/
Dacm_send_test.cc77 format.parameters["ptime"] = rtc::ToString(rtc::CheckedDivExact( in RegisterCodec()
78 frame_size_samples, rtc::CheckedDivExact(clockrate_hz, 1000))); in RegisterCodec()
/external/webrtc/modules/audio_processing/transient/
Dvoice_probability_delay_unit.cc29 int frame_size = rtc::CheckedDivExact(sample_rate_hz, 100); // 10 ms. in Initialize()
/external/webrtc/modules/audio_coding/neteq/
Dnormal.h44 samples_per_ms_(rtc::CheckedDivExact(fs_hz_, 1000)), in Normal()
/external/webrtc/modules/audio_coding/codecs/pcm16b/
Daudio_decoder_pcm16b.cc58 const int samples_per_ms = rtc::CheckedDivExact(sample_rate_hz_, 1000); in ParsePayload()
/external/webrtc/modules/audio_coding/test/
DTestAllCodecs.cc339 format.parameters["ptime"] = rtc::ToString(rtc::CheckedDivExact( in RegisterSendCodec()
340 packet_size, rtc::CheckedDivExact(sampling_freq_hz, 1000))); in RegisterSendCodec()
/external/webrtc/modules/audio_processing/test/py_quality_assessment/quality_assessment/
Dapm_vad.cc48 const size_t audio_frame_len = rtc::CheckedDivExact( in main()
Dvad.cc50 const size_t audio_frame_length = rtc::CheckedDivExact( in main()

123