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

Side by Side Diff: webrtc/modules/video_coding/codecs/vp8/temporal_layers.h

Issue 2755663003: Remove unused RealTimeTemporalLayers. (Closed)
Patch Set: Created 3 years, 9 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 /* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. 1 /* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
2 * 2 *
3 * Use of this source code is governed by a BSD-style license 3 * Use of this source code is governed by a BSD-style license
4 * that can be found in the LICENSE file in the root of the source 4 * that can be found in the LICENSE file in the root of the source
5 * tree. An additional intellectual property rights grant can be found 5 * tree. An additional intellectual property rights grant can be found
6 * in the file PATENTS. All contributing project authors may 6 * in the file PATENTS. All contributing project authors may
7 * be found in the AUTHORS file in the root of the source tree. 7 * be found in the AUTHORS file in the root of the source tree.
8 */ 8 */
9 /* 9 /*
10 * This file defines the interface for doing temporal layers with VP8. 10 * This file defines the interface for doing temporal layers with VP8.
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
70 class ScreenshareTemporalLayersFactory : public webrtc::TemporalLayersFactory { 70 class ScreenshareTemporalLayersFactory : public webrtc::TemporalLayersFactory {
71 public: 71 public:
72 ScreenshareTemporalLayersFactory() {} 72 ScreenshareTemporalLayersFactory() {}
73 virtual ~ScreenshareTemporalLayersFactory() {} 73 virtual ~ScreenshareTemporalLayersFactory() {}
74 74
75 webrtc::TemporalLayers* Create(int simulcast_id, 75 webrtc::TemporalLayers* Create(int simulcast_id,
76 int num_temporal_layers, 76 int num_temporal_layers,
77 uint8_t initial_tl0_pic_idx) const override; 77 uint8_t initial_tl0_pic_idx) const override;
78 }; 78 };
79 79
80 // Factory for a temporal layers strategy that adaptively changes the number of
81 // layers based on input frame rate so that the base layer has an acceptable
82 // frame rate. See realtime_temporal_layers.cc
83 class RealTimeTemporalLayersFactory : public TemporalLayersFactory {
84 public:
85 RealTimeTemporalLayersFactory() {}
86 ~RealTimeTemporalLayersFactory() override {}
87 TemporalLayers* Create(int simulcast_id,
88 int num_temporal_layers,
89 uint8_t initial_tl0_pic_idx) const override;
90 };
91
92 class TemporalLayersListener { 80 class TemporalLayersListener {
93 public: 81 public:
94 TemporalLayersListener() {} 82 TemporalLayersListener() {}
95 virtual ~TemporalLayersListener() {} 83 virtual ~TemporalLayersListener() {}
96 84
97 virtual void OnTemporalLayersCreated(int simulcast_id, 85 virtual void OnTemporalLayersCreated(int simulcast_id,
98 TemporalLayers* layers) = 0; 86 TemporalLayers* layers) = 0;
99 }; 87 };
100 88
101 } // namespace webrtc 89 } // namespace webrtc
102 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_TEMPORAL_LAYERS_H_ 90 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_TEMPORAL_LAYERS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698