/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/ |
acm_receive_test_oldapi.cc | 30 codec_param->plfreq == 48000) 58 int plfreq, 65 if (STR_CASE_CMP(plname, "PCMU") == 0 && plfreq == 8000) { 67 } else if (STR_CASE_CMP(plname, "PCMA") == 0 && plfreq == 8000) { 69 } else if (STR_CASE_CMP(plname, "CN") == 0 && plfreq == 8000) { 71 } else if (STR_CASE_CMP(plname, "CN") == 0 && plfreq == 16000) { 73 } else if (STR_CASE_CMP(plname, "CN") == 0 && plfreq == 32000) { 77 } else if (STR_CASE_CMP(plname, "ISAC") == 0 && plfreq == 16000) { 79 } else if (STR_CASE_CMP(plname, "ISAC") == 0 && plfreq == 32000) { 81 } else if (STR_CASE_CMP(plname, "ISAC") == 0 && plfreq == 48000) [all...] |
acm_codec_database.cc | 506 return (CodecId(codec_inst.plname, codec_inst.plfreq, 520 frequency_match = (frequency == database_[id].plfreq) || (frequency == -1); 564 return database_[codec_id].plfreq; 640 switch (codec_inst.plfreq) { 691 switch (codec_inst.plfreq) { 730 switch (codec_inst->plfreq) { 748 switch (codec_inst.plfreq) { 777 switch (codec_inst.plfreq) { 795 switch (codec_inst.plfreq) {
|
acm_receiver_unittest.cc | 33 codec_a.plfreq != codec_b.plfreq || 91 frame.sample_rate_hz_ = codec.plfreq; 92 frame.samples_per_channel_ = codec.plfreq / 100; // 10 ms. 235 (codecs_[kCodecId[n]].plfreq / 100); 240 EXPECT_EQ(std::min(32000, codecs_[kCodecId[n]].plfreq), 269 const int num_10ms_frames = codecs_[id].pacsize / (codecs_[id].plfreq / 100); 274 ASSERT_EQ(0, receiver_->GetAudio(codecs_[id].plfreq, &frame)); 284 ASSERT_EQ(0, receiver_->GetAudio(codecs_[id].plfreq, &frame));
|
acm_receiver_unittest_oldapi.cc | 33 codec_a.plfreq != codec_b.plfreq || 94 frame.sample_rate_hz_ = codec.plfreq; 95 frame.samples_per_channel_ = codec.plfreq / 100; // 10 ms. 239 (codecs_[kCodecId[n]].plfreq / 100); 244 EXPECT_EQ(std::min(32000, codecs_[kCodecId[n]].plfreq), 273 const int num_10ms_frames = codecs_[id].pacsize / (codecs_[id].plfreq / 100); 278 ASSERT_EQ(0, receiver_->GetAudio(codecs_[id].plfreq, &frame)); 288 ASSERT_EQ(0, receiver_->GetAudio(codecs_[id].plfreq, &frame));
|
audio_coding_module.cc | 61 codec->plfreq = 0;
|
audio_coding_module_impl.cc | 190 if (ACMCodecDB::database_[i].plfreq == 8000) { 192 } else if (ACMCodecDB::database_[i].plfreq == 16000) { 194 } else if (ACMCodecDB::database_[i].plfreq == 32000) { 196 } else if (ACMCodecDB::database_[i].plfreq == 48000) { 272 (send_codec_inst_.plfreq / 1000); 831 if (send_codec.plfreq != send_codec_inst_.plfreq) { [all...] |
acm_isac.cc | 298 if (codec_params->codec_inst.plfreq == 32000 || 299 codec_params->codec_inst.plfreq == 48000) { 387 if (UpdateEncoderSampFreq((uint16_t)codec_params->codec_inst.plfreq) < 0) { 401 (codec_params->codec_inst.plfreq / 1000)) < 0) { 646 encoder_params_.codec_inst.plfreq = encoder_samp_freq_hz;
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/ |
initial_delay_unittest.cc | 87 codec.pacsize = codec.plfreq * 30 / 1000; // 30 ms packets. 94 codec.pacsize = codec.plfreq * 30 / 1000; // 30 ms packets. 101 codec.pacsize = codec.plfreq * 10 / 1000; // 10 ms packets. 108 codec.pacsize = codec.plfreq * 30 / 1000; // 30 ms packets. 115 codec.pacsize = codec.plfreq * 30 / 1000; // 30 ms packets. 122 codec.pacsize = codec.plfreq * 10 / 1000; // 10 ms packets. 132 in_audio_frame.sample_rate_hz_ = codec.plfreq; 134 in_audio_frame.samples_per_channel_ = codec.plfreq / 100; // 10 ms. 150 ASSERT_EQ(0, acm_b_->PlayoutData10Ms(codec.plfreq, &out_audio_frame));
|
EncodeDecodeTest.cc | 88 _packetization = new TestPacketization(rtpStream, sendCodec.plfreq); 153 playSampFreq = recvCodec.plfreq; 154 _pcmFile.Open(file_name, recvCodec.plfreq, "wb+");
|
delay_test.cc | 112 my_codec_param.plfreq == 48000) 156 encoding_sample_rate_hz_ = my_codec_param.plfreq;
|
insert_packet_with_timing.cc | 100 samples_in_1ms_ = codec.plfreq / 1000; 101 num_10ms_in_codec_frame_ = codec.pacsize / (codec.plfreq / 100);
|
Channel.cc | 301 .frameSizeStats[n].totalEncodedSamples / (double) codecInst.plfreq; 359 printf("%s %d kHz\n", codecInst.plname, codecInst.plfreq / 1000); 379 * (double) codecInst.plfreq)
|
iSACTest.cc | 64 * (sendCodec.plfreq / 1000); 104 && codecParam.plfreq == 16000) { 109 && codecParam.plfreq == 32000) {
|
/external/chromium_org/third_party/webrtc/modules/utility/source/ |
file_player_impl.cc | 64 _codec.plfreq = 0; 74 if(_codec.plfreq == 0) 80 if(_codec.plfreq == 11000) 84 else if(_codec.plfreq == 22000) 88 else if(_codec.plfreq == 44000) 92 else if(_codec.plfreq == 48000) 98 return _codec.plfreq; 113 if(_codec.plfreq == 0) 116 << " codec freq = " << _codec.plfreq 124 unresampledAudioFrame.sample_rate_hz_ = _codec.plfreq; [all...] |
file_recorder_impl.cc | 173 if (codec_info_.plfreq == 0) 248 codec_info_.plfreq, 257 codec_info_.plfreq, 302 if(codec_info_.plfreq == 0)
|
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/test/testAPI/ |
test_api_audio.cc | 210 voice_codec.plfreq = 8000; 217 voice_codec.plfreq, 225 voice_codec.plfreq, 244 voice_codec.plfreq = 8000; 251 voice_codec.plfreq, 259 voice_codec.plfreq, 268 voice_codec.plfreq = 8000; 278 voice_codec.plfreq, 284 voice_codec.plfreq, 317 voice_codec.plfreq = 8000 [all...] |
/external/chromium_org/third_party/webrtc/voice_engine/ |
voe_codec_unittest.cc | 68 if (!STR_CASE_CMP(my_codec.plname, "isac") && my_codec.plfreq == 16000) { 72 my_codec.plfreq == 32000) { 76 my_codec.plfreq == 16000) { 147 EXPECT_EQ(valid_secondary_.plfreq, my_codec.plfreq); 179 codec1.plfreq = 8000; 199 // Test modifying the |plfreq| 200 codec2.plfreq = 16000;
|
voe_codec_impl.cc | 81 "GetCodec() => plname=%s, pacsize=%d, plfreq=%d, pltype=%d, " 83 codec.plfreq, codec.pltype, codec.channels, codec.rate); 95 "codec: plname=%s, pacsize=%d, plfreq=%d, pltype=%d, " 97 codec.plfreq, codec.pltype, codec.channels, codec.rate); 177 "GetSendCodec() => plname=%s, pacsize=%d, plfreq=%d, " 179 codec.plfreq, codec.channels, codec.rate); 210 "GetRecCodec() => plname=%s, pacsize=%d, plfreq=%d, " 212 codec.plfreq, codec.channels, codec.rate); 221 "codec: plname=%s, plfreq=%d, pltype=%d, channels=%u, " 222 "pacsize=%d, rate=%d", codec.plname, codec.plfreq, codec.pltype [all...] |
/external/chromium_org/third_party/webrtc/voice_engine/test/auto_test/standard/ |
codec_before_streaming_test.cc | 18 codec_instance_.plfreq = 16000; 65 codec_instance_.plfreq = 8000;
|
/external/chromium_org/third_party/webrtc/modules/media_file/source/ |
media_file_utility.cc | 199 audioStreamHeader.dwRate = audioCodecInst.plfreq; 202 (audioCodecInst.plfreq/100) * 2; 204 waveFormatHeader.nAvgBytesPerSec = audioCodecInst.plfreq * 2; 205 waveFormatHeader.nSamplesPerSec = audioCodecInst.plfreq; 633 codec_info_.plfreq = samplesPerSec; 644 codec_info_.pacsize = codec_info_.plfreq / 100; 650 codec_info_.pacsize = codec_info_.plfreq / 100; 653 codec_info_.pacsize = (bitsPerSample * (codec_info_.plfreq / 100)) / 8; 676 codec_info_.plfreq = 11000; 683 codec_info_.plfreq = 22000 [all...] |
/external/chromium_org/third_party/webrtc/voice_engine/test/auto_test/fixtures/ |
before_streaming_fixture.cc | 66 codec.plfreq = 8000;
|
/external/chromium_org/third_party/webrtc/tools/e2e_quality/audio/ |
audio_e2e_harness.cc | 62 FLAGS_rate == codec_params.plfreq) {
|
/external/chromium_org/third_party/webrtc/voice_engine/test/auto_test/ |
voe_cpu_test.cc | 60 isac.plfreq = 32000;
|
/external/chromium_org/third_party/webrtc/video_engine/test/auto_test/source/ |
vie_autotest.cc | 137 ViETest::Log("\t: %u", audioCodec.plfreq);
|
/external/chromium_org/third_party/webrtc/ |
common_types.h | 289 int plfreq; member in struct:webrtc::CodecInst 297 plfreq == other.plfreq &&
|