summaryrefslogtreecommitdiff
path: root/tests/nonregression/test_suite.ctest.in
diff options
context:
space:
mode:
authorEven Rouault <even.rouault@spatialys.com>2021-06-07 15:16:53 +0200
committerEven Rouault <even.rouault@spatialys.com>2021-06-07 15:49:08 +0200
commita36ae0386066c9ddd089788930be5a42a176446e (patch)
tree8effed4d892faee90d8ea96c6c15030ed6953614 /tests/nonregression/test_suite.ctest.in
parent2624908517ac0489ff1b5471f423dfe84d79da08 (diff)
Add support for enabling generation of TLM markers in encoder
Support was already there, but restricted to Cinema and IMF profiles, and 255 tiles * Add -TLM switch added to opj_compress * Make opj_encoder_set_extra_options() function accept a TLM=YES option.
Diffstat (limited to 'tests/nonregression/test_suite.ctest.in')
-rw-r--r--tests/nonregression/test_suite.ctest.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/nonregression/test_suite.ctest.in b/tests/nonregression/test_suite.ctest.in
index 72155329..80dd3306 100644
--- a/tests/nonregression/test_suite.ctest.in
+++ b/tests/nonregression/test_suite.ctest.in
@@ -186,6 +186,10 @@ opj_compress_no_raw_lossless -i @INPUT_NR_PATH@/ElephantDream_4K.tif -o @TEMP_PA
opj_compress_no_raw_lossless -i @INPUT_NR_PATH@/byte.tif -o @TEMP_PATH@/byte_PLT.j2k -n 1 -PLT
opj_compress_no_raw_lossless -i @INPUT_NR_PATH@/byte.tif -o @TEMP_PATH@/byte_PLT.jp2 -n 1 -PLT
+opj_compress_no_raw_lossless -i @INPUT_NR_PATH@/byte.tif -o @TEMP_PATH@/byte_TLM.j2k -n 1 -TLM
+# Use tile size 1x1 to generate more than 255 tiles
+opj_compress_no_raw_lossless -i @INPUT_NR_PATH@/byte.tif -o @TEMP_PATH@/byte_TLM_400tiles.j2k -n 1 -t 1,1 -TLM
+
# DECODER TEST SUITE
opj_decompress -i @INPUT_NR_PATH@/Bretagne2.j2k -o @TEMP_PATH@/Bretagne2.j2k.pgx
opj_decompress -i @INPUT_NR_PATH@/_00042.j2k -o @TEMP_PATH@/_00042.j2k.pgx