1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

fate: Overhaul WavPack coverage

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

Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
Derek Buitenhuis 2012-02-24 11:41:06 -05:00 committed by Ronald S. Bultje
parent b0c4f04338
commit 273f4b39fc
30 changed files with 114 additions and 4 deletions

View File

@ -58,6 +58,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-%)

View File

@ -12,6 +12,3 @@ fate-lossless-shorten: CMD = md5 -i $(SAMPLES)/lossless-audio/luckynight-partial
FATE_TESTS += fate-lossless-tta
fate-lossless-tta: CMD = crc -i $(SAMPLES)/lossless-audio/inside.tta
FATE_TESTS += fate-lossless-wavpack
fate-lossless-wavpack: CMD = md5 -i $(SAMPLES)/lossless-audio/luckynight-partial.wv -f s16le

87
tests/fate/wavpack.mak Normal file
View File

@ -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

View File

@ -1 +0,0 @@
97223f65c91213694a660d52f87f35aa

View File

@ -0,0 +1 @@
a03999c3ad17423f3a7e3d537fea8589

View File

@ -0,0 +1 @@
4ab874ad4a47141073f6db9aeec422a8

View File

@ -0,0 +1 @@
a524a76c85f55b7d63914fc1543a5268

View File

@ -0,0 +1 @@
cffe4d47290ff3cef974e5aa6bc32559

View File

@ -0,0 +1 @@
71386c0f63105e414220f0f0d369a0e6

View File

@ -0,0 +1 @@
931f27e3ec69fae0952548504461d97c

View File

@ -0,0 +1 @@
d18d0b2dc7d329aefcbb889dc99383ab

View File

@ -0,0 +1 @@
85eb2940491442ca25c2a702a6f30e5f

View File

@ -0,0 +1 @@
e3fdd584bef84e85f4ca84e2769306f8

View File

@ -0,0 +1 @@
925e047ac0d4c874a9cff3cc9117ac91

View File

@ -0,0 +1 @@
e2dc4b85377b275a48c8bd2a4f5b91fd

View File

@ -0,0 +1 @@
9d7bc1a45bd3ba9d1eb5706f0dfc3e47

View File

@ -0,0 +1 @@
c35f539bb5796ed93908c987fab1c26c

View File

@ -0,0 +1 @@
e4e65e2048ba373d89836907328cfb27

View File

@ -0,0 +1 @@
04b860cf4f9ecba36c053fdf83dac14a

View File

@ -0,0 +1 @@
c2aa8d83d14f799a9289b73bb6263fbc

View File

@ -0,0 +1 @@
0c04941424ba0981eac0e681130788f7

View File

@ -0,0 +1 @@
7b94c7ab8ec78ddf59bd7967199cdc8e

View File

@ -0,0 +1 @@
f0e452d762d5e7b675970e6e67b781e7

View File

@ -0,0 +1 @@
d4733e795e5af80da9a265cf83a6da69

View File

@ -0,0 +1 @@
cffe4d47290ff3cef974e5aa6bc32559

View File

@ -0,0 +1 @@
a57bec3f270c3b294d1e5ea07760514c

View File

@ -0,0 +1 @@
ebff08f89073e3f662f822df428711d5

View File

@ -0,0 +1 @@
a28c4d0f1d0c6ac7739e05150a8c401a

View File

@ -0,0 +1 @@
a28c4d0f1d0c6ac7739e05150a8c401a

View File

@ -0,0 +1 @@
33c09fedba88693f6cc423ca3763e7fe