diff options
author | Cheng Chen <chengchen@google.com> | 2022-07-20 15:35:33 -0700 |
---|---|---|
committer | Cheng Chen <chengchen@google.com> | 2022-07-21 22:46:08 -0700 |
commit | 4e504233f8e603abdd4b39395c8717668009a865 (patch) | |
tree | e0e9b234136973fbfdc012ab99d3fc9c6205cbda /rate_hist.c | |
parent | 53dd1e8e785ea42fa88499dbfd0c2c9dcd055833 (diff) | |
download | libvpx-4e504233f8e603abdd4b39395c8717668009a865.tar libvpx-4e504233f8e603abdd4b39395c8717668009a865.tar.gz libvpx-4e504233f8e603abdd4b39395c8717668009a865.tar.bz2 libvpx-4e504233f8e603abdd4b39395c8717668009a865.zip |
L2E: Add more unit tests for GOP API
Add unit tests for a 4 frame video, which could be considered as a
corner case.
Three different GOP settings are tested and verified as valid.
(1). The first GOP has 3 coding frames, no alt ref.
The second GOP has 1 coding frame, no alt ref.
The numer of coding frames is 4.
Their frame types are: keyframe, inter_frame, inter_frame,
golden_frame.
(2). The first GOP has 4 coding frames, use alt ref.
The second GOP has 1 coding frame, which is the overlay of
the first GOP's alt ref frame.
The numer of coding frames is 5.
Their types are: keyframe, alt_ref, inter_frame, inter_frame,
overlay_frame.
(3). Only one GOP with 4 coding frames, do not use alt ref.
The numer of coding frames is 4.
Their types are: keyframe, inter_frame, inter_frame, inter_frame.
Change-Id: I4079ff5065da79834b363b1e1976f65efed3f91f
Diffstat (limited to 'rate_hist.c')
0 files changed, 0 insertions, 0 deletions