This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit dd48d68d51d5db19105ce946f2049a74897ef221
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Tue Aug 11 12:31:22 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Sun Sep 6 00:48:26 2026 +0200

    tests/fate: cover raw DSD decoder output
    
    Signed-off-by: Kacper Michajłow <[email protected]>
---
 tests/fate/audio.mak                               |  8 ++
 tests/fate/wavpack.mak                             |  6 ++
 tests/ref/fate/dsf-dst-dsd                         | 15 ++++
 tests/ref/fate/wavpack-dsd                         | 85 ++++++++++++++++++++++
 .../fate/{wavpack-lossless-dsd => wavpack-dsd-pcm} |  0
 5 files changed, 114 insertions(+)

diff --git a/tests/fate/audio.mak b/tests/fate/audio.mak
index c14365942f..60d9b229ac 100644
--- a/tests/fate/audio.mak
+++ b/tests/fate/audio.mak
@@ -42,6 +42,14 @@ fate-dsf-dst: CMD = pcm -i 
$(TARGET_SAMPLES)/dst/dst-64fs44-2ch.dff
 fate-dsf-dst: CMP = oneoff
 fate-dsf-dst: REF = $(SAMPLES)/dst/dst-64fs44-2ch.pcm
 
+FATE_SAMPLES_AUDIO-$(call FRAMECRC, DSF, DST, DSD_MSBF_ENCODER) += 
fate-dsf-dst-dsd
+fate-dsf-dst-dsd: CMD = framecrc -request_sample_fmt dsd -i 
$(TARGET_SAMPLES)/dst/dst-64fs44-2ch.dff -c:a dsd_msbf
+
+FATE_SAMPLES_AUDIO-$(call PCM, DSF, DST, ARESAMPLE_FILTER) += 
fate-dsf-dst-dsd-pcm
+fate-dsf-dst-dsd-pcm: CMD = pcm -request_sample_fmt dsd -i 
$(TARGET_SAMPLES)/dst/dst-64fs44-2ch.dff
+fate-dsf-dst-dsd-pcm: CMP = oneoff
+fate-dsf-dst-dsd-pcm: REF = $(SAMPLES)/dst/dst-64fs44-2ch.pcm
+
 FATE_SAMPLES_AUDIO-$(call PCM, G728, G728, ARESAMPLE_FILTER) += fate-g728
 fate-g728: CMD = pcm -i $(TARGET_SAMPLES)/g728/CW3.g728
 fate-g728: REF = $(SAMPLES)/g728/OUTA3.BIN
diff --git a/tests/fate/wavpack.mak b/tests/fate/wavpack.mak
index 1a37fc5365..314b6f649b 100644
--- a/tests/fate/wavpack.mak
+++ b/tests/fate/wavpack.mak
@@ -21,6 +21,12 @@ fate-wavpack-lossless-float: CMD = md5pipe -i 
$(TARGET_SAMPLES)/wavpack/lossless
 FATE_WAVPACK-$(call FILTERDEMDECENCMUX, ARESAMPLE, WV, WAVPACK, PCM_F32LE, 
PCM_F32LE, MD5_PROTOCOL SWRESAMPLE) += fate-wavpack-lossless-dsd
 fate-wavpack-lossless-dsd: CMD = md5pipe -i 
$(TARGET_SAMPLES)/wavpack/lossless/dsd.wv -f f32le -af aresample
 
+FATE_WAVPACK-$(call FRAMECRC, WV, WAVPACK, DSD_MSBF_ENCODER) += 
fate-wavpack-dsd
+fate-wavpack-dsd: CMD = framecrc -request_sample_fmt dsd -i 
$(TARGET_SAMPLES)/wavpack/lossless/dsd.wv -c:a dsd_msbf
+
+FATE_WAVPACK_F32 += fate-wavpack-dsd-pcm
+fate-wavpack-dsd-pcm: CMD = md5pipe -request_sample_fmt dsd -i 
$(TARGET_SAMPLES)/wavpack/lossless/dsd.wv -f f32le -af aresample
+
 # lossy
 
 FATE_WAVPACK_S8 += fate-wavpack-lossy-8bit
diff --git a/tests/ref/fate/dsf-dst-dsd b/tests/ref/fate/dsf-dst-dsd
new file mode 100644
index 0000000000..bdaae87c05
--- /dev/null
+++ b/tests/ref/fate/dsf-dst-dsd
@@ -0,0 +1,15 @@
+#tb 0: 1/352800
+#media_type 0: audio
+#codec_id 0: dsd_msbf
+#sample_rate 0: 352800
+#channel_layout_name 0: stereo
+0,          0,          0,     4704,     9408, 0x64267602
+0,       4704,       4704,     4704,     9408, 0x36a99044
+0,       9408,       9408,     4704,     9408, 0xe48a6960
+0,      14112,      14112,     4704,     9408, 0xbb6574f0
+0,      18816,      18816,     4704,     9408, 0x5fea8668
+0,      23520,      23520,     4704,     9408, 0x58ed6d06
+0,      28224,      28224,     4704,     9408, 0xa3357762
+0,      32928,      32928,     4704,     9408, 0x66359578
+0,      37632,      37632,     4704,     9408, 0x5eb774ce
+0,      42336,      42336,     4704,     9408, 0xb69d525e
diff --git a/tests/ref/fate/wavpack-dsd b/tests/ref/fate/wavpack-dsd
new file mode 100644
index 0000000000..71bf16ce8b
--- /dev/null
+++ b/tests/ref/fate/wavpack-dsd
@@ -0,0 +1,85 @@
+#tb 0: 1/352800
+#media_type 0: audio
+#codec_id 0: dsd_msbf
+#sample_rate 0: 352800
+#channel_layout_name 0: stereo
+0,          0,          0,    22050,    44100, 0x7b3071bf
+0,      22050,      22050,    22050,    44100, 0x3e2cf712
+0,      44100,      44100,    22050,    44100, 0x3823dcf9
+0,      66150,      66150,    22050,    44100, 0x5b1dfaca
+0,      88200,      88200,    22050,    44100, 0xdfc7ff9b
+0,     110250,     110250,    22050,    44100, 0xdcab9382
+0,     132300,     132300,    22050,    44100, 0x558abb0f
+0,     154350,     154350,    22050,    44100, 0x5e44bb16
+0,     176400,     176400,    22050,    44100, 0xdcee9ff1
+0,     198450,     198450,    22050,    44100, 0x86a10caa
+0,     220500,     220500,    22050,    44100, 0x9435073a
+0,     242550,     242550,    22050,    44100, 0xad3e0d43
+0,     264600,     264600,    22050,    44100, 0x66206caf
+0,     286650,     286650,    22050,    44100, 0xed87ac56
+0,     308700,     308700,    22050,    44100, 0x081e0753
+0,     330750,     330750,    22050,    44100, 0x925ded93
+0,     352800,     352800,    22050,    44100, 0xd060cfc2
+0,     374850,     374850,    22050,    44100, 0x7d3708b7
+0,     396900,     396900,    22050,    44100, 0x4d74f16a
+0,     418950,     418950,    22050,    44100, 0xf36cfe18
+0,     441000,     441000,    22050,    44100, 0x58fd0c45
+0,     463050,     463050,    22050,    44100, 0xf503a7bd
+0,     485100,     485100,    22050,    44100, 0x51b7ac60
+0,     507150,     507150,    22050,    44100, 0xd971fbf6
+0,     529200,     529200,    22050,    44100, 0xf011e259
+0,     551250,     551250,    22050,    44100, 0xb264b5e9
+0,     573300,     573300,    22050,    44100, 0x1895a1f8
+0,     595350,     595350,    22050,    44100, 0x5512c049
+0,     617400,     617400,    22050,    44100, 0x5e8a8804
+0,     639450,     639450,    22050,    44100, 0x3c7ee762
+0,     661500,     661500,    22050,    44100, 0x6b4bc894
+0,     683550,     683550,    22050,    44100, 0x7de5d77d
+0,     705600,     705600,    22050,    44100, 0x49b8abe7
+0,     727650,     727650,    22050,    44100, 0x8c06f4ac
+0,     749700,     749700,    22050,    44100, 0x35f69f39
+0,     771750,     771750,    22050,    44100, 0x847b1018
+0,     793800,     793800,    22050,    44100, 0xfd22a0e2
+0,     815850,     815850,    22050,    44100, 0xf0454afc
+0,     837900,     837900,    22050,    44100, 0xc0cb5db6
+0,     859950,     859950,    22050,    44100, 0x3b578c75
+0,     882000,     882000,    22050,    44100, 0xf31bb512
+0,     904050,     904050,    22050,    44100, 0x37e6caa0
+0,     926100,     926100,    22050,    44100, 0x2e56f496
+0,     948150,     948150,    22050,    44100, 0x15de2486
+0,     970200,     970200,    22050,    44100, 0xe0eccb02
+0,     992250,     992250,    22050,    44100, 0x6d5f0dde
+0,    1014300,    1014300,    22050,    44100, 0x62d768d2
+0,    1036350,    1036350,    22050,    44100, 0x375dae67
+0,    1058400,    1058400,    22050,    44100, 0x35389a32
+0,    1080450,    1080450,    22050,    44100, 0x3b94c577
+0,    1102500,    1102500,    22050,    44100, 0xc2dae059
+0,    1124550,    1124550,    22050,    44100, 0x4f5b06df
+0,    1146600,    1146600,    22050,    44100, 0x2f7f893e
+0,    1168650,    1168650,    22050,    44100, 0xe5f42ebf
+0,    1190700,    1190700,    22050,    44100, 0xdb4eac24
+0,    1212750,    1212750,    22050,    44100, 0x7147aa14
+0,    1234800,    1234800,    22050,    44100, 0x603615f7
+0,    1256850,    1256850,    22050,    44100, 0x0c07f6b5
+0,    1278900,    1278900,    22050,    44100, 0x9a9bbc91
+0,    1300950,    1300950,    22050,    44100, 0x7e54aa91
+0,    1323000,    1323000,    22050,    44100, 0x28e4d1d1
+0,    1345050,    1345050,    22050,    44100, 0xa4745a75
+0,    1367100,    1367100,    22050,    44100, 0x547f2b18
+0,    1389150,    1389150,    22050,    44100, 0xe098a81c
+0,    1411200,    1411200,    22050,    44100, 0xdb85339d
+0,    1433250,    1433250,    22050,    44100, 0xf13b1df6
+0,    1455300,    1455300,    22050,    44100, 0x7c2bdb41
+0,    1477350,    1477350,    22050,    44100, 0x332ca290
+0,    1499400,    1499400,    22050,    44100, 0x923bdd66
+0,    1521450,    1521450,    22050,    44100, 0xdc17c695
+0,    1543500,    1543500,    22050,    44100, 0xea59ed5b
+0,    1565550,    1565550,    22050,    44100, 0x5fc6e76a
+0,    1587600,    1587600,    22050,    44100, 0x161ea31f
+0,    1609650,    1609650,    22050,    44100, 0x5955f50d
+0,    1631700,    1631700,    22050,    44100, 0x6967bf3c
+0,    1653750,    1653750,    22050,    44100, 0xdbaab462
+0,    1675800,    1675800,    22050,    44100, 0x46e6d415
+0,    1697850,    1697850,    22050,    44100, 0x6c96e376
+0,    1719900,    1719900,    22050,    44100, 0x7f9ef037
+0,    1741950,    1741950,    22050,    44100, 0x39eefe1f
diff --git a/tests/ref/fate/wavpack-lossless-dsd 
b/tests/ref/fate/wavpack-dsd-pcm
similarity index 100%
copy from tests/ref/fate/wavpack-lossless-dsd
copy to tests/ref/fate/wavpack-dsd-pcm

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to