History

fate: Add test for ticket 6024, truncated decoding mode

Pavel Koshevoy committed 9 years ago

Commit 47cd8ef1 parent f9315ea2 files · +30 −0Browse files

Unified · Split

2 files
  1. tests/fate/video.mak +3 −0
  2. tests/ref/fate/mpeg2-ticket6024 +27 −0
tests/fate/video.mak+3−0
@@ -239,6 +239,9 @@ FATE_VIDEO-$(call DEMDEC, MPEGTS, MPEG2VIDEO) += fate-mpeg2-field-enc fate-mpeg2 · 238 unmodified lines
239239 fate-mpeg2-field-enc: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/mpeg2_field_encoding.ts -an -vframes 30
240240 fate-mpeg2-ticket186: CMD = framecrc -flags +bitexact -idct simple -i $(TARGET_SAMPLES)/mpeg2/t.mpg -an
241241
242+FATE_VIDEO-$(call DEMDEC, MPEGPS, MPEG2VIDEO) += fate-mpeg2-ticket6024
243+fate-mpeg2-ticket6024: CMD = framecrc -flags +bitexact -idct simple -flags +truncated -i $(TARGET_SAMPLES)/mpeg2/matrixbench_mpeg2.lq1.mpg -an
244+
242245 FATE_VIDEO-$(call DEMDEC, MV, MVC1) += fate-mv-mvc1
243246 fate-mv-mvc1: CMD = framecrc -i $(TARGET_SAMPLES)/mv/posture.mv -an -frames 25 -pix_fmt rgb555le
244247
tests/ref/fate/mpeg2-ticket6024+27−0
@@ -0,0 +1,27 @@
1+#tb 0: 1/25
2+#media_type 0: video
3+#codec_id 0: rawvideo
4+#dimensions 0: 716x236
5+#sar 0: 1/1
6+0, 2, 2, 1, 253464, 0xc51a46f9
7+0, 4, 4, 1, 253464, 0xd0661651
8+0, 5, 5, 1, 253464, 0x38a213b3
9+0, 6, 6, 1, 253464, 0x038a5118
10+0, 7, 7, 1, 253464, 0xebd8de64
11+0, 8, 8, 1, 253464, 0x0b319ee0
12+0, 9, 9, 1, 253464, 0x37b03a45
13+0, 10, 10, 1, 253464, 0x5f9c89ae
14+0, 11, 11, 1, 253464, 0x88ad9c08
15+0, 12, 12, 1, 253464, 0x387198bc
16+0, 13, 13, 1, 253464, 0xf3933eb6
17+0, 14, 14, 1, 253464, 0x9bd27b98
18+0, 15, 15, 1, 253464, 0x9442c538
19+0, 16, 16, 1, 253464, 0x330be2a4
20+0, 17, 17, 1, 253464, 0xb4b8c1df
21+0, 18, 18, 1, 253464, 0xc97ded34
22+0, 19, 19, 1, 253464, 0xcad936e0
23+0, 20, 20, 1, 253464, 0x11a2850d
24+0, 21, 21, 1, 253464, 0x2545ad23
25+0, 22, 22, 1, 253464, 0xa5e17c47
26+0, 23, 23, 1, 253464, 0x39452689
27+0, 24, 24, 1, 253464, 0x1daefd72

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t