shithub: libvpx

Download patch

ref: 2424ba3d8b19c356acd8ec4a212895a43a2f0802
parent: bb12bbaefb07deafad8a95f0e4f3017f45414676
author: Yaowu Xu <yaowu@google.com>
date: Tue Dec 17 09:44:33 EST 2013

Added a test vector that exercises lpf deltas

From frame 2, the lpf deltas are all cleared for for even frames, and
a set of values are set and used for odd frames. The intention is to
exercise decoding code around lpf delta/update decoding.

Change-Id: Ic9ff1bc2c2a023f4805852f8573398f2ec2249d7

--- a/test/test-data.sha1
+++ b/test/test-data.sha1
@@ -571,3 +571,5 @@
 e3b28ddcfaeb37fb4d132b93f92642a9ad17c22d  vp90-2-02-size-lf-1920x1080.webm.md5
 d48c5db1b0f8e60521a7c749696b8067886033a3  vp90-2-09-aq2.webm
 84c1599298aac78f2fc05ae2274575d10569dfa0  vp90-2-09-aq2.webm.md5
+55fc55ed73d578ed60fad05692579873f8bad758  vp90-2-09-lf_deltas.webm
+54638c38009198c38c8f3b25c182b709b6c1fd2e  vp90-2-09-lf_deltas.webm.md5
--- a/test/test.mk
+++ b/test/test.mk
@@ -671,6 +671,8 @@
 LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-09-subpixel-00.ivf.md5
 LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-09-aq2.webm
 LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-09-aq2.webm.md5
+LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-09-lf_deltas.webm
+LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp90-2-09-lf_deltas.webm.md5
 LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp91-2-04-yv444.webm
 LIBVPX_TEST_DATA-$(CONFIG_VP9_DECODER) += vp91-2-04-yv444.webm.md5
 
--- a/test/test_vectors.cc
+++ b/test/test_vectors.cc
@@ -159,6 +159,7 @@
   "vp90-2-09-subpixel-00.ivf",
   "vp90-2-02-size-lf-1920x1080.webm",
   "vp90-2-09-aq2.webm",
+  "vp90-2-09-lf_deltas.webm",
 #if CONFIG_NON420
   "vp91-2-04-yv444.webm"
 #endif
--- a/test/test_vectors.h
+++ b/test/test_vectors.h
@@ -22,9 +22,9 @@
 
 #if CONFIG_VP9_DECODER
 #if CONFIG_NON420
-const int kNumVp9TestVectors = 215;
+const int kNumVp9TestVectors = 216;
 #else
-const int kNumVp9TestVectors = 214;
+const int kNumVp9TestVectors = 215;
 #endif
 
 extern const char *kVP9TestVectors[kNumVp9TestVectors];