Home
last modified time | relevance | path

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

12

/external/toybox/toys/pending/
Dhost.c74 char *name, *nsname, rrname[256], plname[640], ptrbuf[64]; in host_main() local
165 inet_ntop(rrt[type].af, p, plname, sizeof plname); in host_main()
168 dn_expand(abuf, abuf+alen, p, plname, sizeof plname); in host_main()
171 snprintf(plname, sizeof plname, "\"%.*s\"", pllen, p); in host_main()
174 i = dn_expand(abuf, abuf+alen, p, plname, sizeof plname - 1); in host_main()
175 strcat(plname, " "); in host_main()
176 i += dn_expand(abuf, abuf+alen, p+i, plname+strlen(plname), in host_main()
177 sizeof(plname)-strlen(plname)); in host_main()
180 snprintf(plname+strlen(plname), sizeof(plname)-strlen(plname), in host_main()
190 snprintf(plname, sizeof(plname), verbose ? "%d " : "(pri=%d) by ", pri); in host_main()
[all …]
/external/webrtc/webrtc/modules/audio_coding/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()
56 bool RemapPltypeAndUseThisCodec(const char* plname, in RemapPltypeAndUseThisCodec() argument
64 if (STR_CASE_CMP(plname, "PCMU") == 0 && plfreq == 8000) { in RemapPltypeAndUseThisCodec()
66 } else if (STR_CASE_CMP(plname, "PCMA") == 0 && plfreq == 8000) { in RemapPltypeAndUseThisCodec()
68 } else if (STR_CASE_CMP(plname, "CN") == 0 && plfreq == 8000) { in RemapPltypeAndUseThisCodec()
70 } else if (STR_CASE_CMP(plname, "CN") == 0 && plfreq == 16000) { in RemapPltypeAndUseThisCodec()
72 } else if (STR_CASE_CMP(plname, "CN") == 0 && plfreq == 32000) { in RemapPltypeAndUseThisCodec()
74 } else if (STR_CASE_CMP(plname, "ILBC") == 0) { in RemapPltypeAndUseThisCodec()
76 } else if (STR_CASE_CMP(plname, "ISAC") == 0 && plfreq == 16000) { in RemapPltypeAndUseThisCodec()
[all …]
Drent_a_codec.cc115 if (STR_CASE_CMP(codec_inst.plname, "CN") != 0) in RegisterCngPayloadType()
132 if (STR_CASE_CMP(codec_inst.plname, "RED") != 0) in RegisterRedPayloadType()
151 if (STR_CASE_CMP(speech_inst.plname, "isac") == 0) in CreateEncoder()
155 if (STR_CASE_CMP(speech_inst.plname, "isac") == 0) in CreateEncoder()
159 if (STR_CASE_CMP(speech_inst.plname, "opus") == 0) in CreateEncoder()
162 if (STR_CASE_CMP(speech_inst.plname, "pcmu") == 0) in CreateEncoder()
164 if (STR_CASE_CMP(speech_inst.plname, "pcma") == 0) in CreateEncoder()
166 if (STR_CASE_CMP(speech_inst.plname, "l16") == 0) in CreateEncoder()
169 if (STR_CASE_CMP(speech_inst.plname, "ilbc") == 0) in CreateEncoder()
173 if (STR_CASE_CMP(speech_inst.plname, "g722") == 0) in CreateEncoder()
[all …]
Dacm_codec_database.cc238 if (STR_CASE_CMP(database_[codec_id].plname, "CN") == 0) { in CodecNumber()
243 if (STR_CASE_CMP(database_[codec_id].plname, "red") == 0) { in CodecNumber()
272 if (STR_CASE_CMP("isac", codec_inst.plname) == 0) { in CodecNumber()
274 } else if (STR_CASE_CMP("ilbc", codec_inst.plname) == 0) { in CodecNumber()
277 } else if (STR_CASE_CMP("opus", codec_inst.plname) == 0) { in CodecNumber()
291 return (CodecId(codec_inst.plname, codec_inst.plfreq, in CodecId()
306 name_match = (STR_CASE_CMP(ci.plname, payload_name) == 0); in CodecId()
Dcodec_manager.cc43 if (!STR_CASE_CMP(send_codec.plname, "telephone-event")) { in IsValidSendCodec()
53 send_codec.channels, send_codec.plname); in IsValidSendCodec()
62 !STR_CASE_CMP(codec.plname, "opus") || in IsOpus()
132 memcpy(ci.plname, kName, sizeof(kName)); in ForgeCodecInst()
Daudio_coding_module_impl.cc40 return (STR_CASE_CMP(codec.plname, "RED") == 0); in IsCodecRED()
44 return (STR_CASE_CMP(codec.plname, "CN") == 0); in IsCodecCN()
562 db[i].plfreq, nullptr, db[i].plname) < 0) { in InitializeReceiverSafe()
598 RentACodec::CodecIdByParams(codec.plname, codec.plfreq, codec.channels); in RegisterReceiveCodec()
609 << codec.plname; in RegisterReceiveCodec()
617 STR_CASE_CMP(codec.plname, "isac") == 0 ? rent_a_codec_.RentIsacDecoder() in RegisterReceiveCodec()
619 codec.plname); in RegisterReceiveCodec()
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/
Dtest_api_audio.cc183 memcpy(voice_codec.plname, "PCMU", 5); in TEST_F()
187 voice_codec.plname, in TEST_F()
195 voice_codec.plname, in TEST_F()
216 memcpy(voice_codec.plname, "PCMU", 5); in TEST_F()
220 voice_codec.plname, in TEST_F()
228 voice_codec.plname, in TEST_F()
240 memcpy(voice_codec.plname, "RED", 4); in TEST_F()
247 voice_codec.plname, in TEST_F()
253 voice_codec.plname, in TEST_F()
289 memcpy(voice_codec.plname, "PCMU", 5); in TEST_F()
[all …]
/external/webrtc/webrtc/modules/media_file/
Dmedia_file_utility.cc269 strcpy(codec_info_.plname, "PCMA"); in InitWavCodec()
275 strcpy(codec_info_.plname, "PCMU"); in InitWavCodec()
284 strcpy(codec_info_.plname, "L16"); in InitWavCodec()
289 strcpy(codec_info_.plname, "L16"); in InitWavCodec()
294 strcpy(codec_info_.plname, "L16"); in InitWavCodec()
301 strcpy(codec_info_.plname, "L16"); in InitWavCodec()
308 strcpy(codec_info_.plname, "L16"); in InitWavCodec()
315 strcpy(codec_info_.plname, "L16"); in InitWavCodec()
322 strcpy(codec_info_.plname, "L16"); in InitWavCodec()
668 if(STR_CASE_CMP(codecInst.plname, "PCMU") == 0) in InitWavWriting()
[all …]
Dmedia_file_impl.cc52 codec_info_.plname[0] = '\0'; in MediaFileImpl()
580 codec_info_.plname[0] = '\0'; in StopPlaying()
663 if(bytesWritten > 0 && STR_NCASE_CMP(codec_info_.plname, in IncomingAudioData()
907 if((STR_NCASE_CMP(tmpAudioCodec.plname, "L16", 4) != 0) && in StartRecordingAudioStream()
908 (STR_NCASE_CMP(tmpAudioCodec.plname, "PCMU", 5) != 0) && in StartRecordingAudioStream()
909 (STR_NCASE_CMP(tmpAudioCodec.plname, "PCMA", 5) != 0)) in StartRecordingAudioStream()
967 codec_info_.plname[0] = '\0'; in StopRecording()
1065 if (codec_info_.pltype == 0 && codec_info_.plname[0] == '\0') in codec_info()
/external/webrtc/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()
65 strcpy(codec_instance_.plname, "iLBC"); in TEST_F()
Dcodec_test.cc36 if (!_stricmp(codec_instance->plname, "ilbc")) { in SetRateIfILBC()
58 EXPECT_STRCASEEQ("PCMU", codec_instance_.plname); in TEST_F()
143 if (_stricmp("opus", codec_instance_.plname)) { in TEST_F()
159 if (_stricmp("opus", codec_instance_.plname)) { in TEST_F()
171 if (!_stricmp("opus", codec_instance_.plname)) { in TEST_F()
207 if (IsNotViableSendCodec(codec_instance_.plname)) { in TEST_F()
208 TEST_LOG("Skipping %s.\n", codec_instance_.plname); in TEST_F()
216 codec_instance_.plname, codec_instance_.pltype, in TEST_F()
/external/webrtc/webrtc/voice_engine/
Dvoe_codec_unittest.cc67 if (!STR_CASE_CMP(my_codec.plname, "isac") && my_codec.plfreq == 16000) { in SetUp()
70 } else if (!STR_CASE_CMP(my_codec.plname, "isac") && in SetUp()
74 } else if (!STR_CASE_CMP(my_codec.plname, "L16") && in SetUp()
78 } else if (!STR_CASE_CMP(my_codec.plname, "RED")) { in SetUp()
109 strncpy(codec1.plname, "isac", 4); in TEST()
127 strncpy(codec2.plname, "ISAC", 4); in TEST()
Dtransmit_mixer.cc713 } else if ((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingMicrophone()
714 (STR_CASE_CMP(codecInst->plname,"PCMU") == 0) || in StartRecordingMicrophone()
715 (STR_CASE_CMP(codecInst->plname,"PCMA") == 0)) in StartRecordingMicrophone()
791 } else if ((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingMicrophone()
792 (STR_CASE_CMP(codecInst->plname,"PCMU") == 0) || in StartRecordingMicrophone()
793 (STR_CASE_CMP(codecInst->plname,"PCMA") == 0)) in StartRecordingMicrophone()
896 } else if ((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingCall()
897 (STR_CASE_CMP(codecInst->plname,"PCMU") == 0) || in StartRecordingCall()
898 (STR_CASE_CMP(codecInst->plname,"PCMA") == 0)) in StartRecordingCall()
974 } else if ((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingCall()
[all …]
Dvoe_codec_impl.cc69 codec.plname, codec.pacsize, codec.plfreq, codec.pltype, in SetSendCodec()
76 if ((STR_CASE_CMP(codec.plname, "L16") == 0) && (codec.pacsize >= 960)) { in SetSendCodec()
81 if (!STR_CASE_CMP(codec.plname, "CN") || in SetSendCodec()
82 !STR_CASE_CMP(codec.plname, "TELEPHONE-EVENT") || in SetSendCodec()
83 !STR_CASE_CMP(codec.plname, "RED")) { in SetSendCodec()
167 codec.plname, codec.plfreq, codec.pltype, codec.channels, in SetRecPayloadType()
Doutput_mixer.cc306 else if((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingPlayout()
307 (STR_CASE_CMP(codecInst->plname,"PCMU") == 0) || in StartRecordingPlayout()
308 (STR_CASE_CMP(codecInst->plname,"PCMA") == 0)) in StartRecordingPlayout()
386 else if((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingPlayout()
387 (STR_CASE_CMP(codecInst->plname,"PCMU") == 0) || in StartRecordingPlayout()
388 (STR_CASE_CMP(codecInst->plname,"PCMA") == 0)) in StartRecordingPlayout()
Dchannel.cc436 strncpy(receiveCodec.plname, payloadName, RTP_PAYLOAD_NAME_SIZE - 1); in OnInitializeDecoder()
1074 codec.plname, in Init()
1084 codec.plname, codec.pltype, codec.plfreq, in Init()
1093 codec.plname, codec.pltype, codec.plfreq, in Init()
1098 if (!STR_CASE_CMP(codec.plname, "PCMU") && (codec.channels == 1)) in Init()
1104 if (!STR_CASE_CMP(codec.plname, "telephone-event")) in Init()
1117 if (!STR_CASE_CMP(codec.plname, "CN")) in Init()
1133 if (!STR_CASE_CMP(codec.plname, "RED")) in Init()
1504 rxCodec.plname, in SetRecPayloadType()
1531 codec.plname, in SetRecPayloadType()
[all …]
/external/webrtc/talk/media/webrtc/
Dwebrtcvoiceengine_unittest.cc487 rtc::strcpyn(gcodec.plname, arraysize(gcodec.plname), "ISAC"); in TEST_F()
492 EXPECT_STREQ("ISAC", gcodec.plname); in TEST_F()
493 rtc::strcpyn(gcodec.plname, arraysize(gcodec.plname), "telephone-event"); in TEST_F()
497 EXPECT_STREQ("telephone-event", gcodec.plname); in TEST_F()
535 EXPECT_STREQ("opus", opus.plname); in TEST_F()
558 EXPECT_STREQ("opus", opus.plname); in TEST_F()
580 EXPECT_STREQ("opus", opus.plname); in TEST_F()
600 rtc::strcpyn(gcodec.plname, arraysize(gcodec.plname), "ISAC"); in TEST_F()
605 EXPECT_STREQ("ISAC", gcodec.plname); in TEST_F()
606 rtc::strcpyn(gcodec.plname, arraysize(gcodec.plname), "telephone-event"); in TEST_F()
[all …]
Dfakewebrtcvoiceengine.h404 if (_stricmp(codec.plname, "telephone-event") == 0 ||
405 _stricmp(codec.plname, "audio/telephone-event") == 0 ||
406 _stricmp(codec.plname, "CN") == 0 ||
407 _stricmp(codec.plname, "red") == 0 ) {
432 _stricmp(it->plname, codec.plname) != 0) {
441 if (strcmp(it->plname, codec.plname) == 0 &&
465 if (strcmp(it->plname, codec.plname) == 0 &&
490 if (_stricmp(channels_[channel]->send_codec.plname, "opus") != 0) {
506 if (_stricmp(channels_[channel]->send_codec.plname, "opus") != 0) {
525 if (_stricmp(channels_[channel]->send_codec.plname, "opus") != 0) {
/external/webrtc/webrtc/modules/audio_coding/test/
DAPITest.cc134 if ((STR_CASE_CMP(dummyCodec.plname, "CN") == 0) in SetUp()
139 printf("Register Receive Codec %s ", dummyCodec.plname); in SetUp()
141 if ((n != 0) && !FixedPayloadTypeCodec(dummyCodec.plname)) { in SetUp()
149 if ((n < numCodecs - 1) && !FixedPayloadTypeCodec(dummyCodec.plname)) { in SetUp()
155 if (!FixedPayloadTypeCodec(nextCodec.plname)) { in SetUp()
161 if ((n < numCodecs - 1) && !FixedPayloadTypeCodec(dummyCodec.plname)) { in SetUp()
166 if (!FixedPayloadTypeCodec(nextCodec.plname)) { in SetUp()
177 if (!strcmp(dummyCodec.plname, "CN")) { in SetUp()
837 if (!FixedPayloadTypeCodec(myCodec->plname)) { in TestRegisteration()
1002 fprintf(stdout, "Name................. %s\n", myCodec->plname); in CurrentCodec()
[all …]
DEncodeDecodeTest.cc80 printf("%d %s\n", n, sendCodec.plname); in Setup()
137 if (!strcmp(recvCodec.plname, "opus")) { in Setup()
285 if (STR_CASE_CMP(sendCodecTmp.plname, "telephone-event") == 0) { in Perform()
287 } else if (STR_CASE_CMP(sendCodecTmp.plname, "cn") == 0) { in Perform()
289 } else if (STR_CASE_CMP(sendCodecTmp.plname, "red") == 0) { in Perform()
Ddelay_test.cc102 if (STR_CASE_CMP(my_codec_param.plname, "opus") == 0) in Initialize()
106 if (STR_CASE_CMP(my_codec_param.plname, "CN") == 0 && in Initialize()
109 if (STR_CASE_CMP(my_codec_param.plname, "telephone-event") == 0) in Initialize()
/external/webrtc/webrtc/modules/utility/source/
Dfile_player_impl.cc110 if(STR_CASE_CMP(_codec.plname, "L16") == 0) in Get10msAudioFromFile()
217 strncpy(codecInstL16.plname,"L16",32); in StartPlayingFile()
298 strncpy(codecInstL16.plname,"L16",32); in StartPlayingFile()
391 if( STR_CASE_CMP(_codec.plname, "L16") != 0 && in SetUpAudioDecoder()
394 LOG(LS_WARNING) << "SetUpAudioDecoder() codec " << _codec.plname in SetUpAudioDecoder()
Dfile_recorder_impl.cc195 STR_CASE_CMP(codec_info_.plname, "L16") != 0) in RecordAudioToFile()
201 << codec_info_.plname in RecordAudioToFile()
234 STR_CASE_CMP(codec_info_.plname, "L16") != 0) in SetUpAudioEncoder()
239 << codec_info_.plname << " not supported."; in SetUpAudioEncoder()
/external/webrtc/webrtc/voice_engine/test/auto_test/fixtures/
Dbefore_streaming_fixture.cc74 _snprintf(codec.plname, RTP_PAYLOAD_NAME_SIZE - 1, "PCMU"); in SetUpLocalPlayback()
76 snprintf(codec.plname, RTP_PAYLOAD_NAME_SIZE, "PCMU"); in SetUpLocalPlayback()
/external/webrtc/webrtc/modules/video_coding/test/
Dtest_util.cc135 webrtc::RtpVideoCodecTypes ConvertCodecType(const char* plname) { in ConvertCodecType() argument
136 if (strncmp(plname, "VP8", 3) == 0) { in ConvertCodecType()

12