From 12c4458db9eb7d2a1cc217d9b8e6abcb4b4eadfe Mon Sep 17 00:00:00 2001 From: Jim Bankoski Date: Thu, 20 Feb 2014 14:35:40 -0800 Subject: [PATCH] Test vectors for odd image width and height. Change-Id: I39286df9fc76e3451f14ce2652d671e11b0c37bc --- test/test-data.sha1 | 6 ++++++ test/test.mk | 6 ++++++ test/test_vectors.cc | 21 ++++++++++----------- test/test_vectors.h | 4 ++-- 4 files changed, 24 insertions(+), 13 deletions(-) diff --git a/test/test-data.sha1 b/test/test-data.sha1 index a28773133..cbbb4d8c7 100644 --- a/test/test-data.sha1 +++ b/test/test-data.sha1 @@ -576,3 +576,9 @@ d48c5db1b0f8e60521a7c749696b8067886033a3 vp90-2-09-aq2.webm 54638c38009198c38c8f3b25c182b709b6c1fd2e vp90-2-09-lf_deltas.webm.md5 510d95f3beb3b51c572611fdaeeece12277dac30 vp90-2-10-show-existing-frame.webm 14d631096f4bfa2d71f7f739aec1448fb3c33bad vp90-2-10-show-existing-frame.webm.md5 +b4318e75f73a6a08992c7326de2fb589c2a794c7 vp90-2-11-size-351x287.webm +b3c48382cf7d0454e83a02497c229d27720f9e20 vp90-2-11-size-351x287.webm.md5 +8e0096475ea2535bac71d3e2fc09e0c451c444df vp90-2-11-size-351x288.webm +19e003804ec1dfc5464813b32339a15d5ba7b42f vp90-2-11-size-351x288.webm.md5 +40cd1d6a188d7a88b21ebac1e573d3f270ab261e vp90-2-11-size-352x287.webm +68f515abe3858fc1eded46c8e6b2f727d43b5331 vp90-2-11-size-352x287.webm.md5 diff --git a/test/test.mk b/test/test.mk index a65decf73..a52c48cf5 100644 --- a/test/test.mk +++ b/test/test.mk @@ -678,6 +678,12 @@ LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp91-2-04-yv444.webm LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp91-2-04-yv444.webm.md5 LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-10-show-existing-frame.webm LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-10-show-existing-frame.webm.md5 +LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-11-size-351x287.webm +LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-11-size-351x287.webm.md5 +LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-11-size-351x288.webm +LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-11-size-351x288.webm.md5 +LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-11-size-352x287.webm +LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-11-size-352x287.webm.md5 ifeq ($(CONFIG_DECODE_PERF_TESTS),yes) # BBB VP9 streams diff --git a/test/test_vectors.cc b/test/test_vectors.cc index 3227f5253..91124de20 100644 --- a/test/test_vectors.cc +++ b/test/test_vectors.cc @@ -150,17 +150,16 @@ const char *kVP9TestVectors[kNumVp9TestVectors] = { "vp90-2-03-size-226x202.webm", "vp90-2-03-size-226x208.webm", "vp90-2-03-size-226x210.webm", "vp90-2-03-size-226x224.webm", "vp90-2-03-size-226x226.webm", "vp90-2-03-deltaq.webm", - "vp90-2-05-resize.ivf", "vp90-2-06-bilinear.webm", - "vp90-2-07-frame_parallel.webm", - "vp90-2-08-tile_1x2_frame_parallel.webm", "vp90-2-08-tile_1x2.webm", - "vp90-2-08-tile_1x4_frame_parallel.webm", "vp90-2-08-tile_1x4.webm", - "vp90-2-08-tile_1x8_frame_parallel.webm", "vp90-2-08-tile_1x8.webm", - "vp90-2-08-tile-4x4.webm", "vp90-2-08-tile-4x1.webm", - "vp90-2-09-subpixel-00.ivf", - "vp90-2-02-size-lf-1920x1080.webm", - "vp90-2-09-aq2.webm", - "vp90-2-09-lf_deltas.webm", - "vp90-2-10-show-existing-frame.webm", + "vp90-2-05-resize.ivf", "vp90-2-06-bilinear.webm", + "vp90-2-07-frame_parallel.webm", "vp90-2-08-tile_1x2_frame_parallel.webm", + "vp90-2-08-tile_1x2.webm", "vp90-2-08-tile_1x4_frame_parallel.webm", + "vp90-2-08-tile_1x4.webm", "vp90-2-08-tile_1x8_frame_parallel.webm", + "vp90-2-08-tile_1x8.webm", "vp90-2-08-tile-4x4.webm", + "vp90-2-08-tile-4x1.webm", "vp90-2-09-subpixel-00.ivf", + "vp90-2-02-size-lf-1920x1080.webm", "vp90-2-09-aq2.webm", + "vp90-2-09-lf_deltas.webm", "vp90-2-10-show-existing-frame.webm", + "vp90-2-11-size-351x287.webm", "vp90-2-11-size-351x288.webm", + "vp90-2-11-size-352x287.webm", #if CONFIG_NON420 "vp91-2-04-yv444.webm" #endif diff --git a/test/test_vectors.h b/test/test_vectors.h index eb592de64..e05c5d0d3 100644 --- a/test/test_vectors.h +++ b/test/test_vectors.h @@ -22,9 +22,9 @@ extern const char *kVP8TestVectors[kNumVp8TestVectors]; #if CONFIG_VP9_DECODER #if CONFIG_NON420 -const int kNumVp9TestVectors = 217; +const int kNumVp9TestVectors = 220; #else -const int kNumVp9TestVectors = 216; +const int kNumVp9TestVectors = 219; #endif extern const char *kVP9TestVectors[kNumVp9TestVectors]; -- 2.40.0