forked from SerenityOS/serenity
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tests/LibGfx: Add tests for JPEG2000 code block style
Test files created by: for opt in lazy termall segsym vcausal pterm resetprob; do ../jasper-build/src/app/jasper --input \ Tests/LibGfx/*-inputs/*2000/kakadu-lossless-rgba-u8-prog1*.jp2 \ --output jasper-rgba-u8-cbstyle-$opt.jp2 \ -O $opt done Where jasper has this downstream patch applied: jasper-software/jasper#392 (comment) I then manually renamed the "lazy" one to "bypass" to match spec language, and for all files manually inserted the code block style bitmask in the name. To test interactions between these, I also made a file that sets all these options at once, by passing `-O lazy -O termall ...`. We can't decode any of these yet.
- Loading branch information
Showing
8 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file added
BIN
+13.3 KB
Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-01-bypass.jp2
Binary file not shown.
Binary file added
BIN
+12.9 KB
Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-02-resetprob.jp2
Binary file not shown.
Binary file added
BIN
+13.8 KB
Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-04-termall.jp2
Binary file not shown.
Binary file added
BIN
+12.8 KB
Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-08-vcausal.jp2
Binary file not shown.
Binary file added
BIN
+12.8 KB
Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-16-pterm.jp2
Binary file not shown.
Binary file added
BIN
+12.9 KB
Tests/LibGfx/test-inputs/jpeg2000/jasper-rgba-u8-cbstyle-32-segsym.jp2
Binary file not shown.
Binary file not shown.