Home
last modified time | relevance | path

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

/external/webrtc/modules/audio_coding/codecs/red/
Daudio_encoder_copy_red.cc29 : speech_encoder_(std::move(config.speech_encoder)), in AudioEncoderCopyRed()
31 RTC_CHECK(speech_encoder_) << "Speech encoder not provided."; in AudioEncoderCopyRed()
37 return speech_encoder_->SampleRateHz(); in SampleRateHz()
41 return speech_encoder_->NumChannels(); in NumChannels()
45 return speech_encoder_->RtpTimestampRateHz(); in RtpTimestampRateHz()
49 return speech_encoder_->Num10MsFramesInNextPacket(); in Num10MsFramesInNextPacket()
53 return speech_encoder_->Max10MsFramesInAPacket(); in Max10MsFramesInAPacket()
57 return speech_encoder_->GetTargetBitrate(); in GetTargetBitrate()
77 speech_encoder_->Encode(rtp_timestamp, audio, &primary_encoded); in EncodeImpl()
159 speech_encoder_->Reset(); in Reset()
[all …]
Daudio_encoder_copy_red.h75 std::unique_ptr<AudioEncoder> speech_encoder_; variable
/external/webrtc/modules/audio_coding/codecs/cng/
Daudio_encoder_cng.cc68 std::unique_ptr<AudioEncoder> speech_encoder_; member in webrtc::__anonc964e42d0111::AudioEncoderCng
80 : speech_encoder_((static_cast<void>([&] { in AudioEncoderCng()
97 return speech_encoder_->SampleRateHz(); in SampleRateHz()
105 return speech_encoder_->RtpTimestampRateHz(); in RtpTimestampRateHz()
109 return speech_encoder_->Num10MsFramesInNextPacket(); in Num10MsFramesInNextPacket()
113 return speech_encoder_->Max10MsFramesInAPacket(); in Max10MsFramesInAPacket()
117 return speech_encoder_->GetTargetBitrate(); in GetTargetBitrate()
130 const size_t frames_to_encode = speech_encoder_->Num10MsFramesInNextPacket(); in EncodeImpl()
189 speech_encoder_->Reset(); in Reset()
199 return speech_encoder_->SetFec(enable); in SetFec()
[all …]