| OLD | NEW |
| 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 |
| 11 #include "webrtc/modules/video_coding/rtp_frame_reference_finder.h" | 11 #include "webrtc/modules/video_coding/rtp_frame_reference_finder.h" |
| 12 | 12 |
| 13 #include <algorithm> | 13 #include <algorithm> |
| 14 #include <limits> | 14 #include <limits> |
| 15 | 15 |
| 16 #include "webrtc/base/checks.h" |
| 17 #include "webrtc/base/logging.h" |
| 16 #include "webrtc/modules/video_coding/frame_object.h" | 18 #include "webrtc/modules/video_coding/frame_object.h" |
| 17 #include "webrtc/modules/video_coding/packet_buffer.h" | 19 #include "webrtc/modules/video_coding/packet_buffer.h" |
| 18 #include "webrtc/rtc_base/checks.h" | |
| 19 #include "webrtc/rtc_base/logging.h" | |
| 20 | 20 |
| 21 namespace webrtc { | 21 namespace webrtc { |
| 22 namespace video_coding { | 22 namespace video_coding { |
| 23 | 23 |
| 24 RtpFrameReferenceFinder::RtpFrameReferenceFinder( | 24 RtpFrameReferenceFinder::RtpFrameReferenceFinder( |
| 25 OnCompleteFrameCallback* frame_callback) | 25 OnCompleteFrameCallback* frame_callback) |
| 26 : last_picture_id_(-1), | 26 : last_picture_id_(-1), |
| 27 last_unwrap_(-1), | 27 last_unwrap_(-1), |
| 28 current_ss_idx_(0), | 28 current_ss_idx_(0), |
| 29 cleared_to_seq_num_(-1), | 29 cleared_to_seq_num_(-1), |
| (...skipping 717 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 747 if (!gof_info_.empty() && | 747 if (!gof_info_.empty() && |
| 748 AheadOf<uint8_t>(gof_info_.begin()->first, fixed_tl0)) { | 748 AheadOf<uint8_t>(gof_info_.begin()->first, fixed_tl0)) { |
| 749 return true; | 749 return true; |
| 750 } | 750 } |
| 751 } | 751 } |
| 752 return false; | 752 return false; |
| 753 } | 753 } |
| 754 | 754 |
| 755 } // namespace video_coding | 755 } // namespace video_coding |
| 756 } // namespace webrtc | 756 } // namespace webrtc |
| OLD | NEW |