Home
last modified time | relevance | path

Searched refs:codec_params (Results 1 – 4 of 4) sorted by relevance

/external/webrtc/webrtc/tools/e2e_quality/audio/
Daudio_e2e_harness.cc57 CodecInst codec_params = {0}; in RunHarness() local
60 ASSERT_EQ(0, codec->GetCodec(i, codec_params)); in RunHarness()
61 if (FLAGS_codec.compare(codec_params.plname) == 0 && in RunHarness()
62 FLAGS_rate == codec_params.plfreq) { in RunHarness()
68 ASSERT_EQ(0, codec->SetSendCodec(channel, codec_params)); in RunHarness()
/external/webrtc/webrtc/voice_engine/test/cmd_test/
Dvoe_cmd_test.cc102 void SetStereoIfOpus(bool use_stereo, CodecInst* codec_params) { in SetStereoIfOpus() argument
103 if (strncmp(codec_params->plname, "opus", 4) == 0) { in SetStereoIfOpus()
105 codec_params->channels = 2; in SetStereoIfOpus()
107 codec_params->channels = 1; in SetStereoIfOpus()
112 CodecInst codec_params; in PrintCodecs() local
114 int res = codec->GetCodec(i, codec_params); in PrintCodecs()
116 SetStereoIfOpus(opus_stereo, &codec_params); in PrintCodecs()
117 printf("%2d. %3d %s/%d/%" PRIuS " \n", i, codec_params.pltype, in PrintCodecs()
118 codec_params.plname, codec_params.plfreq, codec_params.channels); in PrintCodecs()
/external/webrtc/webrtc/tools/agc/
Dagc_harness.cc130 CodecInst codec_params = {}; in SetUp() local
133 RTC_CHECK_EQ(0, codec_->GetCodec(i, codec_params)); in SetUp()
134 if (FLAGS_pt == codec_params.pltype) { in SetUp()
140 RTC_CHECK_EQ(0, codec_->SetSendCodec(channel_, codec_params)); in SetUp()
/external/webrtc/talk/app/webrtc/
Dwebrtcsdp.cc2909 std::vector<std::string> codec_params; in ParseRtpmapAttribute() local
2910 rtc::split(encoder, '/', &codec_params); in ParseRtpmapAttribute()
2913 if (codec_params.size() < 2 || codec_params.size() > 3) { in ParseRtpmapAttribute()
2919 const std::string& encoding_name = codec_params[0]; in ParseRtpmapAttribute()
2921 if (!GetValueFromString(line, codec_params[1], &clock_rate, error)) { in ParseRtpmapAttribute()
2941 if (codec_params.size() == 3) { in ParseRtpmapAttribute()
2942 if (!GetValueFromString(line, codec_params[2], &channels, error)) { in ParseRtpmapAttribute()
3018 cricket::CodecParameterMap codec_params; in ParseFmtpAttributes() local
3031 codec_params[name] = value; in ParseFmtpAttributes()
3036 media_desc, payload_type, codec_params); in ParseFmtpAttributes()
[all …]