Searched refs:speech_encoder_ (Results 1 – 7 of 7) sorted by relevance
20 : 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 …]
59 AudioEncoder* speech_encoder_;
53 : 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 …]
80 AudioEncoder* speech_encoder_; variable
33 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
240 speech_encoder_ = std::move(enc); in RentEncoder()241 return speech_encoder_.get(); in RentEncoder()
236 rtc::scoped_ptr<AudioEncoder> speech_encoder_;