Searched refs:speech_encoder (Results 1 – 12 of 12) sorted by relevance
37 param.speech_encoder = speech_encoder_; in CreateCodec()114 param.speech_encoder = &external_encoder; in TEST()145 param.speech_encoder = rac.RentEncoder(codec_inst); in TEST()146 ASSERT_TRUE(param.speech_encoder); in TEST()147 EXPECT_EQ(param.speech_encoder, rac.RentEncoderStack(¶m)); in TEST()154 param.speech_encoder = &external_encoder; in TEST()163 MockAudioEncoder speech_encoder; in TestCngAndRedResetSpeechEncoder() local164 EXPECT_CALL(speech_encoder, NumChannels()).WillRepeatedly(Return(1)); in TestCngAndRedResetSpeechEncoder()165 EXPECT_CALL(speech_encoder, Max10MsFramesInAPacket()) in TestCngAndRedResetSpeechEncoder()167 EXPECT_CALL(speech_encoder, SampleRateHz()).WillRepeatedly(Return(8000)); in TestCngAndRedResetSpeechEncoder()[all …]
185 config.speech_encoder = encoder; in CreateRedEncoder()198 config.speech_encoder = encoder; in CreateCngEncoder()255 RTC_DCHECK(param->speech_encoder); in RentEncoderStack()259 if (!param->speech_encoder->SetFec(true)) in RentEncoderStack()263 const bool success = param->speech_encoder->SetFec(false); in RentEncoderStack()268 auto it = m.find(param->speech_encoder->SampleRateHz()); in RentEncoderStack()274 param->use_cng && cng_pt && param->speech_encoder->NumChannels() == 1; in RentEncoderStack()281 param->speech_encoder->Reset(); in RentEncoderStack()283 encoder_stack_ = param->speech_encoder; in RentEncoderStack()
52 cm.GetStackParams()->speech_encoder = enc0.get(); in TEST()59 cm.GetStackParams()->speech_encoder = enc1.get(); in TEST()67 cm.GetStackParams()->speech_encoder = enc0.get(); in TEST()
116 codec_stack_params_.speech_encoder = nullptr; // Caller must recreate it. in RegisterEncoder()161 codec_stack_params_.speech_encoder in SetVAD()162 ? (codec_stack_params_.speech_encoder->NumChannels() != 1) in SetVAD()
205 if (!sp->speech_encoder && codec_manager_.GetCodecInst()) { in RegisterSendCodec()211 sp->speech_encoder = enc; in RegisterSendCodec()213 if (sp->speech_encoder) in RegisterSendCodec()222 sp->speech_encoder = external_speech_encoder; in RegisterExternalSendCodec()233 auto* enc = codec_manager_.GetStackParams()->speech_encoder; in SendCodec()460 if (sp->speech_encoder) in SetREDStatus()485 if (sp->speech_encoder) in SetCodecFEC()517 if (sp->speech_encoder) in SetVAD()
208 AudioEncoder* speech_encoder = nullptr; member
39 if (!speech_encoder) in IsOk()41 if (num_channels != speech_encoder->NumChannels()) in IsOk()44 static_cast<int>(speech_encoder->Max10MsFramesInAPacket() * 10)) in IsOk()53 : speech_encoder_(config.speech_encoder), in AudioEncoderCng()
38 AudioEncoder* speech_encoder = nullptr; member
42 config_.speech_encoder = &mock_encoder_; in AudioEncoderCngTest()443 config_.speech_encoder = NULL; in TEST_F()
31 AudioEncoder* speech_encoder; member
42 config.speech_encoder = &mock_encoder_; in AudioEncoderCopyRedTest()327 config.speech_encoder = NULL; in TEST_F()
20 : speech_encoder_(config.speech_encoder), in AudioEncoderCopyRed()