openjpeg/tests
Even Rouault ac375ac9f5 Partial revert BPC related check of #975 (#979)
PR #975 introduced a check that rejects images that have different bit depth/sign
per compoment in SIZ marker if the JP2 IHDR box has BPC != 255
This didn't work properly if decoding a .j2k file since the new bit added in
opj_cp_t wasn't initialized to the right value.
For clarity, tThis new bit has also been renamed to allow_different_bit_depth_sign

But looking closer at the code, it seems we were already tolerant to inconsistencies.
For example we parsed a JP2 BPCC box even if BPC != 255 (just a warning is emitted)
So failing hard in opj_j2k_read_siz() wouldn't be very inconsistent, and that
alone cannot protect against other issues, so just emit a warning if BPC != 255
and the SIZ marker contains different bit depth/sign per component.

Note: we could also check that the content of JP2 BPCC box is consistant with the one
of the SIZ marker.
2017-08-09 11:34:08 +02:00
..
conformance Spelling fixes (patch by ka7, #890, rebased on top of master) 2017-07-26 21:06:38 +02:00
fuzzers Add tests/fuzzers for OSS Fuzz (#965) 2017-07-03 15:42:35 +02:00
nonregression Partial revert BPC related check of #975 (#979) 2017-08-09 11:34:08 +02:00
performance perf_test.py: implement -i option 2017-05-11 20:18:42 +02:00
profiling Add profiling of CPU and memory usage (#912) 2017-05-09 12:35:51 +02:00
unit Use lowercase for cmake commands consistenly 2016-05-02 16:05:41 +02:00
CMakeLists.txt Add compilation test for standalone inclusion of openjpeg.h (#798) 2016-07-14 11:06:26 +02:00
compare_dump_files.c Add sanity check for tile coordinates (#823) 2016-09-08 00:24:15 +02:00
compare_images.c Update lcms (#544) 2016-04-30 17:58:04 +02:00
compare_raw_files.c [trunk] fixed return value for compare_raw_files (fixes issue 453) 2014-12-20 12:42:40 +00:00
include_openjpeg.c Add compilation test for standalone inclusion of openjpeg.h (#798) 2016-07-14 11:06:26 +02:00
j2k_random_tile_access.c [trunk]Replaced deprecated opj_stream_set_user_data function from API 2014-04-23 07:46:11 +00:00
pdf2jp2.c trunk: extend support for pdf2jp2 2014-09-19 15:48:48 +00:00
ppm2rgb3.c [trunk] Add documentation 2014-03-25 10:22:40 +00:00
test_tile_decoder.c Fix some issues reported by Coverity Scan (#846) 2016-09-21 21:15:25 +02:00
test_tile_encoder.c Fix some issues reported by Coverity Scan (#846) 2016-09-21 21:15:25 +02:00