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

Side by Side Diff: call/video_send_stream.h

Issue 2951033003: [EXPERIMENTAL] Generic stereo codec with index header sending single frames
Patch Set: Rebase and add external codec support. Created 3 years, 2 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 | « call/BUILD.gn ('k') | common_types.h » ('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) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 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 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 int payload_type, 108 int payload_type,
109 VideoEncoder* encoder) 109 VideoEncoder* encoder)
110 : payload_name(std::move(payload_name)), 110 : payload_name(std::move(payload_name)),
111 payload_type(payload_type), 111 payload_type(payload_type),
112 encoder(encoder) {} 112 encoder(encoder) {}
113 std::string ToString() const; 113 std::string ToString() const;
114 114
115 std::string payload_name; 115 std::string payload_name;
116 int payload_type = -1; 116 int payload_type = -1;
117 117
118 std::string stereo_associated_payload_name;
119
118 // TODO(sophiechang): Delete this field when no one is using internal 120 // TODO(sophiechang): Delete this field when no one is using internal
119 // sources anymore. 121 // sources anymore.
120 bool internal_source = false; 122 bool internal_source = false;
121 123
122 // Allow 100% encoder utilization. Used for HW encoders where CPU isn't 124 // Allow 100% encoder utilization. Used for HW encoders where CPU isn't
123 // expected to be the limiting factor, but a chip could be running at 125 // expected to be the limiting factor, but a chip could be running at
124 // 30fps (for example) exactly. 126 // 30fps (for example) exactly.
125 bool full_overuse_time = false; 127 bool full_overuse_time = false;
126 128
127 // Uninitialized VideoEncoder instance to be used for encoding. Will be 129 // Uninitialized VideoEncoder instance to be used for encoding. Will be
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0); 279 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0);
278 } 280 }
279 281
280 protected: 282 protected:
281 virtual ~VideoSendStream() {} 283 virtual ~VideoSendStream() {}
282 }; 284 };
283 285
284 } // namespace webrtc 286 } // namespace webrtc
285 287
286 #endif // CALL_VIDEO_SEND_STREAM_H_ 288 #endif // CALL_VIDEO_SEND_STREAM_H_
OLDNEW
« no previous file with comments | « call/BUILD.gn ('k') | common_types.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698