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_ |