Home
last modified time | relevance | path

Searched refs:AudioDecoder (Results 1 – 25 of 73) sorted by relevance

123

/external/webrtc/api/audio_codecs/
Daudio_decoder.cc27 class OldStyleEncodedFrame final : public AudioDecoder::EncodedAudioFrame {
29 OldStyleEncodedFrame(AudioDecoder* decoder, rtc::Buffer&& payload) in OldStyleEncodedFrame()
39 auto speech_type = AudioDecoder::kSpeech; in Decode()
49 AudioDecoder* const decoder_;
55 bool AudioDecoder::EncodedAudioFrame::IsDtxPacket() const { in IsDtxPacket()
59 AudioDecoder::ParseResult::ParseResult() = default;
60 AudioDecoder::ParseResult::ParseResult(ParseResult&& b) = default;
61 AudioDecoder::ParseResult::ParseResult(uint32_t timestamp, in ParseResult()
68 AudioDecoder::ParseResult::~ParseResult() = default;
70 AudioDecoder::ParseResult& AudioDecoder::ParseResult::operator=(
[all …]
Daudio_decoder.h27 class AudioDecoder {
37 AudioDecoder() = default;
38 virtual ~AudioDecoder() = default;
189 RTC_DISALLOW_COPY_AND_ASSIGN(AudioDecoder);
Daudio_decoder_factory_template.h33 static std::unique_ptr<AudioDecoder> MakeAudioDecoder(
56 static std::unique_ptr<AudioDecoder> MakeAudioDecoder(
78 std::unique_ptr<AudioDecoder> MakeAudioDecoder(
/external/webrtc/modules/audio_coding/codecs/
Dlegacy_encoded_audio_frame.cc21 LegacyEncodedAudioFrame::LegacyEncodedAudioFrame(AudioDecoder* decoder, in LegacyEncodedAudioFrame()
32 absl::optional<AudioDecoder::EncodedAudioFrame::DecodeResult>
34 AudioDecoder::SpeechType speech_type = AudioDecoder::kSpeech; in Decode()
45 std::vector<AudioDecoder::ParseResult> LegacyEncodedAudioFrame::SplitBySamples( in SplitBySamples()
46 AudioDecoder* decoder, in SplitBySamples()
52 std::vector<AudioDecoder::ParseResult> results; in SplitBySamples()
Dlegacy_encoded_audio_frame.h26 class LegacyEncodedAudioFrame final : public AudioDecoder::EncodedAudioFrame {
28 LegacyEncodedAudioFrame(AudioDecoder* decoder, rtc::Buffer&& payload);
31 static std::vector<AudioDecoder::ParseResult> SplitBySamples(
32 AudioDecoder* decoder,
47 AudioDecoder* const decoder_;
/external/webrtc/test/
Daudio_decoder_proxy_factory.h29 explicit AudioDecoderProxyFactory(AudioDecoder* decoder) in AudioDecoderProxyFactory()
42 std::unique_ptr<AudioDecoder> MakeAudioDecoder( in MakeAudioDecoder()
51 class DecoderProxy final : public AudioDecoder {
53 explicit DecoderProxy(AudioDecoder* decoder) : decoder_(decoder) {} in DecoderProxy()
90 AudioDecoder* const decoder_;
93 AudioDecoder* const decoder_;
Dfunction_audio_decoder_factory.h31 std::function<std::unique_ptr<AudioDecoder>()> create) in FunctionAudioDecoderFactory()
37 std::function<std::unique_ptr<AudioDecoder>( in FunctionAudioDecoderFactory()
52 std::unique_ptr<AudioDecoder> MakeAudioDecoder( in MakeAudioDecoder()
59 const std::function<std::unique_ptr<AudioDecoder>(
Dmock_audio_decoder_factory.h32 std::unique_ptr<AudioDecoder> MakeAudioDecoder( in MakeAudioDecoder()
35 std::unique_ptr<AudioDecoder> return_value; in MakeAudioDecoder()
43 std::unique_ptr<AudioDecoder>*));
/external/webrtc/modules/audio_coding/codecs/opus/
Daudio_coder_opus_common.h39 class OpusFrame : public AudioDecoder::EncodedAudioFrame {
41 OpusFrame(AudioDecoder* decoder, in OpusFrame()
62 AudioDecoder::SpeechType speech_type = AudioDecoder::kSpeech; in Decode()
81 AudioDecoder* const decoder_;
Daudio_decoder_multi_channel_opus_unittest.cc51 const std::unique_ptr<AudioDecoder> opus_decoder = in TEST()
68 const std::unique_ptr<AudioDecoder> opus_decoder = in TEST()
137 const std::unique_ptr<AudioDecoder> opus_decoder = in TEST()
154 const std::unique_ptr<AudioDecoder> opus_decoder = in TEST()
Dopus_bandwidth_unittest.cc74 AudioDecoder* decoder, in EncodedPowerRatio()
82 AudioDecoder::SpeechType speech_type = AudioDecoder::kSpeech; in EncodedPowerRatio()
/external/webrtc/modules/audio_coding/neteq/
Ddecoder_database.h53 AudioDecoder* GetDecoder() const;
64 const AudioDecoder* decoder = GetDecoder(); in SampleRateHz()
99 mutable std::unique_ptr<AudioDecoder> decoder_;
163 virtual AudioDecoder* GetActiveDecoder() const;
181 AudioDecoder* GetDecoder(uint8_t rtp_payload_type) const;
Dneteq_impl.h243 AudioDecoder::SpeechType* speech_type)
247 int DecodeCng(AudioDecoder* decoder,
249 AudioDecoder::SpeechType* speech_type)
255 AudioDecoder* decoder,
257 AudioDecoder::SpeechType* speech_type)
263 AudioDecoder::SpeechType speech_type,
269 AudioDecoder::SpeechType speech_type,
281 AudioDecoder::SpeechType speech_type,
289 AudioDecoder::SpeechType speech_type,
Dneteq_impl_unittest.cc309 std::unique_ptr<AudioDecoder>* dec) { in TEST_F()
447 class CountingSamplesDecoder : public AudioDecoder { in TEST_F()
573 SetArgPointee<4>(AudioDecoder::kSpeech), in TEST_F()
625 SetArgPointee<4>(AudioDecoder::kSpeech), in TEST_F()
945 SetArgPointee<4>(AudioDecoder::kSpeech), in TEST_F()
952 SetArgPointee<4>(AudioDecoder::kComfortNoise), in TEST_F()
959 SetArgPointee<4>(AudioDecoder::kComfortNoise), in TEST_F()
966 SetArgPointee<4>(AudioDecoder::kSpeech), in TEST_F()
1086 SetArgPointee<4>(AudioDecoder::kSpeech), in TEST_F()
1207 SetArgPointee<4>(AudioDecoder::kSpeech), in TEST_F()
[all …]
Dneteq_impl.cc469 const AudioDecoder* const decoder = di->GetDecoder(); in GetDecoderFormat()
684 auto packet_from_result = [&](AudioDecoder::ParseResult& result) { in InsertPacketInternal()
696 std::vector<AudioDecoder::ParseResult> results = in InsertPacketInternal()
765 AudioDecoder* decoder = decoder_database_->GetDecoder(payload_type); in InsertPacketInternal()
853 AudioDecoder::SpeechType speech_type; in GetAudioInternal()
868 (speech_type == AudioDecoder::kComfortNoise && in GetAudioInternal()
1355 AudioDecoder::SpeechType* speech_type) { in Decode()
1356 *speech_type = AudioDecoder::kSpeech; in Decode()
1360 AudioDecoder* decoder = decoder_database_->GetActiveDecoder(); in Decode()
1448 if (*speech_type != AudioDecoder::kComfortNoise) { in Decode()
[all …]
Dpost_decode_vad.cc50 AudioDecoder::SpeechType speech_type, in Update()
57 if (speech_type == AudioDecoder::kComfortNoise || sid_frame || in Update()
Ddecoder_database.cc59 AudioDecoder* DecoderDatabase::DecoderInfo::GetDecoder() const { in GetDecoder()
225 AudioDecoder* DecoderDatabase::GetActiveDecoder() const { in GetActiveDecoder()
261 AudioDecoder* DecoderDatabase::GetDecoder(uint8_t rtp_payload_type) const { in GetDecoder()
/external/webrtc/modules/audio_coding/neteq/tools/
Dfake_decode_from_file.cc22 class FakeEncodedFrame : public AudioDecoder::EncodedAudioFrame {
24 FakeEncodedFrame(AudioDecoder* decoder, rtc::Buffer&& payload) in FakeEncodedFrame()
34 auto speech_type = AudioDecoder::kSpeech; in Decode()
51 AudioDecoder* const decoder_;
57 std::vector<AudioDecoder::ParseResult> FakeDecodeFromFile::ParsePayload( in ParsePayload()
/external/webrtc/test/fuzzers/
Daudio_decoder_fuzzer.h19 class AudioDecoder; variable
29 AudioDecoder* decoder,
Daudio_decoder_fuzzer.cc47 AudioDecoder* decoder, in FuzzAudioDecoder()
61 AudioDecoder::SpeechType speech_type; in FuzzAudioDecoder()
/external/webrtc/modules/audio_coding/codecs/g722/
Daudio_decoder_g722.h21 class AudioDecoderG722Impl final : public AudioDecoder {
45 class AudioDecoderG722StereoImpl final : public AudioDecoder {
Daudio_decoder_g722.cc53 std::vector<AudioDecoder::ParseResult> AudioDecoderG722Impl::ParsePayload( in ParsePayload()
130 std::vector<AudioDecoder::ParseResult> AudioDecoderG722StereoImpl::ParsePayload( in ParsePayload()
/external/webrtc/modules/audio_coding/codecs/g711/
Daudio_decoder_pcm.h26 class AudioDecoderPcmU final : public AudioDecoder {
50 class AudioDecoderPcmA final : public AudioDecoder {
Daudio_decoder_pcm.cc22 std::vector<AudioDecoder::ParseResult> AudioDecoderPcmU::ParsePayload( in ParsePayload()
57 std::vector<AudioDecoder::ParseResult> AudioDecoderPcmA::ParsePayload( in ParsePayload()
/external/webrtc/pc/
Dpeer_connection_end_to_end_unittest.cc212 std::unique_ptr<webrtc::AudioDecoder> CreateForwardingMockDecoder( in CreateForwardingMockDecoder()
213 std::unique_ptr<webrtc::AudioDecoder> real_decoder) { in CreateForwardingMockDecoder()
216 explicit ForwardingMockDecoder(std::unique_ptr<AudioDecoder> decoder) in CreateForwardingMockDecoder()
220 std::unique_ptr<AudioDecoder> decoder_; in CreateForwardingMockDecoder()
234 webrtc::AudioDecoder::SpeechType* speech_type) { in CreateForwardingMockDecoder()
277 std::unique_ptr<webrtc::AudioDecoder>* return_value) { in CreateForwardingMockDecoderFactory()
350 static std::unique_ptr<webrtc::AudioDecoder> MakeAudioDecoder( in MakeAudioDecoder()
418 std::unique_ptr<webrtc::AudioDecoder> MakeAudioDecoder( in TEST_P()

123