Unwrap picture ids in the RtpFrameReferencerFinder.

First CL to avoid working with wrapping picture ids. After the references of
a frame has been determined they are then unwrapped.

BUG=webrtc:7874

Review-Url: https://codereview.webrtc.org/2985283002
Cr-Commit-Position: refs/heads/master@{#19663}
This commit is contained in:
philipel
2017-09-04 07:03:46 -07:00
committed by Commit Bot
parent 054b108820
commit d4fac6957e
9 changed files with 399 additions and 391 deletions

View File

@ -49,14 +49,14 @@ class FrameObject : public webrtc::VCMEncodedFrame {
// The tuple (|picture_id|, |spatial_layer|) uniquely identifies a frame
// object. For codec types that don't necessarily have picture ids they
// have to be constructed from the header data relevant to that codec.
uint16_t picture_id;
int64_t picture_id;
uint8_t spatial_layer;
uint32_t timestamp;
// TODO(philipel): Add simple modify/access functions to prevent adding too
// many |references|.
size_t num_references;
uint16_t references[kMaxFrameReferences];
int64_t references[kMaxFrameReferences];
bool inter_layer_predicted;
};