| OLD | NEW |
| 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 |
| 11 #include "webrtc/video/video_receive_stream.h" | 11 #include "webrtc/video/video_receive_stream.h" |
| 12 | 12 |
| 13 #include <stdlib.h> | 13 #include <stdlib.h> |
| 14 | 14 |
| 15 #include <set> | 15 #include <set> |
| 16 #include <string> | 16 #include <string> |
| 17 | 17 |
| 18 #include "webrtc/base/checks.h" | 18 #include "webrtc/base/checks.h" |
| 19 #include "webrtc/base/logging.h" | 19 #include "webrtc/base/logging.h" |
| 20 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" | 20 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
| 21 #include "webrtc/modules/congestion_controller/include/congestion_controller.h" | 21 #include "webrtc/modules/congestion_controller/include/congestion_controller.h" |
| 22 #include "webrtc/modules/utility/include/process_thread.h" | 22 #include "webrtc/modules/utility/include/process_thread.h" |
| 23 #include "webrtc/modules/video_coding/include/video_coding.h" |
| 23 #include "webrtc/system_wrappers/include/clock.h" | 24 #include "webrtc/system_wrappers/include/clock.h" |
| 24 #include "webrtc/video/call_stats.h" | 25 #include "webrtc/video/call_stats.h" |
| 25 #include "webrtc/video/receive_statistics_proxy.h" | 26 #include "webrtc/video/receive_statistics_proxy.h" |
| 26 #include "webrtc/video/vie_remb.h" | 27 #include "webrtc/video/vie_remb.h" |
| 27 #include "webrtc/video_receive_stream.h" | 28 #include "webrtc/video_receive_stream.h" |
| 28 | 29 |
| 29 namespace webrtc { | 30 namespace webrtc { |
| 30 | 31 |
| 31 static bool UseSendSideBwe(const VideoReceiveStream::Config& config) { | 32 static bool UseSendSideBwe(const VideoReceiveStream::Config& config) { |
| 32 if (!config.rtp.transport_cc) | 33 if (!config.rtp.transport_cc) |
| (...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 418 return true; | 419 return true; |
| 419 } | 420 } |
| 420 | 421 |
| 421 void VideoReceiveStream::Decode() { | 422 void VideoReceiveStream::Decode() { |
| 422 static const int kMaxDecodeWaitTimeMs = 50; | 423 static const int kMaxDecodeWaitTimeMs = 50; |
| 423 vcm_->Decode(kMaxDecodeWaitTimeMs); | 424 vcm_->Decode(kMaxDecodeWaitTimeMs); |
| 424 } | 425 } |
| 425 | 426 |
| 426 } // namespace internal | 427 } // namespace internal |
| 427 } // namespace webrtc | 428 } // namespace webrtc |
| OLD | NEW |