aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVitor Sessak <vitor1001@gmail.com>2010-07-10 22:57:19 +0000
committerVitor Sessak <vitor1001@gmail.com>2010-07-10 22:57:19 +0000
commit1d9a8c347a8c2c961516dc5effaf7e77850d2504 (patch)
tree704b494f5b403a41f117131bf586726b34ccfd4c
parentb91d08f4a30e4ec1595fc01c8fff234fffc67cf8 (diff)
downloadffmpeg-1d9a8c347a8c2c961516dc5effaf7e77850d2504.tar.gz
Add MPEG2 field encoding fate2 regtest
Originally committed as revision 24175 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--tests/fate2.mak3
-rw-r--r--tests/ref/fate/mpeg2-field-enc39
2 files changed, 42 insertions, 0 deletions
diff --git a/tests/fate2.mak b/tests/fate2.mak
index e0e68d11c3..ff2d1cc0e4 100644
--- a/tests/fate2.mak
+++ b/tests/fate2.mak
@@ -62,3 +62,6 @@ FATE2_TESTS += fate-ra-cook
fate-ra-cook: CMD = $(TARGET_PATH)/ffmpeg -i $(SAMPLES)/real/ra_cook.rm -f s16le -
fate-ra-cook: CMP = oneoff
fate-ra-cook: REF = $(SAMPLES)/real/ra_cook.pcm
+
+FATE2_TESTS += fate-mpeg2-field-enc
+fate-mpeg2-field-enc: CMD = $(TARGET_PATH)/ffmpeg -flags +bitexact -dct fastint -idct simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -f framecrc -
diff --git a/tests/ref/fate/mpeg2-field-enc b/tests/ref/fate/mpeg2-field-enc
new file mode 100644
index 0000000000..1ea05bd9b7
--- /dev/null
+++ b/tests/ref/fate/mpeg2-field-enc
@@ -0,0 +1,39 @@
+0, 0, 622080, 0xb3b66c5c
+0, 3600, 622080, 0xb3b66c5c
+0, 7200, 622080, 0xb3b66c5c
+0, 10800, 622080, 0xb3b66c5c
+0, 14400, 622080, 0xb3b66c5c
+0, 18000, 622080, 0xb3b66c5c
+0, 21600, 622080, 0xb3b66c5c
+0, 25200, 622080, 0xb3b66c5c
+0, 28800, 622080, 0xb3b66c5c
+0, 32400, 622080, 0x088ec02b
+0, 36000, 622080, 0x7a36db21
+0, 39600, 622080, 0x541b286f
+0, 43200, 622080, 0xb6c3e590
+0, 46800, 622080, 0x39dbed51
+0, 50400, 622080, 0x973dc728
+0, 54000, 622080, 0xd7a4f804
+0, 57600, 622080, 0xa2484762
+0, 61200, 622080, 0x0cd268d1
+0, 64800, 622080, 0x72eb663d
+0, 68400, 622080, 0x8fdbac59
+0, 72000, 622080, 0xa6f4feb9
+0, 75600, 622080, 0xadb828c6
+0, 79200, 622080, 0xea630a63
+0, 82800, 622080, 0xa901d925
+0, 86400, 622080, 0xac5e7087
+0, 90000, 622080, 0x10274a2b
+0, 93600, 622080, 0x143d541c
+0, 97200, 622080, 0xee94c93a
+0, 100800, 622080, 0xca030208
+0, 104400, 622080, 0x26f30ead
+0, 108000, 622080, 0xfc22f32c
+0, 111600, 622080, 0x940a5ff8
+0, 115200, 622080, 0x2164f805
+0, 118800, 622080, 0xa76f5aba
+0, 122400, 622080, 0x8c311471
+0, 126000, 622080, 0xa45e1d95
+0, 129600, 622080, 0x6cc61d6c
+0, 133200, 622080, 0x6983b417
+0, 136800, 622080, 0x982363c0