Chromium Code Reviews| Index: webrtc/modules/video_coding/rtp_frame_reference_finder.h |
| diff --git a/webrtc/modules/video_coding/rtp_frame_reference_finder.h b/webrtc/modules/video_coding/rtp_frame_reference_finder.h |
| index 74db45a2b8036a4d03ac846bcfa23686b2c14747..601e7c48d827fbda180e8d97c818607161100a01 100644 |
| --- a/webrtc/modules/video_coding/rtp_frame_reference_finder.h |
| +++ b/webrtc/modules/video_coding/rtp_frame_reference_finder.h |
| @@ -125,8 +125,6 @@ class RtpFrameReferenceFinder { |
| // Unwrap |frame|s picture id and its references to 16 bits. |
| void UnwrapPictureIds(RtpFrameObject* frame) EXCLUSIVE_LOCKS_REQUIRED(crit_); |
| - // All picture ids are unwrapped to 16 bits. |
| - uint16_t UnwrapPictureId(uint16_t picture_id) EXCLUSIVE_LOCKS_REQUIRED(crit_); |
| // Returns true if the frame is old and should be dropped. |
| // TODO(philipel): Remove when VP9 PID/TL0 does not jump mid-stream (should be |
| @@ -213,6 +211,14 @@ class RtpFrameReferenceFinder { |
| int cleared_to_seq_num_ GUARDED_BY(crit_); |
| OnCompleteFrameCallback* frame_callback_; |
| + |
| + // Unwrapper used to unwrap generic RTP streams. In a generic stream we derive |
| + // a picture id from the packet sequence number. |
| + SeqNumUnwrapper<uint16_t> generic_unwrapper_ GUARDED_BY(crit_); |
| + |
| + // Unwrapper used to unwrap VP8/VP9 streams which have their picture id |
| + // specified. |
| + SeqNumUnwrapper<uint16_t, kPicIdLength> unwrapper_ GUARDED_BY(crit_); |
|
terelius
2017/08/30 11:59:32
vpx_unwrapper_?
|
| }; |
| } // namespace video_coding |