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

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

Issue 1428293003: Add VideoCodec::PreferDecodeLate (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased Created 5 years 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) 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 29 matching lines...) Expand all
40 40
41 ~VCMReceiver(); 41 ~VCMReceiver();
42 42
43 void Reset(); 43 void Reset();
44 void UpdateRtt(int64_t rtt); 44 void UpdateRtt(int64_t rtt);
45 int32_t InsertPacket(const VCMPacket& packet, 45 int32_t InsertPacket(const VCMPacket& packet,
46 uint16_t frame_width, 46 uint16_t frame_width,
47 uint16_t frame_height); 47 uint16_t frame_height);
48 VCMEncodedFrame* FrameForDecoding(uint16_t max_wait_time_ms, 48 VCMEncodedFrame* FrameForDecoding(uint16_t max_wait_time_ms,
49 int64_t& next_render_time_ms, 49 int64_t& next_render_time_ms,
50 bool render_timing = true); 50 bool prefer_late_decoding);
51 void ReleaseFrame(VCMEncodedFrame* frame); 51 void ReleaseFrame(VCMEncodedFrame* frame);
52 void ReceiveStatistics(uint32_t* bitrate, uint32_t* framerate); 52 void ReceiveStatistics(uint32_t* bitrate, uint32_t* framerate);
53 uint32_t DiscardedPackets() const; 53 uint32_t DiscardedPackets() const;
54 54
55 // NACK. 55 // NACK.
56 void SetNackMode(VCMNackMode nackMode, 56 void SetNackMode(VCMNackMode nackMode,
57 int64_t low_rtt_nack_threshold_ms, 57 int64_t low_rtt_nack_threshold_ms,
58 int64_t high_rtt_nack_threshold_ms); 58 int64_t high_rtt_nack_threshold_ms);
59 void SetNackSettings(size_t max_nack_list_size, 59 void SetNackSettings(size_t max_nack_list_size,
60 int max_packet_age_to_nack, 60 int max_packet_age_to_nack,
(...skipping 22 matching lines...) Expand all
83 Clock* const clock_; 83 Clock* const clock_;
84 VCMJitterBuffer jitter_buffer_; 84 VCMJitterBuffer jitter_buffer_;
85 VCMTiming* timing_; 85 VCMTiming* timing_;
86 rtc::scoped_ptr<EventWrapper> render_wait_event_; 86 rtc::scoped_ptr<EventWrapper> render_wait_event_;
87 int max_video_delay_ms_; 87 int max_video_delay_ms_;
88 }; 88 };
89 89
90 } // namespace webrtc 90 } // namespace webrtc
91 91
92 #endif // WEBRTC_MODULES_VIDEO_CODING_RECEIVER_H_ 92 #endif // WEBRTC_MODULES_VIDEO_CODING_RECEIVER_H_
OLDNEW
« no previous file with comments | « webrtc/modules/video_coding/include/video_coding.h ('k') | webrtc/modules/video_coding/receiver.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698