/external/chromium_org/media/cast/audio_receiver/ |
audio_decoder_unittest.cc | 72 PcmAudioFrame audio_frame; local 77 &audio_frame, 88 &audio_frame, 90 EXPECT_EQ(1, audio_frame.channels); 91 EXPECT_EQ(16000, audio_frame.frequency); 92 EXPECT_EQ(640ul, audio_frame.samples.size()); 94 for (size_t i = 10; i < audio_frame.samples.size(); ++i) { 95 EXPECT_EQ(0x3412, audio_frame.samples[i]); 130 PcmAudioFrame audio_frame; local 135 &audio_frame, 199 PcmAudioFrame audio_frame; local [all...] |
audio_decoder.cc | 60 PcmAudioFrame* audio_frame, 73 audio_frame->samples.clear(); 86 audio_frame->frequency = webrtc_audio_frame.sample_rate_hz_; 87 audio_frame->channels = webrtc_audio_frame.num_channels_; 100 audio_frame->samples.insert( 101 audio_frame->samples.end(), 103 &webrtc_audio_frame.data_[samples_per_10ms * audio_frame->channels]);
|
audio_receiver_unittest.cc | 35 void DeliverEncodedAudioFrame(scoped_ptr<EncodedAudioFrame> audio_frame, 37 EXPECT_EQ(expected_frame_id_, audio_frame->frame_id); 38 EXPECT_EQ(kPcm16, audio_frame->codec); 124 EncodedAudioFrame audio_frame; local 151 EncodedAudioFrame audio_frame; local
|
audio_receiver.h | 93 scoped_ptr<PcmAudioFrame> audio_frame, uint32 rtp_timestamp, 101 // Decrypts the data within the |audio_frame| and replaces the data with the 103 bool DecryptAudioFrame(scoped_ptr<EncodedAudioFrame>* audio_frame);
|
audio_decoder.h | 39 PcmAudioFrame* audio_frame,
|
audio_receiver.cc | 232 scoped_ptr<PcmAudioFrame> audio_frame(new PcmAudioFrame()); 237 audio_frame.get(), 250 base::Unretained(this), base::Passed(&audio_frame), rtp_timestamp, 255 scoped_ptr<PcmAudioFrame> audio_frame, uint32 rtp_timestamp, 269 base::Bind(callback, base::Passed(&audio_frame), playout_time)); 415 scoped_ptr<EncodedAudioFrame>* audio_frame) { 418 if (!decryptor_->SetCounter(GetAesNonce((*audio_frame)->frame_id, 424 if (!decryptor_->Decrypt((*audio_frame)->data, &decrypted_audio_data)) { 427 audio_buffer_->ReleaseFrame((*audio_frame)->frame_id); 430 (*audio_frame)->data.swap(decrypted_audio_data) [all...] |
/external/chromium_org/media/cast/test/ |
audio_utility.cc | 42 scoped_ptr<PcmAudioFrame> audio_frame(new PcmAudioFrame()); 43 audio_frame->channels = audio_bus.channels(); 44 audio_frame->frequency = sample_rate; 45 audio_frame->samples.resize(audio_bus.channels() * audio_bus.frames()); 47 audio_bus.frames(), sizeof(audio_frame->samples.front()), 48 &audio_frame->samples.front()); 49 return audio_frame.Pass();
|
end2end_unittest.cc | 141 PcmAudioFrame audio_frame; member in struct:media::cast::TestReceiverAudioCallback::ExpectedAudioFrame 153 void AddExpectedResult(scoped_ptr<PcmAudioFrame> audio_frame, 157 expected_audio_frame.audio_frame = *audio_frame; 163 void IgnoreAudioFrame(scoped_ptr<PcmAudioFrame> audio_frame, 167 void CheckBasicAudioFrame(const scoped_ptr<PcmAudioFrame>& audio_frame, 171 EXPECT_EQ(audio_frame->channels, kAudioChannels); 172 EXPECT_EQ(audio_frame->frequency, expected_sampling_frequency_); 173 EXPECT_EQ(static_cast<int>(audio_frame->samples.size()), 188 EXPECT_EQ(audio_frame->samples.size() [all...] |
receiver.cc | 175 void ReceiveAudioFrame(scoped_ptr<PcmAudioFrame> audio_frame,
|
/external/chromium_org/media/cast/framer/ |
frame_buffer.cc | 66 bool FrameBuffer::GetEncodedAudioFrame(EncodedAudioFrame* audio_frame, 73 audio_frame->frame_id = frame_id_; 76 audio_frame->data.clear(); 77 audio_frame->data.reserve(total_data_size_); 80 audio_frame->data.insert(audio_frame->data.end(),
|
frame_buffer.h | 28 bool GetEncodedAudioFrame(EncodedAudioFrame* audio_frame,
|
framer.cc | 56 bool Framer::GetEncodedAudioFrame(EncodedAudioFrame* audio_frame, 75 return it->second->GetEncodedAudioFrame(audio_frame, rtp_timestamp);
|
framer.h | 49 bool GetEncodedAudioFrame(EncodedAudioFrame* audio_frame,
|
/external/chromium_org/media/cast/audio_sender/ |
audio_sender.cc | 118 void AudioSender::InsertCodedAudioFrame(const EncodedAudioFrame* audio_frame, 129 if (!EncryptAudioFrame(*audio_frame, &encrypted_frame)) { 135 rtp_sender_.IncomingEncodedAudioFrame(audio_frame, recorded_time); 141 scoped_ptr<EncodedAudioFrame> audio_frame, 147 if (!EncryptAudioFrame(*audio_frame.get(), &encrypted_frame)) { 153 rtp_sender_.IncomingEncodedAudioFrame(audio_frame.get(), recorded_time); 157 bool AudioSender::EncryptAudioFrame(const EncodedAudioFrame& audio_frame, 161 if (!encryptor_->SetCounter(GetAesNonce(audio_frame.frame_id, iv_mask_))) { 165 if (!encryptor_->Encrypt(audio_frame.data, &encrypted_frame->data)) { 169 encrypted_frame->codec = audio_frame.codec [all...] |
audio_sender.h | 55 // The audio_frame must be valid until the closure callback is called. 59 void InsertCodedAudioFrame(const EncodedAudioFrame* audio_frame, 68 void SendEncodedAudioFrame(scoped_ptr<EncodedAudioFrame> audio_frame, 79 bool EncryptAudioFrame(const EncodedAudioFrame& audio_frame,
|
audio_encoder.cc | 77 scoped_ptr<EncodedAudioFrame> audio_frame(new EncodedAudioFrame()); 78 audio_frame->codec = codec_; 79 audio_frame->frame_id = frame_id_++; 80 audio_frame->samples = samples_per_10ms_; 81 if (EncodeFromFilledBuffer(&audio_frame->data)) { 91 base::Bind(callback_, base::Passed(&audio_frame),
|
/external/chromium_org/media/cast/net/rtp_sender/rtp_packetizer/ |
rtp_packetizer.cc | 54 const EncodedAudioFrame* audio_frame, 59 rtp_timestamp_ += audio_frame->samples; // Timestamp is in samples for audio. 61 Cast(true, audio_frame->frame_id, 0, rtp_timestamp_, audio_frame->data);
|
rtp_packetizer.h | 35 // The audio_frame objects ownership is handled by the main cast thread. 36 void IncomingEncodedAudioFrame(const EncodedAudioFrame* audio_frame,
|
/external/chromium_org/media/cast/net/rtp_sender/ |
rtp_sender.h | 45 // The audio_frame objects ownership is handled by the main cast thread. 46 void IncomingEncodedAudioFrame(const EncodedAudioFrame* audio_frame,
|
rtp_sender.cc | 57 void RtpSender::IncomingEncodedAudioFrame(const EncodedAudioFrame* audio_frame, 59 packetizer_->IncomingEncodedAudioFrame(audio_frame, recorded_time);
|
/external/chromium_org/media/cast/ |
cast_sender.h | 57 // The audio_frame must be valid until the callback is called. 61 virtual void InsertCodedAudioFrame(const EncodedAudioFrame* audio_frame,
|
cast_sender_impl.cc | 51 virtual void InsertCodedAudioFrame(const EncodedAudioFrame* audio_frame, 56 audio_frame, recorded_time, callback));
|
/external/chromium_org/media/filters/ |
decrypting_audio_decoder_unittest.cc | 128 const scoped_refptr<AudioBuffer>& audio_frame) { 131 else if (audio_frame->end_of_stream()) 134 EXPECT_CALL(*this, FrameReady(status, audio_frame));
|
/external/chromium_org/content/renderer/media/ |
media_stream_audio_processor.cc | 309 void MediaStreamAudioProcessor::ProcessData(webrtc::AudioFrame* audio_frame, 340 err = audio_processing_->ProcessStream(audio_frame);
|
media_stream_audio_processor.h | 94 void ProcessData(webrtc::AudioFrame* audio_frame,
|