diff mbox series

[FFmpeg-devel] fate: add adpcm_ima_cunning tests

Message ID 20200509135959.385013-1-zane@zanevaniperen.com
State Accepted
Commit 5a5d6e052adc8707d24cc26e66c6bb9d9293b27c
Headers show
Series [FFmpeg-devel] fate: add adpcm_ima_cunning tests
Related show

Checks

Context Check Description
andriy/default pending
andriy/make success Make finished
andriy/make_fate fail Make fate failed

Commit Message

Zane van Iperen May 9, 2020, 2 p.m. UTC
single:               Single-track
track{0,1}:           Dual-track
trunc-t1:             Truncated track 1
trunc-t2-track{0,1}:  Fully-truncated track 2
trunc-t2a-track{0,1}: Partially-truncated track 2
trunc-h2:             Truncated track 2 header

Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
---
 tests/fate/adpcm.mak                          | 27 +++++++++++++++++++
 tests/ref/fate/adpcm-ima-cunning-single       |  1 +
 tests/ref/fate/adpcm-ima-cunning-track0       |  1 +
 tests/ref/fate/adpcm-ima-cunning-track1       |  1 +
 tests/ref/fate/adpcm-ima-cunning-trunc-h2     |  1 +
 tests/ref/fate/adpcm-ima-cunning-trunc-t1     |  1 +
 .../fate/adpcm-ima-cunning-trunc-t2-track0    |  1 +
 .../fate/adpcm-ima-cunning-trunc-t2-track1    |  1 +
 .../fate/adpcm-ima-cunning-trunc-t2a-track0   |  1 +
 .../fate/adpcm-ima-cunning-trunc-t2a-track1   |  1 +
 10 files changed, 36 insertions(+)
 create mode 100644 tests/ref/fate/adpcm-ima-cunning-single
 create mode 100644 tests/ref/fate/adpcm-ima-cunning-track0
 create mode 100644 tests/ref/fate/adpcm-ima-cunning-track1
 create mode 100644 tests/ref/fate/adpcm-ima-cunning-trunc-h2
 create mode 100644 tests/ref/fate/adpcm-ima-cunning-trunc-t1
 create mode 100644 tests/ref/fate/adpcm-ima-cunning-trunc-t2-track0
 create mode 100644 tests/ref/fate/adpcm-ima-cunning-trunc-t2-track1
 create mode 100644 tests/ref/fate/adpcm-ima-cunning-trunc-t2a-track0
 create mode 100644 tests/ref/fate/adpcm-ima-cunning-trunc-t2a-track1

Comments

Zane van Iperen May 11, 2020, 1:52 p.m. UTC | #1
On Sat, 09 May 2020 14:00:04 +0000
"Zane van Iperen" <zane@zanevaniperen.com> wrote:

> 
> single:               Single-track
> track{0,1}:           Dual-track
> trunc-t1:             Truncated track 1
> trunc-t2-track{0,1}:  Fully-truncated track 2
> trunc-t2a-track{0,1}: Partially-truncated track 2
> trunc-h2:             Truncated track 2 header
> 
> Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
> ---
>  tests/fate/adpcm.mak                          | 27
> +++++++++++++++++++ tests/ref/fate/adpcm-ima-cunning-single       |
> 1 + tests/ref/fate/adpcm-ima-cunning-track0       |  1 +
>  tests/ref/fate/adpcm-ima-cunning-track1       |  1 +
>  tests/ref/fate/adpcm-ima-cunning-trunc-h2     |  1 +
>  tests/ref/fate/adpcm-ima-cunning-trunc-t1     |  1 +
>  .../fate/adpcm-ima-cunning-trunc-t2-track0    |  1 +
>  .../fate/adpcm-ima-cunning-trunc-t2-track1    |  1 +
>  .../fate/adpcm-ima-cunning-trunc-t2a-track0   |  1 +
>  .../fate/adpcm-ima-cunning-trunc-t2a-track1   |  1 +
>  10 files changed, 36 insertions(+)
>  create mode 100644 tests/ref/fate/adpcm-ima-cunning-single
>  create mode 100644 tests/ref/fate/adpcm-ima-cunning-track0
>  create mode 100644 tests/ref/fate/adpcm-ima-cunning-track1
>  create mode 100644 tests/ref/fate/adpcm-ima-cunning-trunc-h2
>  create mode 100644 tests/ref/fate/adpcm-ima-cunning-trunc-t1
>  create mode 100644 tests/ref/fate/adpcm-ima-cunning-trunc-t2-track0
>  create mode 100644 tests/ref/fate/adpcm-ima-cunning-trunc-t2-track1
>  create mode 100644 tests/ref/fate/adpcm-ima-cunning-trunc-t2a-track0
>  create mode 100644 tests/ref/fate/adpcm-ima-cunning-trunc-t2a-track1
> 

Ping.

Sample upload request sent several days prior to submission.

Zane
Zane van Iperen May 19, 2020, 11:43 a.m. UTC | #2
On Sat, 09 May 2020 14:00:04 +0000
"Zane van Iperen" <zane@zanevaniperen.com> wrote:

> 
> single:               Single-track
> track{0,1}:           Dual-track
> trunc-t1:             Truncated track 1
> trunc-t2-track{0,1}:  Fully-truncated track 2
> trunc-t2a-track{0,1}: Partially-truncated track 2
> trunc-h2:             Truncated track 2 header
> 
> Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
> ---
>  tests/fate/adpcm.mak                          | 27

Ping, samples are now uploaded.

Zane
Michael Niedermayer May 20, 2020, 1:42 p.m. UTC | #3
On Sat, May 09, 2020 at 02:00:04PM +0000, Zane van Iperen wrote:
> single:               Single-track
> track{0,1}:           Dual-track
> trunc-t1:             Truncated track 1
> trunc-t2-track{0,1}:  Fully-truncated track 2
> trunc-t2a-track{0,1}: Partially-truncated track 2
> trunc-h2:             Truncated track 2 header
> 
> Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
> ---
>  tests/fate/adpcm.mak                          | 27 +++++++++++++++++++
>  tests/ref/fate/adpcm-ima-cunning-single       |  1 +
>  tests/ref/fate/adpcm-ima-cunning-track0       |  1 +
>  tests/ref/fate/adpcm-ima-cunning-track1       |  1 +
>  tests/ref/fate/adpcm-ima-cunning-trunc-h2     |  1 +
>  tests/ref/fate/adpcm-ima-cunning-trunc-t1     |  1 +
>  .../fate/adpcm-ima-cunning-trunc-t2-track0    |  1 +
>  .../fate/adpcm-ima-cunning-trunc-t2-track1    |  1 +
>  .../fate/adpcm-ima-cunning-trunc-t2a-track0   |  1 +
>  .../fate/adpcm-ima-cunning-trunc-t2a-track1   |  1 +
>  10 files changed, 36 insertions(+)
>  create mode 100644 tests/ref/fate/adpcm-ima-cunning-single
>  create mode 100644 tests/ref/fate/adpcm-ima-cunning-track0
>  create mode 100644 tests/ref/fate/adpcm-ima-cunning-track1
>  create mode 100644 tests/ref/fate/adpcm-ima-cunning-trunc-h2
>  create mode 100644 tests/ref/fate/adpcm-ima-cunning-trunc-t1
>  create mode 100644 tests/ref/fate/adpcm-ima-cunning-trunc-t2-track0
>  create mode 100644 tests/ref/fate/adpcm-ima-cunning-trunc-t2-track1
>  create mode 100644 tests/ref/fate/adpcm-ima-cunning-trunc-t2a-track0
>  create mode 100644 tests/ref/fate/adpcm-ima-cunning-trunc-t2a-track1

will apply

thx

[...]
diff mbox series

Patch

diff --git a/tests/fate/adpcm.mak b/tests/fate/adpcm.mak
index 3e6d4ecdd1..bc2804477f 100644
--- a/tests/fate/adpcm.mak
+++ b/tests/fate/adpcm.mak
@@ -112,5 +112,32 @@  fate-adpcm-ima-alp-mono: CMD = md5 -i $(TARGET_SAMPLES)/alp/AD_P11.PCM -f s16le
 FATE_ADPCM-$(call DEMDEC, ALP, ADPCM_IMA_ALP) += fate-adpcm-ima-alp-stereo
 fate-adpcm-ima-alp-stereo: CMD = md5 -i $(TARGET_SAMPLES)/alp/theme-cut.tun -f s16le
 
+FATE_ADPCM-$(call DEMDEC, PP_BNK, ADPCM_IMA_CUNNING) += fate-adpcm-ima-cunning-single
+fate-adpcm-ima-cunning-single: CMD = md5 -y -i $(TARGET_SAMPLES)/pp_bnk/GD-cut.5c -f s16le
+
+FATE_ADPCM-$(call DEMDEC, PP_BNK, ADPCM_IMA_CUNNING) += fate-adpcm-ima-cunning-track0
+fate-adpcm-ima-cunning-track0: CMD = md5 -y -i $(TARGET_SAMPLES)/pp_bnk/VIDEOMOD-cut.11c -map 0:a:0 -f s16le
+
+FATE_ADPCM-$(call DEMDEC, PP_BNK, ADPCM_IMA_CUNNING) += fate-adpcm-ima-cunning-track1
+fate-adpcm-ima-cunning-track1: CMD = md5 -y -i $(TARGET_SAMPLES)/pp_bnk/VIDEOMOD-cut.11c -map 0:a:1 -f s16le
+
+FATE_ADPCM-$(call DEMDEC, PP_BNK, ADPCM_IMA_CUNNING) += fate-adpcm-ima-cunning-trunc-t1
+fate-adpcm-ima-cunning-trunc-t1: CMD = md5 -y -i $(TARGET_SAMPLES)/pp_bnk/VIDEOMOD-trunc-t1.11c -map 0:a:0 -f s16le
+
+FATE_ADPCM-$(call DEMDEC, PP_BNK, ADPCM_IMA_CUNNING) += fate-adpcm-ima-cunning-trunc-t2-track0
+fate-adpcm-ima-cunning-trunc-t2-track0: CMD = md5 -y -i $(TARGET_SAMPLES)/pp_bnk/VIDEOMOD-trunc-t2.11c -map 0:a:0 -f s16le
+
+FATE_ADPCM-$(call DEMDEC, PP_BNK, ADPCM_IMA_CUNNING) += fate-adpcm-ima-cunning-trunc-t2-track1
+fate-adpcm-ima-cunning-trunc-t2-track1: CMD = md5 -y -i $(TARGET_SAMPLES)/pp_bnk/VIDEOMOD-trunc-t2.11c -map 0:a:1 -f s16le
+
+FATE_ADPCM-$(call DEMDEC, PP_BNK, ADPCM_IMA_CUNNING) += fate-adpcm-ima-cunning-trunc-t2a-track0
+fate-adpcm-ima-cunning-trunc-t2a-track0: CMD = md5 -y -i $(TARGET_SAMPLES)/pp_bnk/VIDEOMOD-trunc-t2a.11c -map 0:a:0 -f s16le
+
+FATE_ADPCM-$(call DEMDEC, PP_BNK, ADPCM_IMA_CUNNING) += fate-adpcm-ima-cunning-trunc-t2a-track1
+fate-adpcm-ima-cunning-trunc-t2a-track1: CMD = md5 -y -i $(TARGET_SAMPLES)/pp_bnk/VIDEOMOD-trunc-t2a.11c -map 0:a:1 -f s16le
+
+FATE_ADPCM-$(call DEMDEC, PP_BNK, ADPCM_IMA_CUNNING) += fate-adpcm-ima-cunning-trunc-h2
+fate-adpcm-ima-cunning-trunc-h2: CMD = md5 -y -i $(TARGET_SAMPLES)/pp_bnk/VIDEOMOD-trunc-h2.11c -map 0:a:0 -f s16le
+
 FATE_SAMPLES_AVCONV += $(FATE_ADPCM-yes)
 fate-adpcm: $(FATE_ADPCM-yes)
diff --git a/tests/ref/fate/adpcm-ima-cunning-single b/tests/ref/fate/adpcm-ima-cunning-single
new file mode 100644
index 0000000000..49a8308093
--- /dev/null
+++ b/tests/ref/fate/adpcm-ima-cunning-single
@@ -0,0 +1 @@ 
+dd6ba6151c3e74d09be3c54005465aab
diff --git a/tests/ref/fate/adpcm-ima-cunning-track0 b/tests/ref/fate/adpcm-ima-cunning-track0
new file mode 100644
index 0000000000..bd489cfb45
--- /dev/null
+++ b/tests/ref/fate/adpcm-ima-cunning-track0
@@ -0,0 +1 @@ 
+fb8db1eef33860c1adde4932e7a250ac
diff --git a/tests/ref/fate/adpcm-ima-cunning-track1 b/tests/ref/fate/adpcm-ima-cunning-track1
new file mode 100644
index 0000000000..f79013c9de
--- /dev/null
+++ b/tests/ref/fate/adpcm-ima-cunning-track1
@@ -0,0 +1 @@ 
+4b2f9c416ae676526754c82f2a669c91
diff --git a/tests/ref/fate/adpcm-ima-cunning-trunc-h2 b/tests/ref/fate/adpcm-ima-cunning-trunc-h2
new file mode 100644
index 0000000000..bd489cfb45
--- /dev/null
+++ b/tests/ref/fate/adpcm-ima-cunning-trunc-h2
@@ -0,0 +1 @@ 
+fb8db1eef33860c1adde4932e7a250ac
diff --git a/tests/ref/fate/adpcm-ima-cunning-trunc-t1 b/tests/ref/fate/adpcm-ima-cunning-trunc-t1
new file mode 100644
index 0000000000..4669e38855
--- /dev/null
+++ b/tests/ref/fate/adpcm-ima-cunning-trunc-t1
@@ -0,0 +1 @@ 
+a0eaad31febdcf1cfb94a4d418e1e140
diff --git a/tests/ref/fate/adpcm-ima-cunning-trunc-t2-track0 b/tests/ref/fate/adpcm-ima-cunning-trunc-t2-track0
new file mode 100644
index 0000000000..bd489cfb45
--- /dev/null
+++ b/tests/ref/fate/adpcm-ima-cunning-trunc-t2-track0
@@ -0,0 +1 @@ 
+fb8db1eef33860c1adde4932e7a250ac
diff --git a/tests/ref/fate/adpcm-ima-cunning-trunc-t2-track1 b/tests/ref/fate/adpcm-ima-cunning-trunc-t2-track1
new file mode 100644
index 0000000000..df9edc403d
--- /dev/null
+++ b/tests/ref/fate/adpcm-ima-cunning-trunc-t2-track1
@@ -0,0 +1 @@ 
+d41d8cd98f00b204e9800998ecf8427e
diff --git a/tests/ref/fate/adpcm-ima-cunning-trunc-t2a-track0 b/tests/ref/fate/adpcm-ima-cunning-trunc-t2a-track0
new file mode 100644
index 0000000000..bd489cfb45
--- /dev/null
+++ b/tests/ref/fate/adpcm-ima-cunning-trunc-t2a-track0
@@ -0,0 +1 @@ 
+fb8db1eef33860c1adde4932e7a250ac
diff --git a/tests/ref/fate/adpcm-ima-cunning-trunc-t2a-track1 b/tests/ref/fate/adpcm-ima-cunning-trunc-t2a-track1
new file mode 100644
index 0000000000..77d4b09e62
--- /dev/null
+++ b/tests/ref/fate/adpcm-ima-cunning-trunc-t2a-track1
@@ -0,0 +1 @@ 
+af0d42f01108333ab356061f9cab9403