VP9 motion vector unit test
authorYunqing Wang <yunqingwang@google.com>
Fri, 31 Mar 2017 17:39:57 +0000 (10:39 -0700)
committerYunqing Wang <yunqingwang@google.com>
Thu, 6 Apr 2017 00:50:56 +0000 (00:50 +0000)
commit1aa46abbdfc31e02e139eb0fa8b73b9527006e04
tree352218e8d03ea98d3434f02acfaa5a4065ded3ed
parent41fac447073466a1186f28f3cff21fbc528592f5
VP9 motion vector unit test

To prevent the motion vector out of range bug, added a motion vector unit
test in VP9. In the 4k video encoding, always forced to use extreme motion
vectors and also encouraged to use INTER modes. In the decoding, checked if
the motion vector was valid, and also checked the encoder/decoder mismatch.

The tests showed that this unit test could reveal the issue we saw before.

Change-Id: I0a880bd847dad8a13f7fd2012faf6868b02fa3b4
test/test-data.mk
test/test.mk
test/vp9_motion_vector_test.cc [new file with mode: 0644]
vp9/common/vp9_debugmodes.c
vp9/encoder/vp9_encoder.h
vp9/encoder/vp9_mcomp.c
vp9/encoder/vp9_mcomp.h
vp9/encoder/vp9_rdopt.c
vp9/encoder/vp9_speed_features.c
vp9/vp9_cx_iface.c
vpx/vp8cx.h