| 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 #include "webrtc/config.h" | 10 #include "webrtc/config.h" |
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 71 uri == webrtc::RtpExtension::kPlayoutDelayUri; | 71 uri == webrtc::RtpExtension::kPlayoutDelayUri; |
| 72 } | 72 } |
| 73 | 73 |
| 74 VideoStream::VideoStream() | 74 VideoStream::VideoStream() |
| 75 : width(0), | 75 : width(0), |
| 76 height(0), | 76 height(0), |
| 77 max_framerate(-1), | 77 max_framerate(-1), |
| 78 min_bitrate_bps(-1), | 78 min_bitrate_bps(-1), |
| 79 target_bitrate_bps(-1), | 79 target_bitrate_bps(-1), |
| 80 max_bitrate_bps(-1), | 80 max_bitrate_bps(-1), |
| 81 max_qp(-1) {} | 81 max_qp(-1), |
| 82 encode_from_texture(false) {} |
| 82 | 83 |
| 83 VideoStream::~VideoStream() = default; | 84 VideoStream::~VideoStream() = default; |
| 84 | 85 |
| 85 std::string VideoStream::ToString() const { | 86 std::string VideoStream::ToString() const { |
| 86 std::stringstream ss; | 87 std::stringstream ss; |
| 87 ss << "{width: " << width; | 88 ss << "{width: " << width; |
| 88 ss << ", height: " << height; | 89 ss << ", height: " << height; |
| 89 ss << ", max_framerate: " << max_framerate; | 90 ss << ", max_framerate: " << max_framerate; |
| 90 ss << ", min_bitrate_bps:" << min_bitrate_bps; | 91 ss << ", min_bitrate_bps:" << min_bitrate_bps; |
| 91 ss << ", target_bitrate_bps:" << target_bitrate_bps; | 92 ss << ", target_bitrate_bps:" << target_bitrate_bps; |
| (...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 133 } | 134 } |
| 134 ss << ", encoder_specific_settings: "; | 135 ss << ", encoder_specific_settings: "; |
| 135 ss << (encoder_specific_settings != NULL ? "(ptr)" : "NULL"); | 136 ss << (encoder_specific_settings != NULL ? "(ptr)" : "NULL"); |
| 136 | 137 |
| 137 ss << ", min_transmit_bitrate_bps: " << min_transmit_bitrate_bps; | 138 ss << ", min_transmit_bitrate_bps: " << min_transmit_bitrate_bps; |
| 138 ss << '}'; | 139 ss << '}'; |
| 139 return ss.str(); | 140 return ss.str(); |
| 140 } | 141 } |
| 141 | 142 |
| 142 } // namespace webrtc | 143 } // namespace webrtc |
| OLD | NEW |