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

Unified Diff: modules/video_coding/codecs/vp8/temporal_layers.h

Issue 3013843003: WIP
Patch Set: Created 3 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 side-by-side diff with in-line comments
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 »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/video_coding/codecs/vp8/temporal_layers.h
diff --git a/modules/video_coding/codecs/vp8/temporal_layers.h b/modules/video_coding/codecs/vp8/temporal_layers.h
index cedfad51c867b2c599cde4c53baf45204df379d0..ab569e95547e6a4285679190a55f4a5e237c321c 100644
--- a/modules/video_coding/codecs/vp8/temporal_layers.h
+++ b/modules/video_coding/codecs/vp8/temporal_layers.h
@@ -1,14 +1,14 @@
/* Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
-*
-* Use of this source code is governed by a BSD-style license
-* that can be found in the LICENSE file in the root of the source
-* tree. An additional intellectual property rights grant can be found
-* in the file PATENTS. All contributing project authors may
-* be found in the AUTHORS file in the root of the source tree.
-*/
+ *
+ * Use of this source code is governed by a BSD-style license
+ * that can be found in the LICENSE file in the root of the source
+ * tree. An additional intellectual property rights grant can be found
+ * in the file PATENTS. All contributing project authors may
+ * be found in the AUTHORS file in the root of the source tree.
+ */
/*
-* This file defines the interface for doing temporal layers with VP8.
-*/
+ * This file defines the interface for doing temporal layers with VP8.
+ */
#ifndef MODULES_VIDEO_CODING_CODECS_VP8_TEMPORAL_LAYERS_H_
#define MODULES_VIDEO_CODING_CODECS_VP8_TEMPORAL_LAYERS_H_
@@ -147,5 +147,16 @@ class TemporalLayersListener {
TemporalLayers* layers) = 0;
};
+class TemporalLayersChecker {
+ public:
+ TemporalLayersChecker() {}
+ virtual ~TemporalLayersChecker() {}
+
+ virtual bool CheckOnFrameEncoded(
+ bool frame_is_keyframe,
+ const CodecSpecificInfoVP8& codec_specific,
+ TemporalLayers::FrameConfig& frame_config) = 0;
+};
+
} // namespace webrtc
#endif // MODULES_VIDEO_CODING_CODECS_VP8_TEMPORAL_LAYERS_H_
« 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