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

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: git cl format 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
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 28 matching lines...) Expand all
39 39
40 class VideoReceiveStream : public webrtc::VideoReceiveStream, 40 class VideoReceiveStream : public webrtc::VideoReceiveStream,
41 public I420FrameCallback, 41 public I420FrameCallback,
42 public rtc::VideoSinkInterface<VideoFrame>, 42 public rtc::VideoSinkInterface<VideoFrame>,
43 public EncodedImageCallback, 43 public EncodedImageCallback,
44 public NackSender, 44 public NackSender,
45 public KeyFrameRequestSender { 45 public KeyFrameRequestSender {
46 public: 46 public:
47 VideoReceiveStream(int num_cpu_cores, 47 VideoReceiveStream(int num_cpu_cores,
48 CongestionController* congestion_controller, 48 CongestionController* congestion_controller,
49 const VideoReceiveStream::Config& config, 49 VideoReceiveStream::Config config,
50 webrtc::VoiceEngine* voice_engine, 50 webrtc::VoiceEngine* voice_engine,
51 ProcessThread* process_thread, 51 ProcessThread* process_thread,
52 CallStats* call_stats, 52 CallStats* call_stats,
53 VieRemb* remb); 53 VieRemb* remb);
54 ~VideoReceiveStream() override; 54 ~VideoReceiveStream() override;
55 55
56 void SignalNetworkState(NetworkState state); 56 void SignalNetworkState(NetworkState state);
57 bool DeliverRtcp(const uint8_t* packet, size_t length); 57 bool DeliverRtcp(const uint8_t* packet, size_t length);
58 bool DeliverRtp(const uint8_t* packet, 58 bool DeliverRtp(const uint8_t* packet,
59 size_t length, 59 size_t length,
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 RtpStreamReceiver rtp_stream_receiver_; 107 RtpStreamReceiver rtp_stream_receiver_;
108 VideoStreamDecoder video_stream_decoder_; 108 VideoStreamDecoder video_stream_decoder_;
109 ViESyncModule vie_sync_; 109 ViESyncModule vie_sync_;
110 110
111 std::unique_ptr<IvfFileWriter> ivf_writer_; 111 std::unique_ptr<IvfFileWriter> ivf_writer_;
112 }; 112 };
113 } // namespace internal 113 } // namespace internal
114 } // namespace webrtc 114 } // namespace webrtc
115 115
116 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_ 116 #endif // WEBRTC_VIDEO_VIDEO_RECEIVE_STREAM_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698