Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(50)

Side by Side Diff: webrtc/modules/audio_coding/neteq/neteq_impl.h

Issue 2342443005: Moved Opus-specific payload splitting into AudioDecoderOpus. (Closed)
Patch Set: Some small fixes. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2012 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 28 matching lines...) Expand all
39 class DecoderDatabase; 39 class DecoderDatabase;
40 class DelayManager; 40 class DelayManager;
41 class DelayPeakDetector; 41 class DelayPeakDetector;
42 class DtmfBuffer; 42 class DtmfBuffer;
43 class DtmfToneGenerator; 43 class DtmfToneGenerator;
44 class Expand; 44 class Expand;
45 class Merge; 45 class Merge;
46 class NackTracker; 46 class NackTracker;
47 class Normal; 47 class Normal;
48 class PacketBuffer; 48 class PacketBuffer;
49 class PayloadSplitter; 49 class RedPayloadSplitter;
50 class PostDecodeVad; 50 class PostDecodeVad;
51 class PreemptiveExpand; 51 class PreemptiveExpand;
52 class RandomVector; 52 class RandomVector;
53 class SyncBuffer; 53 class SyncBuffer;
54 class TimestampScaler; 54 class TimestampScaler;
55 struct AccelerateFactory; 55 struct AccelerateFactory;
56 struct DtmfEvent; 56 struct DtmfEvent;
57 struct ExpandFactory; 57 struct ExpandFactory;
58 struct PreemptiveExpandFactory; 58 struct PreemptiveExpandFactory;
59 59
(...skipping 19 matching lines...) Expand all
79 ~Dependencies(); 79 ~Dependencies();
80 80
81 std::unique_ptr<TickTimer> tick_timer; 81 std::unique_ptr<TickTimer> tick_timer;
82 std::unique_ptr<BufferLevelFilter> buffer_level_filter; 82 std::unique_ptr<BufferLevelFilter> buffer_level_filter;
83 std::unique_ptr<DecoderDatabase> decoder_database; 83 std::unique_ptr<DecoderDatabase> decoder_database;
84 std::unique_ptr<DelayPeakDetector> delay_peak_detector; 84 std::unique_ptr<DelayPeakDetector> delay_peak_detector;
85 std::unique_ptr<DelayManager> delay_manager; 85 std::unique_ptr<DelayManager> delay_manager;
86 std::unique_ptr<DtmfBuffer> dtmf_buffer; 86 std::unique_ptr<DtmfBuffer> dtmf_buffer;
87 std::unique_ptr<DtmfToneGenerator> dtmf_tone_generator; 87 std::unique_ptr<DtmfToneGenerator> dtmf_tone_generator;
88 std::unique_ptr<PacketBuffer> packet_buffer; 88 std::unique_ptr<PacketBuffer> packet_buffer;
89 std::unique_ptr<PayloadSplitter> payload_splitter; 89 std::unique_ptr<RedPayloadSplitter> red_payload_splitter;
90 std::unique_ptr<TimestampScaler> timestamp_scaler; 90 std::unique_ptr<TimestampScaler> timestamp_scaler;
91 std::unique_ptr<AccelerateFactory> accelerate_factory; 91 std::unique_ptr<AccelerateFactory> accelerate_factory;
92 std::unique_ptr<ExpandFactory> expand_factory; 92 std::unique_ptr<ExpandFactory> expand_factory;
93 std::unique_ptr<PreemptiveExpandFactory> preemptive_expand_factory; 93 std::unique_ptr<PreemptiveExpandFactory> preemptive_expand_factory;
94 }; 94 };
95 95
96 // Creates a new NetEqImpl object. 96 // Creates a new NetEqImpl object.
97 NetEqImpl(const NetEq::Config& config, 97 NetEqImpl(const NetEq::Config& config,
98 Dependencies&& deps, 98 Dependencies&& deps,
99 bool create_components = true); 99 bool create_components = true);
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
340 GUARDED_BY(crit_sect_); 340 GUARDED_BY(crit_sect_);
341 const std::unique_ptr<DecoderDatabase> decoder_database_ 341 const std::unique_ptr<DecoderDatabase> decoder_database_
342 GUARDED_BY(crit_sect_); 342 GUARDED_BY(crit_sect_);
343 const std::unique_ptr<DelayManager> delay_manager_ GUARDED_BY(crit_sect_); 343 const std::unique_ptr<DelayManager> delay_manager_ GUARDED_BY(crit_sect_);
344 const std::unique_ptr<DelayPeakDetector> delay_peak_detector_ 344 const std::unique_ptr<DelayPeakDetector> delay_peak_detector_
345 GUARDED_BY(crit_sect_); 345 GUARDED_BY(crit_sect_);
346 const std::unique_ptr<DtmfBuffer> dtmf_buffer_ GUARDED_BY(crit_sect_); 346 const std::unique_ptr<DtmfBuffer> dtmf_buffer_ GUARDED_BY(crit_sect_);
347 const std::unique_ptr<DtmfToneGenerator> dtmf_tone_generator_ 347 const std::unique_ptr<DtmfToneGenerator> dtmf_tone_generator_
348 GUARDED_BY(crit_sect_); 348 GUARDED_BY(crit_sect_);
349 const std::unique_ptr<PacketBuffer> packet_buffer_ GUARDED_BY(crit_sect_); 349 const std::unique_ptr<PacketBuffer> packet_buffer_ GUARDED_BY(crit_sect_);
350 const std::unique_ptr<PayloadSplitter> payload_splitter_ 350 const std::unique_ptr<RedPayloadSplitter> red_payload_splitter_
351 GUARDED_BY(crit_sect_); 351 GUARDED_BY(crit_sect_);
352 const std::unique_ptr<TimestampScaler> timestamp_scaler_ 352 const std::unique_ptr<TimestampScaler> timestamp_scaler_
353 GUARDED_BY(crit_sect_); 353 GUARDED_BY(crit_sect_);
354 const std::unique_ptr<PostDecodeVad> vad_ GUARDED_BY(crit_sect_); 354 const std::unique_ptr<PostDecodeVad> vad_ GUARDED_BY(crit_sect_);
355 const std::unique_ptr<ExpandFactory> expand_factory_ GUARDED_BY(crit_sect_); 355 const std::unique_ptr<ExpandFactory> expand_factory_ GUARDED_BY(crit_sect_);
356 const std::unique_ptr<AccelerateFactory> accelerate_factory_ 356 const std::unique_ptr<AccelerateFactory> accelerate_factory_
357 GUARDED_BY(crit_sect_); 357 GUARDED_BY(crit_sect_);
358 const std::unique_ptr<PreemptiveExpandFactory> preemptive_expand_factory_ 358 const std::unique_ptr<PreemptiveExpandFactory> preemptive_expand_factory_
359 GUARDED_BY(crit_sect_); 359 GUARDED_BY(crit_sect_);
360 360
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 AudioFrame::kVadPassive; 401 AudioFrame::kVadPassive;
402 std::unique_ptr<TickTimer::Stopwatch> generated_noise_stopwatch_ 402 std::unique_ptr<TickTimer::Stopwatch> generated_noise_stopwatch_
403 GUARDED_BY(crit_sect_); 403 GUARDED_BY(crit_sect_);
404 404
405 private: 405 private:
406 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl); 406 RTC_DISALLOW_COPY_AND_ASSIGN(NetEqImpl);
407 }; 407 };
408 408
409 } // namespace webrtc 409 } // namespace webrtc
410 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_ 410 #endif // WEBRTC_MODULES_AUDIO_CODING_NETEQ_NETEQ_IMPL_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698