/external/chromium_org/third_party/webrtc/modules/audio_conference_mixer/source/ |
audio_frame_manipulator.h | 15 class AudioFrame; 17 // Updates the audioFrame's energy (based on its samples). 18 void CalculateEnergy(AudioFrame& audioFrame); 20 // Apply linear step function that ramps in/out the audio samples in audioFrame 21 void RampIn(AudioFrame& audioFrame); 22 void RampOut(AudioFrame& audioFrame);
|
audio_frame_manipulator.cc | 42 void CalculateEnergy(AudioFrame& audioFrame) 44 audioFrame.energy_ = 0; 45 for(int position = 0; position < audioFrame.samples_per_channel_; 49 audioFrame.energy_ += audioFrame.data_[position] * 50 audioFrame.data_[position]; 54 void RampIn(AudioFrame& audioFrame) 56 assert(rampSize <= audioFrame.samples_per_channel_) [all...] |
audio_conference_mixer_impl.cc | 24 AudioFrame* audioFrame; 35 void MixFrames(AudioFrame* mixed_frame, AudioFrame* frame) { 61 const AudioFrame& frame) { 154 MemoryPool<AudioFrame>::CreateMemoryPool(_audioFramePool, 186 MemoryPool<AudioFrame>::DeleteMemoryPool(_audioFramePool); 282 // Get an AudioFrame for mixing from the memory pool. 283 AudioFrame* mixedAudio = NULL; 306 AudioFrame::kNormalSpeech [all...] |
/external/webrtc/src/modules/audio_processing/ |
audio_buffer.h | 44 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_coding/main/acm2/ |
call_statistics.cc | 19 void CallStatistics::DecodedByNetEq(AudioFrame::SpeechType speech_type) { 22 case AudioFrame::kNormalSpeech: { 26 case AudioFrame::kPLC: { 30 case AudioFrame::kCNG: { 34 case AudioFrame::kPLCCNG: { 38 case AudioFrame::kUndefined: {
|
call_statistics_unittest.cc | 36 call_stats.DecodedByNetEq(AudioFrame::kNormalSpeech); 37 call_stats.DecodedByNetEq(AudioFrame::kPLC); 38 call_stats.DecodedByNetEq(AudioFrame::kPLCCNG); 39 call_stats.DecodedByNetEq(AudioFrame::kCNG);
|
/external/chromium_org/third_party/webrtc/modules/utility/source/ |
coder.cc | 54 int32_t AudioCoder::Decode(AudioFrame& decodedAudio, 74 int32_t AudioCoder::PlayoutData(AudioFrame& decodedAudio, 80 int32_t AudioCoder::Encode(const AudioFrame& audio, 86 AudioFrame audioFrame; 87 audioFrame.CopyFrom(audio); 88 audioFrame.timestamp_ = _encodeTimestamp; 89 _encodeTimestamp += audioFrame.samples_per_channel_; 94 if(_acm->Add10MsData((AudioFrame&)audioFrame) == -1 [all...] |
audio_frame_operations_unittest.cc | 27 AudioFrame frame_; 30 void SetFrameData(AudioFrame* frame, int16_t left, int16_t right) { 37 void SetFrameData(AudioFrame* frame, int16_t data) { 43 void VerifyFramesAreEqual(const AudioFrame& frame1, const AudioFrame& frame2) { 57 frame_.samples_per_channel_ = AudioFrame::kMaxDataSizeSamples; 65 AudioFrame temp_frame; 69 AudioFrame stereo_frame; 90 AudioFrame temp_frame; 94 AudioFrame mono_frame [all...] |
coder.h | 20 class AudioFrame; 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,
|
audio_frame_operations.cc | 25 int AudioFrameOperations::MonoToStereo(AudioFrame* frame) { 29 if ((frame->samples_per_channel_ * 2) >= AudioFrame::kMaxDataSizeSamples) { 34 int16_t data_copy[AudioFrame::kMaxDataSizeSamples]; 51 int AudioFrameOperations::StereoToMono(AudioFrame* frame) { 62 void AudioFrameOperations::SwapStereoChannels(AudioFrame* frame) { 72 void AudioFrameOperations::Mute(AudioFrame& frame) { 77 int AudioFrameOperations::Scale(float left, float right, AudioFrame& frame) { 91 int AudioFrameOperations::ScaleWithSat(float scale, AudioFrame& frame) {
|
/external/chromium_org/third_party/webrtc/modules/utility/interface/ |
audio_frame_operations.h | 18 class AudioFrame; 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/test/ |
SpatialAudio.cc | 153 AudioFrame audioFrame; 161 _inFile.Read10MsData(audioFrame); 162 for (int n = 0; n < audioFrame.samples_per_channel_; n++) { 163 audioFrame.data_[n] = (int16_t) floor( 164 audioFrame.data_[n] * leftPanning + 0.5); 166 CHECK_ERROR(_acmLeft->Add10MsData(audioFrame)); 168 for (int n = 0; n < audioFrame.samples_per_channel_; n++) { 169 audioFrame.data_[n] = (int16_t) floor( 170 audioFrame.data_[n] * rightToLeftRatio + 0.5) [all...] |
TwoWayCommunication.cc | 273 AudioFrame audioFrame; 288 EXPECT_GT(_inFileA.Read10MsData(audioFrame), 0); 289 EXPECT_EQ(0, _acmA->Add10MsData(audioFrame)); 290 EXPECT_EQ(0, _acmRefA->Add10MsData(audioFrame)); 292 EXPECT_GT(_inFileB.Read10MsData(audioFrame), 0); 296 EXPECT_EQ(0, _acmB->Add10MsData(audioFrame)); 298 EXPECT_EQ(-1, _acmB->Add10MsData(audioFrame)); 307 EXPECT_EQ(0, _acmRefB->Add10MsData(audioFrame)); 311 EXPECT_EQ(0, _acmA->PlayoutData10Ms(outFreqHzA, &audioFrame)); [all...] |
PCMFile.h | 37 int32_t Read10MsData(AudioFrame& audio_frame); 40 void Write10MsData(AudioFrame& audio_frame);
|
/external/chromium_org/third_party/webrtc/modules/audio_conference_mixer/interface/ |
audio_conference_mixer_defines.h | 24 // The implementation of this function should update audioFrame with new 28 virtual int32_t GetAudioFrame(const int32_t id, AudioFrame& audioFrame) = 0; 33 // This function specifies the sampling frequency needed for the AudioFrame 79 // Note that uniqueAudioFrames is an array of AudioFrame pointers with the 82 const AudioFrame& generalAudioFrame, 83 const AudioFrame** uniqueAudioFrames,
|
/external/chromium_org/third_party/webrtc/modules/audio_processing/ |
audio_buffer.h | 79 void set_activity(AudioFrame::VADActivity activity); 80 AudioFrame::VADActivity activity() const; 83 void DeinterleaveFrom(AudioFrame* audioFrame); 84 void InterleaveTo(AudioFrame* audioFrame) const; 87 void InterleaveTo(AudioFrame* frame, bool data_changed) const; 114 AudioFrame::VADActivity activity_;
|
/external/chromium_org/third_party/webrtc/voice_engine/ |
utility.h | 23 class AudioFrame; 31 void RemixAndResample(const AudioFrame& src_frame, 33 AudioFrame* dst_frame); 52 AudioFrame* dst_af);
|
level_indicator.h | 19 class AudioFrame; 38 void ComputeLevel(const AudioFrame& audioFrame);
|
level_indicator.cc | 48 void AudioLevel::ComputeLevel(const AudioFrame& audioFrame) 54 audioFrame.data_, 55 audioFrame.samples_per_channel_*audioFrame.num_channels_);
|
output_mixer.h | 68 AudioFrame* audioFrame); 92 const AudioFrame& generalAudioFrame, 93 const AudioFrame** uniqueAudioFrames, 131 AudioFrame _audioFrame;
|
utility_unittest.cc | 43 AudioFrame src_frame_; 44 AudioFrame dst_frame_; 45 AudioFrame golden_frame_; 51 void SetMonoFrame(AudioFrame* frame, float data, int sample_rate_hz) { 62 void SetMonoFrame(AudioFrame* frame, float data) { 68 void SetStereoFrame(AudioFrame* frame, float left, float right, 81 void SetStereoFrame(AudioFrame* frame, float left, float right) { 85 void VerifyParams(const AudioFrame& ref_frame, const AudioFrame& test_frame) { 94 float ComputeSNR(const AudioFrame& ref_frame, const AudioFrame& test_frame [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
audioframe.h | 33 class AudioFrame { 35 AudioFrame() 41 AudioFrame(int16* audio, size_t audio_length, int sample_freq, bool stereo)
|
/external/webrtc/src/modules/interface/ |
module_common_types.h | 687 * AudioFrame class 689 * The AudioFrame class holds up to 60 ms wideband 710 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) [all...] |
/external/chromium_org/third_party/webrtc/modules/interface/ |
module_common_types.h | 649 class AudioFrame { 667 AudioFrame(); 668 virtual ~AudioFrame() {} 680 AudioFrame& Append(const AudioFrame& rhs); 682 void CopyFrom(const AudioFrame& src); 686 AudioFrame& operator>>=(const int rhs); 687 AudioFrame& operator+=(const AudioFrame& rhs); 688 AudioFrame& operator-=(const AudioFrame& rhs) [all...] |
/external/chromium_org/third_party/webrtc/voice_engine/test/auto_test/standard/ |
external_media_test.cc | 58 webrtc::AudioFrame frame; 79 webrtc::AudioFrame frame; 94 webrtc::AudioFrame frame; 113 webrtc::AudioFrame frame;
|