mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
fate: add tests for lagarith lossless video codec.
Based on patch by Oana Stratulat <oanaandreeastratulat@gmail.com>.
This commit is contained in:
parent
e6cd698955
commit
c5d5d17880
@ -1,3 +1,18 @@
|
|||||||
|
FATE_LAGARITH += fate-lagarith-rgb24
|
||||||
|
fate-lagarith-rgb24: CMD = framecrc -i $(SAMPLES)/lagarith/lag-rgb24.avi
|
||||||
|
|
||||||
|
FATE_LAGARITH += fate-lagarith-rgb32
|
||||||
|
fate-lagarith-rgb32: CMD = framecrc -i $(SAMPLES)/lagarith/lag-rgb32.avi
|
||||||
|
|
||||||
|
FATE_LAGARITH += fate-lagarith-yuy2
|
||||||
|
fate-lagarith-yuy2: CMD = framecrc -i $(SAMPLES)/lagarith/lag-yuy2.avi
|
||||||
|
|
||||||
|
FATE_LAGARITH += fate-lagarith-yv12
|
||||||
|
fate-lagarith-yv12: CMD = framecrc -i $(SAMPLES)/lagarith/lag-yv12.avi
|
||||||
|
|
||||||
|
FATE_SAMPLES_AVCONV += $(FATE_LAGARITH)
|
||||||
|
fate-lagarith: $(FATE_LAGARITH)
|
||||||
|
|
||||||
FATE_LOCO += fate-loco-rgb
|
FATE_LOCO += fate-loco-rgb
|
||||||
fate-loco-rgb: CMD = framecrc -i $(SAMPLES)/loco/pig-loco-rgb.avi
|
fate-loco-rgb: CMD = framecrc -i $(SAMPLES)/loco/pig-loco-rgb.avi
|
||||||
|
|
||||||
|
5
tests/ref/fate/lagarith-rgb24
Normal file
5
tests/ref/fate/lagarith-rgb24
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#tb 0: 100/2997
|
||||||
|
0, 0, 0, 1, 368640, 0x26f74db2
|
||||||
|
0, 1, 1, 1, 368640, 0x63b29ea4
|
||||||
|
0, 2, 2, 1, 368640, 0x19467f03
|
||||||
|
0, 3, 3, 1, 368640, 0x5fdc3575
|
26
tests/ref/fate/lagarith-rgb32
Normal file
26
tests/ref/fate/lagarith-rgb32
Normal file
@ -0,0 +1,26 @@
|
|||||||
|
#tb 0: 1001/24000
|
||||||
|
0, 0, 0, 1, 1382400, 0x00000000
|
||||||
|
0, 1, 1, 1, 1382400, 0x00000000
|
||||||
|
0, 2, 2, 1, 1382400, 0x00000000
|
||||||
|
0, 3, 3, 1, 1382400, 0x00000000
|
||||||
|
0, 4, 4, 1, 1382400, 0x00000000
|
||||||
|
0, 5, 5, 1, 1382400, 0xf95bde46
|
||||||
|
0, 6, 6, 1, 1382400, 0x4f4c0393
|
||||||
|
0, 7, 7, 1, 1382400, 0xe5aa40db
|
||||||
|
0, 8, 8, 1, 1382400, 0xc25a8ba2
|
||||||
|
0, 9, 9, 1, 1382400, 0x9db3150d
|
||||||
|
0, 10, 10, 1, 1382400, 0x730e64b3
|
||||||
|
0, 11, 11, 1, 1382400, 0xf8fd7edf
|
||||||
|
0, 12, 12, 1, 1382400, 0x0114798a
|
||||||
|
0, 13, 13, 1, 1382400, 0x7571210f
|
||||||
|
0, 14, 14, 1, 1382400, 0x552ae59d
|
||||||
|
0, 15, 15, 1, 1382400, 0x7ae0c946
|
||||||
|
0, 16, 16, 1, 1382400, 0x0818c3ef
|
||||||
|
0, 17, 17, 1, 1382400, 0x8257cac4
|
||||||
|
0, 18, 18, 1, 1382400, 0x7762a979
|
||||||
|
0, 19, 19, 1, 1382400, 0x282af57a
|
||||||
|
0, 20, 20, 1, 1382400, 0x3f42de50
|
||||||
|
0, 21, 21, 1, 1382400, 0xc42d5f93
|
||||||
|
0, 22, 22, 1, 1382400, 0x18775c90
|
||||||
|
0, 23, 23, 1, 1382400, 0x34befa90
|
||||||
|
0, 24, 24, 1, 1382400, 0xd33d5f53
|
2
tests/ref/fate/lagarith-yuy2
Normal file
2
tests/ref/fate/lagarith-yuy2
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
#tb 0: 1/10
|
||||||
|
0, 0, 0, 1, 1572864, 0xeed76a7d
|
3
tests/ref/fate/lagarith-yv12
Normal file
3
tests/ref/fate/lagarith-yv12
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
#tb 0: 1/60
|
||||||
|
0, 0, 0, 1, 92160, 0x1dfdf5c1
|
||||||
|
0, 1, 1, 1, 92160, 0x6965884f
|
Loading…
Reference in New Issue
Block a user