]> granicus.if.org Git - libvpx/commit
Use ObserveGroupOfPicture() in EncodeFrame test
authorangiebird <angiebird@google.com>
Fri, 21 Feb 2020 00:16:38 +0000 (16:16 -0800)
committerangiebird <angiebird@google.com>
Fri, 21 Feb 2020 00:25:31 +0000 (16:25 -0800)
commita6238a1085a6543c8a79bd1c9b9b8456d5e04f4b
tree1f2fbdc9fcf0869ba49b8eab75b3cc926e19e315
parent320fb4c34a6d6bed560fbe564e7e1eae328be100
Use ObserveGroupOfPicture() in EncodeFrame test

In the previous version, we assume the number of coding frames is
known.

Although the assumption is true for now with rate_ctrl flag on,
it's more proper to use ObserveGroupOfPicture() to get
the partial info about how many coding frames are in the group.

Because We want to keep the flexibility of changing the size of
group of pictures on the fly in the future.

Change-Id: Ibbe6ab49268c468bf1cef8344efd3a3e1eab972a
test/simple_encode_test.cc