/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 int RegisterSendCodec(const CodecInst& send_codec); 63 int RegisterSecondarySendCodec(const CodecInst& send_codec);
|
/external/chromium_org/third_party/webrtc/modules/video_coding/main/source/ |
D | codec_database.cc | 151 const VideoCodec* send_codec, in SetSendCodec() argument 155 if (!send_codec) { in SetSendCodec() 164 if (send_codec->plType <= 0) { in SetSendCodec() 168 if (send_codec->startBitrate > 1000000) { in SetSendCodec() 171 if (send_codec->codecType == kVideoCodecUnknown) { in SetSendCodec() 185 memcpy(&new_send_codec, send_codec, sizeof(new_send_codec)); in SetSendCodec() 189 new_send_codec.maxBitrate = (static_cast<int>(send_codec->height) * in SetSendCodec() 190 static_cast<int>(send_codec->width) * in SetSendCodec() 191 static_cast<int>(send_codec->maxFramerate)) / 1000; in SetSendCodec() 192 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/libjingle/source/talk/media/base/ |
D | hybridvideoengine.cc | 158 VideoCodec send_codec; in SetSendCodecs() local 159 return_value = active_channel_->GetSendCodec(&send_codec); in SetSendCodecs() 163 engine_->OnNewSendResolution(send_codec.width, send_codec.height); in SetSendCodecs() 164 active_channel_->UpdateAspectRatio(send_codec.width, send_codec.height); in SetSendCodecs() 168 bool HybridVideoMediaChannel::GetSendCodec(VideoCodec* send_codec) { in GetSendCodec() argument 172 return active_channel_->GetSendCodec(send_codec); in GetSendCodec()
|
D | filemediaengine.h | 277 virtual bool GetSendCodec(VideoCodec* send_codec) { in GetSendCodec() argument 278 *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 | 1178 virtual bool GetSendCodec(VideoCodec* send_codec) = 0;
|
/external/chromium_org/third_party/webrtc/voice_engine/test/auto_test/standard/ |
D | file_test.cc | 56 webrtc::CodecInst send_codec; in TEST_F() local 57 voe_codec_->GetSendCodec(channel_, send_codec); in TEST_F() 64 channel_, recording_filename.c_str(), &send_codec)); in TEST_F()
|
/external/chromium_org/third_party/webrtc/video_engine/ |
D | vie_encoder.cc | 847 VideoCodec send_codec; in OnNetworkChanged() local 848 if (vcm_.SendCodec(&send_codec) != 0) { in OnNetworkChanged() 851 SimulcastStream* stream_configs = send_codec.simulcastStream; in OnNetworkChanged() 856 send_codec.numberOfSimulcastStreams); in OnNetworkChanged() 861 if (send_codec.numberOfSimulcastStreams == 0) { in OnNetworkChanged() 862 pad_up_to_bitrate_kbps = send_codec.minBitrate; in OnNetworkChanged() 865 stream_configs[send_codec.numberOfSimulcastStreams - 1].minBitrate; in OnNetworkChanged() 866 for (int i = 0; i < send_codec.numberOfSimulcastStreams - 1; ++i) { in OnNetworkChanged() 873 if (!video_is_suspended && send_codec.numberOfSimulcastStreams <= 1) in OnNetworkChanged()
|
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/ |
D | fakewebrtcvoiceengine.h | 118 memset(&send_codec, 0, sizeof(send_codec)); in Channel() 150 webrtc::CodecInst send_codec; member 431 channels_[channel]->send_codec = codec; 437 codec = channels_[channel]->send_codec; 530 if (channels_[channel]->send_codec.channels == 2) { 830 webrtc::CodecInst send_codec = channels_[channel]->send_codec; variable 831 if (send_codec.pltype >= 0) { 833 if (send_codec.plfreq / 1000 > 0) { 834 block.interarrival_jitter = kIntStatValue * (send_codec.plfreq / 1000);
|
D | webrtcvoiceengine.cc | 1984 webrtc::CodecInst send_codec; in SetSendCodecs() local 1985 memset(&send_codec, 0, sizeof(send_codec)); in SetSendCodecs() 2060 if (!GetRedSendCodec(*it, codecs, &send_codec)) { in SetSendCodecs() 2079 send_codec = voe_codec; in SetSendCodecs() 2098 if (!SetSendCodec(channel, send_codec)) in SetSendCodecs() 2102 send_codec_.reset(new webrtc::CodecInst(send_codec)); in SetSendCodecs() 2165 if (it->clockrate == send_codec.plfreq) { in SetSendCodecs() 2222 const webrtc::CodecInst& send_codec) { in SetSendCodecs() argument 2223 LOG(LS_INFO) << "Selected voice codec " << ToString(send_codec) in SetSendCodecs() 2224 << ", bitrate=" << send_codec.rate; in SetSendCodecs() [all …]
|
D | webrtcvoiceengine.h | 381 webrtc::CodecInst* send_codec); 399 bool SetSendCodec(const webrtc::CodecInst& send_codec); 400 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 755 channels_[channel]->send_codec = codec; 762 codec = channels_.find(channel)->second->send_codec; 1050 red_type == channels_[channel]->send_codec.plType || 1051 fec_type == channels_[channel]->send_codec.plType) {
|
D | webrtcvideoengine_unittest.cc | 1649 webrtc::VideoCodec send_codec; in TEST_F() local 1650 memset(&send_codec, 0, sizeof(send_codec)); // avoid uninitialized warning in TEST_F() 1651 EXPECT_EQ(0, vie_.GetSendCodec(channel_num, send_codec)); in TEST_F() 1652 EXPECT_TRUE(send_codec.codecSpecific.VP8.denoisingOn); in TEST_F() 1660 EXPECT_EQ(0, vie_.GetSendCodec(channel_num, send_codec)); in TEST_F() 1661 EXPECT_FALSE(send_codec.codecSpecific.VP8.denoisingOn); in TEST_F() 1694 cricket::VideoCodec send_codec(100, "VP8", 640, 480, 30, 0); in TEST_F() local 1695 codecs.push_back(send_codec); in TEST_F()
|
D | webrtcvideoengine2.h | 214 virtual bool GetSendCodec(VideoCodec* send_codec) OVERRIDE;
|
D | webrtcvideoengine.h | 256 virtual bool GetSendCodec(VideoCodec* send_codec);
|
D | webrtcvideoengine.cc | 1810 bool WebRtcVideoMediaChannel::GetSendCodec(VideoCodec* send_codec) { in GetSendCodec() argument 1814 ConvertToCricketVideoCodec(*send_codec_, send_codec); in GetSendCodec()
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/interface/ |
D | audio_coding_module.h | 245 virtual int32_t RegisterSendCodec(const CodecInst& send_codec) = 0; 266 virtual int RegisterSecondarySendCodec(const CodecInst& send_codec) = 0;
|