]> granicus.if.org Git - libvpx/commit
Fix ObserveFirstPassMotionVectors()
authorangiebird <angiebird@google.com>
Fri, 7 Aug 2020 22:44:08 +0000 (15:44 -0700)
committerangiebird <angiebird@google.com>
Fri, 7 Aug 2020 22:48:32 +0000 (15:48 -0700)
commitbb7a2ccc38475ce0e70be134b5bf862000a3fc82
tree1b1c22653c62d95574ec6d5013a2cc3d378506a7
parente3ae48b861d18badb414c8fbe201e5c4aafb5180
Fix ObserveFirstPassMotionVectors()

1) Use kRefFrameTypeNone in the unit test
2) Reset mv_info in fp_motion_vector_info_init
3) Call fp_motion_vector_info_init() in first_pass_encode()
4) Set mv_info for intra frame.
5) Set mv_info with zero mv as default for inter frame
6) Remove duplicated fp_motion_vector_info in encode_frame_info

Change-Id: I2f7db5cd4cf1f19db039c9ce638d17b832f45b6e
test/simple_encode_test.cc
vp9/encoder/vp9_encoder.h
vp9/encoder/vp9_firstpass.c
vp9/simple_encode.cc