/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/ |
D | audio_coding_module_impl.cc | 758 static int IsValidSendCodec(const CodecInst& send_codec, in IsValidSendCodec() argument 762 if ((send_codec.channels != 1) && (send_codec.channels != 2)) { in IsValidSendCodec() 765 "supported) for %s encoder", send_codec.channels, in IsValidSendCodec() 770 int codec_id = ACMCodecDB::CodecNumber(send_codec, mirror_id); in IsValidSendCodec() 780 if (!ACMCodecDB::ValidPayloadType(send_codec.pltype)) { in IsValidSendCodec() 782 "Invalid payload-type %d for %s.", send_codec.pltype, in IsValidSendCodec() 783 send_codec.plname); in IsValidSendCodec() 788 if (!STR_CASE_CMP(send_codec.plname, "telephone-event")) { in IsValidSendCodec() 796 < send_codec.channels) { in IsValidSendCodec() 799 send_codec.channels, send_codec.plname); in IsValidSendCodec() [all …]
|
D | audio_coding_module_impl.h | 59 virtual int RegisterSendCodec(const CodecInst& send_codec) OVERRIDE; 63 virtual int RegisterSecondarySendCodec(const CodecInst& send_codec) OVERRIDE; 406 virtual bool RegisterSendCodec(AudioEncoder* send_codec) OVERRIDE;
|
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/ |
D | codec_database.cc | 193 const VideoCodec* send_codec, in SetSendCodec() argument 197 if (!send_codec) { in SetSendCodec() 206 if (send_codec->plType <= 0) { in SetSendCodec() 210 if (send_codec->startBitrate > 1000000) { in SetSendCodec() 213 if (send_codec->codecType == kVideoCodecUnknown) { in SetSendCodec() 227 memcpy(&new_send_codec, send_codec, sizeof(new_send_codec)); in SetSendCodec() 231 new_send_codec.maxBitrate = (static_cast<int>(send_codec->height) * in SetSendCodec() 232 static_cast<int>(send_codec->width) * in SetSendCodec() 233 static_cast<int>(send_codec->maxFramerate)) / 1000; in SetSendCodec() 234 if (send_codec->startBitrate > new_send_codec.maxBitrate) { in SetSendCodec() [all …]
|
D | codec_database.h | 71 bool SetSendCodec(const VideoCodec* send_codec, 163 bool RequiresEncoderReset(const VideoCodec& send_codec);
|
/external/chromium_org/third_party/webrtc/voice_engine/test/auto_test/standard/ |
D | file_test.cc | 64 webrtc::CodecInst send_codec; in TEST_F() local 65 voe_codec_->GetSendCodec(channel_, send_codec); in TEST_F() 72 channel_, recording_filename.c_str(), &send_codec)); in TEST_F()
|
/external/chromium_org/third_party/webrtc/video_engine/ |
D | vie_encoder.cc | 842 VideoCodec send_codec; in OnNetworkChanged() local 843 if (vcm_.SendCodec(&send_codec) != 0) { in OnNetworkChanged() 846 SimulcastStream* stream_configs = send_codec.simulcastStream; in OnNetworkChanged() 851 send_codec.numberOfSimulcastStreams); in OnNetworkChanged() 856 if (send_codec.numberOfSimulcastStreams == 0) { in OnNetworkChanged() 857 pad_up_to_bitrate_kbps = send_codec.minBitrate; in OnNetworkChanged() 860 stream_configs[send_codec.numberOfSimulcastStreams - 1].minBitrate; in OnNetworkChanged() 861 for (int i = 0; i < send_codec.numberOfSimulcastStreams - 1; ++i) { in OnNetworkChanged() 868 if (!video_is_suspended && send_codec.numberOfSimulcastStreams <= 1) in OnNetworkChanged()
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
D | fakewebrtcvoiceengine.h | 207 memset(&send_codec, 0, sizeof(send_codec)); in Channel() 240 webrtc::CodecInst send_codec; member 528 channels_[channel]->send_codec = codec; 534 codec = channels_[channel]->send_codec; 627 if (channels_[channel]->send_codec.channels == 2) { 640 if (_stricmp(channels_[channel]->send_codec.plname, "opus") != 0) { 656 if (_stricmp(channels_[channel]->send_codec.plname, "opus") != 0) { 950 webrtc::CodecInst send_codec = channels_[channel]->send_codec; variable 951 if (send_codec.pltype >= 0) { 953 if (send_codec.plfreq / 1000 > 0) { [all …]
|
D | webrtcvoiceengine.cc | 2044 webrtc::CodecInst send_codec; in SetSendCodecs() local 2045 memset(&send_codec, 0, sizeof(send_codec)); in SetSendCodecs() 2078 if (!GetRedSendCodec(*it, codecs, &send_codec)) { in SetSendCodecs() 2097 send_codec = voe_codec; in SetSendCodecs() 2102 GetOpusConfig(*it, &send_codec, &enable_codec_fec, &max_playback_rate); in SetSendCodecs() 2121 if (!SetSendCodec(channel, send_codec)) in SetSendCodecs() 2153 send_codec_.reset(new webrtc::CodecInst(send_codec)); in SetSendCodecs() 2216 if (it->clockrate == send_codec.plfreq) { in SetSendCodecs() 2273 const webrtc::CodecInst& send_codec) { in SetSendCodecs() argument 2274 LOG(LS_INFO) << "Selected voice codec " << ToString(send_codec) in SetSendCodecs() [all …]
|
D | webrtcvoiceengine.h | 398 webrtc::CodecInst* send_codec); 416 bool SetSendCodec(const webrtc::CodecInst& send_codec); 417 bool SetSendCodec(int channel, const webrtc::CodecInst& send_codec);
|
D | fakewebrtcvideoengine.h | 299 memset(&send_codec, 0, sizeof(send_codec)); in Channel() 332 webrtc::VideoCodec send_codec; member 768 channels_[channel]->send_codec = codec; 775 codec = channels_.find(channel)->second->send_codec; 1066 red_type == channels_[channel]->send_codec.plType || 1067 fec_type == channels_[channel]->send_codec.plType) {
|
D | webrtcvideoengine_unittest.cc | 1625 webrtc::VideoCodec send_codec; in TEST_F() local 1626 memset(&send_codec, 0, sizeof(send_codec)); // avoid uninitialized warning in TEST_F() 1627 EXPECT_EQ(0, vie_.GetSendCodec(channel_num, send_codec)); in TEST_F() 1628 EXPECT_TRUE(send_codec.codecSpecific.VP8.denoisingOn); in TEST_F() 1636 EXPECT_EQ(0, vie_.GetSendCodec(channel_num, send_codec)); in TEST_F() 1637 EXPECT_FALSE(send_codec.codecSpecific.VP8.denoisingOn); in TEST_F() 1670 cricket::VideoCodec send_codec(100, "VP8", 640, 480, 30, 0); in TEST_F() local 1671 codecs.push_back(send_codec); in TEST_F()
|
D | webrtcvideoengine2.h | 228 virtual bool GetSendCodec(VideoCodec* send_codec) OVERRIDE;
|
D | webrtcvideoengine.h | 255 virtual bool GetSendCodec(VideoCodec* send_codec);
|
D | webrtcvideoengine.cc | 1807 bool WebRtcVideoMediaChannel::GetSendCodec(VideoCodec* send_codec) { in GetSendCodec() argument 1811 ConvertToCricketVideoCodec(*send_codec_, send_codec); in GetSendCodec()
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/interface/ |
D | audio_coding_module.h | 246 virtual int32_t RegisterSendCodec(const CodecInst& send_codec) = 0; 267 virtual int RegisterSecondarySendCodec(const CodecInst& send_codec) = 0; 1045 virtual bool RegisterSendCodec(AudioEncoder* send_codec) = 0;
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
D | filemediaengine.h | 275 virtual bool GetSendCodec(VideoCodec* send_codec) { in GetSendCodec() argument 276 *send_codec = VideoCodec(); in GetSendCodec()
|
D | fakemediaengine.h | 542 virtual bool GetSendCodec(VideoCodec* send_codec) { in GetSendCodec() argument 546 *send_codec = send_codecs_[0]; in GetSendCodec()
|
D | mediachannel.h | 1153 virtual bool GetSendCodec(VideoCodec* send_codec) = 0;
|