diff options
Diffstat (limited to 'chromium/third_party/webrtc/modules/video_coding/rtp_frame_reference_finder.h')
-rw-r--r-- | chromium/third_party/webrtc/modules/video_coding/rtp_frame_reference_finder.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/chromium/third_party/webrtc/modules/video_coding/rtp_frame_reference_finder.h b/chromium/third_party/webrtc/modules/video_coding/rtp_frame_reference_finder.h index 95da4f327e6..01c50544b22 100644 --- a/chromium/third_party/webrtc/modules/video_coding/rtp_frame_reference_finder.h +++ b/chromium/third_party/webrtc/modules/video_coding/rtp_frame_reference_finder.h @@ -100,7 +100,8 @@ class RtpFrameReferenceFinder { // Updates necessary layer info state used to determine frame references for // Vp8. void UpdateLayerInfoVp8(RtpFrameObject* frame, - const RTPVideoHeaderVP8& codec_header) + int64_t unwrapped_tl0, + uint8_t temporal_idx) RTC_EXCLUSIVE_LOCKS_REQUIRED(crit_); // Find references for Vp9 frames @@ -181,11 +182,9 @@ class RtpFrameReferenceFinder { RTC_GUARDED_BY(crit_); // Holds the information about the last completed frame for a given temporal - // layer given a Tl0 picture index. - std::map<uint8_t, - std::array<int16_t, kMaxTemporalLayers>, - DescendingSeqNumComp<uint8_t>> - layer_info_ RTC_GUARDED_BY(crit_); + // layer given an unwrapped Tl0 picture index. + std::map<int64_t, std::array<int16_t, kMaxTemporalLayers>> layer_info_ + RTC_GUARDED_BY(crit_); // Where the current scalability structure is in the // |scalability_structures_| array. @@ -195,9 +194,8 @@ class RtpFrameReferenceFinder { std::array<GofInfoVP9, kMaxGofSaved> scalability_structures_ RTC_GUARDED_BY(crit_); - // Holds the the Gof information for a given TL0 picture index. - std::map<uint8_t, GofInfo, DescendingSeqNumComp<uint8_t>> gof_info_ - RTC_GUARDED_BY(crit_); + // Holds the the Gof information for a given unwrapped TL0 picture index. + std::map<int64_t, GofInfo> gof_info_ RTC_GUARDED_BY(crit_); // Keep track of which picture id and which temporal layer that had the // up switch flag set. @@ -223,6 +221,8 @@ class RtpFrameReferenceFinder { // Unwrapper used to unwrap VP8/VP9 streams which have their picture id // specified. SeqNumUnwrapper<uint16_t, kPicIdLength> unwrapper_ RTC_GUARDED_BY(crit_); + + SeqNumUnwrapper<uint8_t> tl0_unwrapper_ RTC_GUARDED_BY(crit_); }; } // namespace video_coding |