Home
last modified time | relevance | path

Searched refs:frequency_hz (Results 1 – 23 of 23) sorted by relevance

/external/chromium_org/remoting/codec/
Daudio_encoder_opus_unittest.cc56 double frequency_hz, in GetSampleValue() argument
59 double angle = pos * 2 * M_PI * frequency_hz / rate + in GetSampleValue()
69 double frequency_hz, in CreatePacket() argument
73 data[i * kChannels] = GetSampleValue(rate, frequency_hz, i + pos, 0); in CreatePacket()
74 data[i * kChannels + 1] = GetSampleValue(rate, frequency_hz, i + pos, 1); in CreatePacket()
108 double frequency_hz, in ValidateReceivedData() argument
115 GetSampleValue(rate, frequency_hz, i - shift, 0); in ValidateReceivedData()
118 GetSampleValue(rate, frequency_hz, i - shift, 1); in ValidateReceivedData()
128 double frequency_hz, in TestEncodeDecode() argument
139 CreatePacket(packet_size, rate, frequency_hz, pos); in TestEncodeDecode()
[all …]
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/opus/
Dopus_interface.c102 int16_t WebRtcOpus_SetMaxPlaybackRate(OpusEncInst* inst, int32_t frequency_hz) { in WebRtcOpus_SetMaxPlaybackRate() argument
108 if (frequency_hz <= 8000) { in WebRtcOpus_SetMaxPlaybackRate()
110 } else if (frequency_hz <= 12000) { in WebRtcOpus_SetMaxPlaybackRate()
112 } else if (frequency_hz <= 16000) { in WebRtcOpus_SetMaxPlaybackRate()
114 } else if (frequency_hz <= 24000) { in WebRtcOpus_SetMaxPlaybackRate()
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/test/
DPCMFile.cc50 uint16_t* frequency_hz) { in ChooseFile() argument
86 *frequency_hz); in ChooseFile()
90 *frequency_hz = tmp_frequency; in ChooseFile()
Dopus_test.cc66 uint16_t frequency_hz; in Perform()
75 frequency_hz = 32000; in Perform()
76 in_file_stereo_.Open(file_name_stereo, frequency_hz, "rb"); in Perform()
78 in_file_mono_.Open(file_name_mono, frequency_hz, "rb"); in Perform()
DPCMFile.h50 uint16_t* frequency_hz);
DTestStereo.cc141 uint16_t frequency_hz; in Perform() local
153 frequency_hz = 32000; in Perform()
156 in_file_stereo_->Open(file_name_stereo, frequency_hz, "rb"); in Perform()
158 in_file_mono_->Open(file_name_mono, frequency_hz, "rb"); in Perform()
/external/chromium_org/tools/perf/metrics/
Dpower.py145 frequency_hz = whole_package_utilization.get('frequency_percent')
146 if frequency_hz is not None:
148 for freq, percent in frequency_hz.iteritems():
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/
Dacm_opus.cc249 int ACMOpus::SetOpusMaxPlaybackRate(int frequency_hz) {
251 return WebRtcOpus_SetMaxPlaybackRate(encoder_inst_ptr_, frequency_hz);
Dacm_opus.h41 virtual int SetOpusMaxPlaybackRate(int frequency_hz) OVERRIDE;
Daudio_coding_module_impl.h240 virtual int SetOpusMaxPlaybackRate(int frequency_hz) OVERRIDE;
Daudio_coding_module_impl.cc1907 int AudioCodingModuleImpl::SetOpusMaxPlaybackRate(int frequency_hz) { in SetREDStatus() argument
1912 return codecs_[current_send_codec_idx_]->SetOpusMaxPlaybackRate(frequency_hz); in SetREDStatus()
/external/chromium_org/third_party/webrtc/voice_engine/
Dvoe_codec_impl.h57 virtual int SetOpusMaxPlaybackRate(int channel, int frequency_hz);
Dvoe_codec_impl.cc421 int VoECodecImpl::SetOpusMaxPlaybackRate(int channel, int frequency_hz) { in SetOpusMaxPlaybackRate() argument
424 frequency_hz); in SetOpusMaxPlaybackRate()
436 return channelPtr->SetOpusMaxPlaybackRate(frequency_hz); in SetOpusMaxPlaybackRate()
Dchannel.h209 int SetOpusMaxPlaybackRate(int frequency_hz);
Dchannel.cc1699 int Channel::SetOpusMaxPlaybackRate(int frequency_hz) { in SetOpusMaxPlaybackRate() argument
1703 if (audio_coding_->SetOpusMaxPlaybackRate(frequency_hz) != 0) { in SetOpusMaxPlaybackRate()
/external/chromium_org/third_party/webrtc/voice_engine/include/
Dvoe_codec.h133 virtual int SetOpusMaxPlaybackRate(int channel, int frequency_hz) { in SetOpusMaxPlaybackRate() argument
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/opus/interface/
Dopus_interface.h98 int16_t WebRtcOpus_SetMaxPlaybackRate(OpusEncInst* inst, int32_t frequency_hz);
/external/chromium_org/third_party/libjingle/source/talk/media/webrtc/
Dfakewebrtcvoiceengine.h654 WEBRTC_FUNC(SetOpusMaxPlaybackRate, (int channel, int frequency_hz)) {
660 if (frequency_hz <= 8000)
662 else if (frequency_hz <= 12000)
664 else if (frequency_hz <= 16000)
666 else if (frequency_hz <= 24000)
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/interface/
Daudio_coding_module.h933 virtual int SetOpusMaxPlaybackRate(int frequency_hz) = 0;
/external/chromium_org/third_party/webrtc/modules/rtp_rtcp/source/
Drtcp_sender.h57 uint32_t frequency_hz; member
Drtp_sender.cc1403 uint32_t frequency_hz = SendPayloadFrequency(); in SetSendingStatus() local
1404 uint32_t RTPtime = RtpUtility::GetCurrentRTP(clock_, frequency_hz); in SetSendingStatus()
Drtcp_sender.cc70 frequency_hz(0), in FeedbackState()
618 (feedback_state.frequency_hz / 1000); in BuildSR()
Drtp_rtcp_impl.cc429 state.frequency_hz = CurrentSendFrequencyHz(); in GetFeedbackState()