Home
last modified time | relevance | path

Searched refs:sendCodec (Results 1 – 6 of 6) sorted by relevance

/external/webrtc/webrtc/modules/video_coding/
Dvideo_sender.cc83 int32_t VideoSender::RegisterSendCodec(const VideoCodec* sendCodec, in RegisterSendCodec() argument
88 if (sendCodec == nullptr) { in RegisterSendCodec()
93 _codecDataBase.SetSendCodec(sendCodec, numberOfCores, maxPayloadSize); in RegisterSendCodec()
100 current_codec_ = *sendCodec; in RegisterSendCodec()
104 << sendCodec->plName << "'."; in RegisterSendCodec()
109 if (sendCodec->codecType == kVideoCodecVP8) { in RegisterSendCodec()
110 numLayers = sendCodec->codecSpecific.VP8.numberOfTemporalLayers; in RegisterSendCodec()
111 } else if (sendCodec->codecType == kVideoCodecVP9) { in RegisterSendCodec()
112 numLayers = sendCodec->codecSpecific.VP9.numberOfTemporalLayers; in RegisterSendCodec()
119 numLayers > 1 && sendCodec->mode == kScreensharing; in RegisterSendCodec()
[all …]
Dvideo_coding_impl.cc105 int32_t RegisterSendCodec(const VideoCodec* sendCodec, in RegisterSendCodec() argument
108 return sender_.RegisterSendCodec(sendCodec, numberOfCores, maxPayloadSize); in RegisterSendCodec()
Dvideo_coding_impl.h67 int32_t RegisterSendCodec(const VideoCodec* sendCodec,
/external/webrtc/webrtc/modules/audio_coding/test/
DiSACTest.cc50 auto sendCodec = acm->SendCodec(); in SetISAConfig() local
51 EXPECT_TRUE(sendCodec); in SetISAConfig()
54 sendCodec->rate = -1; in SetISAConfig()
55 EXPECT_EQ(0, acm->RegisterSendCodec(*sendCodec)); in SetISAConfig()
58 sendCodec->rate = isacConfig.currentRateBitPerSec; in SetISAConfig()
61 sendCodec->pacsize = isacConfig.currentFrameSizeMsec in SetISAConfig()
62 * (sendCodec->plfreq / 1000); in SetISAConfig()
64 EXPECT_EQ(0, acm->RegisterSendCodec(*sendCodec)); in SetISAConfig()
DEncodeDecodeTest.cc56 struct CodecInst sendCodec; in Setup() local
79 EXPECT_EQ(0, acm->Codec(n, &sendCodec)); in Setup()
80 printf("%d %s\n", n, sendCodec.plname); in Setup()
86 EXPECT_EQ(0, acm->Codec(codecNo, &sendCodec)); in Setup()
88 sendCodec.channels = channels; in Setup()
90 EXPECT_EQ(0, acm->RegisterSendCodec(sendCodec)); in Setup()
91 _packetization = new TestPacketization(rtpStream, sendCodec.plfreq); in Setup()
/external/webrtc/webrtc/modules/video_coding/include/
Dvideo_coding.h108 virtual int32_t RegisterSendCodec(const VideoCodec* sendCodec,