Add unit test for ref_frame_info
authorangiebird <angiebird@google.com>
Tue, 3 Mar 2020 04:04:11 +0000 (20:04 -0800)
committerangiebird <angiebird@google.com>
Tue, 3 Mar 2020 18:57:03 +0000 (10:57 -0800)
commite7aa1e3630bf695a739cf455f3eafe7d135608ef
tree0ae56ceef75a7c407f6066ee566e3dfa46237c57
parent483bcb310dea5a4fcb91af343408b14a9158ae29
Add unit test for ref_frame_info

Fix several bugs to make the test pass.
1) Move update_frame_indexes() out of show_frame check.
2) Init coding_indexes[i] to -1 when key frame appears
3) Fix a bug in PostUpdateRefFrameInfo()

Change-Id: Ie7c70a1d460e5b89475a1aef77416fc9a88387e1
test/simple_encode_test.cc
vp9/common/vp9_onyxc_int.h
vp9/encoder/vp9_encoder.c
vp9/simple_encode.cc
vp9/simple_encode.h