diff mbox

[FFmpeg-devel,1/2] fate: add dst decoder test

Message ID 81c5d7a16c6c6b7bd874bfa07a900a2c1e38711f.1545359356.git.pross@xvid.org
State Superseded
Headers show

Commit Message

Peter Ross Dec. 21, 2018, 2:32 a.m. UTC
---
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

Comments

Paul B Mahol Dec. 21, 2018, 8:58 a.m. UTC | #1
On 12/21/18, Peter Ross <pross@xvid.org> wrote:
> ---
> the dst sample file is 40 kilobytes.
> i don't have write access to fate-suite to upload it.
>
>

Please provide way to access it.
Carl Eugen Hoyos Dec. 21, 2018, 11:26 p.m. UTC | #2
2018-12-21 3:32 GMT+01:00, Peter Ross <pross@xvid.org>:
> ---
> the dst sample file is 40 kilobytes.

You could attach it...

Carl Eugen
Peter Ross Dec. 21, 2018, 11:40 p.m. UTC | #3
On Sat, Dec 22, 2018 at 12:26:05AM +0100, Carl Eugen Hoyos wrote:
> 2018-12-21 3:32 GMT+01:00, Peter Ross <pross@xvid.org>:
> > ---
> > the dst sample file is 40 kilobytes.
> 
> You could attach it...

here is the file. cheers,

-- Peter
(A907 E02F A6E5 0CD2 34CD 20D2 6760 79C5 AC40 DD6B)
diff mbox

Patch

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