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

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

Issue 1555673002: Add ImplementationName to SimulcastEncoderAdapter. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: 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 */
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
52 // index. 52 // index.
53 int32_t Encoded(size_t stream_idx, 53 int32_t Encoded(size_t stream_idx,
54 const EncodedImage& encodedImage, 54 const EncodedImage& encodedImage,
55 const CodecSpecificInfo* codecSpecificInfo = NULL, 55 const CodecSpecificInfo* codecSpecificInfo = NULL,
56 const RTPFragmentationHeader* fragmentation = NULL); 56 const RTPFragmentationHeader* fragmentation = NULL);
57 57
58 void OnDroppedFrame() override; 58 void OnDroppedFrame() override;
59 59
60 int GetTargetFramerate() override; 60 int GetTargetFramerate() override;
61 bool SupportsNativeHandle() const override; 61 bool SupportsNativeHandle() const override;
62 const char* ImplementationName() const override;
62 63
63 private: 64 private:
64 struct StreamInfo { 65 struct StreamInfo {
65 StreamInfo() 66 StreamInfo()
66 : encoder(NULL), 67 : encoder(NULL),
67 callback(NULL), 68 callback(NULL),
68 width(0), 69 width(0),
69 height(0), 70 height(0),
70 key_frame_request(false), 71 key_frame_request(false),
71 send_stream(true) {} 72 send_stream(true) {}
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
111 rtc::scoped_ptr<VideoEncoderFactory> factory_; 112 rtc::scoped_ptr<VideoEncoderFactory> factory_;
112 rtc::scoped_ptr<Config> screensharing_extra_options_; 113 rtc::scoped_ptr<Config> screensharing_extra_options_;
113 VideoCodec codec_; 114 VideoCodec codec_;
114 std::vector<StreamInfo> streaminfos_; 115 std::vector<StreamInfo> streaminfos_;
115 EncodedImageCallback* encoded_complete_callback_; 116 EncodedImageCallback* encoded_complete_callback_;
116 }; 117 };
117 118
118 } // namespace webrtc 119 } // namespace webrtc
119 120
120 #endif // WEBRTC_MODULES_VIDEO_CODING_CODECS_VP8_SIMULCAST_ENCODER_ADAPTER_H_ 121 #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