Home
last modified time | relevance | path

Searched refs:AudioFrame (Results 1 – 25 of 97) sorted by relevance

1234

/external/chromium_org/third_party/webrtc/modules/utility/source/
Daudio_frame_operations_unittest.cc27 AudioFrame frame_;
30 void SetFrameData(AudioFrame* frame, int16_t left, int16_t right) { in SetFrameData()
37 void SetFrameData(AudioFrame* frame, int16_t data) { in SetFrameData()
43 void VerifyFramesAreEqual(const AudioFrame& frame1, const AudioFrame& frame2) { in VerifyFramesAreEqual()
57 frame_.samples_per_channel_ = AudioFrame::kMaxDataSizeSamples; in TEST_F()
65 AudioFrame temp_frame; in TEST_F()
69 AudioFrame stereo_frame; in TEST_F()
90 AudioFrame temp_frame; in TEST_F()
94 AudioFrame mono_frame; in TEST_F()
112 AudioFrame mono_frame; in TEST_F()
[all …]
Daudio_frame_operations.cc25 int AudioFrameOperations::MonoToStereo(AudioFrame* frame) { in MonoToStereo()
29 if ((frame->samples_per_channel_ * 2) >= AudioFrame::kMaxDataSizeSamples) { in MonoToStereo()
34 int16_t data_copy[AudioFrame::kMaxDataSizeSamples]; in MonoToStereo()
51 int AudioFrameOperations::StereoToMono(AudioFrame* frame) { in StereoToMono()
62 void AudioFrameOperations::SwapStereoChannels(AudioFrame* frame) { in SwapStereoChannels()
72 void AudioFrameOperations::Mute(AudioFrame& frame) { in Mute()
77 int AudioFrameOperations::Scale(float left, float right, AudioFrame& frame) { in Scale()
91 int AudioFrameOperations::ScaleWithSat(float scale, AudioFrame& frame) { in ScaleWithSat()
Dcoder.cc54 int32_t AudioCoder::Decode(AudioFrame& decodedAudio, in Decode()
74 int32_t AudioCoder::PlayoutData(AudioFrame& decodedAudio, in PlayoutData()
80 int32_t AudioCoder::Encode(const AudioFrame& audio, in Encode()
86 AudioFrame audioFrame; in Encode()
94 if(_acm->Add10MsData((AudioFrame&)audioFrame) == -1) in Encode()
Dcoder.h20 class AudioFrame; variable
36 int32_t Decode(AudioFrame& decodedAudio, uint32_t sampFreqHz,
39 int32_t PlayoutData(AudioFrame& decodedAudio, uint16_t& sampFreqHz);
41 int32_t Encode(const AudioFrame& audio, int8_t* encodedData,
/external/chromium_org/third_party/webrtc/modules/utility/interface/
Daudio_frame_operations.h18 class AudioFrame; variable
33 static int MonoToStereo(AudioFrame* frame);
42 static int StereoToMono(AudioFrame* frame);
46 static void SwapStereoChannels(AudioFrame* frame);
49 static void Mute(AudioFrame& frame);
51 static int Scale(float left, float right, AudioFrame& frame);
53 static int ScaleWithSat(float scale, AudioFrame& frame);
/external/chromium_org/third_party/webrtc/modules/audio_coding/main/acm2/
Dcall_statistics.cc19 void CallStatistics::DecodedByNetEq(AudioFrame::SpeechType speech_type) { in DecodedByNetEq()
22 case AudioFrame::kNormalSpeech: { in DecodedByNetEq()
26 case AudioFrame::kPLC: { in DecodedByNetEq()
30 case AudioFrame::kCNG: { in DecodedByNetEq()
34 case AudioFrame::kPLCCNG: { in DecodedByNetEq()
38 case AudioFrame::kUndefined: { in DecodedByNetEq()
Dacm_receiver.cc44 AudioFrame* audio_frame) { in SetAudioFrameActivityAndType()
48 audio_frame->vad_activity_ = AudioFrame::kVadActive; in SetAudioFrameActivityAndType()
49 audio_frame->speech_type_ = AudioFrame::kNormalSpeech; in SetAudioFrameActivityAndType()
53 audio_frame->vad_activity_ = AudioFrame::kVadPassive; in SetAudioFrameActivityAndType()
54 audio_frame->speech_type_ = AudioFrame::kNormalSpeech; in SetAudioFrameActivityAndType()
58 audio_frame->vad_activity_ = AudioFrame::kVadPassive; in SetAudioFrameActivityAndType()
59 audio_frame->speech_type_ = AudioFrame::kCNG; in SetAudioFrameActivityAndType()
65 audio_frame->speech_type_ = AudioFrame::kPLC; in SetAudioFrameActivityAndType()
69 audio_frame->vad_activity_ = AudioFrame::kVadPassive; in SetAudioFrameActivityAndType()
70 audio_frame->speech_type_ = AudioFrame::kPLCCNG; in SetAudioFrameActivityAndType()
[all …]
Dcall_statistics_unittest.cc36 call_stats.DecodedByNetEq(AudioFrame::kNormalSpeech); in TEST()
37 call_stats.DecodedByNetEq(AudioFrame::kPLC); in TEST()
38 call_stats.DecodedByNetEq(AudioFrame::kPLCCNG); in TEST()
39 call_stats.DecodedByNetEq(AudioFrame::kCNG); in TEST()
Dacm_receiver.h88 int GetAudio(int desired_freq_hz, AudioFrame* audio_frame);
317 bool GetSilence(int desired_sample_rate_hz, AudioFrame* frame)
332 AudioFrame::VADActivity previous_audio_activity_ GUARDED_BY(crit_sect_);
337 int16_t audio_buffer_[AudioFrame::kMaxDataSizeSamples] GUARDED_BY(crit_sect_);
Daudio_coding_module_impl.h93 virtual int Add10MsData(const AudioFrame& audio_frame) OVERRIDE;
209 AudioFrame* audio_frame) OVERRIDE;
288 int PreprocessToAddData(const AudioFrame& in_frame,
289 const AudioFrame** ptr_out)
376 AudioFrame preprocess_frame_ GUARDED_BY(acm_crit_sect_);
416 virtual int Add10MsAudio(const AudioFrame& audio_frame) OVERRIDE;
442 virtual bool Get10MsAudio(AudioFrame* audio_frame) OVERRIDE;
/external/webrtc/src/modules/interface/
Dmodule_common_types.h710 class AudioFrame
730 AudioFrame();
731 virtual ~AudioFrame();
745 AudioFrame& Append(const AudioFrame& rhs);
749 AudioFrame& operator=(const AudioFrame& rhs);
750 AudioFrame& operator>>=(const WebRtc_Word32 rhs);
751 AudioFrame& operator+=(const AudioFrame& rhs);
752 AudioFrame& operator-=(const AudioFrame& rhs);
770 AudioFrame::AudioFrame() in AudioFrame() function
786 AudioFrame::~AudioFrame() in ~AudioFrame()
[all …]
/external/chromium_org/third_party/webrtc/voice_engine/
Dutility_unittest.cc43 AudioFrame src_frame_;
44 AudioFrame dst_frame_;
45 AudioFrame golden_frame_;
51 void SetMonoFrame(AudioFrame* frame, float data, int sample_rate_hz) { in SetMonoFrame()
62 void SetMonoFrame(AudioFrame* frame, float data) { in SetMonoFrame()
68 void SetStereoFrame(AudioFrame* frame, float left, float right, in SetStereoFrame()
81 void SetStereoFrame(AudioFrame* frame, float left, float right) { in SetStereoFrame()
85 void VerifyParams(const AudioFrame& ref_frame, const AudioFrame& test_frame) { in VerifyParams()
94 float ComputeSNR(const AudioFrame& ref_frame, const AudioFrame& test_frame, in ComputeSNR()
120 void VerifyFramesAreEqual(const AudioFrame& ref_frame, in VerifyFramesAreEqual()
[all …]
Dutility.h23 class AudioFrame; variable
31 void RemixAndResample(const AudioFrame& src_frame,
33 AudioFrame* dst_frame);
52 AudioFrame* dst_af);
Dutility.cc27 void RemixAndResample(const AudioFrame& src_frame, in RemixAndResample()
29 AudioFrame* dst_frame) { in RemixAndResample()
32 int16_t mono_audio[AudioFrame::kMaxDataSizeSamples]; in RemixAndResample()
54 AudioFrame::kMaxDataSizeSamples); in RemixAndResample()
82 AudioFrame* dst_af) { in DownConvertToCodecFormat()
113 src_data, in_length, dst_af->data_, AudioFrame::kMaxDataSizeSamples); in DownConvertToCodecFormat()
Doutput_mixer.h68 AudioFrame* audioFrame);
92 const AudioFrame& generalAudioFrame,
93 const AudioFrame** uniqueAudioFrames,
131 AudioFrame _audioFrame;
/external/chromium_org/third_party/webrtc/modules/interface/
Dmodule_common_types.h641 class AudioFrame {
659 AudioFrame();
660 virtual ~AudioFrame() {} in ~AudioFrame()
672 AudioFrame& Append(const AudioFrame& rhs);
674 void CopyFrom(const AudioFrame& src);
678 AudioFrame& operator>>=(const int rhs);
679 AudioFrame& operator+=(const AudioFrame& rhs);
680 AudioFrame& operator-=(const AudioFrame& rhs);
705 DISALLOW_COPY_AND_ASSIGN(AudioFrame);
708 inline AudioFrame::AudioFrame() in AudioFrame() function
[all …]
/external/webrtc/src/modules/audio_processing/
Daudio_buffer.h44 void set_activity(AudioFrame::VADActivity activity);
45 AudioFrame::VADActivity activity() const;
49 void DeinterleaveFrom(AudioFrame* audioFrame);
50 void InterleaveTo(AudioFrame* audioFrame) const;
53 void InterleaveTo(AudioFrame* frame, bool data_changed) const;
69 AudioFrame::VADActivity activity_;
/external/chromium_org/third_party/webrtc/modules/audio_conference_mixer/source/
Daudio_frame_manipulator.h15 class AudioFrame; variable
18 void CalculateEnergy(AudioFrame& audioFrame);
21 void RampIn(AudioFrame& audioFrame);
22 void RampOut(AudioFrame& audioFrame);
Daudio_conference_mixer_impl.cc24 AudioFrame* audioFrame;
35 void MixFrames(AudioFrame* mixed_frame, AudioFrame* frame, bool use_limiter) { in MixFrames()
64 const AudioFrame& frame) { in SetParticipantStatistics()
158 MemoryPool<AudioFrame>::CreateMemoryPool(_audioFramePool, in Init()
190 MemoryPool<AudioFrame>::DeleteMemoryPool(_audioFramePool); in ~AudioConferenceMixerImpl()
287 AudioFrame* mixedAudio = NULL; in Process()
310 AudioFrame::kNormalSpeech, in Process()
311 AudioFrame::kVadPassive, num_mixed_channels); in Process()
350 const AudioFrame** dummy = NULL; in Process()
648 AudioFrame* audioFrame = NULL; in UpdateToMix()
[all …]
Daudio_conference_mixer_impl.h29 typedef std::list<AudioFrame*> AudioFrameList;
147 AudioFrame& mixedAudio,
152 int32_t MixAnonomouslyFromList(AudioFrame& mixedAudio,
155 bool LimitMixedAudio(AudioFrame& mixedAudio);
187 MemoryPool<AudioFrame>* _audioFramePool;
Daudio_frame_manipulator.cc42 void CalculateEnergy(AudioFrame& audioFrame) in CalculateEnergy()
54 void RampIn(AudioFrame& audioFrame) in RampIn()
64 void RampOut(AudioFrame& audioFrame) in RampOut()
/external/chromium_org/third_party/webrtc/modules/audio_processing/
Daudio_buffer.h85 void set_activity(AudioFrame::VADActivity activity);
86 AudioFrame::VADActivity activity() const;
89 void DeinterleaveFrom(AudioFrame* audioFrame);
92 void InterleaveTo(AudioFrame* frame, bool data_changed) const;
115 AudioFrame::VADActivity activity_;
/external/chromium_org/third_party/libjingle/source/talk/media/base/
Daudioframe.h33 class AudioFrame {
35 AudioFrame() in AudioFrame() function
41 AudioFrame(int16* audio, size_t audio_length, int sample_freq, bool stereo) in AudioFrame() function
/external/chromium_org/third_party/webrtc/modules/audio_conference_mixer/interface/
Daudio_conference_mixer_defines.h28 virtual int32_t GetAudioFrame(const int32_t id, AudioFrame& audioFrame) = 0;
82 const AudioFrame& generalAudioFrame,
83 const AudioFrame** uniqueAudioFrames,
/external/chromium_org/third_party/webrtc/voice_engine/test/auto_test/standard/
Dexternal_media_test.cc58 webrtc::AudioFrame frame; in TEST_F()
79 webrtc::AudioFrame frame; in TEST_F()
94 webrtc::AudioFrame frame; in TEST_F()
113 webrtc::AudioFrame frame; in TEST_F()

1234