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

Side by Side Diff: webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.h

Issue 1599353003: Name SimulcastEncoderApdater on InitEncode. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: unittest + implementation fix Created 4 years, 11 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 unified diff | Download patch
« no previous file with comments | « no previous file | webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/video_coding/codecs/vp8/simulcast_encoder_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698