diff options
| author | Even Rouault <even.rouault@spatialys.com> | 2024-07-01 13:02:36 +0200 |
|---|---|---|
| committer | Even Rouault <even.rouault@spatialys.com> | 2024-07-01 13:02:36 +0200 |
| commit | 206ede76e9550bf6584b669b2aa35f0cab462775 (patch) | |
| tree | 148f09ae8b0f60cd65be795aef8dec4d5093c156 /tests | |
| parent | 954c6e3cb9d79aaa08c6666373d2bfa04f89ead1 (diff) | |
Add more unit tests for decoding files with TLM
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/nonregression/md5refs.txt | 3 | ||||
| -rw-r--r-- | tests/nonregression/test_suite.ctest.in | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/tests/nonregression/md5refs.txt b/tests/nonregression/md5refs.txt index e2a74a6f..0bc7d9f1 100644 --- a/tests/nonregression/md5refs.txt +++ b/tests/nonregression/md5refs.txt @@ -399,3 +399,6 @@ c34637a0f218e4074936e0c89534c5b5 byte.jph.png c34637a0f218e4074936e0c89534c5b5 byte_causal.jhc.png bc4f704c723329147bf6601a8b113bb2 huge-tile-size.png 922d2a15b57d7f0e628d00cf17e1d25d small_world_non_consecutive_tilepart_tlm-t0.png +922d2a15b57d7f0e628d00cf17e1d25d small_world_non_consecutive_tilepart_tlm-t0-d.png +e3294b452af3ad2bf27146e04e8856dc small_world_non_consecutive_tilepart_tlm-t1.png +e3294b452af3ad2bf27146e04e8856dc small_world_non_consecutive_tilepart_tlm-t1-d.png diff --git a/tests/nonregression/test_suite.ctest.in b/tests/nonregression/test_suite.ctest.in index 1e9e6b7b..d120cda8 100644 --- a/tests/nonregression/test_suite.ctest.in +++ b/tests/nonregression/test_suite.ctest.in @@ -664,3 +664,8 @@ opj_decompress -i @INPUT_NR_PATH@/huge-tile-size.jp2 -o @TEMP_PATH@/huge-tile-si # decompress a single tile, where tile-parts are not consecutive, and with a TLM index opj_decompress -t 0 -i @INPUT_NR_PATH@/small_world_non_consecutive_tilepart_tlm.jp2 -o @TEMP_PATH@/small_world_non_consecutive_tilepart_tlm-t0.png +opj_decompress -t 1 -i @INPUT_NR_PATH@/small_world_non_consecutive_tilepart_tlm.jp2 -o @TEMP_PATH@/small_world_non_consecutive_tilepart_tlm-t1.png + +# decompress a subset of tiles, where tile-parts are not consecutive, and with a TLM index +opj_decompress -i @INPUT_NR_PATH@/small_world_non_consecutive_tilepart_tlm.jp2 -o @TEMP_PATH@/small_world_non_consecutive_tilepart_tlm-t0-d.png -d 0,0,256,200 +opj_decompress -i @INPUT_NR_PATH@/small_world_non_consecutive_tilepart_tlm.jp2 -o @TEMP_PATH@/small_world_non_consecutive_tilepart_tlm-t1-d.png -d 256,0,400,200 |
