aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPierre-Anthony Lemieux <pal@palemieux.com>2024-06-15 21:47:30 -0700
committerPierre-Anthony Lemieux <pal@palemieux.com>2024-06-24 08:50:59 -0700
commit77ab1c773c6a12e0dd907b52504798bad66792b9 (patch)
tree07c6155611ff76e34ac920e52414808020ff7928 /tests
parent76317e22a6daab2d9adbe2e45db82d402294383f (diff)
downloadffmpeg-77ab1c773c6a12e0dd907b52504798bad66792b9.tar.gz
fate/jpeg2000dec: add support for p0_10.j2k
p0_10.j2k is one of the reference codestreams included in Rec. ITU-T T.803 | ISO/IEC 15444-4. Adding this test was made possible by commit 6f4a95cfb8e6ed97fdd1027251181caded44860f.
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/jpeg2000.mak3
-rw-r--r--tests/ref/fate/jpeg2000dec-p0_106
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/fate/jpeg2000.mak b/tests/fate/jpeg2000.mak
index 2969d2cf0a..a99b0c4e0c 100644
--- a/tests/fate/jpeg2000.mak
+++ b/tests/fate/jpeg2000.mak
@@ -42,6 +42,9 @@ fate-jpeg2000dec-p0_08: CMD = framecrc -flags +bitexact -auto_conversion_filters
FATE_JPEG2000DEC += fate-jpeg2000dec-p0_09
fate-jpeg2000dec-p0_09: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/jpeg2000/itu-iso/codestreams_profile0/p0_09.j2k
+FATE_JPEG2000DEC += fate-jpeg2000dec-p0_10
+fate-jpeg2000dec-p0_10: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/jpeg2000/itu-iso/codestreams_profile0/p0_10.j2k
+
FATE_JPEG2000DEC += fate-jpeg2000dec-p0_11
fate-jpeg2000dec-p0_11: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/jpeg2000/itu-iso/codestreams_profile0/p0_11.j2k
diff --git a/tests/ref/fate/jpeg2000dec-p0_10 b/tests/ref/fate/jpeg2000dec-p0_10
new file mode 100644
index 0000000000..16c4e5e39d
--- /dev/null
+++ b/tests/ref/fate/jpeg2000dec-p0_10
@@ -0,0 +1,6 @@
+#tb 0: 1/25
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 64x64
+#sar 0: 0/1
+0, 0, 0, 1, 12288, 0x68638483