Add unit test for decoder test_vector_test
authorYunqing Wang <yunqingwang@google.com>
Thu, 4 Oct 2012 19:59:36 +0000 (12:59 -0700)
committerYunqing Wang <yunqingwang@google.com>
Mon, 22 Oct 2012 20:46:11 +0000 (13:46 -0700)
commit15dffcfefa34579194cb03fae3c7e5b9fb194e72
tree374ab6834fdcf61ac806a3cef68805c427d09ae8
parent9da8a344373bd2503a1274fd0e096b6c8d4d0f47
Add unit test for decoder test_vector_test

Got 61 test vectors from vp8-test-vectors.git
(http://git.chromium.org/gitweb/?p=webm/vp8-test-vectors.git)

Added decoder test vectors downloading in unit tests. Uploaded
the test vectors and their md5 files to WebM website.
  $ gsutil cp *.* gs://downloads.webmproject.org/test_data/libvpx

Added their sha1sum to the test/test-data.sha1 file.

In unit tests, download the test vectors to LIBVPX_TEST_DATA_PATH.

Test_vector_test goes through the test vectors, decodes them, and
compute the md5 checksums. The checksums are compared with the
expected md5 checksums to tell if the decoder decodes correctly.

Change-Id: Ia1e84f9347ddf1d4a02e056c0fee7d28dccfae15
test/decode_test_driver.cc
test/decode_test_driver.h
test/encode_test_driver.cc
test/i420_video_source.h
test/ivf_video_source.h [new file with mode: 0644]
test/test-data.sha1
test/test.mk
test/test_vector_test.cc [new file with mode: 0644]
test/video_source.h