/external/webrtc/webrtc/modules/utility/source/ |
D | file_player_impl.cc | 52 _codec.plfreq = 0; in FilePlayerImpl() 62 if(_codec.plfreq == 0) in Frequency() 68 if(_codec.plfreq == 11000) in Frequency() 72 else if(_codec.plfreq == 22000) in Frequency() 76 else if(_codec.plfreq == 44000) in Frequency() 80 else if(_codec.plfreq == 48000) in Frequency() 86 return _codec.plfreq; in Frequency() 101 if(_codec.plfreq == 0) in Get10msAudioFromFile() 104 << " codec freq = " << _codec.plfreq in Get10msAudioFromFile() 112 unresampledAudioFrame.sample_rate_hz_ = _codec.plfreq; in Get10msAudioFromFile() [all …]
|
D | file_recorder_impl.cc | 136 if (codec_info_.plfreq == 0) in RecordAudioToFile() 208 codec_info_.plfreq, in RecordAudioToFile() 248 if(codec_info_.plfreq == 0) in codec_info()
|
/external/webrtc/webrtc/modules/audio_coding/acm2/ |
D | acm_receive_test_oldapi.cc | 30 codec_param->plfreq == 48000) in ModifyAndUseThisCodec() 57 int plfreq, 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() 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() 84 } else if (STR_CASE_CMP(plname, "L16") == 0 && plfreq == 8000) { in RemapPltypeAndUseThisCodec() [all …]
|
D | acm_receiver_unittest_oldapi.cc | 31 codec_a.plfreq != codec_b.plfreq || in CodecsEqual() 101 frame.sample_rate_hz_ = codec.plfreq; in InsertOnePacketOfSilence() 102 frame.samples_per_channel_ = codec.plfreq / 100; // 10 ms. in InsertOnePacketOfSilence() 122 codecs_[*i].plfreq, nullptr, "")); in AddSetOfCodecs() 177 codecs_[n].plfreq, NULL, "")); in TEST_F() 208 codec1.inst.channels, codec1.inst.plfreq, in TEST_F() 211 codec2.plfreq, NULL, "")); in TEST_F() 234 codec1.inst.channels, codec1.inst.plfreq, in TEST_F() 237 codec2.inst.channels, codec2.inst.plfreq, in TEST_F() 256 codec.inst.plfreq, nullptr, "")); in TEST_F() [all …]
|
D | codec_manager.cc | 124 ci.plfreq = external_speech_encoder->SampleRateHz(); in ForgeCodecInst() 127 ci.plfreq), in ForgeCodecInst() 143 codec_stack_params_.red_payload_types.count(send_codec_inst_->plfreq) < in SetCopyRed() 146 "Cannot enable RED at %i Hz.", send_codec_inst_->plfreq); in SetCopyRed()
|
D | rent_a_codec.cc | 117 switch (codec_inst.plfreq) { in RegisterCngPayloadType() 122 (*pt_map)[codec_inst.plfreq] = codec_inst.pltype; in RegisterCngPayloadType() 134 switch (codec_inst.plfreq) { in RegisterRedPayloadType() 136 (*pt_map)[codec_inst.plfreq] = codec_inst.pltype; in RegisterRedPayloadType()
|
D | acm_codec_database.cc | 291 return (CodecId(codec_inst.plname, codec_inst.plfreq, in CodecId() 307 frequency_match = (frequency == ci.plfreq) || (frequency == -1); in CodecId()
|
D | acm_receiver.cc | 185 return ci ? RentACodec::CodecInstById(*ci)->plfreq : -1; in InsertPacket() 442 codec->plfreq = last_audio_decoder_->sample_rate_hz; in LastAudioCodec() 483 codec->plfreq = decoder.sample_rate_hz; in DecoderByPayloadType()
|
/external/webrtc/webrtc/modules/rtp_rtcp/test/testAPI/ |
D | test_api_audio.cc | 182 voice_codec.plfreq = 8000; in TEST_F() 189 voice_codec.plfreq, in TEST_F() 197 voice_codec.plfreq, in TEST_F() 215 voice_codec.plfreq = 8000; in TEST_F() 222 voice_codec.plfreq, in TEST_F() 230 voice_codec.plfreq, in TEST_F() 239 voice_codec.plfreq = 8000; in TEST_F() 249 voice_codec.plfreq, in TEST_F() 255 voice_codec.plfreq, in TEST_F() 288 voice_codec.plfreq = 8000; in TEST_F() [all …]
|
D | test_api_rtcp.cc | 141 voice_codec.plfreq = 8000; in SetUp() 149 voice_codec.plfreq, in SetUp() 156 voice_codec.plfreq, in SetUp()
|
/external/webrtc/webrtc/modules/media_file/ |
D | media_file_utility.cc | 261 codec_info_.plfreq = samplesPerSec; in InitWavCodec() 272 codec_info_.pacsize = codec_info_.plfreq / 100; in InitWavCodec() 278 codec_info_.pacsize = codec_info_.plfreq / 100; in InitWavCodec() 281 codec_info_.pacsize = (bitsPerSample * (codec_info_.plfreq / 100)) / 8; in InitWavCodec() 304 codec_info_.plfreq = 11000; in InitWavCodec() 311 codec_info_.plfreq = 22000; in InitWavCodec() 318 codec_info_.plfreq = 44000; in InitWavCodec() 325 codec_info_.plfreq = 48000; in InitWavCodec() 689 if(WriteWavHeader(wav, codecInst.plfreq, _bytesPerSample, channels, in InitWavWriting() 764 res = WriteWavHeader(wav, codec_info_.plfreq, 2, channels, in UpdateWavHeader() [all …]
|
D | media_file_impl.cc | 495 if(!ValidFrequency(codecInst->plfreq) || in StartPlayingStream() 498 codecInst->plfreq) == -1) in StartPlayingStream() 692 _recordDurationMs += samplesWritten / (codec_info_.plfreq / 1000); in IncomingAudioData() 860 if(!ValidFrequency(codecInst.plfreq) || in StartRecordingAudioStream() 861 _ptrFileUtilityObj->InitPCMWriting(stream, codecInst.plfreq) == in StartRecordingAudioStream()
|
/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() 71 my_codec.plfreq == 32000) { in SetUp() 75 my_codec.plfreq == 16000) { in SetUp() 110 codec1.plfreq = 8000; in TEST() 131 codec2.plfreq = 16000; in TEST()
|
D | channel.cc | 433 receiveCodec.plfreq = frequency; in OnInitializeDecoder() 1076 codec.plfreq, in Init() 1084 codec.plname, codec.pltype, codec.plfreq, in Init() 1093 codec.plname, codec.pltype, codec.plfreq, in Init() 1113 codec.pltype, codec.plfreq); in Init() 1127 codec.pltype, codec.plfreq); in Init() 1141 codec.pltype, codec.plfreq); in Init() 1505 rxCodec.plfreq, in SetRecPayloadType() 1533 codec.plfreq, in SetRecPayloadType() 1542 codec.plfreq, in SetRecPayloadType() [all …]
|
/external/webrtc/webrtc/voice_engine/test/auto_test/standard/ |
D | codec_before_streaming_test.cc | 18 codec_instance_.plfreq = 16000; in SetUp() 66 codec_instance_.plfreq = 8000; in TEST_F()
|
/external/webrtc/webrtc/modules/audio_coding/test/ |
D | EncodeDecodeTest.cc | 91 _packetization = new TestPacketization(rtpStream, sendCodec.plfreq); in Setup() 152 playSampFreq = recvCodec.plfreq; in Setup() 153 _pcmFile.Open(file_name, recvCodec.plfreq, "wb+"); in Setup()
|
D | iSACTest.cc | 62 * (sendCodec->plfreq / 1000); in SetISAConfig() 86 && codecParam.plfreq == 16000) { in Setup() 91 && codecParam.plfreq == 32000) { in Setup()
|
D | Channel.cc | 318 .frameSizeStats[n].totalEncodedSamples / (double) codecInst.plfreq; in Stats() 376 printf("%s %d kHz\n", codecInst.plname, codecInst.plfreq / 1000); in PrintStats() 396 * (double) codecInst.plfreq) in PrintStats()
|
D | delay_test.cc | 107 my_codec_param.plfreq == 48000) in Initialize() 151 encoding_sample_rate_hz_ = my_codec_param.plfreq; in SendCodec()
|
D | insert_packet_with_timing.cc | 99 samples_in_1ms_ = codec.plfreq / 1000; in SetUp() 100 num_10ms_in_codec_frame_ = codec.pacsize / (codec.plfreq / 100); in SetUp()
|
D | APITest.cc | 135 && (dummyCodec.plfreq == 32000)) { in SetUp() 978 *dtx = (myCodec.plfreq == 32000) ? false : *dtx; in TestSendVAD() 1003 fprintf(stdout, "Sampling Frequency... %d\n", myCodec->plfreq); in CurrentCodec() 1084 myCodec.plname, myCodec.plfreq / 1000, myCodec.rate / 1000); in ChangeCodec() 1089 if (myCodec.plfreq == 32000) { in ChangeCodec()
|
/external/webrtc/webrtc/modules/audio_coding/codecs/pcm16b/ |
D | audio_encoder_pcm16b.cc | 33 config.sample_rate_hz = codec_inst.plfreq; in CreateConfig()
|
/external/webrtc/webrtc/audio/ |
D | audio_send_stream.cc | 158 if (codec_inst.plfreq / 1000 > 0) { in GetStats() 160 block.interarrival_jitter / (codec_inst.plfreq / 1000); in GetStats()
|
D | audio_receive_stream.cc | 211 if (codec_inst.plfreq / 1000 > 0) { in GetStats() 212 stats.jitter_ms = call_stats.jitterSamples / (codec_inst.plfreq / 1000); in GetStats()
|
/external/webrtc/webrtc/voice_engine/test/auto_test/fixtures/ |
D | before_streaming_fixture.cc | 70 codec.plfreq = 8000; in SetUpLocalPlayback()
|