]> git.sesse.net Git - ffmpeg/commitdiff
tests: add a test for LSCR
authorAnton Khirnov <anton@khirnov.net>
Sun, 14 Feb 2021 14:55:57 +0000 (15:55 +0100)
committerAnton Khirnov <anton@khirnov.net>
Wed, 24 Feb 2021 16:16:46 +0000 (17:16 +0100)
tests/fate/video.mak
tests/ref/fate/lscr [new file with mode: 0644]

index a5f3107c38520b203911d474645259c6bc5baff7..4b2c4ab66506e14df90ba68d27f3f1f1e0dbf929 100644 (file)
@@ -207,6 +207,9 @@ fate-kgv1: CMD = framecrc -i $(TARGET_SAMPLES)/kega/kgv1.avi -pix_fmt rgb555le -
 FATE_VIDEO-$(call DEMDEC, AVI, KMVC) += fate-kmvc
 fate-kmvc: CMD = framecrc -i $(TARGET_SAMPLES)/KMVC/LOGO1.AVI -an -t 3 -pix_fmt rgb24 -vf scale
 
+FATE_VIDEO-$(call DEMDEC, AVI, LSCR) += fate-lscr
+fate-lscr: CMD = framecrc -i $(TARGET_SAMPLES)/lscr/lscr_compr9_short.avi
+
 FATE_MAGICYUV += fate-magicyuv-y4444i \
                  fate-magicyuv-y400i  \
                  fate-magicyuv-y420   \
diff --git a/tests/ref/fate/lscr b/tests/ref/fate/lscr
new file mode 100644 (file)
index 0000000..3b3fd4c
--- /dev/null
@@ -0,0 +1,21 @@
+#tb 0: 100/2397
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 320x240
+#sar 0: 0/1
+0,          0,          0,        1,   230400, 0x07c93bd9
+0,          1,          1,        1,   230400, 0xdcacc274
+0,          2,          2,        1,   230400, 0x6115dc34
+0,          3,          3,        1,   230400, 0x7317f35c
+0,          4,          4,        1,   230400, 0xca18d9a6
+0,          5,          5,        1,   230400, 0x0c104d49
+0,          6,          6,        1,   230400, 0xc4c415cf
+0,          7,          7,        1,   230400, 0xd1e4149f
+0,          8,          8,        1,   230400, 0x5973ae25
+0,          9,          9,        1,   230400, 0xd77893e6
+0,         10,         10,        1,   230400, 0x7f9cac97
+0,         11,         11,        1,   230400, 0xc8f81940
+0,         12,         12,        1,   230400, 0xa2b6f5d4
+0,         13,         13,        1,   230400, 0x620c3222
+0,         14,         14,        1,   230400, 0x60d097a0
+0,         15,         15,        1,   230400, 0x47201c65