Home
last modified time | relevance | path

Searched refs:STR_CASE_CMP (Results 1 – 20 of 20) sorted by relevance

/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()
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()
78 } else if (STR_CASE_CMP(plname, "ISAC") == 0 && plfreq == 32000) { in RemapPltypeAndUseThisCodec()
[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()
306 name_match = (STR_CASE_CMP(ci.plname, payload_name) == 0); in CodecId()
309 if (STR_CASE_CMP(payload_name, "opus") != 0) { in CodecId()
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()
Dcodec_manager.cc43 if (!STR_CASE_CMP(send_codec.plname, "telephone-event")) { in IsValidSendCodec()
62 !STR_CASE_CMP(codec.plname, "opus") || in IsOpus()
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()
617 STR_CASE_CMP(codec.plname, "isac") == 0 ? rent_a_codec_.RentIsacDecoder() in RegisterReceiveCodec()
/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()
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 …]
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()
Dvoe_codec_impl.cc76 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()
Dchannel.cc1098 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()
2264 else if((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingPlayout()
2265 (STR_CASE_CMP(codecInst->plname,"PCMU") == 0) || in StartRecordingPlayout()
2266 (STR_CASE_CMP(codecInst->plname,"PCMA") == 0)) in StartRecordingPlayout()
2341 else if((STR_CASE_CMP(codecInst->plname,"L16") == 0) || in StartRecordingPlayout()
2342 (STR_CASE_CMP(codecInst->plname,"PCMU") == 0) || in StartRecordingPlayout()
2343 (STR_CASE_CMP(codecInst->plname,"PCMA") == 0)) in StartRecordingPlayout()
[all …]
/external/webrtc/webrtc/modules/media_file/
Dmedia_file_utility.cc668 if(STR_CASE_CMP(codecInst.plname, "PCMU") == 0) in InitWavWriting()
677 else if(STR_CASE_CMP(codecInst.plname, "PCMA") == 0) in InitWavWriting()
686 else if(STR_CASE_CMP(codecInst.plname, "L16") == 0) in InitWavWriting()
762 if(STR_CASE_CMP(codec_info_.plname, "L16") == 0) in UpdateWavHeader()
766 } else if(STR_CASE_CMP(codec_info_.plname, "PCMU") == 0) { in UpdateWavHeader()
769 } else if(STR_CASE_CMP(codec_info_.plname, "PCMA") == 0) { in UpdateWavHeader()
1084 if(STR_CASE_CMP(codecInst.plname, "ilbc") == 0) in InitCompressedWriting()
1370 if(STR_CASE_CMP(codecInst.plname, "PCMU") == 0) in set_codec_info()
1374 else if(STR_CASE_CMP(codecInst.plname, "PCMA") == 0) in set_codec_info()
1378 else if(STR_CASE_CMP(codecInst.plname, "L16") == 0) in set_codec_info()
[all …]
/external/webrtc/webrtc/modules/audio_coding/test/
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()
DEncodeDecodeTest.cc285 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()
DiSACTest.cc85 if (!STR_CASE_CMP(codecParam.plname, "ISAC") in Setup()
90 if (!STR_CASE_CMP(codecParam.plname, "ISAC") in Setup()
DAPITest.cc134 if ((STR_CASE_CMP(dummyCodec.plname, "CN") == 0) in SetUp()
1077 } while (!STR_CASE_CMP(myCodec.plname, "CN") in ChangeCodec()
1078 || !STR_CASE_CMP(myCodec.plname, "telephone-event") in ChangeCodec()
1079 || !STR_CASE_CMP(myCodec.plname, "RED")); in ChangeCodec()
Dutility.cc275 if (!STR_CASE_CMP(payloadName, fixPayloadTypeCodecs[n])) { in FixedPayloadTypeCodec()
DTestVADDTX.cc219 if (STR_CASE_CMP(codec_param->plname, "opus") == 0) { in SetVAD()
/external/webrtc/webrtc/modules/utility/source/
Dfile_recorder_impl.cc195 STR_CASE_CMP(codec_info_.plname, "L16") != 0) in RecordAudioToFile()
234 STR_CASE_CMP(codec_info_.plname, "L16") != 0) in SetUpAudioEncoder()
Dfile_player_impl.cc110 if(STR_CASE_CMP(_codec.plname, "L16") == 0) in Get10msAudioFromFile()
391 if( STR_CASE_CMP(_codec.plname, "L16") != 0 && in SetUpAudioDecoder()
/external/webrtc/webrtc/
Dcommon_types.h44 #define STR_CASE_CMP(s1, s2) ::_stricmp(s1, s2) macro
48 #define STR_CASE_CMP(s1, s2) ::strcasecmp(s1, s2) macro
299 (STR_CASE_CMP(plname, other.plname) == 0) &&
717 (STR_CASE_CMP(plName, other.plName) == 0) &&