Home
last modified time | relevance | path

Searched refs:SampleRateHz (Results 1 – 25 of 26) sorted by relevance

12

/external/webrtc/webrtc/modules/audio_coding/codecs/cng/
Daudio_encoder_cng.cc61 cng_inst_ = CreateCngInst(SampleRateHz(), sid_frame_interval_ms_, in AudioEncoderCng()
74 int AudioEncoderCng::SampleRateHz() const { in SampleRateHz() function in webrtc::AudioEncoderCng
75 return speech_encoder_->SampleRateHz(); in SampleRateHz()
135 SampleRateHz()); in EncodeInternal()
140 samples_per_10ms_frame * blocks_in_second_vad_call, SampleRateHz()); in EncodeInternal()
175 cng_inst_ = CreateCngInst(SampleRateHz(), sid_frame_interval_ms_, in Reset()
261 return rtc::CheckedDivExact(10 * SampleRateHz(), 1000); in SamplesPer10msFrame()
Daudio_encoder_cng.h53 int SampleRateHz() const override;
Daudio_encoder_cng_unittest.cc64 EXPECT_CALL(mock_encoder_, SampleRateHz()) in CreateCng()
/external/webrtc/webrtc/modules/audio_coding/codecs/
Daudio_encoder.cc23 return SampleRateHz(); in RtpTimestampRateHz()
33 static_cast<size_t>(NumChannels() * SampleRateHz() / 100)); in Encode()
Daudio_encoder.h63 virtual int SampleRateHz() const = 0;
/external/webrtc/webrtc/modules/audio_coding/codecs/g711/
Daudio_encoder_pcm.cc59 int AudioEncoderPcm::SampleRateHz() const { in SampleRateHz() function in webrtc::AudioEncoderPcm
77 8 * BytesPerSample() * SampleRateHz() * NumChannels()); in GetTargetBitrate()
Daudio_encoder_pcm.h39 int SampleRateHz() const override;
/external/webrtc/webrtc/modules/audio_coding/codecs/red/
Daudio_encoder_copy_red.cc31 int AudioEncoderCopyRed::SampleRateHz() const { in SampleRateHz() function in webrtc::AudioEncoderCopyRed
32 return speech_encoder_->SampleRateHz(); in SampleRateHz()
Daudio_encoder_copy_red_unittest.cc46 EXPECT_CALL(mock_encoder_, SampleRateHz()) in AudioEncoderCopyRedTest()
108 EXPECT_CALL(mock_encoder_, SampleRateHz()).WillOnce(Return(17)); in TEST_F()
109 EXPECT_EQ(17, red_->SampleRateHz()); in TEST_F()
Daudio_encoder_copy_red.h40 int SampleRateHz() const override;
/external/webrtc/webrtc/modules/audio_coding/acm2/
Daudio_coding_module_impl.cc144 audio_encoder->SampleRateHz(), in Encode()
253 return enc->SampleRateHz(); in SendFrequency()
366 const bool resample = in_frame.sample_rate_hz_ != enc->SampleRateHz(); in PreprocessToAddData()
382 static_cast<uint32_t>(static_cast<double>(enc->SampleRateHz()) / in PreprocessToAddData()
422 src_ptr_audio, in_frame.sample_rate_hz_, enc->SampleRateHz(), in PreprocessToAddData()
433 preprocess_frame_.sample_rate_hz_ = enc->SampleRateHz(); in PreprocessToAddData()
Drent_a_codec_unittest.cc107 EXPECT_CALL(external_encoder, SampleRateHz()) in TEST()
167 EXPECT_CALL(speech_encoder, SampleRateHz()).WillRepeatedly(Return(8000)); in TestCngAndRedResetSpeechEncoder()
Dcodec_manager_unittest.cc26 EXPECT_CALL(*enc, SampleRateHz()).WillRepeatedly(Return(8000)); in CreateMockEncoder()
Dcodec_manager.cc124 ci.plfreq = external_speech_encoder->SampleRateHz(); in ForgeCodecInst()
Drent_a_codec.cc268 auto it = m.find(param->speech_encoder->SampleRateHz()); in RentEncoderStack()
/external/webrtc/webrtc/modules/audio_coding/codecs/isac/
Daudio_encoder_isac_t_impl.h86 int AudioEncoderIsacT<T>::SampleRateHz() const { in SampleRateHz() function
100 rtc::CheckedDivExact(SampleRateHz(), 100))); in Num10MsFramesInNextPacket()
Daudio_encoder_isac_t.h58 int SampleRateHz() const override;
/external/webrtc/webrtc/modules/audio_coding/codecs/mock/
Dmock_audio_encoder.h26 MOCK_CONST_METHOD0(SampleRateHz, int());
/external/webrtc/webrtc/modules/audio_coding/codecs/ilbc/
Daudio_encoder_ilbc.h38 int SampleRateHz() const override;
Daudio_encoder_ilbc.cc63 int AudioEncoderIlbc::SampleRateHz() const { in SampleRateHz() function in webrtc::AudioEncoderIlbc
/external/webrtc/webrtc/modules/audio_coding/codecs/g722/
Daudio_encoder_g722.h38 int SampleRateHz() const override;
Daudio_encoder_g722.cc67 int AudioEncoderG722::SampleRateHz() const { in SampleRateHz() function in webrtc::AudioEncoderG722
/external/webrtc/webrtc/modules/audio_coding/codecs/opus/
Daudio_encoder_opus.h58 int SampleRateHz() const override;
Daudio_encoder_opus.cc113 int AudioEncoderOpus::SampleRateHz() const { in SampleRateHz() function in webrtc::AudioEncoderOpus
/external/webrtc/webrtc/modules/audio_coding/neteq/
Daudio_decoder_unittest.cc115 codec_input_rate_hz_ = audio_encoder_->SampleRateHz(); in SetUp()
146 const size_t samples_per_10ms = audio_encoder_->SampleRateHz() / 100; in EncodeFrame()
163 audio_encoder_->SampleRateHz() / in EncodeFrame()

12