aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2021-02-14 15:55:57 +0100
committerAnton Khirnov <anton@khirnov.net>2021-02-24 17:16:46 +0100
commit6853bdbdd2123ca2c42d0841bf6bd67fc7ea8150 (patch)
treec19220741b0e467051026060f1062fa621a2affd /tests
parent33025ab9760aa7ea12d9f8d9bc4d31970a8dc5b3 (diff)
downloadffmpeg-6853bdbdd2123ca2c42d0841bf6bd67fc7ea8150.tar.gz
tests: add a test for LSCR
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/video.mak3
-rw-r--r--tests/ref/fate/lscr21
2 files changed, 24 insertions, 0 deletions
diff --git a/tests/fate/video.mak b/tests/fate/video.mak
index a5f3107c38..4b2c4ab665 100644
--- a/tests/fate/video.mak
+++ b/tests/fate/video.mak
@@ -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
index 0000000000..3b3fd4ce50
--- /dev/null
+++ b/tests/ref/fate/lscr
@@ -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