| 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 WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_TEMPORAL_LAYERS_H_ | 12 #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_TEMPORAL_LAYERS_H_ |
| 13 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_TEMPORAL_LAYERS_H_ | 13 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_TEMPORAL_LAYERS_H_ |
| 14 | 14 |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "webrtc/common_video/include/video_image.h" | |
| 18 #include "webrtc/typedefs.h" | 17 #include "webrtc/typedefs.h" |
| 19 | 18 |
| 20 struct vpx_codec_enc_cfg; | 19 struct vpx_codec_enc_cfg; |
| 21 typedef struct vpx_codec_enc_cfg vpx_codec_enc_cfg_t; | 20 typedef struct vpx_codec_enc_cfg vpx_codec_enc_cfg_t; |
| 22 | 21 |
| 23 namespace webrtc { | 22 namespace webrtc { |
| 24 | 23 |
| 25 struct CodecSpecificInfoVP8; | 24 struct CodecSpecificInfoVP8; |
| 26 | 25 |
| 27 class TemporalLayers { | 26 class TemporalLayers { |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 public: | 123 public: |
| 125 TemporalLayersListener() {} | 124 TemporalLayersListener() {} |
| 126 virtual ~TemporalLayersListener() {} | 125 virtual ~TemporalLayersListener() {} |
| 127 | 126 |
| 128 virtual void OnTemporalLayersCreated(int simulcast_id, | 127 virtual void OnTemporalLayersCreated(int simulcast_id, |
| 129 TemporalLayers* layers) = 0; | 128 TemporalLayers* layers) = 0; |
| 130 }; | 129 }; |
| 131 | 130 |
| 132 } // namespace webrtc | 131 } // namespace webrtc |
| 133 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_TEMPORAL_LAYERS_H_ | 132 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_TEMPORAL_LAYERS_H_ |
| OLD | NEW |