Add kGoldenFrame and kOverlayFrame to FrameType
authorangiebird <angiebird@google.com>
Thu, 20 Feb 2020 22:11:25 +0000 (14:11 -0800)
committerangiebird <angiebird@google.com>
Thu, 20 Feb 2020 22:24:22 +0000 (14:24 -0800)
commit320fb4c34a6d6bed560fbe564e7e1eae328be100
tree03d8f171db0525101adcaa75a851dae5502c13ac
parent5774259307902a7d6ea5f2da06fa7d8f6f8284a7
Add kGoldenFrame and kOverlayFrame to FrameType

Add coding_index to EncodeFrameInfo
Add start_coding_index to GroupOfPicture
Add frame_coding_index_ to SimpleEncode

The definition of coding index is as follows.

Each show or no show frame is assigned with a coding index based
on its coding order (starting from zero) in the coding process of
the entire video. The coding index for each frame is unique.

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