/external/webrtc/webrtc/modules/audio_coding/acm2/ |
D | acm_receive_test_oldapi.cc | 29 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 …]
|
D | acm_codec_database.cc | 238 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()
|
D | rent_a_codec.cc | 115 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()
|
D | codec_manager.cc | 43 if (!STR_CASE_CMP(send_codec.plname, "telephone-event")) { in IsValidSendCodec() 62 !STR_CASE_CMP(codec.plname, "opus") || in IsOpus()
|
D | audio_coding_module_impl.cc | 40 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/ |
D | voe_codec_unittest.cc | 67 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()
|
D | transmit_mixer.cc | 713 } 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 …]
|
D | output_mixer.cc | 306 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()
|
D | voe_codec_impl.cc | 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()
|
D | channel.cc | 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() 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/ |
D | media_file_utility.cc | 668 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/ |
D | delay_test.cc | 102 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()
|
D | EncodeDecodeTest.cc | 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()
|
D | iSACTest.cc | 85 if (!STR_CASE_CMP(codecParam.plname, "ISAC") in Setup() 90 if (!STR_CASE_CMP(codecParam.plname, "ISAC") in Setup()
|
D | APITest.cc | 134 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()
|
D | utility.cc | 275 if (!STR_CASE_CMP(payloadName, fixPayloadTypeCodecs[n])) { in FixedPayloadTypeCodec()
|
D | TestVADDTX.cc | 219 if (STR_CASE_CMP(codec_param->plname, "opus") == 0) { in SetVAD()
|
/external/webrtc/webrtc/modules/utility/source/ |
D | file_recorder_impl.cc | 195 STR_CASE_CMP(codec_info_.plname, "L16") != 0) in RecordAudioToFile() 234 STR_CASE_CMP(codec_info_.plname, "L16") != 0) in SetUpAudioEncoder()
|
D | file_player_impl.cc | 110 if(STR_CASE_CMP(_codec.plname, "L16") == 0) in Get10msAudioFromFile() 391 if( STR_CASE_CMP(_codec.plname, "L16") != 0 && in SetUpAudioDecoder()
|
/external/webrtc/webrtc/ |
D | common_types.h | 44 #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) &&
|