Add support for handling reordered SS data on the receive-side for VP9.

BUG=chromium:500602

Review URL: https://codereview.webrtc.org/1386903002

Cr-Commit-Position: refs/heads/master@{#10383}
This commit is contained in:
asapersson
2015-10-23 00:27:14 -07:00
committed by Commit bot
parent a3587fb779
commit 9a4cd87640
7 changed files with 547 additions and 42 deletions

View File

@ -75,6 +75,15 @@ bool VCMFrameBuffer::NonReference() const {
return _sessionInfo.NonReference();
}
void VCMFrameBuffer::SetGofInfo(const GofInfoVP9& gof_info, size_t idx) {
_sessionInfo.SetGofInfo(gof_info, idx);
// TODO(asapersson): Consider adding hdr->VP9.ref_picture_id for testing.
_codecSpecificInfo.codecSpecific.VP9.temporal_idx =
gof_info.temporal_idx[idx];
_codecSpecificInfo.codecSpecific.VP9.temporal_up_switch =
gof_info.temporal_up_switch[idx];
}
bool
VCMFrameBuffer::IsSessionComplete() const {
return _sessionInfo.complete();