| OLD | NEW |
| 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 Loading... |
| 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_ |
| OLD | NEW |