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

Side by Side Diff: webrtc/video/video_receive_stream.h

Issue 2042603002: Movable support for VideoReceiveStream::Config and avoid copies (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Add TODO Created 4 years, 6 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_quality_test.cc ('k') | webrtc/video/video_receive_stream.cc » ('j') | 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 27 matching lines...) Expand all
38 namespace internal { 38 namespace internal {
39 39
40 class VideoReceiveStream : public webrtc::VideoReceiveStream, 40 class VideoReceiveStream : public webrtc::VideoReceiveStream,
41 public rtc::VideoSinkInterface<VideoFrame>, 41 public rtc::VideoSinkInterface<VideoFrame>,
42 public EncodedImageCallback, 42 public EncodedImageCallback,
43 public NackSender, 43 public NackSender,
44 public KeyFrameRequestSender { 44 public KeyFrameRequestSender {
45 public: 45 public:
46 VideoReceiveStream(int num_cpu_cores, 46 VideoReceiveStream(int num_cpu_cores,
47 CongestionController* congestion_controller, 47 CongestionController* congestion_controller,
48 const VideoReceiveStream::Config& config, 48 VideoReceiveStream::Config config,
49 webrtc::VoiceEngine* voice_engine, 49 webrtc::VoiceEngine* voice_engine,
50 ProcessThread* process_thread, 50 ProcessThread* process_thread,
51 CallStats* call_stats, 51 CallStats* call_stats,
52 VieRemb* remb); 52 VieRemb* remb);
53 ~VideoReceiveStream() override; 53 ~VideoReceiveStream() override;
54 54
55 void SignalNetworkState(NetworkState state); 55 void SignalNetworkState(NetworkState state);
56 bool DeliverRtcp(const uint8_t* packet, size_t length); 56 bool DeliverRtcp(const uint8_t* packet, size_t length);
57 bool DeliverRtp(const uint8_t* packet, 57 bool DeliverRtp(const uint8_t* packet,
58 size_t length, 58 size_t length,
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 RtpStreamReceiver rtp_stream_receiver_; 103 RtpStreamReceiver rtp_stream_receiver_;
104 VideoStreamDecoder video_stream_decoder_; 104 VideoStreamDecoder video_stream_decoder_;
105 ViESyncModule vie_sync_; 105 ViESyncModule vie_sync_;
106 106
107 std::unique_ptr<IvfFileWriter> ivf_writer_; 107 std::unique_ptr<IvfFileWriter> ivf_writer_;
108 }; 108 };
109 } // namespace internal 109 } // namespace internal
110 } // namespace webrtc 110 } // namespace webrtc
111 111
112 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ 112 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_
OLDNEW
« no previous file with comments | « webrtc/video/video_quality_test.cc ('k') | webrtc/video/video_receive_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698