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

Side by Side Diff: webrtc/modules/video_coding/receiver.h

Issue 2094183004: Remove unused parameters from VCMReceiver::InsertPacket(). (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 4 years, 5 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 | « no previous file | webrtc/modules/video_coding/receiver.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) 2011 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2011 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 Clock* clock, 56 Clock* clock,
57 std::unique_ptr<EventWrapper> receiver_event, 57 std::unique_ptr<EventWrapper> receiver_event,
58 std::unique_ptr<EventWrapper> jitter_buffer_event, 58 std::unique_ptr<EventWrapper> jitter_buffer_event,
59 NackSender* nack_sender, 59 NackSender* nack_sender,
60 KeyFrameRequestSender* keyframe_request_sender); 60 KeyFrameRequestSender* keyframe_request_sender);
61 61
62 ~VCMReceiver(); 62 ~VCMReceiver();
63 63
64 void Reset(); 64 void Reset();
65 void UpdateRtt(int64_t rtt); 65 void UpdateRtt(int64_t rtt);
66 int32_t InsertPacket(const VCMPacket& packet, 66 int32_t InsertPacket(const VCMPacket& packet);
67 uint16_t frame_width,
68 uint16_t frame_height);
69 VCMEncodedFrame* FrameForDecoding(uint16_t max_wait_time_ms, 67 VCMEncodedFrame* FrameForDecoding(uint16_t max_wait_time_ms,
70 int64_t* next_render_time_ms, 68 int64_t* next_render_time_ms,
71 bool prefer_late_decoding); 69 bool prefer_late_decoding);
72 void ReleaseFrame(VCMEncodedFrame* frame); 70 void ReleaseFrame(VCMEncodedFrame* frame);
73 void ReceiveStatistics(uint32_t* bitrate, uint32_t* framerate); 71 void ReceiveStatistics(uint32_t* bitrate, uint32_t* framerate);
74 uint32_t DiscardedPackets() const; 72 uint32_t DiscardedPackets() const;
75 73
76 // NACK. 74 // NACK.
77 void SetNackMode(VCMNackMode nackMode, 75 void SetNackMode(VCMNackMode nackMode,
78 int64_t low_rtt_nack_threshold_ms, 76 int64_t low_rtt_nack_threshold_ms,
(...skipping 23 matching lines...) Expand all
102 Clock* const clock_; 100 Clock* const clock_;
103 VCMJitterBuffer jitter_buffer_; 101 VCMJitterBuffer jitter_buffer_;
104 VCMTiming* timing_; 102 VCMTiming* timing_;
105 std::unique_ptr<EventWrapper> render_wait_event_; 103 std::unique_ptr<EventWrapper> render_wait_event_;
106 int max_video_delay_ms_; 104 int max_video_delay_ms_;
107 }; 105 };
108 106
109 } // namespace webrtc 107 } // namespace webrtc
110 108
111 #endif // WEBRTC_MODULES_VIDEO_CODING_RECEIVER_H_ 109 #endif // WEBRTC_MODULES_VIDEO_CODING_RECEIVER_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/video_coding/receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698