diff options
author | Cheng Chen <chengchen@google.com> | 2022-05-13 13:42:28 -0700 |
---|---|---|
committer | Cheng Chen <chengchen@google.com> | 2022-05-27 15:02:32 -0700 |
commit | 3e7685cf621af3e876274f7be9fef83e3d35de3d (patch) | |
tree | d9633825c49e5cd84a7886b780a83a2f9000f128 /vp9/simple_encode.cc | |
parent | 4832bcff20d34ed25a771f3704cfe0a046dbd0f9 (diff) | |
download | libvpx-3e7685cf621af3e876274f7be9fef83e3d35de3d.tar libvpx-3e7685cf621af3e876274f7be9fef83e3d35de3d.tar.gz libvpx-3e7685cf621af3e876274f7be9fef83e3d35de3d.tar.bz2 libvpx-3e7685cf621af3e876274f7be9fef83e3d35de3d.zip |
L2E: Add vp9 GOP decision helper function
Add a helper function to call the external rate control model.
The helper function is placed in the function where vp9 determines
GOP decisions.
The helper function passes frame information, including current
frame show index, coding index, etc to the external rate control
model, and then receives GOP decisions.
The received GOP decisions overwrites the default GOP decision, only
when the external rate control model is set to be active via
the codec control.
The decision should satisfy a few constraints, for example, larger
than min_gf_interval; smaller than max_gf_interval. Otherwise,
return error.
Unit tests are added to test the new functionality.
Change-Id: Id129b4e1a91c844ee5c356a7801c862b1130a3d8
Diffstat (limited to 'vp9/simple_encode.cc')
0 files changed, 0 insertions, 0 deletions