diff --git a/Tests/LibGfx/TestImageDecoder.cpp b/Tests/LibGfx/TestImageDecoder.cpp index 49dd5e60186aa8..a7b4bdef255fa5 100644 --- a/Tests/LibGfx/TestImageDecoder.cpp +++ b/Tests/LibGfx/TestImageDecoder.cpp @@ -786,6 +786,13 @@ TEST_CASE(test_jpeg2000_decode_greyscale) TEST_CASE(test_jpeg2000_decode_unsupported) { Array test_inputs = { + TEST_INPUT("jpeg2000/jasper-rgba-u8-cbstyle-01-bypass.jp2"sv), + TEST_INPUT("jpeg2000/jasper-rgba-u8-cbstyle-02-resetprob.jp2"sv), + TEST_INPUT("jpeg2000/jasper-rgba-u8-cbstyle-04-termall.jp2"sv), + TEST_INPUT("jpeg2000/jasper-rgba-u8-cbstyle-08-vcausal.jp2"sv), + TEST_INPUT("jpeg2000/jasper-rgba-u8-cbstyle-16-pterm.jp2"sv), + TEST_INPUT("jpeg2000/jasper-rgba-u8-cbstyle-32-segsym.jp2"sv), + TEST_INPUT("jpeg2000/jasper-rgba-u8-cbstyle-63-all.jp2"sv), TEST_INPUT("jpeg2000/kakadu-lossless-cmyk-u8-prog1-layers1-res6.jp2"sv), TEST_INPUT("jpeg2000/kakadu-lossless-cmyka-u8-prog1-layers1-res6.jp2"sv), TEST_INPUT("jpeg2000/kakadu-lossless-rgba-u16-prog1-layers1-res6.jp2"sv), diff --git a/Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-01-bypass.jp2 b/Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-01-bypass.jp2 new file mode 100644 index 00000000000000..d9234899931908 Binary files /dev/null and b/Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-01-bypass.jp2 differ diff --git a/Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-02-resetprob.jp2 b/Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-02-resetprob.jp2 new file mode 100644 index 00000000000000..f741ad45c6a68e Binary files /dev/null and b/Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-02-resetprob.jp2 differ diff --git a/Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-04-termall.jp2 b/Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-04-termall.jp2 new file mode 100644 index 00000000000000..ba95435a6e0dbf Binary files /dev/null and b/Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-04-termall.jp2 differ diff --git a/Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-08-vcausal.jp2 b/Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-08-vcausal.jp2 new file mode 100644 index 00000000000000..03e88eaf68786f Binary files /dev/null and b/Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-08-vcausal.jp2 differ diff --git a/Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-16-pterm.jp2 b/Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-16-pterm.jp2 new file mode 100644 index 00000000000000..1ef5dde999528d Binary files /dev/null and b/Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-16-pterm.jp2 differ diff --git a/Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-32-segsym.jp2 b/Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-32-segsym.jp2 new file mode 100644 index 00000000000000..1def995b61bfe4 Binary files /dev/null and b/Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-32-segsym.jp2 differ diff --git a/Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-63-all.jp2 b/Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-63-all.jp2 new file mode 100644 index 00000000000000..5072d5ad1a83c6 Binary files /dev/null and b/Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-63-all.jp2 differ