| 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 |
| (...skipping 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 class BitrateAllocator; | 33 class BitrateAllocator; |
| 34 class CallStats; | 34 class CallStats; |
| 35 class CongestionController; | 35 class CongestionController; |
| 36 class ProcessThread; | 36 class ProcessThread; |
| 37 class RtpRtcp; | 37 class RtpRtcp; |
| 38 class ViEChannel; | 38 class ViEChannel; |
| 39 class ViEEncoder; | 39 class ViEEncoder; |
| 40 class VieRemb; | 40 class VieRemb; |
| 41 | 41 |
| 42 namespace vcm { |
| 43 class VideoSender; |
| 44 } // namespace vcm |
| 45 |
| 42 namespace internal { | 46 namespace internal { |
| 43 | 47 |
| 44 class VideoSendStream : public webrtc::VideoSendStream, | 48 class VideoSendStream : public webrtc::VideoSendStream, |
| 45 public webrtc::CpuOveruseObserver, | 49 public webrtc::CpuOveruseObserver, |
| 46 public webrtc::BitrateAllocatorObserver, | 50 public webrtc::BitrateAllocatorObserver, |
| 47 public webrtc::VCMProtectionCallback { | 51 public webrtc::VCMProtectionCallback { |
| 48 public: | 52 public: |
| 49 VideoSendStream(int num_cpu_cores, | 53 VideoSendStream(int num_cpu_cores, |
| 50 ProcessThread* module_process_thread, | 54 ProcessThread* module_process_thread, |
| 51 CallStats* call_stats, | 55 CallStats* call_stats, |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 115 rtc::PlatformThread encoder_thread_; | 119 rtc::PlatformThread encoder_thread_; |
| 116 rtc::Event encoder_wakeup_event_; | 120 rtc::Event encoder_wakeup_event_; |
| 117 volatile int stop_encoder_thread_; | 121 volatile int stop_encoder_thread_; |
| 118 rtc::CriticalSection encoder_settings_crit_; | 122 rtc::CriticalSection encoder_settings_crit_; |
| 119 rtc::Optional<EncoderSettings> pending_encoder_settings_ | 123 rtc::Optional<EncoderSettings> pending_encoder_settings_ |
| 120 GUARDED_BY(encoder_settings_crit_); | 124 GUARDED_BY(encoder_settings_crit_); |
| 121 | 125 |
| 122 OveruseFrameDetector overuse_detector_; | 126 OveruseFrameDetector overuse_detector_; |
| 123 EncoderStateFeedback encoder_feedback_; | 127 EncoderStateFeedback encoder_feedback_; |
| 124 ViEEncoder vie_encoder_; | 128 ViEEncoder vie_encoder_; |
| 125 VideoCodingModule* const vcm_; | 129 vcm::VideoSender* const video_sender_; |
| 126 | 130 |
| 127 const std::unique_ptr<RtcpBandwidthObserver> bandwidth_observer_; | 131 const std::unique_ptr<RtcpBandwidthObserver> bandwidth_observer_; |
| 128 // RtpRtcp modules, declared here as they use other members on construction. | 132 // RtpRtcp modules, declared here as they use other members on construction. |
| 129 const std::vector<RtpRtcp*> rtp_rtcp_modules_; | 133 const std::vector<RtpRtcp*> rtp_rtcp_modules_; |
| 130 PayloadRouter payload_router_; | 134 PayloadRouter payload_router_; |
| 131 VideoCaptureInput input_; | 135 VideoCaptureInput input_; |
| 132 }; | 136 }; |
| 133 } // namespace internal | 137 } // namespace internal |
| 134 } // namespace webrtc | 138 } // namespace webrtc |
| 135 | 139 |
| 136 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ | 140 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ |
| OLD | NEW |