Mathieu Malaterre
ac1dfd4662
[trunk] Import test case from issue 208. This appears to be fixed now.
...
Fixes issue 208
2014-02-26 17:13:46 +00:00
Mathieu Malaterre
abf2f7f05e
[trunk] Run test suite on dataset from issue 211. Test is now passing nicely.
...
Fixes issue 211
2014-02-26 16:31:27 +00:00
Mathieu Malaterre
1c209d711e
[trunk] run test suite on dataset from issue 135. Add fake md5sum to make sure tests is failing.
...
Update issue 135
2014-02-26 16:20:36 +00:00
Mathieu Malaterre
91f521ef92
[trunk] Update missing md5sums
2014-02-26 15:55:49 +00:00
Mathieu Malaterre
9ac3ae1270
[trunk] kakadu does not support 451.pdf.SIGSEGV.ce9.372 we should not pretend to be able to decompress it
...
Update issue 225
2014-02-26 15:41:57 +00:00
Mathieu Malaterre
d74579aa38
[trunk] Run test suite on issue 141. Add a fake dataset to report that test is failing.
...
Update issue 141
2014-02-26 15:21:03 +00:00
Mathieu Malaterre
6deb1a83b5
[trunk] Add more details in case test fails
2014-02-26 15:14:27 +00:00
Mathieu Malaterre
6f3a7ef3c8
[trunk] run test suite on input dataset from issue 134
...
Fixes issue 134
2014-02-26 14:32:11 +00:00
Mathieu Malaterre
9f3687f917
[trunk] fixes test NR-DEC-file409752.jp2-40-decode, use proper naming convention (need to keep file extension)
2014-02-26 14:28:17 +00:00
Mathieu Malaterre
5e77c4e936
[trunk] add test suite for issue 142
...
Fixes issue 142
2014-02-26 14:24:02 +00:00
Mathieu Malaterre
97c376e06d
[trunk] When no output PGX file is found, report an error
2014-02-26 14:23:30 +00:00
Mathieu Malaterre
7f277fea94
[trunk] Remove some simple warnings about cast, and unused functions
2014-02-26 14:00:21 +00:00
Mathieu Malaterre
820c04c679
[trunk] Update file extension function to handle cases where filename containes multiples dots.
...
Update issue 250
2014-02-26 10:48:06 +00:00
Mathieu Malaterre
9d848e3f5e
[trunk] Clearly indicate that mem-b2ace68c-1381.jp2 should not be decompressed.
...
Update issue 250
2014-02-26 09:57:38 +00:00
Mathieu Malaterre
d5f71c2e1d
[trunk] Fix TestJPIP1 on case sensitive system
2014-02-26 09:51:37 +00:00
Mathieu Malaterre
c4317177f3
[trunk] Remove simple warnings about unused functions
2014-02-26 09:46:01 +00:00
Mathieu Malaterre
163c7e3460
[trunk] Run decoder on input dataset from issue 254. Add fake md5sum to make sure the test is failing.
...
Update issue 254
2014-02-25 17:15:22 +00:00
Mathieu Malaterre
9021776963
[trunk] New decoded files are passing. Adding reference files.
...
Update issue 225
2014-02-25 16:36:26 +00:00
Mathieu Malaterre
18771f1b6a
[trunk] For now assume any provided stream should not get decompressed.
...
Update issue 225
2014-02-25 16:16:34 +00:00
Mathieu Malaterre
ed2af11102
[trunk] Run decoder on issue 229 test cases
...
Update issue 229
2014-02-25 15:36:09 +00:00
Mathieu Malaterre
1378475573
[trunk] Run test case for issue 228. Output has been validated.
...
Fixes issue 228
2014-02-25 10:30:40 +00:00
Mathieu Malaterre
00b049866b
[trunk] Run sumatrapdf test cases
2014-02-25 10:06:37 +00:00
Mathieu Malaterre
c55e164e87
[trunk] Make sure to always output pgx file. Handle case where multiple pgx files are generated. Fixes all tests.
2014-02-24 16:55:13 +00:00
Mathieu Malaterre
531cd5dd14
[trunk] add test demonstrating a regression in 1.5.0 and up. Update issue 205
2014-02-24 16:09:42 +00:00
Mathieu Malaterre
ff0a9f763e
[trunk] improve test suite by checking against a reference md5
2014-02-24 16:07:21 +00:00
Mathieu Malaterre
f38e29d00a
[trunk] Fix two simple warnings about sign mismatch
2014-02-24 14:50:40 +00:00
Mathieu Malaterre
963283d7d0
[trunk] Fix warning about signed/unsigned mismatch
2014-02-24 14:27:02 +00:00
Mathieu Malaterre
c91044a4a7
[trunk] Make sure to handle ret value, and properly initialize output file
2014-02-24 14:22:25 +00:00
Mathieu Malaterre
f42c26adbd
[trunk] Make sure to handle ret value in test
2014-02-24 14:10:11 +00:00
Mathieu Malaterre
9efad43509
[trunk] Prefer the new style cmake: add_test command
...
Fixes issues 258
2014-02-24 12:48:23 +00:00
Antonin Descampe
ff1a30d80a
[trunk] added some tests for Cinema2k 48fps and Cinema 4k 24 fps. Fixed
...
a bug in comparePGXimages.c leading to huge Test.xml file uploaded to
DashBoard
2014-01-23 16:33:13 +00:00
Antonin Descampe
58698b789a
[trunk] uncomment tests mistakenly commented in previous commit
2014-01-22 18:44:11 +00:00
Antonin Descampe
ee3f2ffa19
[trunk] fixed several bugs in cinema mode (2K 24/48 fps, and 4K). Trunk
...
now produces compliant DCI code-streams.
2014-01-22 18:41:34 +00:00
Antonin Descampe
7294cdef3e
trunk: disabling class-0 conformance tests for now (bad implentation of tests)
2013-10-28 23:31:55 +00:00
Antonin Descampe
34fd493512
test: modified class-0 conformance testing to comply with constraints
2013-07-11 16:48:49 +00:00
Mickael Savinaud
8ee74f6bff
[trunk] update test suite because now illegalcolortransform.j2k could be decoded
2013-03-25 09:54:15 +00:00
Mickael Savinaud
07ae149955
[trunk] managed nicely the case where TPSot value is incorrect (thanks winfried). Update the test suite to check this case. Updates issue 202. Updates issue 206. Update issue 208
2013-03-24 22:50:46 +00:00
Mickael Savinaud
1e414c8f37
[trunk] correct issue 188 (thanks winfried) and add test about it. Fixes issue 188
2013-03-17 18:16:03 +00:00
Mickael Savinaud
07e6994be1
[trunk] use OPJ_ prefix on HAVE variable also for tests
2013-03-17 17:08:12 +00:00
Mickael Savinaud
e7bc30b409
[trunk] split into two config files config options related to the lib and to the application.
2013-03-03 17:55:35 +00:00
Mickael Savinaud
af58e8e8f9
[trunk] move to the new API for function opj_stream_create_default_file_stream. Use now opj_stream_create_default_file_stream_v3 (WIP)
2013-02-17 10:34:31 +00:00
Mickael Savinaud
4bf4a7668e
[trunk] move to the new API for function opj_stream_destroy. Use now opj_stream_destroy_v3 (WIP)
2013-02-16 17:39:23 +00:00
Mickael Savinaud
a2aeafe85b
[trunk] add a test related to issue 202
2013-02-04 13:22:56 +00:00
Mickael Savinaud
752e978d56
[trunk] update test suite for issue 5 and 62
2013-02-03 09:55:31 +00:00
Mickael Savinaud
b65bf48369
[trunk] merge from branch 1.5 a correction about large code-block data (decoding part) and add tests about issue 5 and issue 62
2012-12-18 17:46:33 +00:00
Mickael Savinaud
59aa37fe2b
[trunk] move typedef from opj_stdint.h to openjpeg.h and add an include of stdio.h in openjpeg.h. Fixes issue 197
2012-12-03 13:26:30 +00:00
Mathieu Malaterre
650c587875
[trunk] Fix compilation issue where size_t would be undefined
2012-11-28 10:54:33 +00:00
Mickael Savinaud
d29c5760bd
[test] update the list of files which will be gracefully rejected when they are dump
2012-11-27 09:24:24 +00:00
Mickael Savinaud
ee9d777d69
[trunk] add empty test about the issue 197. Updates issue 197
2012-11-27 09:11:16 +00:00
Mickael Savinaud
59582bafa3
[trun[trunk] check if the dx and dy steps are not incorrect according to the JPEG2000 norm (thanks Even).
...
Test associated to this issue should nicely fail. Fixes issue 194
2012-11-26 16:24:29 +00:00
Mickael Savinaud
1ad85ac9ee
[trunk] check if the number of tiles is not incorrect regarding the JPEG2000 norm (thanks Even).
...
Test associated to this issue should nicely fail. Fixes issue 163
2012-11-26 16:13:32 +00:00
Mickael Savinaud
999a84c77a
[trunk] test about issue 192 should nicely fail
2012-11-26 16:03:35 +00:00
Mickael Savinaud
f14da66ce5
[trunk] update test suite with issue 191 to 194 and update patch for 191 which should fail properly
2012-11-26 13:37:33 +00:00
Mickael Savinaud
d5efeb7df5
[trunk]update the copyright, the authors and thanks to respect the license
2012-11-15 15:22:29 +00:00
Mickael Savinaud
ba1682c120
[trunk] avoid memory leak in j2k_random_tile_access.c
2012-11-15 13:51:00 +00:00
Mickael Savinaud
e212154d8d
[trunk]extend last commits to apps
2012-11-15 13:38:35 +00:00
Mickael Savinaud
1021e87522
[trunk] add some new tests related to new data; indicate that some tests should failed because data are wrong
2012-11-12 16:32:28 +00:00
Mathieu Malaterre
dc34cf362f
[trunk] Add more testing to the tile access/random
...
Update issue 186
2012-11-08 16:47:35 +00:00
Mathieu Malaterre
e71749428c
[trunk] Fix what looks like a copy/paste error
...
Update issue 186
2012-11-08 16:45:27 +00:00
Mathieu Malaterre
8f58b776b0
[trunk] Add more test in j2k_random_tile_access
...
Update issue 186
2012-11-08 16:41:01 +00:00
Mathieu Malaterre
fb0a11636f
[trunk] Add new tests (j2k_random_tile_access)
2012-11-08 16:30:46 +00:00
Mickael Savinaud
7bf09734d7
[trunk] remove old structure from testempty
2012-10-30 08:12:32 +00:00
Mathieu Malaterre
98682e1073
[trunk] Remove some warnings about missing prototypes (gcc)
2012-10-15 15:47:56 +00:00
Mickael Savinaud
37ff9b029c
[trunk] remove warnings
2012-10-05 08:18:55 +00:00
Mathieu Malaterre
f501186b18
[trunk] Fix minor cmake style
2012-10-01 12:29:09 +00:00
Mathieu Malaterre
fe6d9ed9ba
[trunk] import unit testing from 1.5.x branch
2012-10-01 12:26:27 +00:00
Mathieu Malaterre
4466c31fc2
[trunk] Fix missing include directory
2012-10-01 10:20:31 +00:00
Mickael Savinaud
e1cd500ac5
[trunk] update the name of the executable used for the tests
2012-09-30 16:28:32 +00:00
Mathieu Malaterre
d518970039
[trunk] Start FolderReorgProposal task
...
Update issue 177
2012-09-28 08:11:41 +00:00
Mathieu Malaterre
4a845f3d04
[trunk] Fix one remaining issue with C90 compat
2012-09-10 12:46:42 +00:00
Mickael Savinaud
3135642ff5
[trunk] Remove CMake-language block-end command arguments
...
Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style.
Thanks to Hans Johnson
2012-08-30 17:20:03 +00:00
Mickael Savinaud
d5bb3b0039
[trunk] Convert CMake-language commands to lower case
...
Ancient CMake versions required upper-case commands. Later command names became case-insensitive. Now the preferred style is lower-case.
This also changes all the key words to lower case. The primary reason for changing key words is that all documentation for CMakeLists.txt now shows the key words as lower case. Even the printed “Mastering CMake v5” uses lower case.
Thanks to Hans Johnson
2012-08-30 17:14:39 +00:00
Luc Hermitte
4e81ea2a8a
[trunk] realloc is misused and may leak memory (Issue#168)
2012-08-22 18:45:31 +00:00
Mickael Savinaud
f12fde9132
[trunk] rename opj_destroy_cstr_info_v2 to opj_destroy_cstr_info
2012-08-09 12:56:43 +00:00
Mickael Savinaud
6767ea2456
[trunk] rename opj_setup_encoder_v2 to opj_setup_encoder
2012-08-09 12:35:13 +00:00
Mickael Savinaud
d009cf618a
rename opj_create_compress_v2 to opj_create_compress
2012-08-09 12:28:51 +00:00
Mickael Savinaud
52f414669a
[trunk] rename opj_setup_decoder_v2 to opj_setup_decoder
2012-08-09 12:11:24 +00:00
Mickael Savinaud
35289bffe2
[trunk] rename opj_create_decompress_v2 to opj_create_decompress
2012-08-09 11:51:07 +00:00
Mickael Savinaud
c38b5d5eb9
Add file type detection in test_tile_decoder to support JP2 file as input
2012-08-09 11:05:58 +00:00
Mickael Savinaud
180d06613a
Use the right file as input for the test ttd2
2012-08-09 09:29:42 +00:00
Mickael Savinaud
c3ee4212f0
Reorganize and clean style of test_tile_decoder.c
2012-08-09 08:07:57 +00:00
Mickael Savinaud
79a0533c69
[trunk] use new names for baseline
2012-06-01 07:53:44 +00:00
Mathieu Malaterre
64363995be
[trunk] Fix a simple leak in test_tile_encoder
2012-05-29 14:27:42 +00:00
Mathieu Malaterre
426ad6e3a3
[trunk] Adding more tests. tte5.j2k looks as if the tile compression is broken
2012-05-29 14:25:23 +00:00
Mathieu Malaterre
a4d1b1ba21
[trunk] Enable tile decoding/encoding round trip
2012-05-21 08:05:29 +00:00
Mathieu Malaterre
0447ea94c1
Activate tile decoding system to reproduce issues
2012-05-21 08:03:58 +00:00
Mickael Savinaud
717a7dbfde
resolve bug under win arch with test_tile_encoder.c
2012-05-14 17:25:10 +00:00
Mathieu Malaterre
383495c863
[trunk] Start activating tile tests
2012-05-14 16:05:55 +00:00
Mathieu Malaterre
595c00f55c
[trunk] Fix remaining compilation errors
2012-05-14 07:17:42 +00:00
Mickael Savinaud
5aaa5eab70
remove opj_event_mgr struct from test_tile_decoder
2012-05-14 07:13:27 +00:00
Mathieu Malaterre
70b24b021a
[trunk] Fix using proper v2 function
2012-05-14 07:11:02 +00:00
Mathieu Malaterre
af96c721c4
[trunk] Import from v2 test_tile_decoder
2012-05-14 07:03:33 +00:00
Mickael Savinaud
80c23d4519
solve problem with input of image_to_j2k; using the right return type comparison for opj_stream_flush; add j2k_write_com_v2, j2k_write_poc_v2, j2k_write_eoc_v2 and j2k_write_tlm_v2
2012-05-13 22:13:58 +00:00
Mickael Savinaud
055d429ae1
[trunk] Enhance support of events like the v2 branch. Use right name of variables.
2012-05-02 07:01:13 +00:00
Mickael Savinaud
afe4e345d2
[trunk] add missing file needed to compile last commit
2012-03-26 06:48:45 +00:00
Mickael Savinaud
855b5b513d
[trunk] add test_tile_encoder test and function related
2012-03-23 17:47:53 +00:00
Mathieu Malaterre
8d0e5899b9
[trunk] Remove remaining of OPJ_INT64_F/OPJ_UINT64_F before move to C99 convention
2012-03-19 10:00:06 +00:00
Mathieu Malaterre
777f2e7547
[trunk] convert from DOS eol to UNIX eol
2012-03-02 15:12:24 +00:00
Mathieu Malaterre
27e494d25c
[trunk] Sync with branch 1.5
2012-03-02 15:09:51 +00:00
Mathieu Malaterre
d88156d998
[trunk] merge r1234 from branch 1.5 over to trunk
2012-03-02 15:07:07 +00:00
Mathieu Malaterre
d4e5366fe6
Simplify code. Use standard find_package call instead. ctest script will need to handle this now
2011-12-02 15:30:19 +00:00
Mickael Savinaud
5c363b76ee
[trunk] fix a bug during the creation of the codestream index
2011-12-01 13:46:09 +00:00
Julien Malik
d569430cc6
[trunk] fix compilation of j2k_random_access on Visual C++
2011-12-01 09:02:04 +00:00
Julien Malik
a361f618a1
[trunk] fix call to opj_destroy_cstr_info_v2 in j2k_random_tile_access
2011-11-30 19:41:57 +00:00
Mickael Savinaud
563b56e09c
[trunk] fix error about the way to detect the additional test suite
2011-11-30 17:31:42 +00:00
Julien Malik
455f675806
[trunk] implement Large File support in the library
2011-11-30 16:55:25 +00:00
Mickael Savinaud
3932e860ca
[trunk] fix error with new way to detect kdu_expand
2011-11-29 09:28:02 +00:00
Julien Malik
27ba604ad7
[trunk] search for kdu_expand in a more cmake-compliant way
2011-11-27 22:27:50 +00:00
Mickael Savinaud
ff3c441023
[trunk] WIP: fix bug when decoding an area or a tile with special resolution
2011-11-17 14:29:36 +00:00
Mickael Savinaud
aaf6e84373
[trunk] WIP: enhance j2k_to_image with new get_decoded_tile functionality
2011-11-17 14:24:51 +00:00
Mickael Savinaud
39e12244cc
[trunk] fix tests/nonregresion/CMakeList.txt
2011-11-10 17:38:08 +00:00
Mickael Savinaud
c4c01b61e6
[trunk] WIP: fix get_decoded_tile function to avoid error with output image
2011-11-09 16:15:15 +00:00
Julien Malik
ac946a4602
[trunk] add some sanity check in CMakeLists to prevent STRING(REGEX..) call issues
2011-11-09 14:23:03 +00:00
Mickael Savinaud
2808de6084
[trunk] WIP: manage output image with area correponding to the set decoded area
2011-10-21 16:38:08 +00:00
Mickael Savinaud
21178c3571
[trunk] WIP: isolate dump test suite
2011-10-20 15:10:59 +00:00
Mickael Savinaud
5b93ae8628
[trunk] WIP: solve some memory leak in test compare functions
2011-10-19 13:06:49 +00:00
Mickael Savinaud
c7d3b83164
[trunk] WIP: correct mistake with JP2 files and manage correctly the text_GBR.jp2 filecase
2011-10-11 07:49:16 +00:00
Mickael Savinaud
efd780f82a
[trunk] WIP: update jp2 dump functions with the new V2 framework
2011-10-07 17:31:35 +00:00
Mickael Savinaud
cc0ff6b0bf
[trunk] WIP: update output filename of conformance dump test to be compatible with new baseline
2011-10-07 17:29:07 +00:00
Mickael Savinaud
e4b728ccb9
[trunk] WIP: backport rev 967-969 about test suite enhancement and rename of opj_configh.cmake.in from opj-1.5 to trunk
2011-10-07 14:20:15 +00:00
Mickael Savinaud
bc7c3e44d5
fixed windows nighlty crash about one missing opj_getopt() (and warning with other platform)
2011-09-02 08:34:38 +00:00
Antonin Descampe
aba0e602ed
renamed getopt.{c/h} to opj_getopt.{c/h} and forced the use of these files rather than the system ones. This fixed issue 78. Credit to Winfried.
2011-09-01 11:24:08 +00:00
Mickael Savinaud
22a2f98ced
fixed a segfault with fgets return value for some cases inside test function compare_dump_file()
2011-08-31 16:51:37 +00:00
Mickael Savinaud
aaa47850c3
enhance the encoding test suite and remove unsued CONFIGURE_FILE into a CMakeList
2011-08-31 13:33:40 +00:00
Mickael Savinaud
7c2feb78d2
added first version of the encoding tests suite
2011-08-30 16:07:43 +00:00
Mathieu Malaterre
ef258914b2
Properly close bug #73 , by providing a test for it.
2011-08-22 13:13:00 +00:00
Mickael Savinaud
e634cd0d62
add copyright header into new test functions
2011-08-10 08:14:49 +00:00
Mickael Savinaud
5743cca5f8
solve some obvious warnings for WIN platform, increase number of warning reported on the dashboard, correct last warnings with gcc 4.4 (-Wall)
2011-07-29 08:50:55 +00:00
Mickael Savinaud
c2b0a8101b
correct some warnings detected under unix platform
2011-07-27 16:37:57 +00:00
Mickael Savinaud
f88a57e5d7
added new decoding/dump tests based on data found in input/nonregresion repository (remove JPEG2000_CONFORMANCE_DATA_ROOT variable, add REF_DECODER_BIN_PATH variable for the encoder test suite). Remove definitively old tests
2011-07-27 12:45:04 +00:00
Mickael Savinaud
1776120dba
correct CRLF problem between unix baseline and win platform test file generated by j2k_dump
2011-07-26 13:49:27 +00:00
Mickael Savinaud
f4601aff8b
use ansi c function fgets instead of GNU function getline to avoid build error with win platform
2011-07-26 09:30:54 +00:00
Mickael Savinaud
eea61ee5e4
added non-regression tests for j2k_dump function and conformance data
2011-07-25 16:33:52 +00:00
Mickael Savinaud
06363c01e4
correct some troubles about thirdparty when they are used
2011-07-22 14:26:57 +00:00
Mickael Savinaud
ec398229b1
correct a compil error linked to getopt with win platform
2011-07-21 16:26:23 +00:00
Mickael Savinaud
a19c8a4ea3
add new decode tests based on conformance data and tolerance. Non regression is also added on the decoder output. Deactivate old tests.
2011-07-21 15:23:31 +00:00