Browse Source

fate: Add test for ticket 6024, truncated decoding mode

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.3
Pavel Koshevoy Michael Niedermayer 8 years ago
parent
commit
47cd8effea
2 changed files with 30 additions and 0 deletions
  1. +3
    -0
      tests/fate/video.mak
  2. +27
    -0
      tests/ref/fate/mpeg2-ticket6024

+ 3
- 0
tests/fate/video.mak View File

@@ -239,6 +239,9 @@ FATE_VIDEO-$(call DEMDEC, MPEGTS, MPEG2VIDEO) += fate-mpeg2-field-enc fate-mpeg2
fate-mpeg2-field-enc: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -an -vframes 30
fate-mpeg2-ticket186: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/t.mpg -an

FATE_VIDEO-$(call DEMDEC, MPEGPS, MPEG2VIDEO) += fate-mpeg2-ticket6024
fate-mpeg2-ticket6024: CMD = framecrc -flags +bitexact -idct simple -flags +truncated -i $(TARGET_SAMPLES)/mpeg2/matrixbench_mpeg2.lq1.mpg -an

FATE_VIDEO-$(call DEMDEC, MV, MVC1) += fate-mv-mvc1
fate-mv-mvc1: CMD = framecrc -i $(TARGET_SAMPLES)/mv/posture.mv -an -frames 25 -pix_fmt rgb555le



+ 27
- 0
tests/ref/fate/mpeg2-ticket6024 View File

@@ -0,0 +1,27 @@
#tb 0: 1/25
#media_type 0: video
#codec_id 0: rawvideo
#dimensions 0: 716x236
#sar 0: 1/1
0, 2, 2, 1, 253464, 0xc51a46f9
0, 4, 4, 1, 253464, 0xd0661651
0, 5, 5, 1, 253464, 0x38a213b3
0, 6, 6, 1, 253464, 0x038a5118
0, 7, 7, 1, 253464, 0xebd8de64
0, 8, 8, 1, 253464, 0x0b319ee0
0, 9, 9, 1, 253464, 0x37b03a45
0, 10, 10, 1, 253464, 0x5f9c89ae
0, 11, 11, 1, 253464, 0x88ad9c08
0, 12, 12, 1, 253464, 0x387198bc
0, 13, 13, 1, 253464, 0xf3933eb6
0, 14, 14, 1, 253464, 0x9bd27b98
0, 15, 15, 1, 253464, 0x9442c538
0, 16, 16, 1, 253464, 0x330be2a4
0, 17, 17, 1, 253464, 0xb4b8c1df
0, 18, 18, 1, 253464, 0xc97ded34
0, 19, 19, 1, 253464, 0xcad936e0
0, 20, 20, 1, 253464, 0x11a2850d
0, 21, 21, 1, 253464, 0x2545ad23
0, 22, 22, 1, 253464, 0xa5e17c47
0, 23, 23, 1, 253464, 0x39452689
0, 24, 24, 1, 253464, 0x1daefd72

Loading…
Cancel
Save