Browse Source

tests/fate/lossless-video: Add test for ticket4119

The reference file is very small, and there was no previous test for the -vsync values

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
tags/n3.1
Michael Niedermayer 10 years ago
parent
commit
a11258b732
6 changed files with 98 additions and 0 deletions
  1. +7
    -0
      tests/fate/lossless-video.mak
  2. +4
    -0
      tests/ref/fate/lagarith-ticket4119
  3. +75
    -0
      tests/ref/fate/lagarith-ticket4119-cfr
  4. +4
    -0
      tests/ref/fate/lagarith-ticket4119-drop
  5. +4
    -0
      tests/ref/fate/lagarith-ticket4119-pass
  6. +4
    -0
      tests/ref/fate/lagarith-ticket4119-vfr

+ 7
- 0
tests/fate/lossless-video.mak View File

@@ -25,6 +25,13 @@ fate-lagarith-yv12: CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lag-yv12.avi
FATE_LAGARITH += fate-lagarith-red
fate-lagarith-red: CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lagarith-red.avi

FATE_LAGARITH += fate-lagarith-ticket4119 fate-lagarith-ticket4119-cfr fate-lagarith-ticket4119-vfr fate-lagarith-ticket4119-pass fate-lagarith-ticket4119-drop
fate-lagarith-ticket4119: CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lagarith-1.3.27-black-frames-and-off-by-ones.avi
fate-lagarith-ticket4119-cfr : CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lagarith-1.3.27-black-frames-and-off-by-ones.avi -vsync cfr
fate-lagarith-ticket4119-vfr : CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lagarith-1.3.27-black-frames-and-off-by-ones.avi -vsync vfr
fate-lagarith-ticket4119-pass: CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lagarith-1.3.27-black-frames-and-off-by-ones.avi -vsync passthrough
fate-lagarith-ticket4119-drop: CMD = framecrc -i $(TARGET_SAMPLES)/lagarith/lagarith-1.3.27-black-frames-and-off-by-ones.avi -vsync drop

FATE_LOSSLESS_VIDEO-$(call DEMDEC, AVI, LAGARITH) += $(FATE_LAGARITH)
fate-lagarith: $(FATE_LAGARITH)



+ 4
- 0
tests/ref/fate/lagarith-ticket4119 View File

@@ -0,0 +1,4 @@
#tb 0: 1/25
0, 0, 0, 1, 691200, 0x00000000
0, 25, 25, 1, 691200, 0xc88a6f24
0, 50, 50, 1, 691200, 0x906d474c

+ 75
- 0
tests/ref/fate/lagarith-ticket4119-cfr View File

@@ -0,0 +1,75 @@
#tb 0: 1/25
0, 0, 0, 1, 691200, 0x00000000
0, 1, 1, 1, 691200, 0x00000000
0, 2, 2, 1, 691200, 0x00000000
0, 3, 3, 1, 691200, 0x00000000
0, 4, 4, 1, 691200, 0x00000000
0, 5, 5, 1, 691200, 0x00000000
0, 6, 6, 1, 691200, 0x00000000
0, 7, 7, 1, 691200, 0x00000000
0, 8, 8, 1, 691200, 0x00000000
0, 9, 9, 1, 691200, 0x00000000
0, 10, 10, 1, 691200, 0x00000000
0, 11, 11, 1, 691200, 0x00000000
0, 12, 12, 1, 691200, 0x00000000
0, 13, 13, 1, 691200, 0x00000000
0, 14, 14, 1, 691200, 0x00000000
0, 15, 15, 1, 691200, 0x00000000
0, 16, 16, 1, 691200, 0x00000000
0, 17, 17, 1, 691200, 0x00000000
0, 18, 18, 1, 691200, 0x00000000
0, 19, 19, 1, 691200, 0x00000000
0, 20, 20, 1, 691200, 0x00000000
0, 21, 21, 1, 691200, 0x00000000
0, 22, 22, 1, 691200, 0x00000000
0, 23, 23, 1, 691200, 0x00000000
0, 24, 24, 1, 691200, 0xc88a6f24
0, 25, 25, 1, 691200, 0xc88a6f24
0, 26, 26, 1, 691200, 0xc88a6f24
0, 27, 27, 1, 691200, 0xc88a6f24
0, 28, 28, 1, 691200, 0xc88a6f24
0, 29, 29, 1, 691200, 0xc88a6f24
0, 30, 30, 1, 691200, 0xc88a6f24
0, 31, 31, 1, 691200, 0xc88a6f24
0, 32, 32, 1, 691200, 0xc88a6f24
0, 33, 33, 1, 691200, 0xc88a6f24
0, 34, 34, 1, 691200, 0xc88a6f24
0, 35, 35, 1, 691200, 0xc88a6f24
0, 36, 36, 1, 691200, 0xc88a6f24
0, 37, 37, 1, 691200, 0xc88a6f24
0, 38, 38, 1, 691200, 0xc88a6f24
0, 39, 39, 1, 691200, 0xc88a6f24
0, 40, 40, 1, 691200, 0xc88a6f24
0, 41, 41, 1, 691200, 0xc88a6f24
0, 42, 42, 1, 691200, 0xc88a6f24
0, 43, 43, 1, 691200, 0xc88a6f24
0, 44, 44, 1, 691200, 0xc88a6f24
0, 45, 45, 1, 691200, 0xc88a6f24
0, 46, 46, 1, 691200, 0xc88a6f24
0, 47, 47, 1, 691200, 0xc88a6f24
0, 48, 48, 1, 691200, 0xc88a6f24
0, 49, 49, 1, 691200, 0x906d474c
0, 50, 50, 1, 691200, 0x906d474c
0, 51, 51, 1, 691200, 0x906d474c
0, 52, 52, 1, 691200, 0x906d474c
0, 53, 53, 1, 691200, 0x906d474c
0, 54, 54, 1, 691200, 0x906d474c
0, 55, 55, 1, 691200, 0x906d474c
0, 56, 56, 1, 691200, 0x906d474c
0, 57, 57, 1, 691200, 0x906d474c
0, 58, 58, 1, 691200, 0x906d474c
0, 59, 59, 1, 691200, 0x906d474c
0, 60, 60, 1, 691200, 0x906d474c
0, 61, 61, 1, 691200, 0x906d474c
0, 62, 62, 1, 691200, 0x906d474c
0, 63, 63, 1, 691200, 0x906d474c
0, 64, 64, 1, 691200, 0x906d474c
0, 65, 65, 1, 691200, 0x906d474c
0, 66, 66, 1, 691200, 0x906d474c
0, 67, 67, 1, 691200, 0x906d474c
0, 68, 68, 1, 691200, 0x906d474c
0, 69, 69, 1, 691200, 0x906d474c
0, 70, 70, 1, 691200, 0x906d474c
0, 71, 71, 1, 691200, 0x906d474c
0, 72, 72, 1, 691200, 0x906d474c
0, 73, 73, 1, 691200, 0x906d474c

+ 4
- 0
tests/ref/fate/lagarith-ticket4119-drop View File

@@ -0,0 +1,4 @@
#tb 0: 1/25
0, 0, 0, 1, 691200, 0x00000000
0, 1, 1, 1, 691200, 0xc88a6f24
0, 2, 2, 1, 691200, 0x906d474c

+ 4
- 0
tests/ref/fate/lagarith-ticket4119-pass View File

@@ -0,0 +1,4 @@
#tb 0: 1/25
0, 0, 0, 1, 691200, 0x00000000
0, 25, 25, 1, 691200, 0xc88a6f24
0, 50, 50, 1, 691200, 0x906d474c

+ 4
- 0
tests/ref/fate/lagarith-ticket4119-vfr View File

@@ -0,0 +1,4 @@
#tb 0: 1/25
0, 0, 0, 1, 691200, 0x00000000
0, 25, 25, 1, 691200, 0xc88a6f24
0, 50, 50, 1, 691200, 0x906d474c

Loading…
Cancel
Save