diff options
author | angiebird <angiebird@google.com> | 2019-10-21 15:23:46 -0700 |
---|---|---|
committer | angiebird <angiebird@google.com> | 2019-10-21 15:23:46 -0700 |
commit | f2d91e2c24b4bf15d6eca1829bfab8cc013549dc (patch) | |
tree | e5f9b50e72df26d0bd3811bb19fec1463eb39824 /vp9/encoder/vp9_lookahead.c | |
parent | 31193de1ccccbcc4e3580613a28340a30ad7e6d4 (diff) | |
download | libvpx-f2d91e2c24b4bf15d6eca1829bfab8cc013549dc.tar libvpx-f2d91e2c24b4bf15d6eca1829bfab8cc013549dc.tar.gz libvpx-f2d91e2c24b4bf15d6eca1829bfab8cc013549dc.tar.bz2 libvpx-f2d91e2c24b4bf15d6eca1829bfab8cc013549dc.zip |
Simplify the logics in find_next_key_frame
Since the while loop's condition already check
rc->frames_to_key < cpi->oxcf.key_freq,
it impossible to have "frames_to_key >= 2 * cpi->oxcf.key_freq"
and "frames_to_key > cpi->oxcf.key_freq".
Hence, these logics are removed.
Change-Id: I9dfc2ba36e1012718c857fc710036e2d30acd3b8
Diffstat (limited to 'vp9/encoder/vp9_lookahead.c')
0 files changed, 0 insertions, 0 deletions