/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/ |
D | acm_receive_test_oldapi.cc | 30 codec_param->plfreq == 48000) in ModifyAndUseThisCodec() 58 int plfreq, 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() 77 } else if (STR_CASE_CMP(plname, "ISAC") == 0 && plfreq == 16000) { in RemapPltypeAndUseThisCodec() 79 } else if (STR_CASE_CMP(plname, "ISAC") == 0 && plfreq == 32000) { in RemapPltypeAndUseThisCodec() 81 } else if (STR_CASE_CMP(plname, "ISAC") == 0 && plfreq == 48000) { in RemapPltypeAndUseThisCodec() [all …]
|
D | acm_codec_database.cc | 506 return (CodecId(codec_inst.plname, codec_inst.plfreq, in CodecId() 520 frequency_match = (frequency == database_[id].plfreq) || (frequency == -1); in CodecId() 564 return database_[codec_id].plfreq; in CodecFreq() 640 switch (codec_inst.plfreq) { in CreateCodecInstance() 691 switch (codec_inst.plfreq) { in CreateCodecInstance() 730 switch (codec_inst->plfreq) { in CreateCodecInstance() 748 switch (codec_inst.plfreq) { in CreateCodecInstance() 777 switch (codec_inst.plfreq) { in CreateCodecInstance() 795 switch (codec_inst.plfreq) { in CreateCodecInstance()
|
D | acm_receiver_unittest_oldapi.cc | 33 codec_a.plfreq != codec_b.plfreq || in CodecsEqual() 94 frame.sample_rate_hz_ = codec.plfreq; in InsertOnePacketOfSilence() 95 frame.samples_per_channel_ = codec.plfreq / 100; // 10 ms. in InsertOnePacketOfSilence() 239 (codecs_[kCodecId[n]].plfreq / 100); in TEST_F() 244 EXPECT_EQ(std::min(32000, codecs_[kCodecId[n]].plfreq), in TEST_F() 273 const int num_10ms_frames = codecs_[id].pacsize / (codecs_[id].plfreq / 100); in TEST_F() 278 ASSERT_EQ(0, receiver_->GetAudio(codecs_[id].plfreq, &frame)); in TEST_F() 288 ASSERT_EQ(0, receiver_->GetAudio(codecs_[id].plfreq, &frame)); in TEST_F()
|
D | acm_receiver_unittest.cc | 33 codec_a.plfreq != codec_b.plfreq || in CodecsEqual() 91 frame.sample_rate_hz_ = codec.plfreq; in InsertOnePacketOfSilence() 92 frame.samples_per_channel_ = codec.plfreq / 100; // 10 ms. in InsertOnePacketOfSilence() 235 (codecs_[kCodecId[n]].plfreq / 100); in TEST_F() 240 EXPECT_EQ(std::min(32000, codecs_[kCodecId[n]].plfreq), in TEST_F() 269 const int num_10ms_frames = codecs_[id].pacsize / (codecs_[id].plfreq / 100); in TEST_F() 274 ASSERT_EQ(0, receiver_->GetAudio(codecs_[id].plfreq, &frame)); in TEST_F() 284 ASSERT_EQ(0, receiver_->GetAudio(codecs_[id].plfreq, &frame)); in TEST_F()
|
D | audio_coding_module_impl.cc | 190 if (ACMCodecDB::database_[i].plfreq == 8000) { in AudioCodingModuleImpl() 192 } else if (ACMCodecDB::database_[i].plfreq == 16000) { in AudioCodingModuleImpl() 194 } else if (ACMCodecDB::database_[i].plfreq == 32000) { in AudioCodingModuleImpl() 196 } else if (ACMCodecDB::database_[i].plfreq == 48000) { in AudioCodingModuleImpl() 272 (send_codec_inst_.plfreq / 1000); in TimeUntilNextProcess() 831 if (send_codec.plfreq != send_codec_inst_.plfreq) { in RegisterSecondarySendCodec() 924 switch (send_codec.plfreq) { in RegisterSendCodec() 981 secondary_send_codec_inst_.plfreq != send_codec.plfreq) { in RegisterSendCodec() 1084 if (send_codec_inst_.plfreq != send_codec.plfreq) { in RegisterSendCodec() 1116 send_codec_inst_.plfreq = send_codec.plfreq; in RegisterSendCodec() [all …]
|
D | acm_isac.cc | 298 if (codec_params->codec_inst.plfreq == 32000 || in InternalInitDecoder() 299 codec_params->codec_inst.plfreq == 48000) { in InternalInitDecoder() 387 if (UpdateEncoderSampFreq((uint16_t)codec_params->codec_inst.plfreq) < 0) { in InternalInitEncoder() 401 (codec_params->codec_inst.plfreq / 1000)) < 0) { in InternalInitEncoder() 646 encoder_params_.codec_inst.plfreq = encoder_samp_freq_hz;
|
D | audio_coding_module.cc | 61 codec->plfreq = 0; in Codec()
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/ |
D | initial_delay_unittest.cc | 87 codec.pacsize = codec.plfreq * 30 / 1000; // 30 ms packets. in NbMono() 94 codec.pacsize = codec.plfreq * 30 / 1000; // 30 ms packets. in WbMono() 101 codec.pacsize = codec.plfreq * 10 / 1000; // 10 ms packets. in SwbMono() 108 codec.pacsize = codec.plfreq * 30 / 1000; // 30 ms packets. in NbStereo() 115 codec.pacsize = codec.plfreq * 30 / 1000; // 30 ms packets. in WbStereo() 122 codec.pacsize = codec.plfreq * 10 / 1000; // 10 ms packets. in SwbStereo() 132 in_audio_frame.sample_rate_hz_ = codec.plfreq; in Run() 134 in_audio_frame.samples_per_channel_ = codec.plfreq / 100; // 10 ms. in Run() 150 ASSERT_EQ(0, acm_b_->PlayoutData10Ms(codec.plfreq, &out_audio_frame)); in Run()
|
D | EncodeDecodeTest.cc | 88 _packetization = new TestPacketization(rtpStream, sendCodec.plfreq); in Setup() 153 playSampFreq = recvCodec.plfreq; in Setup() 154 _pcmFile.Open(file_name, recvCodec.plfreq, "wb+"); in Setup()
|
D | Channel.cc | 301 .frameSizeStats[n].totalEncodedSamples / (double) codecInst.plfreq; in Stats() 359 printf("%s %d kHz\n", codecInst.plname, codecInst.plfreq / 1000); in PrintStats() 379 * (double) codecInst.plfreq) in PrintStats()
|
D | iSACTest.cc | 64 * (sendCodec.plfreq / 1000); in SetISAConfig() 104 && codecParam.plfreq == 16000) { in Setup() 109 && codecParam.plfreq == 32000) { in Setup()
|
D | delay_test.cc | 112 my_codec_param.plfreq == 48000) in Initialize() 156 encoding_sample_rate_hz_ = my_codec_param.plfreq; in SendCodec()
|
D | insert_packet_with_timing.cc | 100 samples_in_1ms_ = codec.plfreq / 1000; in SetUp() 101 num_10ms_in_codec_frame_ = codec.pacsize / (codec.plfreq / 100); in SetUp()
|
/external/chromium_org/third_party/webrtc/modules/utility/source/ |
D | file_player_impl.cc | 64 _codec.plfreq = 0; in FilePlayerImpl() 74 if(_codec.plfreq == 0) in Frequency() 80 if(_codec.plfreq == 11000) in Frequency() 84 else if(_codec.plfreq == 22000) in Frequency() 88 else if(_codec.plfreq == 44000) in Frequency() 92 else if(_codec.plfreq == 48000) in Frequency() 98 return _codec.plfreq; in Frequency() 113 if(_codec.plfreq == 0) in Get10msAudioFromFile() 116 << " codec freq = " << _codec.plfreq in Get10msAudioFromFile() 124 unresampledAudioFrame.sample_rate_hz_ = _codec.plfreq; in Get10msAudioFromFile() [all …]
|
D | file_recorder_impl.cc | 173 if (codec_info_.plfreq == 0) in RecordAudioToFile() 248 codec_info_.plfreq, in RecordAudioToFile() 257 codec_info_.plfreq, in RecordAudioToFile() 302 if(codec_info_.plfreq == 0) in codec_info()
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/testAPI/ |
D | test_api_audio.cc | 210 voice_codec.plfreq = 8000; in TEST_F() 217 voice_codec.plfreq, in TEST_F() 225 voice_codec.plfreq, in TEST_F() 244 voice_codec.plfreq = 8000; in TEST_F() 251 voice_codec.plfreq, in TEST_F() 259 voice_codec.plfreq, in TEST_F() 268 voice_codec.plfreq = 8000; in TEST_F() 278 voice_codec.plfreq, in TEST_F() 284 voice_codec.plfreq, in TEST_F() 317 voice_codec.plfreq = 8000; in TEST_F() [all …]
|
D | test_api_rtcp.cc | 166 voice_codec.plfreq = 8000; in SetUp() 174 voice_codec.plfreq, in SetUp() 181 voice_codec.plfreq, in SetUp()
|
/external/chromium_org/third_party/webrtc/modules/media_file/source/ |
D | media_file_utility.cc | 199 audioStreamHeader.dwRate = audioCodecInst.plfreq; in InitAviWriting() 202 (audioCodecInst.plfreq/100) * 2; in InitAviWriting() 204 waveFormatHeader.nAvgBytesPerSec = audioCodecInst.plfreq * 2; in InitAviWriting() 205 waveFormatHeader.nSamplesPerSec = audioCodecInst.plfreq; in InitAviWriting() 633 codec_info_.plfreq = samplesPerSec; in InitWavCodec() 644 codec_info_.pacsize = codec_info_.plfreq / 100; in InitWavCodec() 650 codec_info_.pacsize = codec_info_.plfreq / 100; in InitWavCodec() 653 codec_info_.pacsize = (bitsPerSample * (codec_info_.plfreq / 100)) / 8; in InitWavCodec() 676 codec_info_.plfreq = 11000; in InitWavCodec() 683 codec_info_.plfreq = 22000; in InitWavCodec() [all …]
|
D | media_file_impl.cc | 570 if(!ValidFrequency(codecInst->plfreq) || in StartPlayingStream() 573 codecInst->plfreq) == -1) in StartPlayingStream() 813 _recordDurationMs += samplesWritten / (codec_info_.plfreq / 1000); in IncomingAudioVideoData() 1035 if(!ValidFrequency(codecInst.plfreq) || in StartRecordingStream() 1036 _ptrFileUtilityObj->InitPCMWriting(stream, codecInst.plfreq) == in StartRecordingStream()
|
/external/chromium_org/third_party/webrtc/voice_engine/ |
D | voe_codec_unittest.cc | 68 if (!STR_CASE_CMP(my_codec.plname, "isac") && my_codec.plfreq == 16000) { in SetUp() 72 my_codec.plfreq == 32000) { in SetUp() 76 my_codec.plfreq == 16000) { in SetUp() 147 EXPECT_EQ(valid_secondary_.plfreq, my_codec.plfreq); in TEST_F() 179 codec1.plfreq = 8000; in TEST() 200 codec2.plfreq = 16000; in TEST()
|
D | voe_codec_impl.cc | 83 codec.plfreq, codec.pltype, codec.channels, codec.rate); in GetCodec() 97 codec.plfreq, codec.pltype, codec.channels, codec.rate); in SetSendCodec() 179 codec.plfreq, codec.channels, codec.rate); in GetSendCodec() 212 codec.plfreq, codec.channels, codec.rate); in GetRecCodec() 222 "pacsize=%d, rate=%d", codec.plname, codec.plfreq, codec.pltype, in SetRecPayloadType() 445 if (fromInst.plfreq == 12000) in ACMToExternalCodecRepresentation() 460 else if (fromInst.plfreq == 24000) in ACMToExternalCodecRepresentation() 484 if (fromInst.plfreq == 12000) in ExternalToACMCodecRepresentation() 499 else if (fromInst.plfreq == 24000) in ExternalToACMCodecRepresentation() 527 codec.plfreq, codec.pltype, codec.channels, codec.rate); in SetSecondarySendCodec() [all …]
|
D | channel.cc | 376 receiveCodec.plfreq = frequency; in OnInitializeDecoder() 1138 codec.plfreq, in Init() 1146 codec.plname, codec.pltype, codec.plfreq, in Init() 1155 codec.plname, codec.pltype, codec.plfreq, in Init() 1175 codec.pltype, codec.plfreq); in Init() 1189 codec.pltype, codec.plfreq); in Init() 1203 codec.pltype, codec.plfreq); in Init() 1565 rxCodec.plfreq, in SetRecPayloadType() 1593 codec.plfreq, in SetRecPayloadType() 1602 codec.plfreq, in SetRecPayloadType() [all …]
|
/external/chromium_org/third_party/webrtc/voice_engine/test/auto_test/standard/ |
D | codec_before_streaming_test.cc | 18 codec_instance_.plfreq = 16000; in SetUp() 65 codec_instance_.plfreq = 8000; in TEST_F()
|
/external/chromium_org/third_party/webrtc/ |
D | common_types.h | 289 int plfreq; member 297 plfreq == other.plfreq &&
|
/external/chromium_org/third_party/webrtc/voice_engine/test/auto_test/fixtures/ |
D | before_streaming_fixture.cc | 66 codec.plfreq = 8000; in SetUpLocalPlayback()
|