Home
last modified time | relevance | path

Searched refs:plfreq (Results 1 – 25 of 43) sorted by relevance

12

/external/webrtc/webrtc/modules/utility/source/
Dfile_player_impl.cc52 _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 …]
Dfile_recorder_impl.cc136 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/
Dacm_receive_test_oldapi.cc30 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 …]
Dacm_receiver_unittest_oldapi.cc31 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 …]
Dcodec_manager.cc124 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()
Drent_a_codec.cc117 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()
Dacm_codec_database.cc291 return (CodecId(codec_inst.plname, codec_inst.plfreq, in CodecId()
307 frequency_match = (frequency == ci.plfreq) || (frequency == -1); in CodecId()
Dacm_receiver.cc185 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/
Dtest_api_audio.cc182 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 …]
Dtest_api_rtcp.cc141 voice_codec.plfreq = 8000; in SetUp()
149 voice_codec.plfreq, in SetUp()
156 voice_codec.plfreq, in SetUp()
/external/webrtc/webrtc/modules/media_file/
Dmedia_file_utility.cc261 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 …]
Dmedia_file_impl.cc495 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/
Dvoe_codec_unittest.cc67 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()
Dchannel.cc433 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/
Dcodec_before_streaming_test.cc18 codec_instance_.plfreq = 16000; in SetUp()
66 codec_instance_.plfreq = 8000; in TEST_F()
/external/webrtc/webrtc/modules/audio_coding/test/
DEncodeDecodeTest.cc91 _packetization = new TestPacketization(rtpStream, sendCodec.plfreq); in Setup()
152 playSampFreq = recvCodec.plfreq; in Setup()
153 _pcmFile.Open(file_name, recvCodec.plfreq, "wb+"); in Setup()
DiSACTest.cc62 * (sendCodec->plfreq / 1000); in SetISAConfig()
86 && codecParam.plfreq == 16000) { in Setup()
91 && codecParam.plfreq == 32000) { in Setup()
DChannel.cc318 .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()
Ddelay_test.cc107 my_codec_param.plfreq == 48000) in Initialize()
151 encoding_sample_rate_hz_ = my_codec_param.plfreq; in SendCodec()
Dinsert_packet_with_timing.cc99 samples_in_1ms_ = codec.plfreq / 1000; in SetUp()
100 num_10ms_in_codec_frame_ = codec.pacsize / (codec.plfreq / 100); in SetUp()
DAPITest.cc135 && (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/audio/
Daudio_send_stream.cc158 if (codec_inst.plfreq / 1000 > 0) { in GetStats()
160 block.interarrival_jitter / (codec_inst.plfreq / 1000); in GetStats()
Daudio_receive_stream.cc211 if (codec_inst.plfreq / 1000 > 0) { in GetStats()
212 stats.jitter_ms = call_stats.jitterSamples / (codec_inst.plfreq / 1000); in GetStats()
/external/webrtc/webrtc/modules/audio_coding/codecs/pcm16b/
Daudio_encoder_pcm16b.cc33 config.sample_rate_hz = codec_inst.plfreq; in CreateConfig()
/external/webrtc/webrtc/voice_engine/test/auto_test/fixtures/
Dbefore_streaming_fixture.cc70 codec.plfreq = 8000; in SetUpLocalPlayback()

12