Home
last modified time | relevance | path

Searched refs:speech_encoder_ (Results 1 – 7 of 7) sorted by relevance

/external/webrtc/webrtc/modules/audio_coding/codecs/red/
Daudio_encoder_copy_red.cc20 : speech_encoder_(config.speech_encoder), in AudioEncoderCopyRed()
22 RTC_CHECK(speech_encoder_) << "Speech encoder not provided."; in AudioEncoderCopyRed()
28 return 2 * speech_encoder_->MaxEncodedBytes(); in MaxEncodedBytes()
32 return speech_encoder_->SampleRateHz(); in SampleRateHz()
36 return speech_encoder_->NumChannels(); in NumChannels()
40 return speech_encoder_->RtpTimestampRateHz(); in RtpTimestampRateHz()
44 return speech_encoder_->Num10MsFramesInNextPacket(); in Num10MsFramesInNextPacket()
48 return speech_encoder_->Max10MsFramesInAPacket(); in Max10MsFramesInAPacket()
52 return speech_encoder_->GetTargetBitrate(); in GetTargetBitrate()
61 speech_encoder_->Encode(rtp_timestamp, audio, max_encoded_bytes, encoded); in EncodeInternal()
[all …]
Daudio_encoder_copy_red.h59 AudioEncoder* speech_encoder_;
/external/webrtc/webrtc/modules/audio_coding/codecs/cng/
Daudio_encoder_cng.cc53 : speech_encoder_(config.speech_encoder), in AudioEncoderCng()
68 const size_t max_encoded_bytes_active = speech_encoder_->MaxEncodedBytes(); in MaxEncodedBytes()
75 return speech_encoder_->SampleRateHz(); in SampleRateHz()
83 return speech_encoder_->RtpTimestampRateHz(); in RtpTimestampRateHz()
87 return speech_encoder_->Num10MsFramesInNextPacket(); in Num10MsFramesInNextPacket()
91 return speech_encoder_->Max10MsFramesInAPacket(); in Max10MsFramesInAPacket()
95 return speech_encoder_->GetTargetBitrate(); in GetTargetBitrate()
111 const size_t frames_to_encode = speech_encoder_->Num10MsFramesInNextPacket(); in EncodeInternal()
170 speech_encoder_->Reset(); in Reset()
180 return speech_encoder_->SetFec(enable); in SetFec()
[all …]
Daudio_encoder_cng.h80 AudioEncoder* speech_encoder_; variable
/external/webrtc/webrtc/modules/audio_coding/acm2/
Drent_a_codec_unittest.cc33 speech_encoder_ = rent_a_codec_.RentEncoder(kDefaultCodecInst); in CreateCodec()
34 ASSERT_TRUE(speech_encoder_); in CreateCodec()
37 param.speech_encoder = speech_encoder_; in CreateCodec()
61 AudioEncoder* speech_encoder_ = nullptr; member in webrtc::acm2::RentACodecTestF
Drent_a_codec.cc240 speech_encoder_ = std::move(enc); in RentEncoder()
241 return speech_encoder_.get(); in RentEncoder()
Drent_a_codec.h236 rtc::scoped_ptr<AudioEncoder> speech_encoder_;