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

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

Issue 2969043002: Remove temporary VP9 pid/tl0 jump fix. (Closed)
Patch Set: Created 3 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/rtp_frame_reference_finder.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) 2016 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2016 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 std::array<std::set<uint16_t, DescendingSeqNumComp<uint16_t, kPicIdLength>>, 206 std::array<std::set<uint16_t, DescendingSeqNumComp<uint16_t, kPicIdLength>>,
207 kMaxTemporalLayers> 207 kMaxTemporalLayers>
208 missing_frames_for_layer_ GUARDED_BY(crit_); 208 missing_frames_for_layer_ GUARDED_BY(crit_);
209 209
210 // How far frames have been cleared by sequence number. A frame will be 210 // How far frames have been cleared by sequence number. A frame will be
211 // cleared if it contains a packet with a sequence number older than 211 // cleared if it contains a packet with a sequence number older than
212 // |cleared_to_seq_num_|. 212 // |cleared_to_seq_num_|.
213 int cleared_to_seq_num_ GUARDED_BY(crit_); 213 int cleared_to_seq_num_ GUARDED_BY(crit_);
214 214
215 OnCompleteFrameCallback* frame_callback_; 215 OnCompleteFrameCallback* frame_callback_;
216
217 // Vp9PidFix variables
218 // TODO(philipel): Remove when VP9 PID does not jump mid-stream.
219 int vp9_fix_last_timestamp_ = -1;
220 int vp9_fix_jump_timestamp_ = -1;
221 int vp9_fix_last_picture_id_ = -1;
222 int vp9_fix_pid_offset_ = 0;
223 int vp9_fix_last_tl0_pic_idx_ = -1;
224 int vp9_fix_tl0_pic_idx_offset_ = 0;
225 }; 216 };
226 217
227 } // namespace video_coding 218 } // namespace video_coding
228 } // namespace webrtc 219 } // namespace webrtc
229 220
230 #endif // WEBRTC_MODULES_VIDEO_CODING_RTP_FRAME_REFERENCE_FINDER_H_ 221 #endif // WEBRTC_MODULES_VIDEO_CODING_RTP_FRAME_REFERENCE_FINDER_H_
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/video_coding/rtp_frame_reference_finder.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698