Home
last modified time | relevance | path

Searched refs:plname (Results 1 – 25 of 50) sorted by relevance

12

/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/
Dacm_receive_test_oldapi.cc29 if (STR_CASE_CMP(codec_param->plname, "CN") == 0 && in ModifyAndUseThisCodec()
33 if (STR_CASE_CMP(codec_param->plname, "telephone-event") == 0) in ModifyAndUseThisCodec()
57 bool RemapPltypeAndUseThisCodec(const char* plname, in RemapPltypeAndUseThisCodec() argument
65 if (STR_CASE_CMP(plname, "PCMU") == 0 && plfreq == 8000) { in RemapPltypeAndUseThisCodec()
67 } else if (STR_CASE_CMP(plname, "PCMA") == 0 && plfreq == 8000) { in RemapPltypeAndUseThisCodec()
69 } else if (STR_CASE_CMP(plname, "CN") == 0 && plfreq == 8000) { in RemapPltypeAndUseThisCodec()
71 } else if (STR_CASE_CMP(plname, "CN") == 0 && plfreq == 16000) { in RemapPltypeAndUseThisCodec()
73 } else if (STR_CASE_CMP(plname, "CN") == 0 && plfreq == 32000) { in RemapPltypeAndUseThisCodec()
75 } else if (STR_CASE_CMP(plname, "ILBC") == 0) { in RemapPltypeAndUseThisCodec()
77 } else if (STR_CASE_CMP(plname, "ISAC") == 0 && plfreq == 16000) { in RemapPltypeAndUseThisCodec()
[all …]
Dacm_codec_database.cc427 if (STR_CASE_CMP(database_[codec_id].plname, "CN") == 0) { in CodecNumber()
433 if (STR_CASE_CMP(database_[codec_id].plname, "red") == 0) { in CodecNumber()
464 if (STR_CASE_CMP("isac", codec_inst.plname) == 0) { in CodecNumber()
473 } else if (STR_CASE_CMP("ilbc", codec_inst.plname) == 0) { in CodecNumber()
476 } else if (STR_CASE_CMP("amr", codec_inst.plname) == 0) { in CodecNumber()
479 } else if (STR_CASE_CMP("amr-wb", codec_inst.plname) == 0) { in CodecNumber()
482 } else if (STR_CASE_CMP("g7291", codec_inst.plname) == 0) { in CodecNumber()
485 } else if (STR_CASE_CMP("opus", codec_inst.plname) == 0) { in CodecNumber()
488 } else if (STR_CASE_CMP("speex", codec_inst.plname) == 0) { in CodecNumber()
491 } else if (STR_CASE_CMP("celt", codec_inst.plname) == 0) { in CodecNumber()
[all …]
Daudio_coding_module_impl.cc62 return (STR_CASE_CMP(codec->plname, "RED") == 0); in IsCodecRED()
70 return (STR_CASE_CMP(codec->plname, "CN") == 0); in IsCodecCN()
154 strncpy(send_codec_inst_.plname, no_name, RTP_PAYLOAD_NAME_SIZE - 1); in AudioCodingModuleImpl()
157 strncpy(secondary_send_codec_inst_.plname, no_name, in AudioCodingModuleImpl()
709 send_codec_inst_.plname[0] = '\0'; in InitializeSender()
783 send_codec.plname); in IsValidSendCodec()
788 if (!STR_CASE_CMP(send_codec.plname, "telephone-event")) { in IsValidSendCodec()
799 send_codec.channels, send_codec.plname); in IsValidSendCodec()
912 send_codec.plname); in RegisterSendCodec()
1669 codec.plname); in SetREDStatus()
[all …]
/external/chromium_org/third_party/webrtc/modules/media_file/source/
Dmedia_file_utility.cc170 if (strncmp(audioCodecInst.plname, "PCMU", 4) == 0) in InitAviWriting()
183 } else if (strncmp(audioCodecInst.plname, "PCMA", 4) == 0) in InitAviWriting()
196 } else if (strncmp(audioCodecInst.plname, "L16", 3) == 0) in InitAviWriting()
641 strcpy(codec_info_.plname, "PCMA"); in InitWavCodec()
647 strcpy(codec_info_.plname, "PCMU"); in InitWavCodec()
656 strcpy(codec_info_.plname, "L16"); in InitWavCodec()
661 strcpy(codec_info_.plname, "L16"); in InitWavCodec()
666 strcpy(codec_info_.plname, "L16"); in InitWavCodec()
673 strcpy(codec_info_.plname, "L16"); in InitWavCodec()
680 strcpy(codec_info_.plname, "L16"); in InitWavCodec()
[all …]
Dmedia_file_impl.cc51 codec_info_.plname[0] = '\0'; in MediaFileImpl()
671 codec_info_.plname[0] = '\0'; in StopPlaying()
769 if(bytesWritten > 0 && STR_NCASE_CMP(codec_info_.plname, in IncomingAudioVideoData()
1101 if((STR_NCASE_CMP(tmpAudioCodec.plname, "L16", 4) != 0) && in StartRecordingStream()
1102 (STR_NCASE_CMP(tmpAudioCodec.plname, "PCMU", 5) != 0) && in StartRecordingStream()
1103 (STR_NCASE_CMP(tmpAudioCodec.plname, "PCMA", 5) != 0)) in StartRecordingStream()
1167 codec_info_.plname[0] = '\0'; in StopRecording()
1265 if (codec_info_.pltype == 0 && codec_info_.plname[0] == '\0') in codec_info()
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_audio.cc211 memcpy(voice_codec.plname, "PCMU", 5); in TEST_F()
215 voice_codec.plname, in TEST_F()
223 voice_codec.plname, in TEST_F()
245 memcpy(voice_codec.plname, "PCMU", 5); in TEST_F()
249 voice_codec.plname, in TEST_F()
257 voice_codec.plname, in TEST_F()
269 memcpy(voice_codec.plname, "RED", 4); in TEST_F()
276 voice_codec.plname, in TEST_F()
282 voice_codec.plname, in TEST_F()
318 memcpy(voice_codec.plname, "PCMU", 5); in TEST_F()
[all …]
Dtest_api_rtcp.cc168 memcpy(voice_codec.plname, "PCMU", 5); in SetUp()
172 voice_codec.plname, in SetUp()
179 voice_codec.plname, in SetUp()
/external/chromium_org/third_party/webrtc/voice_engine/test/auto_test/standard/
Dcodec_before_streaming_test.cc35 strcpy(codec_instance_.plname, "SomeInvalidCodecName"); in TEST_F()
42 strcpy(codec_instance_.plname, "iSAC"); in TEST_F()
44 strcpy(codec_instance_.plname, "ISAC"); in TEST_F()
49 strcpy(codec_instance_.plname, "ISAC"); in TEST_F()
64 strcpy(codec_instance_.plname, "iLBC"); in TEST_F()
Dcodec_test.cc30 if (!_stricmp(codec_instance->plname, "ilbc")) { in SetRateIfILBC()
52 EXPECT_STRCASEEQ("PCMU", codec_instance_.plname); in TEST_F()
136 if (_stricmp("opus", codec_instance_.plname)) { in TEST_F()
152 if (!_stricmp("opus", codec_instance_.plname)) { in TEST_F()
164 if (IsNotViableSendCodec(codec_instance_.plname)) { in TEST_F()
165 TEST_LOG("Skipping %s.\n", codec_instance_.plname); in TEST_F()
173 codec_instance_.plname, codec_instance_.pltype, in TEST_F()
/external/chromium_org/third_party/webrtc/voice_engine/
Dvoe_codec_unittest.cc68 if (!STR_CASE_CMP(my_codec.plname, "isac") && my_codec.plfreq == 16000) { in SetUp()
71 } else if (!STR_CASE_CMP(my_codec.plname, "isac") && in SetUp()
75 } else if (!STR_CASE_CMP(my_codec.plname, "L16") && in SetUp()
79 } else if (!STR_CASE_CMP(my_codec.plname, "RED")) { in SetUp()
152 EXPECT_EQ(0, STR_CASE_CMP(valid_secondary_.plname, my_codec.plname)); in TEST_F()
178 strncpy(codec1.plname, "isac", 4); in TEST()
196 strncpy(codec2.plname, "ISAC", 4); in TEST()
Dvoe_codec_impl.cc82 "channels=%d, rate=%d", codec.plname, codec.pacsize, in GetCodec()
96 "channels=%d, rate=%d", codec.plname, codec.pacsize, in SetSendCodec()
104 if ((STR_CASE_CMP(copyCodec.plname, "L16") == 0) && in SetSendCodec()
111 if (!STR_CASE_CMP(copyCodec.plname, "CN") in SetSendCodec()
112 || !STR_CASE_CMP(copyCodec.plname, "TELEPHONE-EVENT") in SetSendCodec()
113 || !STR_CASE_CMP(copyCodec.plname, "RED")) in SetSendCodec()
178 "channels=%d, rate=%d", codec.plname, codec.pacsize, in GetSendCodec()
211 "channels=%d, rate=%d", codec.plname, codec.pacsize, in GetRecCodec()
222 "pacsize=%d, rate=%d", codec.plname, codec.plfreq, codec.pltype, in SetRecPayloadType()
443 if (STR_CASE_CMP(fromInst.plname,"SILK") == 0) in ACMToExternalCodecRepresentation()
[all …]
Dtransmit_mixer.cc716 } else if ((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingMicrophone()
717 (STR_CASE_CMP(codecInst->plname,"PCMU") == 0) || in StartRecordingMicrophone()
718 (STR_CASE_CMP(codecInst->plname,"PCMA") == 0)) in StartRecordingMicrophone()
794 } else if ((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingMicrophone()
795 (STR_CASE_CMP(codecInst->plname,"PCMU") == 0) || in StartRecordingMicrophone()
796 (STR_CASE_CMP(codecInst->plname,"PCMA") == 0)) in StartRecordingMicrophone()
899 } else if ((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingCall()
900 (STR_CASE_CMP(codecInst->plname,"PCMU") == 0) || in StartRecordingCall()
901 (STR_CASE_CMP(codecInst->plname,"PCMA") == 0)) in StartRecordingCall()
977 } else if ((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingCall()
[all …]
Doutput_mixer.cc330 else if((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingPlayout()
331 (STR_CASE_CMP(codecInst->plname,"PCMU") == 0) || in StartRecordingPlayout()
332 (STR_CASE_CMP(codecInst->plname,"PCMA") == 0)) in StartRecordingPlayout()
410 else if((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingPlayout()
411 (STR_CASE_CMP(codecInst->plname,"PCMU") == 0) || in StartRecordingPlayout()
412 (STR_CASE_CMP(codecInst->plname,"PCMA") == 0)) in StartRecordingPlayout()
Dchannel.cc379 strncpy(receiveCodec.plname, payloadName, RTP_PAYLOAD_NAME_SIZE - 1); in OnInitializeDecoder()
1136 codec.plname, in Init()
1146 codec.plname, codec.pltype, codec.plfreq, in Init()
1155 codec.plname, codec.pltype, codec.plfreq, in Init()
1160 if (!STR_CASE_CMP(codec.plname, "PCMU") && (codec.channels == 1)) in Init()
1166 if (!STR_CASE_CMP(codec.plname, "telephone-event")) in Init()
1179 if (!STR_CASE_CMP(codec.plname, "CN")) in Init()
1195 if (!STR_CASE_CMP(codec.plname, "RED")) in Init()
1564 rxCodec.plname, in SetRecPayloadType()
1591 codec.plname, in SetRecPayloadType()
[all …]
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/
DTestVADDTX.cc49 if (!strcmp(myCodecParam.plname, "opus")) { in Perform()
217 if (!STR_CASE_CMP(myCodecParam.plname, codecName)) { in RegisterSendCodec()
277 if ((STR_CASE_CMP(myCodecParam.plname, "G729") == 0) in VerifyTest()
278 || (STR_CASE_CMP(myCodecParam.plname, "G723") == 0) in VerifyTest()
279 || (STR_CASE_CMP(myCodecParam.plname, "AMR") == 0) in VerifyTest()
280 || (STR_CASE_CMP(myCodecParam.plname, "AMR-wb") == 0) in VerifyTest()
281 || (STR_CASE_CMP(myCodecParam.plname, "speex") == 0)) { in VerifyTest()
286 } else if (STR_CASE_CMP(myCodecParam.plname, "opus") == 0) { in VerifyTest()
DAPITest.cc143 if ((STR_CASE_CMP(dummyCodec.plname, "CN") == 0) in SetUp()
148 printf("Register Receive Codec %s ", dummyCodec.plname); in SetUp()
150 if ((n != 0) && !FixedPayloadTypeCodec(dummyCodec.plname)) { in SetUp()
158 if ((n < numCodecs - 1) && !FixedPayloadTypeCodec(dummyCodec.plname)) { in SetUp()
164 if (!FixedPayloadTypeCodec(nextCodec.plname)) { in SetUp()
170 if ((n < numCodecs - 1) && !FixedPayloadTypeCodec(dummyCodec.plname)) { in SetUp()
175 if (!FixedPayloadTypeCodec(nextCodec.plname)) { in SetUp()
186 if (!strcmp(dummyCodec.plname, "CN")) { in SetUp()
885 if (!FixedPayloadTypeCodec(myCodec.plname)) { in TestRegisteration()
1116 fprintf(stdout, "Name................. %s\n", myCodec.plname); in CurrentCodec()
[all …]
DEncodeDecodeTest.cc77 printf("%d %s\n", n, sendCodec.plname); in Setup()
138 if (!strcmp(recvCodec.plname, "opus")) { in Setup()
286 if (STR_CASE_CMP(sendCodecTmp.plname, "telephone-event") == 0) { in Perform()
288 } else if (STR_CASE_CMP(sendCodecTmp.plname, "cn") == 0) { in Perform()
290 } else if (STR_CASE_CMP(sendCodecTmp.plname, "red") == 0) { in Perform()
Ddelay_test.cc107 if (STR_CASE_CMP(my_codec_param.plname, "opus") == 0) in Initialize()
111 if (STR_CASE_CMP(my_codec_param.plname, "CN") == 0 && in Initialize()
114 if (STR_CASE_CMP(my_codec_param.plname, "telephone-event") == 0) in Initialize()
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
Dwebrtcvoiceengine_unittest.cc443 rtc::strcpyn(gcodec.plname, ARRAY_SIZE(gcodec.plname), "ISAC"); in TEST_F()
448 EXPECT_STREQ("ISAC", gcodec.plname); in TEST_F()
449 rtc::strcpyn(gcodec.plname, ARRAY_SIZE(gcodec.plname), in TEST_F()
454 EXPECT_STREQ("telephone-event", gcodec.plname); in TEST_F()
493 EXPECT_STREQ("opus", opus.plname); in TEST_F()
517 EXPECT_STREQ("opus", opus.plname); in TEST_F()
540 EXPECT_STREQ("opus", opus.plname); in TEST_F()
561 rtc::strcpyn(gcodec.plname, ARRAY_SIZE(gcodec.plname), "ISAC"); in TEST_F()
566 EXPECT_STREQ("ISAC", gcodec.plname); in TEST_F()
567 rtc::strcpyn(gcodec.plname, ARRAY_SIZE(gcodec.plname), in TEST_F()
[all …]
Dfakewebrtcvoiceengine.h512 rtc::strcpyn(codec.plname, sizeof(codec.plname), c.name.c_str());
522 if (_stricmp(codec.plname, "telephone-event") == 0 ||
523 _stricmp(codec.plname, "audio/telephone-event") == 0 ||
524 _stricmp(codec.plname, "CN") == 0 ||
525 _stricmp(codec.plname, "red") == 0 ) {
582 _stricmp(it->plname, codec.plname) != 0) {
590 if (strcmp(it->plname, codec.plname) == 0 &&
614 if (strcmp(it->plname, codec.plname) == 0 &&
640 if (_stricmp(channels_[channel]->send_codec.plname, "opus") != 0) {
656 if (_stricmp(channels_[channel]->send_codec.plname, "opus") != 0) {
/external/chromium_org/third_party/webrtc/voice_engine/test/auto_test/fixtures/
Dbefore_streaming_fixture.cc70 _snprintf(codec.plname, RTP_PAYLOAD_NAME_SIZE - 1, "PCMU"); in SetUpLocalPlayback()
72 snprintf(codec.plname, RTP_PAYLOAD_NAME_SIZE, "PCMU"); in SetUpLocalPlayback()
/external/chromium_org/third_party/webrtc/modules/utility/source/
Dfile_player_impl.cc122 if(STR_CASE_CMP(_codec.plname, "L16") == 0) in Get10msAudioFromFile()
230 strncpy(codecInstL16.plname,"L16",32); in StartPlayingFile()
311 strncpy(codecInstL16.plname,"L16",32); in StartPlayingFile()
404 if( STR_CASE_CMP(_codec.plname, "L16") != 0 && in SetUpAudioDecoder()
407 LOG(LS_WARNING) << "SetUpAudioDecoder() codec " << _codec.plname in SetUpAudioDecoder()
Dfile_recorder_impl.cc232 STR_CASE_CMP(codec_info_.plname, "L16") != 0) in RecordAudioToFile()
238 << codec_info_.plname in RecordAudioToFile()
288 STR_CASE_CMP(codec_info_.plname, "L16") != 0) in SetUpAudioEncoder()
293 << codec_info_.plname << " not supported."; in SetUpAudioEncoder()
/external/chromium_org/third_party/webrtc/modules/video_coding/main/test/
Dtest_util.cc150 webrtc::RtpVideoCodecTypes ConvertCodecType(const char* plname) { in ConvertCodecType() argument
151 if (strncmp(plname,"VP8" , 3) == 0) { in ConvertCodecType()
/external/chromium_org/third_party/webrtc/
Dcommon_types.h288 char plname[RTP_PAYLOAD_NAME_SIZE]; member
296 (STR_CASE_CMP(plname, other.plname) == 0) &&

12