/external/chromium_org/remoting/codec/ |
D | audio_encoder_opus_unittest.cc | 30 AudioPacket::SAMPLING_RATE_48000; 55 AudioPacket::SamplingRate rate, in GetSampleValue() 66 scoped_ptr<AudioPacket> CreatePacket( in CreatePacket() 68 AudioPacket::SamplingRate rate, in CreatePacket() 77 scoped_ptr<AudioPacket> packet(new AudioPacket()); in CreatePacket() 80 packet->set_encoding(AudioPacket::ENCODING_RAW); in CreatePacket() 82 packet->set_bytes_per_sample(AudioPacket::BYTES_PER_SAMPLE_2); in CreatePacket() 83 packet->set_channels(AudioPacket::CHANNELS_STEREO); in CreatePacket() 107 AudioPacket::SamplingRate rate, in ValidateReceivedData() 129 AudioPacket::SamplingRate rate) { in TestEncodeDecode() [all …]
|
D | audio_decoder_opus.cc | 23 const AudioPacket::SamplingRate kSamplingRate = 24 AudioPacket::SAMPLING_RATE_48000; 54 bool AudioDecoderOpus::ResetForPacket(AudioPacket* packet) { in ResetForPacket() 79 scoped_ptr<AudioPacket> AudioDecoderOpus::Decode( in Decode() 80 scoped_ptr<AudioPacket> packet) { in Decode() 81 if (packet->encoding() != AudioPacket::ENCODING_OPUS) { in Decode() 84 return scoped_ptr<AudioPacket>(); in Decode() 88 return scoped_ptr<AudioPacket>(); in Decode() 92 return scoped_ptr<AudioPacket>(); in Decode() 96 scoped_ptr<AudioPacket> decoded_packet(new AudioPacket()); in Decode() [all …]
|
D | audio_decoder_verbatim.cc | 18 scoped_ptr<AudioPacket> AudioDecoderVerbatim::Decode( in Decode() 19 scoped_ptr<AudioPacket> packet) { in Decode() 21 if ((packet->encoding() != AudioPacket::ENCODING_RAW) || in Decode() 23 (packet->sampling_rate() == AudioPacket::SAMPLING_RATE_INVALID) || in Decode() 24 (packet->bytes_per_sample() != AudioPacket::BYTES_PER_SAMPLE_2) || in Decode() 25 (packet->channels() != AudioPacket::CHANNELS_STEREO) || in Decode() 27 (AudioPacket::CHANNELS_STEREO * AudioPacket::BYTES_PER_SAMPLE_2) != 0)) { in Decode() 29 return scoped_ptr<AudioPacket>(); in Decode()
|
D | audio_encoder_opus.cc | 22 const AudioPacket::SamplingRate kOpusSamplingRate = 23 AudioPacket::SAMPLING_RATE_48000; 33 const AudioPacket::BytesPerSample kBytesPerSample = 34 AudioPacket::BYTES_PER_SAMPLE_2; 44 channels_(AudioPacket::CHANNELS_STEREO), in AudioEncoderOpus() 102 bool AudioEncoderOpus::ResetForPacket(AudioPacket* packet) { in ResetForPacket() 137 scoped_ptr<AudioPacket> AudioEncoderOpus::Encode( in Encode() 138 scoped_ptr<AudioPacket> packet) { in Encode() 139 DCHECK_EQ(AudioPacket::ENCODING_RAW, packet->encoding()); in Encode() 145 return scoped_ptr<AudioPacket>(); in Encode() [all …]
|
D | audio_encoder_verbatim.cc | 16 scoped_ptr<AudioPacket> AudioEncoderVerbatim::Encode( in Encode() 17 scoped_ptr<AudioPacket> packet) { in Encode() 18 DCHECK_EQ(AudioPacket::ENCODING_RAW, packet->encoding()); in Encode() 20 DCHECK_NE(AudioPacket::SAMPLING_RATE_INVALID, packet->sampling_rate()); in Encode() 21 DCHECK_NE(AudioPacket::BYTES_PER_SAMPLE_INVALID, packet->bytes_per_sample()); in Encode() 22 DCHECK_NE(AudioPacket::CHANNELS_INVALID, packet->channels()); in Encode()
|
D | audio_encoder_opus.h | 21 class AudioPacket; variable 29 virtual scoped_ptr<AudioPacket> Encode( 30 scoped_ptr<AudioPacket> packet) OVERRIDE; 35 bool ResetForPacket(AudioPacket* packet); 41 AudioPacket::Channels channels_;
|
D | audio_decoder_opus.h | 16 class AudioPacket; variable 24 virtual scoped_ptr<AudioPacket> Decode( 25 scoped_ptr<AudioPacket> packet) OVERRIDE; 30 bool ResetForPacket(AudioPacket* packet);
|
D | audio_encoder.h | 12 class AudioPacket; variable 18 virtual scoped_ptr<AudioPacket> Encode(scoped_ptr<AudioPacket> packet) = 0;
|
D | audio_decoder_verbatim.h | 14 class AudioPacket; variable 22 virtual scoped_ptr<AudioPacket> Decode( 23 scoped_ptr<AudioPacket> packet) OVERRIDE;
|
D | audio_encoder_verbatim.h | 12 class AudioPacket; variable 20 virtual scoped_ptr<AudioPacket> Encode( 21 scoped_ptr<AudioPacket> packet) OVERRIDE;
|
D | audio_decoder.h | 16 class AudioPacket; variable 27 virtual scoped_ptr<AudioPacket> Decode(scoped_ptr<AudioPacket> packet) = 0;
|
/external/chromium_org/remoting/client/ |
D | audio_player_unittest.cc | 32 virtual bool ResetAudioPlayer(AudioPacket::SamplingRate) OVERRIDE { in ResetAudioPlayer() 92 scoped_ptr<AudioPacket> CreatePacketWithSamplingRate( in CreatePacketWithSamplingRate() 93 AudioPacket::SamplingRate rate, int samples) { in CreatePacketWithSamplingRate() 94 scoped_ptr<AudioPacket> packet(new AudioPacket()); in CreatePacketWithSamplingRate() 95 packet->set_encoding(AudioPacket::ENCODING_RAW); in CreatePacketWithSamplingRate() 97 packet->set_bytes_per_sample(AudioPacket::BYTES_PER_SAMPLE_2); in CreatePacketWithSamplingRate() 98 packet->set_channels(AudioPacket::CHANNELS_STEREO); in CreatePacketWithSamplingRate() 108 scoped_ptr<AudioPacket> CreatePacket44100Hz(int samples) { in CreatePacket44100Hz() 109 return CreatePacketWithSamplingRate(AudioPacket::SAMPLING_RATE_44100, in CreatePacket44100Hz() 113 scoped_ptr<AudioPacket> CreatePacket48000Hz(int samples) { in CreatePacket48000Hz() [all …]
|
D | audio_decode_scheduler.cc | 23 void ProcessAudioPacket(scoped_ptr<AudioPacket> packet, 35 void DecodePacket(scoped_ptr<AudioPacket> packet, const base::Closure& done); 38 void ProcessDecodedPacket(scoped_ptr<AudioPacket> packet, 68 scoped_ptr<AudioPacket> packet, in ProcessAudioPacket() 82 scoped_ptr<AudioPacket> packet, in DecodePacket() 85 scoped_ptr<AudioPacket> decoded_packet = decoder_->Decode(packet.Pass()); in DecodePacket() 93 scoped_ptr<AudioPacket> packet, in ProcessDecodedPacket() 118 void AudioDecodeScheduler::ProcessAudioPacket(scoped_ptr<AudioPacket> packet, in ProcessAudioPacket()
|
D | audio_player.h | 20 void ProcessAudioPacket(scoped_ptr<AudioPacket> packet); 30 virtual bool ResetAudioPlayer(AudioPacket::SamplingRate sampling_rate) = 0; 40 typedef std::list<AudioPacket*> AudioPacketQueue; 45 AudioPacket::SamplingRate sampling_rate_;
|
D | audio_player.cc | 23 : sampling_rate_(AudioPacket::SAMPLING_RATE_INVALID), in AudioPlayer() 34 void AudioPlayer::ProcessAudioPacket(scoped_ptr<AudioPacket> packet) { in ProcessAudioPacket() 36 DCHECK_EQ(AudioPacket::ENCODING_RAW, packet->encoding()); in ProcessAudioPacket() 37 DCHECK_NE(AudioPacket::SAMPLING_RATE_INVALID, packet->sampling_rate()); in ProcessAudioPacket()
|
/external/chromium_org/remoting/host/ |
D | audio_capturer_linux.cc | 18 const AudioPacket_SamplingRate kSamplingRate = AudioPacket::SAMPLING_RATE_48000; 48 silence_detector_.Reset(kSamplingRate, AudioPacket::CHANNELS_STEREO); in Start() 72 scoped_ptr<AudioPacket> packet(new AudioPacket()); in OnDataRead() 74 packet->set_encoding(AudioPacket::ENCODING_RAW); in OnDataRead() 76 packet->set_bytes_per_sample(AudioPacket::BYTES_PER_SAMPLE_2); in OnDataRead() 77 packet->set_channels(AudioPacket::CHANNELS_STEREO); in OnDataRead()
|
D | audio_capturer_win.cc | 41 : sampling_rate_(AudioPacket::SAMPLING_RATE_INVALID), in AudioCapturerWin() 119 sampling_rate_ = static_cast<AudioPacket::SamplingRate>( in Start() 140 sampling_rate_ = static_cast<AudioPacket::SamplingRate>( in Start() 248 scoped_ptr<AudioPacket> packet = in DoCapture() 249 scoped_ptr<AudioPacket>(new AudioPacket()); in DoCapture() 251 packet->set_encoding(AudioPacket::ENCODING_RAW); in DoCapture() 253 packet->set_bytes_per_sample(AudioPacket::BYTES_PER_SAMPLE_2); in DoCapture() 254 packet->set_channels(AudioPacket::CHANNELS_STEREO); in DoCapture()
|
D | audio_scheduler.h | 23 class AudioPacket; variable 64 void EncodeAudioPacket(scoped_ptr<AudioPacket> packet); 67 void SendAudioPacket(scoped_ptr<AudioPacket> packet);
|
D | audio_capturer.cc | 15 case AudioPacket::SAMPLING_RATE_44100: in IsValidSampleRate() 16 case AudioPacket::SAMPLING_RATE_48000: in IsValidSampleRate()
|
D | audio_capturer.h | 13 class AudioPacket; variable 17 typedef base::Callback<void(scoped_ptr<AudioPacket> packet)>
|
D | audio_scheduler.cc | 82 void AudioScheduler::EncodeAudioPacket(scoped_ptr<AudioPacket> packet) { in EncodeAudioPacket() 89 scoped_ptr<AudioPacket> encoded_packet = in EncodeAudioPacket() 100 void AudioScheduler::SendAudioPacket(scoped_ptr<AudioPacket> packet) { in SendAudioPacket()
|
/external/chromium_org/remoting/protocol/ |
D | audio_reader.h | 37 explicit AudioReader(AudioPacket::Encoding encoding); 39 void OnNewData(scoped_ptr<AudioPacket> packet, 42 AudioPacket::Encoding encoding_; 44 ProtobufMessageReader<AudioPacket> reader_;
|
D | audio_reader.cc | 16 AudioReader::AudioReader(AudioPacket::Encoding encoding) in AudioReader() 30 return scoped_ptr<AudioReader>(new AudioReader(AudioPacket::ENCODING_RAW)); in Create() 38 void AudioReader::OnNewData(scoped_ptr<AudioPacket> packet, in OnNewData()
|
D | audio_stub.h | 13 class AudioPacket; variable 21 virtual void ProcessAudioPacket(scoped_ptr<AudioPacket> audio_packet,
|
/external/chromium_org/remoting/client/plugin/ |
D | pepper_audio_player.cc | 30 AudioPacket::SamplingRate sampling_rate) { in ResetAudioPlayer() 33 case AudioPacket::SAMPLING_RATE_44100: in ResetAudioPlayer() 36 case AudioPacket::SAMPLING_RATE_48000: in ResetAudioPlayer()
|