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

Git pushed a commit to branch master
in repository ffmpeg.

commit 43f4421ec1cee27921875d3a4304606f07afd3cf
Author:     Gyan Doshi <[email protected]>
AuthorDate: Tue Jan 16 13:27:40 2024 +0530
Commit:     Gyan Doshi <[email protected]>
CommitDate: Sun Nov 29 15:47:10 2026 +0530

    fate: add tests for dolby_e decoding in s302m
    
    Three tests, one each for
    
    1) 16-bit Dolby-E words in 20-bits AES3 words
    2) 20-bit Dolby-E words in 20-bits AES3 words
    3) 20-bit Dolby-E words in 24-bits AES3 words
---
 tests/fate/acodec.mak                       | 14 ++++++++++++++
 tests/ref/acodec/ffprobe-s302m-20-dolbye-16 |  1 +
 tests/ref/acodec/ffprobe-s302m-20-dolbye-20 |  1 +
 tests/ref/acodec/ffprobe-s302m-24-dolbye-20 |  1 +
 4 files changed, 17 insertions(+)

diff --git a/tests/fate/acodec.mak b/tests/fate/acodec.mak
index 0669c705b5..d13e862c5d 100644
--- a/tests/fate/acodec.mak
+++ b/tests/fate/acodec.mak
@@ -170,6 +170,18 @@ fate-acodec-s302m: CODEC = s302m
 fate-acodec-s302m: ENCOPTS = -af aresample=48000:tsf=s16p -strict -2
 fate-acodec-s302m: DECOPTS = -af aresample=44100:tsf=s16p
 
+FATE_ACODEC-FFPROBE-$(call ALLYES, MPEGTS_DEMUXER S302M_DECODER 
DOLBY_E_DECODER) += fate-acodec-ffprobe-s302m-20-dolbye-16
+fate-acodec-ffprobe-s302m-20-dolbye-16: CMD = run ffprobe$(PROGSSUF)$(EXESUF) 
-show_entries stream=codec_name,sample_fmt,sample_rate,channel_layout \
+  -print_format compact -non_pcm_mode decode_copy -i 
$(TARGET_SAMPLES)/s302m/s302_20bits_DolbyE_16bits.ts
+
+FATE_ACODEC-FFPROBE-$(call ALLYES, MPEGTS_DEMUXER S302M_DECODER 
DOLBY_E_DECODER) += fate-acodec-ffprobe-s302m-20-dolbye-20
+fate-acodec-ffprobe-s302m-20-dolbye-20: CMD = run ffprobe$(PROGSSUF)$(EXESUF) 
-show_entries stream=codec_name,sample_fmt,sample_rate,channel_layout \
+  -print_format compact -non_pcm_mode decode_copy -i 
$(TARGET_SAMPLES)/s302m/s302_20bits_DolbyE_20bits.ts
+
+FATE_ACODEC-FFPROBE-$(call ALLYES, MPEGTS_DEMUXER S302M_DECODER 
DOLBY_E_DECODER) += fate-acodec-ffprobe-s302m-24-dolbye-20
+fate-acodec-ffprobe-s302m-24-dolbye-20: CMD = run ffprobe$(PROGSSUF)$(EXESUF) 
-show_entries stream=codec_name,sample_fmt,sample_rate,channel_layout \
+  -print_format compact -non_pcm_mode decode_copy -i 
$(TARGET_SAMPLES)/s302m/s302_24bits_DolbyE_20bits.ts
+
 FATE_ACODEC-$(call ENCDEC, WAVPACK, WV, ARESAMPLE_FILTER) += 
fate-acodec-wavpack
 fate-acodec-wavpack: FMT = wv
 fate-acodec-wavpack: CODEC = wavpack -compression_level 1
@@ -182,6 +194,8 @@ FATE_ACODEC += $(FATE_ACODEC-yes)
 
 $(FATE_ACODEC): tests/data/asynth-44100-2.wav
 
+FATE_SAMPLES_FFPROBE += $(FATE_ACODEC-FFPROBE-yes)
+
 FATE_AVCONV += $(FATE_ACODEC)
 fate-acodec: $(FATE_ACODEC)
 
diff --git a/tests/ref/acodec/ffprobe-s302m-20-dolbye-16 
b/tests/ref/acodec/ffprobe-s302m-20-dolbye-16
new file mode 100644
index 0000000000..57798787f1
--- /dev/null
+++ b/tests/ref/acodec/ffprobe-s302m-20-dolbye-16
@@ -0,0 +1 @@
+stream|codec_name=s302m|sample_fmt=fltp|sample_rate=44800|channel_layout=5.1(side)
diff --git a/tests/ref/acodec/ffprobe-s302m-20-dolbye-20 
b/tests/ref/acodec/ffprobe-s302m-20-dolbye-20
new file mode 100644
index 0000000000..f2b6934fef
--- /dev/null
+++ b/tests/ref/acodec/ffprobe-s302m-20-dolbye-20
@@ -0,0 +1 @@
+stream|codec_name=s302m|sample_fmt=fltp|sample_rate=44800|channel_layout=7.1
diff --git a/tests/ref/acodec/ffprobe-s302m-24-dolbye-20 
b/tests/ref/acodec/ffprobe-s302m-24-dolbye-20
new file mode 100644
index 0000000000..f2b6934fef
--- /dev/null
+++ b/tests/ref/acodec/ffprobe-s302m-24-dolbye-20
@@ -0,0 +1 @@
+stream|codec_name=s302m|sample_fmt=fltp|sample_rate=44800|channel_layout=7.1

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