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

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

Issue 3013843003: WIP
Patch Set: Created 3 years, 2 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
« no previous file with comments | « modules/video_coding/codecs/vp8/default_temporal_layers.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
11 */ 11 */
12 #ifndef MODULES_VIDEO_CODING_CODECS_VP8_TEMPORAL_LAYERS_H_ 12 #ifndef MODULES_VIDEO_CODING_CODECS_VP8_TEMPORAL_LAYERS_H_
13 #define MODULES_VIDEO_CODING_CODECS_VP8_TEMPORAL_LAYERS_H_ 13 #define MODULES_VIDEO_CODING_CODECS_VP8_TEMPORAL_LAYERS_H_
14 14
15 #include <vector> 15 #include <vector>
16 16
17 #include "typedefs.h" // NOLINT(build/include) 17 #include "typedefs.h" // NOLINT(build/include)
18 18
19 struct vpx_codec_enc_cfg; 19 struct vpx_codec_enc_cfg;
20 typedef struct vpx_codec_enc_cfg vpx_codec_enc_cfg_t; 20 typedef struct vpx_codec_enc_cfg vpx_codec_enc_cfg_t;
21 21
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
140 140
141 class TemporalLayersListener { 141 class TemporalLayersListener {
142 public: 142 public:
143 TemporalLayersListener() {} 143 TemporalLayersListener() {}
144 virtual ~TemporalLayersListener() {} 144 virtual ~TemporalLayersListener() {}
145 145
146 virtual void OnTemporalLayersCreated(int simulcast_id, 146 virtual void OnTemporalLayersCreated(int simulcast_id,
147 TemporalLayers* layers) = 0; 147 TemporalLayers* layers) = 0;
148 }; 148 };
149 149
150 class TemporalLayersChecker {
151 public:
152 TemporalLayersChecker() {}
153 virtual ~TemporalLayersChecker() {}
154
155 virtual bool CheckOnFrameEncoded(
156 bool frame_is_keyframe,
157 const CodecSpecificInfoVP8& codec_specific,
158 TemporalLayers::FrameConfig& frame_config) = 0;
159 };
160
150 } // namespace webrtc 161 } // namespace webrtc
151 #endif // MODULES_VIDEO_CODING_CODECS_VP8_TEMPORAL_LAYERS_H_ 162 #endif // MODULES_VIDEO_CODING_CODECS_VP8_TEMPORAL_LAYERS_H_
OLDNEW
« no previous file with comments | « modules/video_coding/codecs/vp8/default_temporal_layers.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698