[FFmpeg-devel] [PATCH 1/2] fate: add dst decoder test
Peter Ross
pross at xvid.org
Fri Dec 21 04:32:03 EET 2018
---
the dst sample file is 40 kilobytes.
i don't have write access to fate-suite to upload it.
tests/fate/audio.mak | 3 +++
tests/ref/fate/dsf-dst | 16 ++++++++++++++++
2 files changed, 19 insertions(+)
create mode 100644 tests/ref/fate/dsf-dst
diff --git a/tests/fate/audio.mak b/tests/fate/audio.mak
index 4fab472f90..167c5c039f 100644
--- a/tests/fate/audio.mak
+++ b/tests/fate/audio.mak
@@ -28,6 +28,9 @@ FATE_SAMPLES_AUDIO-$(call DEMDEC, DSS, DSS_SP) += fate-dss-lp fate-dss-sp
fate-dss-lp: CMD = framecrc -i $(TARGET_SAMPLES)/dss/lp.dss -frames 30
fate-dss-sp: CMD = framecrc -i $(TARGET_SAMPLES)/dss/sp.dss -frames 30
+FATE_SAMPLES_AUDIO-$(call DEMDEC, DSF, DST) += fate-dsf-dst
+fate-dsf-dst: CMD = framecrc -i $(TARGET_SAMPLES)/dst/dst-64fs44-2ch.dff
+
FATE_SAMPLES_AUDIO-$(call DEMDEC, AVI, IMC) += fate-imc
fate-imc: CMD = pcm -i $(TARGET_SAMPLES)/imc/imc.avi
fate-imc: CMP = oneoff
diff --git a/tests/ref/fate/dsf-dst b/tests/ref/fate/dsf-dst
new file mode 100644
index 0000000000..a2f2921637
--- /dev/null
+++ b/tests/ref/fate/dsf-dst
@@ -0,0 +1,16 @@
+#tb 0: 1/352800
+#media_type 0: audio
+#codec_id 0: pcm_s16le
+#sample_rate 0: 352800
+#channel_layout 0: 3
+#channel_layout_name 0: stereo
+0, 0, 0, 4704, 18816, 0x16bbebad
+0, 4704, 4704, 4704, 18816, 0x025d9312
+0, 9408, 9408, 4704, 18816, 0xa8a84a1d
+0, 14112, 14112, 4704, 18816, 0x44a24932
+0, 18816, 18816, 4704, 18816, 0xb60580ae
+0, 23520, 23520, 4704, 18816, 0xa23751ff
+0, 28224, 28224, 4704, 18816, 0xcaee4a16
+0, 32928, 32928, 4704, 18816, 0xc19adb0e
+0, 37632, 37632, 4704, 18816, 0xb7adec72
+0, 42336, 42336, 4704, 18816, 0x6a7f3268
--
2.17.1
-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20181221/8efda719/attachment.sig>
More information about the ffmpeg-devel
mailing list