OLD | NEW |
1 /* | 1 /* |
2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 2 * Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license | 4 * Use of this source code is governed by a BSD-style license |
5 * that can be found in the LICENSE file in the root of the source | 5 * that can be found in the LICENSE file in the root of the source |
6 * tree. An additional intellectual property rights grant can be found | 6 * tree. An additional intellectual property rights grant can be found |
7 * in the file PATENTS. All contributing project authors may | 7 * in the file PATENTS. All contributing project authors may |
8 * be found in the AUTHORS file in the root of the source tree. | 8 * be found in the AUTHORS file in the root of the source tree. |
9 * | 9 * |
10 */ | 10 */ |
11 | 11 |
12 #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_ENCODER_ADAPTER_H_ | 12 #ifndef WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_ENCODER_ADAPTER_H_ |
13 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_ENCODER_ADAPTER_H_ | 13 #define WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_ENCODER_ADAPTER_H_ |
14 | 14 |
| 15 #include <string> |
15 #include <vector> | 16 #include <vector> |
16 | 17 |
17 #include "webrtc/base/scoped_ptr.h" | 18 #include "webrtc/base/scoped_ptr.h" |
18 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" | 19 #include "webrtc/modules/video_coding/codecs/vp8/include/vp8.h" |
19 | 20 |
20 namespace webrtc { | 21 namespace webrtc { |
21 | 22 |
22 class VideoEncoderFactory { | 23 class VideoEncoderFactory { |
23 public: | 24 public: |
24 virtual VideoEncoder* Create() = 0; | 25 virtual VideoEncoder* Create() = 0; |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
107 webrtc::VideoCodec* stream_codec, | 108 webrtc::VideoCodec* stream_codec, |
108 bool* send_stream); | 109 bool* send_stream); |
109 | 110 |
110 bool Initialized() const; | 111 bool Initialized() const; |
111 | 112 |
112 rtc::scoped_ptr<VideoEncoderFactory> factory_; | 113 rtc::scoped_ptr<VideoEncoderFactory> factory_; |
113 rtc::scoped_ptr<TemporalLayersFactory> screensharing_tl_factory_; | 114 rtc::scoped_ptr<TemporalLayersFactory> screensharing_tl_factory_; |
114 VideoCodec codec_; | 115 VideoCodec codec_; |
115 std::vector<StreamInfo> streaminfos_; | 116 std::vector<StreamInfo> streaminfos_; |
116 EncodedImageCallback* encoded_complete_callback_; | 117 EncodedImageCallback* encoded_complete_callback_; |
| 118 std::string implementation_name_; |
117 }; | 119 }; |
118 | 120 |
119 } // namespace webrtc | 121 } // namespace webrtc |
120 | 122 |
121 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_ENCODER_ADAPTER_H_ | 123 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_ENCODER_ADAPTER_H_ |
OLD | NEW |