[FFmpeg-devel] [PATCH] fate: increase pcm coverage
Paul B Mahol
onemda at gmail.com
Tue Nov 20 19:42:53 CET 2012
Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
tests/fate/acodec.mak | 14 ++++++++++++++
tests/ref/fate/acodec-pcm-s16be_planar | 4 ++++
tests/ref/fate/acodec-pcm-s16le_planar | 4 ++++
tests/ref/fate/acodec-pcm-s24le_planar | 4 ++++
tests/ref/fate/acodec-pcm-s32le_planar | 4 ++++
tests/ref/fate/acodec-pcm-s8_planar | 4 ++++
tests/ref/fate/acodec-pcm-u16be | 4 ++++
tests/ref/fate/acodec-pcm-u16le | 4 ++++
tests/ref/fate/acodec-pcm-u24be | 4 ++++
tests/ref/fate/acodec-pcm-u24le | 4 ++++
tests/ref/fate/acodec-pcm-u32be | 4 ++++
tests/ref/fate/acodec-pcm-u32le | 4 ++++
12 files changed, 58 insertions(+)
create mode 100644 tests/ref/fate/acodec-pcm-s16be_planar
create mode 100644 tests/ref/fate/acodec-pcm-s16le_planar
create mode 100644 tests/ref/fate/acodec-pcm-s24le_planar
create mode 100644 tests/ref/fate/acodec-pcm-s32le_planar
create mode 100644 tests/ref/fate/acodec-pcm-s8_planar
create mode 100644 tests/ref/fate/acodec-pcm-u16be
create mode 100644 tests/ref/fate/acodec-pcm-u16le
create mode 100644 tests/ref/fate/acodec-pcm-u24be
create mode 100644 tests/ref/fate/acodec-pcm-u24le
create mode 100644 tests/ref/fate/acodec-pcm-u32be
create mode 100644 tests/ref/fate/acodec-pcm-u32le
diff --git a/tests/fate/acodec.mak b/tests/fate/acodec.mak
index f1c9f37..5397d1a 100644
--- a/tests/fate/acodec.mak
+++ b/tests/fate/acodec.mak
@@ -9,24 +9,38 @@ FATE_ACODEC_PCM-$(call ENCDEC, PCM_S8, MOV) += s8
FATE_ACODEC_PCM-$(call ENCDEC, PCM_U8, WAV) += u8
FATE_ACODEC_PCM-$(call ENCDEC, PCM_S16BE, MOV) += s16be
FATE_ACODEC_PCM-$(call ENCDEC, PCM_S16LE, WAV) += s16le
+FATE_ACODEC_PCM-$(call ENCDEC, PCM_U16BE, NUT) += u16be
+FATE_ACODEC_PCM-$(call ENCDEC, PCM_U16LE, NUT) += u16le
FATE_ACODEC_PCM-$(call ENCDEC, PCM_S24BE, MOV) += s24be
FATE_ACODEC_PCM-$(call ENCDEC, PCM_S24LE, WAV) += s24le
+FATE_ACODEC_PCM-$(call ENCDEC, PCM_U24BE, NUT) += u24be
+FATE_ACODEC_PCM-$(call ENCDEC, PCM_U24LE, NUT) += u24le
FATE_ACODEC_PCM-$(call ENCDEC, PCM_S32BE, MOV) += s32be
FATE_ACODEC_PCM-$(call ENCDEC, PCM_S32LE, WAV) += s32le
+FATE_ACODEC_PCM-$(call ENCDEC, PCM_U32BE, NUT) += u32be
+FATE_ACODEC_PCM-$(call ENCDEC, PCM_U32LE, NUT) += u32le
FATE_ACODEC_PCM-$(call ENCDEC, PCM_F32BE, AU) += f32be
FATE_ACODEC_PCM-$(call ENCDEC, PCM_F32LE, WAV) += f32le
FATE_ACODEC_PCM-$(call ENCDEC, PCM_F64BE, AU) += f64be
FATE_ACODEC_PCM-$(call ENCDEC, PCM_F64LE, WAV) += f64le
+FATE_ACODEC_PCM-$(call ENCDEC, PCM_S8_PLANAR, NUT) += s8_planar
+FATE_ACODEC_PCM-$(call ENCDEC, PCM_S16BE_PLANAR, NUT) += s16be_planar
+FATE_ACODEC_PCM-$(call ENCDEC, PCM_S16LE_PLANAR, NUT) += s16le_planar
+FATE_ACODEC_PCM-$(call ENCDEC, PCM_S24LE_PLANAR, NUT) += s24le_planar
+FATE_ACODEC_PCM-$(call ENCDEC, PCM_S32LE_PLANAR, NUT) += s32le_planar
FATE_ACODEC_PCM := $(FATE_ACODEC_PCM-yes:%=fate-acodec-pcm-%)
FATE_ACODEC += $(FATE_ACODEC_PCM)
fate-acodec-pcm: $(FATE_ACODEC_PCM)
fate-acodec-pcm-%: FMT = wav
+fate-acodec-pcm-%_planar: FMT = nut
fate-acodec-pcm-%: CODEC = pcm_$(@:fate-acodec-pcm-%=%)
fate-acodec-pcm-s8: FMT = mov
fate-acodec-pcm-s%be: FMT = mov
+fate-acodec-pcm-u%be: FMT = nut
+fate-acodec-pcm-u%le: FMT = nut
fate-acodec-pcm-f%be: FMT = au
FATE_ACODEC_ADPCM-$(call ENCDEC, ADPCM_ADX, ADX) += adx
diff --git a/tests/ref/fate/acodec-pcm-s16be_planar b/tests/ref/fate/acodec-pcm-s16be_planar
new file mode 100644
index 0000000..8116480
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-s16be_planar
@@ -0,0 +1,4 @@
+cd87e6fc3bddb85c945c050d8c3fba11 *tests/data/fate/acodec-pcm-s16be_planar.nut
+1060673 tests/data/fate/acodec-pcm-s16be_planar.nut
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s16be_planar.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-s16le_planar b/tests/ref/fate/acodec-pcm-s16le_planar
new file mode 100644
index 0000000..c933001
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-s16le_planar
@@ -0,0 +1,4 @@
+74af9a0ae4f68451102a2f7524b2d55f *tests/data/fate/acodec-pcm-s16le_planar.nut
+1060673 tests/data/fate/acodec-pcm-s16le_planar.nut
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s16le_planar.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-s24le_planar b/tests/ref/fate/acodec-pcm-s24le_planar
new file mode 100644
index 0000000..14d4cec
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-s24le_planar
@@ -0,0 +1,4 @@
+83e315ce8083a6d035f801bb862942bf *tests/data/fate/acodec-pcm-s24le_planar.nut
+1590202 tests/data/fate/acodec-pcm-s24le_planar.nut
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s24le_planar.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-s32le_planar b/tests/ref/fate/acodec-pcm-s32le_planar
new file mode 100644
index 0000000..7648766
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-s32le_planar
@@ -0,0 +1,4 @@
+f6199b2c698bd5dd1438b53431357bec *tests/data/fate/acodec-pcm-s32le_planar.nut
+2120148 tests/data/fate/acodec-pcm-s32le_planar.nut
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-s32le_planar.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-s8_planar b/tests/ref/fate/acodec-pcm-s8_planar
new file mode 100644
index 0000000..6ab6ee0
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-s8_planar
@@ -0,0 +1,4 @@
+ce99d95295ade9945849ef7c1de8c4ca *tests/data/fate/acodec-pcm-s8_planar.nut
+531054 tests/data/fate/acodec-pcm-s8_planar.nut
+651d4eb8d98dfcdda96ae6c43d8f156b *tests/data/fate/acodec-pcm-s8_planar.out.wav
+stddev: 147.89 PSNR: 52.93 MAXDIFF: 255 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-u16be b/tests/ref/fate/acodec-pcm-u16be
new file mode 100644
index 0000000..0214975
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-u16be
@@ -0,0 +1,4 @@
+eab6206a2cec3c5a3be47fdaa826faff *tests/data/fate/acodec-pcm-u16be.nut
+1060673 tests/data/fate/acodec-pcm-u16be.nut
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-u16be.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-u16le b/tests/ref/fate/acodec-pcm-u16le
new file mode 100644
index 0000000..e45fe08
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-u16le
@@ -0,0 +1,4 @@
+8fceb284cc6a5a114b6ce7a10fd08020 *tests/data/fate/acodec-pcm-u16le.nut
+1060673 tests/data/fate/acodec-pcm-u16le.nut
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-u16le.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-u24be b/tests/ref/fate/acodec-pcm-u24be
new file mode 100644
index 0000000..ddab6e8
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-u24be
@@ -0,0 +1,4 @@
+d1a55f46c88ed1efa77d05b60259675d *tests/data/fate/acodec-pcm-u24be.nut
+1590202 tests/data/fate/acodec-pcm-u24be.nut
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-u24be.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-u24le b/tests/ref/fate/acodec-pcm-u24le
new file mode 100644
index 0000000..df06ca4
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-u24le
@@ -0,0 +1,4 @@
+6d7df9b7e074548cf18dd16365862f1b *tests/data/fate/acodec-pcm-u24le.nut
+1590202 tests/data/fate/acodec-pcm-u24le.nut
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-u24le.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-u32be b/tests/ref/fate/acodec-pcm-u32be
new file mode 100644
index 0000000..6a53919
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-u32be
@@ -0,0 +1,4 @@
+7078e6d7e80247b8531d5cc16d09f385 *tests/data/fate/acodec-pcm-u32be.nut
+2120148 tests/data/fate/acodec-pcm-u32be.nut
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-u32be.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
diff --git a/tests/ref/fate/acodec-pcm-u32le b/tests/ref/fate/acodec-pcm-u32le
new file mode 100644
index 0000000..18a5d15
--- /dev/null
+++ b/tests/ref/fate/acodec-pcm-u32le
@@ -0,0 +1,4 @@
+34df9a7e1fe60da0bc6ec0485b68726e *tests/data/fate/acodec-pcm-u32le.nut
+2120148 tests/data/fate/acodec-pcm-u32le.nut
+64151e4bcc2b717aa5a8454d424d6a1f *tests/data/fate/acodec-pcm-u32le.out.wav
+stddev: 0.00 PSNR:999.99 MAXDIFF: 0 bytes: 1058400/ 1058400
--
1.7.11.4
More information about the ffmpeg-devel
mailing list