VP9 GoF/temporal index check.
Bug: webrtc:8960 Change-Id: Ia0de8659903a64932861061af569f3fc1222fd23 Reviewed-on: https://webrtc-review.googlesource.com/59180 Reviewed-by: Stefan Holmer <stefan@webrtc.org> Reviewed-by: Sergey Silkin <ssilkin@webrtc.org> Reviewed-by: Philip Eliasson <philipel@webrtc.org> Commit-Queue: Philip Eliasson <philipel@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22264}
This commit is contained in:
@ -1321,5 +1321,15 @@ TEST_F(TestRtpFrameReferenceFinder, WrappingFlexReference) {
|
||||
CheckReferencesVp9(1, 0, 0);
|
||||
}
|
||||
|
||||
TEST_F(TestRtpFrameReferenceFinder, Vp9GofPidJump) {
|
||||
uint16_t pid = Rand();
|
||||
uint16_t sn = Rand();
|
||||
GofInfoVP9 ss;
|
||||
ss.SetGofInfoVP9(kTemporalStructureMode3);
|
||||
|
||||
InsertVp9Gof(sn, sn, true, pid, 0, 0, 0, false, &ss);
|
||||
InsertVp9Gof(sn + 1, sn + 1, false, pid + 1000, 0, 0, 1);
|
||||
}
|
||||
|
||||
} // namespace video_coding
|
||||
} // namespace webrtc
|
||||
|
Reference in New Issue
Block a user