]> granicus.if.org Git - libvpx/commit
Add extra check / unit test to SetExternalGroupOfPicturesMap()
authorangiebird <angiebird@google.com>
Wed, 27 May 2020 07:30:11 +0000 (00:30 -0700)
committerangiebird <angiebird@google.com>
Fri, 29 May 2020 01:07:12 +0000 (18:07 -0700)
commit34034789d758440415306a637e6aea57f34e1a4c
treec5cbcd5772ba90ffec9226cb3cecfd4c3a234be8
parent9c7e04a159f79994f0a19c1b0407cb3f029080fc
Add extra check / unit test to SetExternalGroupOfPicturesMap()

Let SetExternalGroupOfPicturesMap() modify the gop_map_ to satisfy
the following constraints.
1) Each key frame position should be at the start of a gop.
2) The last gop should not use an alt ref.

Add unit test for SetExternalGroupOfPicturesMap()

Change-Id: Iee9bd238ad0fc5c2ccbf2fbd065a280c854cd718
test/simple_encode_test.cc
vp9/simple_encode.cc
vp9/simple_encode.h