1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

Merge commit '6dfd99c93808d6504dd5cb1fad847d68cb179352'

* commit '6dfd99c93808d6504dd5cb1fad847d68cb179352':
  fate: add tests for SGI RLE and MVC1&2 decoders

Conflicts:
	tests/fate/video.mak

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-04-19 20:40:02 +02:00
commit 75ef907db8
4 changed files with 98 additions and 0 deletions

View File

@ -189,6 +189,15 @@ fate-motionpixels: CMD = framecrc -i $(TARGET_SAMPLES)/motion-pixels/INTRO-parti
FATE_VIDEO-$(call DEMDEC, MPEGTS, MPEG2VIDEO) += fate-mpeg2-field-enc
fate-mpeg2-field-enc: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -an -vframes 30
FATE_VIDEO-$(call DEMDEC, MV, MVC1) += fate-mv-mvc1
fate-mv-mvc1: CMD = framecrc -i $(TARGET_SAMPLES)/mv/posture.mv -an -frames 25
FATE_VIDEO-$(call DEMDEC, MV, MVC2) += fate-mv-mvc2
fate-mv-mvc2: CMD = framecrc -i $(TARGET_SAMPLES)/mv/12345.mv -an -frames 30
FATE_VIDEO-$(call DEMDEC, MV, SGIRLE) += fate-mv-sgirle
fate-mv-sgirle: CMD = framecrc -i $(TARGET_SAMPLES)/mv/pet-rle.movie -an
FATE_VIDEO-$(call DEMDEC, MXG, MXPEG) += fate-mxpeg
fate-mxpeg: CMD = framecrc -idct simple -flags +bitexact -i $(TARGET_SAMPLES)/mxpeg/m1.mxg -an

26
tests/ref/fate/mv-mvc1 Normal file
View File

@ -0,0 +1,26 @@
#tb 0: 1/10
0, 0, 0, 1, 221184, 0x340ab080
0, 1, 1, 1, 221184, 0xc21105a0
0, 2, 2, 1, 221184, 0xa7482ab3
0, 3, 3, 1, 221184, 0x67b0402b
0, 4, 4, 1, 221184, 0xa0b9632a
0, 5, 5, 1, 221184, 0x54e6af93
0, 6, 6, 1, 221184, 0x90b3f085
0, 7, 7, 1, 221184, 0x7aea8672
0, 8, 8, 1, 221184, 0xbf01a23a
0, 9, 9, 1, 221184, 0x1dc692cc
0, 10, 10, 1, 221184, 0xd16bcc43
0, 11, 11, 1, 221184, 0x103b8c41
0, 12, 12, 1, 221184, 0xc2c964b6
0, 13, 13, 1, 221184, 0x2837fbec
0, 14, 14, 1, 221184, 0x16de6390
0, 15, 15, 1, 221184, 0xbaf0fd33
0, 16, 16, 1, 221184, 0x7b05cca6
0, 17, 17, 1, 221184, 0x5b0ae526
0, 18, 18, 1, 221184, 0xd786f4e2
0, 19, 19, 1, 221184, 0x21b88d75
0, 20, 20, 1, 221184, 0xe41e6297
0, 21, 21, 1, 221184, 0xd075f578
0, 22, 22, 1, 221184, 0x1eaffc99
0, 23, 23, 1, 221184, 0xcbd44422
0, 24, 24, 1, 221184, 0x0e377c8a

31
tests/ref/fate/mv-mvc2 Normal file
View File

@ -0,0 +1,31 @@
#tb 0: 1/60
0, 0, 0, 1, 126336, 0xb50e8bb0
0, 1, 1, 1, 126336, 0xdc260cfa
0, 2, 2, 1, 126336, 0x2762f0d9
0, 3, 3, 1, 126336, 0xec87d823
0, 4, 4, 1, 126336, 0x1b28b47b
0, 5, 5, 1, 126336, 0x65508be0
0, 6, 6, 1, 126336, 0x175565f0
0, 7, 7, 1, 126336, 0x483f5138
0, 8, 8, 1, 126336, 0xaacd2a7c
0, 9, 9, 1, 126336, 0x170c09f5
0, 10, 10, 1, 126336, 0x27c0e945
0, 11, 11, 1, 126336, 0x5555d3fd
0, 12, 12, 1, 126336, 0x7749ad6a
0, 13, 13, 1, 126336, 0xee3096de
0, 14, 14, 1, 126336, 0xe2b27655
0, 15, 15, 1, 126336, 0x580556e5
0, 16, 16, 1, 126336, 0x6f912baa
0, 17, 17, 1, 126336, 0xb57e0b94
0, 18, 18, 1, 126336, 0x2032e017
0, 19, 19, 1, 126336, 0xe08da60f
0, 20, 20, 1, 126336, 0xb8419e26
0, 21, 21, 1, 126336, 0xaf58b9d1
0, 22, 22, 1, 126336, 0x3d88e5ba
0, 23, 23, 1, 126336, 0x83d30a85
0, 24, 24, 1, 126336, 0x8f2c27af
0, 25, 25, 1, 126336, 0x296c3a7e
0, 26, 26, 1, 126336, 0xf6d458ac
0, 27, 27, 1, 126336, 0x2e2172aa
0, 28, 28, 1, 126336, 0x611c8b2f
0, 29, 29, 1, 126336, 0x64b2c607

32
tests/ref/fate/mv-sgirle Normal file
View File

@ -0,0 +1,32 @@
#tb 0: 1/4
0, 0, 0, 1, 187500, 0xf2c26a39
0, 1, 1, 1, 187500, 0xf65e6ea5
0, 2, 2, 1, 187500, 0x804f78d0
0, 3, 3, 1, 187500, 0x47a69f58
0, 4, 4, 1, 187500, 0x7286207c
0, 5, 5, 1, 187500, 0x8e4111fc
0, 6, 6, 1, 187500, 0x8e2af3ba
0, 7, 7, 1, 187500, 0xdae8b4e3
0, 8, 8, 1, 187500, 0x43178cdd
0, 9, 9, 1, 187500, 0xcecdf216
0, 10, 10, 1, 187500, 0x31a4c772
0, 11, 11, 1, 187500, 0x7e09b58d
0, 12, 12, 1, 187500, 0x92e9a999
0, 13, 13, 1, 187500, 0x4fdc7c43
0, 14, 14, 1, 187500, 0xf03945bd
0, 15, 15, 1, 187500, 0xb87d0fa8
0, 16, 16, 1, 187500, 0xf85a99ac
0, 17, 17, 1, 187500, 0x08bb0d34
0, 18, 18, 1, 187500, 0x82216d03
0, 19, 19, 1, 187500, 0xc4ce0a7b
0, 20, 20, 1, 187500, 0x099863c2
0, 21, 21, 1, 187500, 0xc5e44d02
0, 22, 22, 1, 187500, 0x2fa8c68a
0, 23, 23, 1, 187500, 0x8ee13c76
0, 24, 24, 1, 187500, 0xbd6f9e6a
0, 25, 25, 1, 187500, 0x8017e354
0, 26, 26, 1, 187500, 0x6d471686
0, 27, 27, 1, 187500, 0xfb675046
0, 28, 28, 1, 187500, 0x8c6b8e59
0, 29, 29, 1, 187500, 0x421bb7a6
0, 30, 30, 1, 187500, 0x09bb7932