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

Side by Side Diff: webrtc/video_send_stream.h

Issue 2990463002: [EXPERIMENTAL] Generic stereo codec with index header sending merged frames
Patch Set: Created 3 years, 5 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 | « webrtc/video/video_send_stream.cc ('k') | no next file » | 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
99 int payload_type, 99 int payload_type,
100 VideoEncoder* encoder) 100 VideoEncoder* encoder)
101 : payload_name(std::move(payload_name)), 101 : payload_name(std::move(payload_name)),
102 payload_type(payload_type), 102 payload_type(payload_type),
103 encoder(encoder) {} 103 encoder(encoder) {}
104 std::string ToString() const; 104 std::string ToString() const;
105 105
106 std::string payload_name; 106 std::string payload_name;
107 int payload_type = -1; 107 int payload_type = -1;
108 108
109 std::string stereo_associated_payload_name;
110
109 // TODO(sophiechang): Delete this field when no one is using internal 111 // TODO(sophiechang): Delete this field when no one is using internal
110 // sources anymore. 112 // sources anymore.
111 bool internal_source = false; 113 bool internal_source = false;
112 114
113 // Allow 100% encoder utilization. Used for HW encoders where CPU isn't 115 // Allow 100% encoder utilization. Used for HW encoders where CPU isn't
114 // expected to be the limiting factor, but a chip could be running at 116 // expected to be the limiting factor, but a chip could be running at
115 // 30fps (for example) exactly. 117 // 30fps (for example) exactly.
116 bool full_overuse_time = false; 118 bool full_overuse_time = false;
117 119
118 // Uninitialized VideoEncoder instance to be used for encoding. Will be 120 // Uninitialized VideoEncoder instance to be used for encoding. Will be
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0); 261 EnableEncodedFrameRecording(std::vector<rtc::PlatformFile>(), 0);
260 } 262 }
261 263
262 protected: 264 protected:
263 virtual ~VideoSendStream() {} 265 virtual ~VideoSendStream() {}
264 }; 266 };
265 267
266 } // namespace webrtc 268 } // namespace webrtc
267 269
268 #endif // WEBRTC_VIDEO_SEND_STREAM_H_ 270 #endif // WEBRTC_VIDEO_SEND_STREAM_H_
OLDNEW
« no previous file with comments | « webrtc/video/video_send_stream.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698