[FFmpeg-devel] [PATCH] fate: add PMP demuxer test

Paul B Mahol onemda at gmail.com
Mon Nov 5 13:40:47 CET 2012


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 tests/fate/demux.mak     |   3 ++
 tests/ref/fate/pmp-demux | 106 +++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 109 insertions(+)
 create mode 100644 tests/ref/fate/pmp-demux

diff --git a/tests/fate/demux.mak b/tests/fate/demux.mak
index 52fee38..c53fda0 100644
--- a/tests/fate/demux.mak
+++ b/tests/fate/demux.mak
@@ -49,6 +49,9 @@ fate-oma-demux: CMD = crc -i $(SAMPLES)/oma/01-Untitled-partial.oma -acodec copy
 FATE_SAMPLES_DEMUX-$(CONFIG_PAF_DEMUXER) += fate-paf-demux
 fate-paf-demux: CMD = framecrc -i $(SAMPLES)/paf/hod1-partial.paf -vcodec copy -acodec copy
 
+FATE_SAMPLES_DEMUX-$(CONFIG_PMP_DEMUXER) += fate-pmp-demux
+fate-pmp-demux: CMD = framecrc -i $(SAMPLES)/pmp/demo.pmp -vn -c:a copy
+
 FATE_SAMPLES_DEMUX-$(CONFIG_STR_DEMUXER) += fate-psx-str-demux
 fate-psx-str-demux: CMD = framecrc -i $(SAMPLES)/psx-str/descent-partial.str -c copy
 
diff --git a/tests/ref/fate/pmp-demux b/tests/ref/fate/pmp-demux
new file mode 100644
index 0000000..b481db7
--- /dev/null
+++ b/tests/ref/fate/pmp-demux
@@ -0,0 +1,106 @@
+#tb 0: 1/44100
+0,          0,          0,     1152,      417, 0xcb873fba
+0,       1152,       1152,     1152,      104, 0x6d521c5a
+0,       2304,       2304,     1152,      104, 0xb3af1d64
+0,       3456,       3456,     1152,      104, 0xc0f71d86
+0,       4608,       4608,     1152,      104, 0xce3f1da8
+0,       5760,       5760,     1152,      104, 0xdb871dca
+0,       6912,       6912,     1152,      104, 0xe8cf1dec
+0,       8064,       8064,     1152,      104, 0xf6171e0e
+0,       9216,       9216,     1152,      104, 0x036e1e30
+0,      10368,      10368,     1152,      104, 0x3b921ec1
+0,      11520,      11520,     1152,      104, 0x3b921ec1
+0,      12672,      12672,     1152,      104, 0x3b921ec1
+0,      13824,      13824,     1152,      104, 0x3b921ec1
+0,      14976,      14976,     1152,      104, 0x3b921ec1
+0,      16128,      16128,     1152,      104, 0x3b921ec1
+0,      17280,      17280,     1152,      104, 0x3b921ec1
+0,      18432,      18432,     1152,      104, 0x3b921ec1
+0,      19584,      19584,     1152,      104, 0x3b921ec1
+0,      20736,      20736,     1152,      104, 0x3b921ec1
+0,      21888,      21888,     1152,      104, 0x3b921ec1
+0,      23040,      23040,     1152,      104, 0x3b921ec1
+0,      24192,      24192,     1152,      104, 0x3b921ec1
+0,      25344,      25344,     1152,      104, 0x3b921ec1
+0,      26496,      26496,     1152,      104, 0x3b921ec1
+0,      27648,      27648,     1152,      104, 0x3b921ec1
+0,      28800,      28800,     1152,      104, 0x3b921ec1
+0,      29952,      29952,     1152,      104, 0x3b921ec1
+0,      31104,      31104,     1152,      104, 0x3b921ec1
+0,      32256,      32256,     1152,      104, 0x3b921ec1
+0,      33408,      33408,     1152,      104, 0x3b921ec1
+0,      34560,      34560,     1152,      104, 0x3b921ec1
+0,      35712,      35712,     1152,      104, 0x3b921ec1
+0,      36864,      36864,     1152,      104, 0x3b921ec1
+0,      38016,      38016,     1152,      104, 0x3b921ec1
+0,      39168,      39168,     1152,      104, 0x3b921ec1
+0,      40320,      40320,     1152,      104, 0x3b921ec1
+0,      41472,      41472,     1152,      104, 0x3b921ec1
+0,      42624,      42624,     1152,      104, 0x3b921ec1
+0,      43776,      43776,     1152,      104, 0x3b921ec1
+0,      44928,      44928,     1152,      104, 0x3b921ec1
+0,      46080,      46080,     1152,      104, 0x3b921ec1
+0,      47232,      47232,     1152,      104, 0x3b921ec1
+0,      48384,      48384,     1152,      104, 0x3b921ec1
+0,      49536,      49536,     1152,      104, 0x3b921ec1
+0,      50688,      50688,     1152,      104, 0x3b921ec1
+0,      51840,      51840,     1152,      104, 0x3b921ec1
+0,      52992,      52992,     1152,      104, 0x3b921ec1
+0,      54144,      54144,     1152,      104, 0x3b921ec1
+0,      55296,      55296,     1152,      104, 0x3b921ec1
+0,      56448,      56448,     1152,      104, 0x3b921ec1
+0,      57600,      57600,     1152,      104, 0x3b921ec1
+0,      58752,      58752,     1152,      104, 0x3b921ec1
+0,      59904,      59904,     1152,      104, 0x3b921ec1
+0,      61056,      61056,     1152,      104, 0x3b921ec1
+0,      62208,      62208,     1152,      104, 0x3b921ec1
+0,      63360,      63360,     1152,      104, 0x3b921ec1
+0,      64512,      64512,     1152,      104, 0x3b921ec1
+0,      65664,      65664,     1152,      104, 0x3b921ec1
+0,      66816,      66816,     1152,      104, 0x3b921ec1
+0,      67968,      67968,     1152,      104, 0x3b921ec1
+0,      69120,      69120,     1152,      104, 0x3b921ec1
+0,      70272,      70272,     1152,      104, 0x3b921ec1
+0,      71424,      71424,     1152,      104, 0x3b921ec1
+0,      72576,      72576,     1152,      104, 0x3b921ec1
+0,      73728,      73728,     1152,      104, 0x3b921ec1
+0,      74880,      74880,     1152,      104, 0x3b921ec1
+0,      76032,      76032,     1152,      104, 0x3b921ec1
+0,      77184,      77184,     1152,      104, 0x3b921ec1
+0,      78336,      78336,     1152,      104, 0x3b921ec1
+0,      79488,      79488,     1152,      104, 0x3b921ec1
+0,      80640,      80640,     1152,      104, 0x3b921ec1
+0,      81792,      81792,     1152,      104, 0x3b921ec1
+0,      82944,      82944,     1152,      104, 0x3b921ec1
+0,      84096,      84096,     1152,      104, 0x3b921ec1
+0,      85248,      85248,     1152,      104, 0x3b921ec1
+0,      86400,      86400,     1152,      104, 0x3b921ec1
+0,      87552,      87552,     1152,      104, 0xf0211aa6
+0,      88704,      88704,     1152,      104, 0xd34224a5
+0,      89856,      89856,     1152,      104, 0x7b78282c
+0,      91008,      91008,     1152,      104, 0x06e32789
+0,      92160,      92160,     1152,      104, 0x1c502696
+0,      93312,      93312,     1152,      104, 0xd7392a5e
+0,      94464,      94464,     1152,      104, 0xbc1b288e
+0,      95616,      95616,     1152,      104, 0xbbd8261f
+0,      96768,      96768,     1152,      104, 0xebbb2f1c
+0,      97920,      97920,     1152,      104, 0xf55b31cc
+0,      99072,      99072,     1152,      104, 0xbdb930e0
+0,     100224,     100224,     1152,      104, 0x36b72db9
+0,     101376,     101376,     1152,      156, 0xbef24bc7
+0,     102528,     102528,     1152,      261, 0xefec7b06
+0,     103680,     103680,     1152,      208, 0xadcd5f92
+0,     104832,     104832,     1152,      261, 0x7ea9792e
+0,     105984,     105984,     1152,      182, 0xf7ad5524
+0,     107136,     107136,     1152,      208, 0x8f325a0c
+0,     108288,     108288,     1152,      208, 0xe6795cde
+0,     109440,     109440,     1152,      208, 0xd4bc5e11
+0,     110592,     110592,     1152,      208, 0x6762553b
+0,     111744,     111744,     1152,      156, 0x47cc39cc
+0,     112896,     112896,     1152,      130, 0xcdcd2e7b
+0,     114048,     114048,     1152,      261, 0x3864753a
+0,     115200,     115200,     1152,      156, 0xc5d24270
+0,     116352,     116352,     1152,      156, 0x3b664195
+0,     117504,     117504,     1152,      130, 0xa928320e
+0,     118656,     118656,     1152,      156, 0x58e03f10
+0,     119808,     119808,     1152,      261, 0xf0707a4c
-- 
1.7.11.2



More information about the ffmpeg-devel mailing list