[FFmpeg-cvslog] fate: Overhaul WavPack coverage

Derek Buitenhuis git at videolan.org
Sat Feb 25 01:09:32 CET 2012


ffmpeg | branch: master | Derek Buitenhuis <derek.buitenhuis at gmail.com> | Fri Feb 24 12:22:38 2012 -0500| [b93c91579d59c1b4eadedf2d700b04cf4ada54f9] | committer: Michael Niedermayer

fate: Overhaul WavPack coverage

WavPack has a comprehensive test suite, and a bunch
of corner cases.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b93c91579d59c1b4eadedf2d700b04cf4ada54f9
---

 tests/Makefile                            |    1 +
 tests/fate/lossless-audio.mak             |    3 -
 tests/fate/wavpack.mak                    |   87 +++++++++++++++++++++++++++++
 tests/ref/fate/lossless-wavpack           |    1 -
 tests/ref/fate/wavpack-channels-4.0       |    1 +
 tests/ref/fate/wavpack-channels-5.1       |    1 +
 tests/ref/fate/wavpack-channels-6.1       |    1 +
 tests/ref/fate/wavpack-channels-7.1       |    1 +
 tests/ref/fate/wavpack-channels-monofloat |    1 +
 tests/ref/fate/wavpack-channels-monoint   |    1 +
 tests/ref/fate/wavpack-clipping           |    1 +
 tests/ref/fate/wavpack-cuesheet           |    1 +
 tests/ref/fate/wavpack-falsestereo        |    1 +
 tests/ref/fate/wavpack-lossless-12bit     |    1 +
 tests/ref/fate/wavpack-lossless-16bit     |    1 +
 tests/ref/fate/wavpack-lossless-24bit     |    1 +
 tests/ref/fate/wavpack-lossless-32bit     |    1 +
 tests/ref/fate/wavpack-lossless-8bit      |    1 +
 tests/ref/fate/wavpack-lossless-float     |    1 +
 tests/ref/fate/wavpack-lossy-16bit        |    1 +
 tests/ref/fate/wavpack-lossy-24bit        |    1 +
 tests/ref/fate/wavpack-lossy-32bit        |    1 +
 tests/ref/fate/wavpack-lossy-8bit         |    1 +
 tests/ref/fate/wavpack-lossy-float        |    1 +
 tests/ref/fate/wavpack-matroskamode       |    1 +
 tests/ref/fate/wavpack-speed-default      |    1 +
 tests/ref/fate/wavpack-speed-fast         |    1 +
 tests/ref/fate/wavpack-speed-high         |    1 +
 tests/ref/fate/wavpack-speed-vhigh        |    1 +
 tests/ref/fate/wavpack-zerolsbs           |    1 +
 30 files changed, 114 insertions(+), 4 deletions(-)

diff --git a/tests/Makefile b/tests/Makefile
index 97f595b..3716eb6 100644
--- a/tests/Makefile
+++ b/tests/Makefile
@@ -75,6 +75,7 @@ include $(SRC_PATH)/tests/fate/voice.mak
 include $(SRC_PATH)/tests/fate/vorbis.mak
 include $(SRC_PATH)/tests/fate/vpx.mak
 include $(SRC_PATH)/tests/fate/vqf.mak
+include $(SRC_PATH)/tests/fate/wavpack.mak
 include $(SRC_PATH)/tests/fate/wma.mak
 
 FATE_ACODEC  = $(ACODEC_TESTS:%=fate-acodec-%)
diff --git a/tests/fate/lossless-audio.mak b/tests/fate/lossless-audio.mak
index 0fa5dc8..fe2b4ad 100644
--- a/tests/fate/lossless-audio.mak
+++ b/tests/fate/lossless-audio.mak
@@ -13,8 +13,5 @@ fate-lossless-shorten: CMD = md5 -i $(SAMPLES)/lossless-audio/luckynight-partial
 FATE_LOSSLESS_AUDIO += fate-lossless-tta
 fate-lossless-tta: CMD = crc -i $(SAMPLES)/lossless-audio/inside.tta
 
-FATE_LOSSLESS_AUDIO += fate-lossless-wavpack
-fate-lossless-wavpack: CMD = md5 -i $(SAMPLES)/lossless-audio/luckynight-partial.wv -f s16le
-
 FATE_TESTS += $(FATE_LOSSLESS_AUDIO)
 fate-lossless-audio: $(FATE_LOSSLESS_AUDIO)
diff --git a/tests/fate/wavpack.mak b/tests/fate/wavpack.mak
new file mode 100644
index 0000000..2807b26
--- /dev/null
+++ b/tests/fate/wavpack.mak
@@ -0,0 +1,87 @@
+# Lossless
+
+FATE_TESTS += fate-wavpack-lossless-float
+fate-wavpack-lossless-float: CMD = md5 -i $(SAMPLES)/wavpack/lossless/32bit_float-partial.wv -f f32le
+
+FATE_TESTS += fate-wavpack-lossless-8bit
+fate-wavpack-lossless-8bit: CMD = md5 -i $(SAMPLES)/wavpack/lossless/8bit-partial.wv -f s8
+
+FATE_TESTS += fate-wavpack-lossless-12bit
+fate-wavpack-lossless-12bit: CMD = md5 -i $(SAMPLES)/wavpack/lossless/12bit-partial.wv -f s16le
+
+FATE_TESTS += fate-wavpack-lossless-16bit
+fate-wavpack-lossless-16bit: CMD = md5 -i $(SAMPLES)/wavpack/lossless/16bit-partial.wv -f s16le
+
+FATE_TESTS += fate-wavpack-lossless-24bit
+fate-wavpack-lossless-24bit: CMD = md5 -i $(SAMPLES)/wavpack/lossless/24bit-partial.wv -f s24le
+
+FATE_TESTS += fate-wavpack-lossless-32bit
+fate-wavpack-lossless-32bit: CMD = md5 -i $(SAMPLES)/wavpack/lossless/32bit_int-partial.wv -f s32le
+
+# Lossy
+
+FATE_TESTS += fate-wavpack-lossy-float
+fate-wavpack-lossy-float: CMD = md5 -i $(SAMPLES)/wavpack/lossy/2.0_32-bit_float.wv -f f32le
+
+FATE_TESTS += fate-wavpack-lossy-8bit
+fate-wavpack-lossy-8bit: CMD = md5 -i $(SAMPLES)/wavpack/lossy/4.0_8-bit.wv -f s8
+
+FATE_TESTS += fate-wavpack-lossy-16bit
+fate-wavpack-lossy-16bit: CMD = md5 -i $(SAMPLES)/wavpack/lossy/4.0_16-bit.wv -f s16le
+
+FATE_TESTS += fate-wavpack-lossy-24bit
+fate-wavpack-lossy-24bit: CMD = md5 -i $(SAMPLES)/wavpack/lossy/4.0_24-bit.wv -f s24le
+
+FATE_TESTS += fate-wavpack-lossy-32bit
+fate-wavpack-lossy-32bit: CMD = md5 -i $(SAMPLES)/wavpack/lossy/4.0_32-bit_int.wv -f s32le
+
+# Channel configurations
+
+FATE_TESTS += fate-wavpack-channels-monofloat
+fate-wavpack-channels-monofloat: CMD = md5 -i $(SAMPLES)/wavpack/num_channels/mono_float-partial.wv -f f32le
+
+FATE_TESTS += fate-wavpack-channels-monoint
+fate-wavpack-channels-monoint: CMD = md5 -i $(SAMPLES)/wavpack/num_channels/mono_16bit_int.wv -f s16le
+
+FATE_TESTS += fate-wavpack-channels-4.0
+fate-wavpack-channels-4.0: CMD = md5 -i $(SAMPLES)/wavpack/num_channels/edward_4.0_16bit-partial.wv -f s16le
+
+FATE_TESTS += fate-wavpack-channels-5.1
+fate-wavpack-channels-5.1: CMD = md5 -i $(SAMPLES)/wavpack/num_channels/panslab_sample_5.1_16bit-partial.wv -f s16le
+
+FATE_TESTS += fate-wavpack-channels-6.1
+fate-wavpack-channels-6.1: CMD = md5 -i $(SAMPLES)/wavpack/num_channels/eva_2.22_6.1_16bit-partial.wv -f s16le
+
+FATE_TESTS += fate-wavpack-channels-7.1
+fate-wavpack-channels-7.1: CMD = md5 -i $(SAMPLES)/wavpack/num_channels/panslab_sample_7.1_16bit-partial.wv -f s16le
+
+# Speed modes
+
+FATE_TESTS += fate-wavpack-speed-default
+fate-wavpack-speed-default: CMD = md5 -i $(SAMPLES)/wavpack/speed_modes/default-partial.wv  -f s16le
+
+FATE_TESTS += fate-wavpack-speed-fast
+fate-wavpack-speed-fast: CMD = md5 -i $(SAMPLES)/wavpack/speed_modes/fast-partial.wv  -f s16le
+
+FATE_TESTS += fate-wavpack-speed-high
+fate-wavpack-speed-high: CMD = md5 -i $(SAMPLES)/wavpack/speed_modes/high-partial.wv  -f s16le
+
+FATE_TESTS += fate-wavpack-speed-vhigh
+fate-wavpack-speed-vhigh: CMD = md5 -i $(SAMPLES)/wavpack/speed_modes/vhigh-partial.wv  -f s16le
+
+# Special Cases
+
+FATE_TESTS += fate-wavpack-cuesheet
+fate-wavpack-cuesheet: CMD = md5 -i $(SAMPLES)/wavpack/special/cue_sheet.wv -f s16le
+
+FATE_TESTS += fate-wavpack-zerolsbs
+fate-wavpack-zerolsbs: CMD = md5 -i $(SAMPLES)/wavpack/special/zero_lsbs.wv -f s16le
+
+FATE_TESTS += fate-wavpack-clipping
+fate-wavpack-clipping: CMD = md5 -i $(SAMPLES)/wavpack/special/clipping.wv -f s16le
+
+FATE_TESTS += fate-wavpack-falsestereo
+fate-wavpack-falsestereo: CMD = md5 -i $(SAMPLES)/wavpack/special/false_stereo.wv -f s16le
+
+FATE_TESTS += fate-wavpack-matroskamode
+fate-wavpack-matroskamode: CMD = md5 -i $(SAMPLES)/wavpack/special/matroska_mode.mka -f s16le
diff --git a/tests/ref/fate/lossless-wavpack b/tests/ref/fate/lossless-wavpack
deleted file mode 100644
index 6281924..0000000
--- a/tests/ref/fate/lossless-wavpack
+++ /dev/null
@@ -1 +0,0 @@
-97223f65c91213694a660d52f87f35aa
diff --git a/tests/ref/fate/wavpack-channels-4.0 b/tests/ref/fate/wavpack-channels-4.0
new file mode 100644
index 0000000..4cf6764
--- /dev/null
+++ b/tests/ref/fate/wavpack-channels-4.0
@@ -0,0 +1 @@
+a03999c3ad17423f3a7e3d537fea8589
diff --git a/tests/ref/fate/wavpack-channels-5.1 b/tests/ref/fate/wavpack-channels-5.1
new file mode 100644
index 0000000..49fe876
--- /dev/null
+++ b/tests/ref/fate/wavpack-channels-5.1
@@ -0,0 +1 @@
+4ab874ad4a47141073f6db9aeec422a8
diff --git a/tests/ref/fate/wavpack-channels-6.1 b/tests/ref/fate/wavpack-channels-6.1
new file mode 100644
index 0000000..ed46b7c
--- /dev/null
+++ b/tests/ref/fate/wavpack-channels-6.1
@@ -0,0 +1 @@
+a524a76c85f55b7d63914fc1543a5268
diff --git a/tests/ref/fate/wavpack-channels-7.1 b/tests/ref/fate/wavpack-channels-7.1
new file mode 100644
index 0000000..1f54afe
--- /dev/null
+++ b/tests/ref/fate/wavpack-channels-7.1
@@ -0,0 +1 @@
+cffe4d47290ff3cef974e5aa6bc32559
diff --git a/tests/ref/fate/wavpack-channels-monofloat b/tests/ref/fate/wavpack-channels-monofloat
new file mode 100644
index 0000000..41d94fa
--- /dev/null
+++ b/tests/ref/fate/wavpack-channels-monofloat
@@ -0,0 +1 @@
+71386c0f63105e414220f0f0d369a0e6
diff --git a/tests/ref/fate/wavpack-channels-monoint b/tests/ref/fate/wavpack-channels-monoint
new file mode 100644
index 0000000..204ab6d
--- /dev/null
+++ b/tests/ref/fate/wavpack-channels-monoint
@@ -0,0 +1 @@
+931f27e3ec69fae0952548504461d97c
diff --git a/tests/ref/fate/wavpack-clipping b/tests/ref/fate/wavpack-clipping
new file mode 100644
index 0000000..fd19f93
--- /dev/null
+++ b/tests/ref/fate/wavpack-clipping
@@ -0,0 +1 @@
+d18d0b2dc7d329aefcbb889dc99383ab
diff --git a/tests/ref/fate/wavpack-cuesheet b/tests/ref/fate/wavpack-cuesheet
new file mode 100644
index 0000000..e013bb0
--- /dev/null
+++ b/tests/ref/fate/wavpack-cuesheet
@@ -0,0 +1 @@
+85eb2940491442ca25c2a702a6f30e5f
diff --git a/tests/ref/fate/wavpack-falsestereo b/tests/ref/fate/wavpack-falsestereo
new file mode 100644
index 0000000..458ce65
--- /dev/null
+++ b/tests/ref/fate/wavpack-falsestereo
@@ -0,0 +1 @@
+e3fdd584bef84e85f4ca84e2769306f8
diff --git a/tests/ref/fate/wavpack-lossless-12bit b/tests/ref/fate/wavpack-lossless-12bit
new file mode 100644
index 0000000..2adf043
--- /dev/null
+++ b/tests/ref/fate/wavpack-lossless-12bit
@@ -0,0 +1 @@
+925e047ac0d4c874a9cff3cc9117ac91
diff --git a/tests/ref/fate/wavpack-lossless-16bit b/tests/ref/fate/wavpack-lossless-16bit
new file mode 100644
index 0000000..04fc280
--- /dev/null
+++ b/tests/ref/fate/wavpack-lossless-16bit
@@ -0,0 +1 @@
+e2dc4b85377b275a48c8bd2a4f5b91fd
diff --git a/tests/ref/fate/wavpack-lossless-24bit b/tests/ref/fate/wavpack-lossless-24bit
new file mode 100644
index 0000000..1fd8dca
--- /dev/null
+++ b/tests/ref/fate/wavpack-lossless-24bit
@@ -0,0 +1 @@
+9d7bc1a45bd3ba9d1eb5706f0dfc3e47
diff --git a/tests/ref/fate/wavpack-lossless-32bit b/tests/ref/fate/wavpack-lossless-32bit
new file mode 100644
index 0000000..cef05f3
--- /dev/null
+++ b/tests/ref/fate/wavpack-lossless-32bit
@@ -0,0 +1 @@
+c35f539bb5796ed93908c987fab1c26c
diff --git a/tests/ref/fate/wavpack-lossless-8bit b/tests/ref/fate/wavpack-lossless-8bit
new file mode 100644
index 0000000..58cdb99
--- /dev/null
+++ b/tests/ref/fate/wavpack-lossless-8bit
@@ -0,0 +1 @@
+e4e65e2048ba373d89836907328cfb27
diff --git a/tests/ref/fate/wavpack-lossless-float b/tests/ref/fate/wavpack-lossless-float
new file mode 100644
index 0000000..6081ae1
--- /dev/null
+++ b/tests/ref/fate/wavpack-lossless-float
@@ -0,0 +1 @@
+04b860cf4f9ecba36c053fdf83dac14a
diff --git a/tests/ref/fate/wavpack-lossy-16bit b/tests/ref/fate/wavpack-lossy-16bit
new file mode 100644
index 0000000..3adeaa0
--- /dev/null
+++ b/tests/ref/fate/wavpack-lossy-16bit
@@ -0,0 +1 @@
+c2aa8d83d14f799a9289b73bb6263fbc
diff --git a/tests/ref/fate/wavpack-lossy-24bit b/tests/ref/fate/wavpack-lossy-24bit
new file mode 100644
index 0000000..566ec6d
--- /dev/null
+++ b/tests/ref/fate/wavpack-lossy-24bit
@@ -0,0 +1 @@
+0c04941424ba0981eac0e681130788f7
diff --git a/tests/ref/fate/wavpack-lossy-32bit b/tests/ref/fate/wavpack-lossy-32bit
new file mode 100644
index 0000000..6b66d0a
--- /dev/null
+++ b/tests/ref/fate/wavpack-lossy-32bit
@@ -0,0 +1 @@
+7b94c7ab8ec78ddf59bd7967199cdc8e
diff --git a/tests/ref/fate/wavpack-lossy-8bit b/tests/ref/fate/wavpack-lossy-8bit
new file mode 100644
index 0000000..d921ea6
--- /dev/null
+++ b/tests/ref/fate/wavpack-lossy-8bit
@@ -0,0 +1 @@
+f0e452d762d5e7b675970e6e67b781e7
diff --git a/tests/ref/fate/wavpack-lossy-float b/tests/ref/fate/wavpack-lossy-float
new file mode 100644
index 0000000..9f984ac
--- /dev/null
+++ b/tests/ref/fate/wavpack-lossy-float
@@ -0,0 +1 @@
+d4733e795e5af80da9a265cf83a6da69
diff --git a/tests/ref/fate/wavpack-matroskamode b/tests/ref/fate/wavpack-matroskamode
new file mode 100644
index 0000000..1f54afe
--- /dev/null
+++ b/tests/ref/fate/wavpack-matroskamode
@@ -0,0 +1 @@
+cffe4d47290ff3cef974e5aa6bc32559
diff --git a/tests/ref/fate/wavpack-speed-default b/tests/ref/fate/wavpack-speed-default
new file mode 100644
index 0000000..9dc559f
--- /dev/null
+++ b/tests/ref/fate/wavpack-speed-default
@@ -0,0 +1 @@
+a57bec3f270c3b294d1e5ea07760514c
diff --git a/tests/ref/fate/wavpack-speed-fast b/tests/ref/fate/wavpack-speed-fast
new file mode 100644
index 0000000..181d7dd
--- /dev/null
+++ b/tests/ref/fate/wavpack-speed-fast
@@ -0,0 +1 @@
+ebff08f89073e3f662f822df428711d5
diff --git a/tests/ref/fate/wavpack-speed-high b/tests/ref/fate/wavpack-speed-high
new file mode 100644
index 0000000..3d85201
--- /dev/null
+++ b/tests/ref/fate/wavpack-speed-high
@@ -0,0 +1 @@
+a28c4d0f1d0c6ac7739e05150a8c401a
diff --git a/tests/ref/fate/wavpack-speed-vhigh b/tests/ref/fate/wavpack-speed-vhigh
new file mode 100644
index 0000000..3d85201
--- /dev/null
+++ b/tests/ref/fate/wavpack-speed-vhigh
@@ -0,0 +1 @@
+a28c4d0f1d0c6ac7739e05150a8c401a
diff --git a/tests/ref/fate/wavpack-zerolsbs b/tests/ref/fate/wavpack-zerolsbs
new file mode 100644
index 0000000..cc16fb9
--- /dev/null
+++ b/tests/ref/fate/wavpack-zerolsbs
@@ -0,0 +1 @@
+33c09fedba88693f6cc423ca3763e7fe



More information about the ffmpeg-cvslog mailing list