]> granicus.if.org Git - libvpx/commit
Add GOP_COMMAND
authorangiebird <angiebird@google.com>
Sat, 23 May 2020 23:28:40 +0000 (16:28 -0700)
committerangiebird <angiebird@google.com>
Wed, 27 May 2020 02:25:52 +0000 (19:25 -0700)
commitfdf04093ecb87f9342aa3a17b7efaaf7cbb1808d
tree1017fb61acae4f6023bedf648941e6b31322f242
parent3bc58f13cc4ae0881ce483a8dcd7789a2d6f325d
Add GOP_COMMAND

Send GOP_COMMAND to vp9 for setting gop decisions on the fly.
GOP_COMMAND has three members.
use: use this command to set gop or use vp9's gop decision.
show_frame_count: number of show frames in this gop.
use_alt_ref: use alt ref frame or not.

Move the logic of processing external_arf_indexes_ from
get_gop_coding_frame_num() to GetGopCommand() and
GetCodingFrameNumFromGopMap().

Change-Id: Ic1942c7a4cf6eecdf3507864577688350c7ef0cf
vp9/encoder/vp9_encoder.h
vp9/encoder/vp9_firstpass.c
vp9/encoder/vp9_firstpass.h
vp9/simple_encode.cc