| 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 #ifndef WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ | 11 #ifndef WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ |
| 12 #define WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ | 12 #define WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ |
| 13 | 13 |
| 14 #include <map> | 14 #include <map> |
| 15 #include <vector> | 15 #include <vector> |
| 16 | 16 |
| 17 #include "webrtc/call.h" | 17 #include "webrtc/call.h" |
| 18 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" | 18 #include "webrtc/common_video/libyuv/include/webrtc_libyuv.h" |
| 19 #include "webrtc/modules/rtp_rtcp/include/rtp_rtcp_defines.h" | |
| 20 #include "webrtc/video/encoded_frame_callback_adapter.h" | 19 #include "webrtc/video/encoded_frame_callback_adapter.h" |
| 21 #include "webrtc/video/encoder_state_feedback.h" | 20 #include "webrtc/video/encoder_state_feedback.h" |
| 22 #include "webrtc/video/payload_router.h" | 21 #include "webrtc/video/payload_router.h" |
| 23 #include "webrtc/video/send_statistics_proxy.h" | 22 #include "webrtc/video/send_statistics_proxy.h" |
| 24 #include "webrtc/video/video_capture_input.h" | 23 #include "webrtc/video/video_capture_input.h" |
| 25 #include "webrtc/video/vie_channel.h" | 24 #include "webrtc/video/vie_channel.h" |
| 26 #include "webrtc/video/vie_encoder.h" | 25 #include "webrtc/video/vie_encoder.h" |
| 27 #include "webrtc/video_receive_stream.h" | 26 #include "webrtc/video_receive_stream.h" |
| 28 #include "webrtc/video_send_stream.h" | 27 #include "webrtc/video_send_stream.h" |
| 29 | 28 |
| 30 namespace webrtc { | 29 namespace webrtc { |
| 31 | 30 |
| 32 class BitrateAllocator; | 31 class BitrateAllocator; |
| 33 class CallStats; | 32 class CallStats; |
| 34 class CongestionController; | 33 class CongestionController; |
| 35 class ProcessThread; | 34 class ProcessThread; |
| 35 class RtpRtcp; |
| 36 class ViEChannel; | 36 class ViEChannel; |
| 37 class ViEEncoder; | 37 class ViEEncoder; |
| 38 class VieRemb; | 38 class VieRemb; |
| 39 | 39 |
| 40 namespace internal { | 40 namespace internal { |
| 41 | 41 |
| 42 class VideoSendStream : public webrtc::VideoSendStream, | 42 class VideoSendStream : public webrtc::VideoSendStream, |
| 43 public webrtc::CpuOveruseObserver { | 43 public webrtc::CpuOveruseObserver { |
| 44 public: | 44 public: |
| 45 VideoSendStream(int num_cpu_cores, | 45 VideoSendStream(int num_cpu_cores, |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 89 CongestionController* const congestion_controller_; | 89 CongestionController* const congestion_controller_; |
| 90 VieRemb* const remb_; | 90 VieRemb* const remb_; |
| 91 | 91 |
| 92 OveruseFrameDetector overuse_detector_; | 92 OveruseFrameDetector overuse_detector_; |
| 93 PayloadRouter payload_router_; | 93 PayloadRouter payload_router_; |
| 94 EncoderStateFeedback encoder_feedback_; | 94 EncoderStateFeedback encoder_feedback_; |
| 95 ViEChannel vie_channel_; | 95 ViEChannel vie_channel_; |
| 96 ViEReceiver* const vie_receiver_; | 96 ViEReceiver* const vie_receiver_; |
| 97 ViEEncoder vie_encoder_; | 97 ViEEncoder vie_encoder_; |
| 98 VideoCodingModule* const vcm_; | 98 VideoCodingModule* const vcm_; |
| 99 // TODO(pbos): Move RtpRtcp ownership to VideoSendStream. |
| 100 // RtpRtcp modules, currently owned by ViEChannel but ownership should |
| 101 // eventually move here. |
| 102 const std::vector<RtpRtcp*> rtp_rtcp_modules_; |
| 99 VideoCaptureInput input_; | 103 VideoCaptureInput input_; |
| 100 }; | 104 }; |
| 101 } // namespace internal | 105 } // namespace internal |
| 102 } // namespace webrtc | 106 } // namespace webrtc |
| 103 | 107 |
| 104 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ | 108 #endif // WEBRTC_VIDEO_VIDEO_SEND_STREAM_H_ |
| OLD | NEW |