Mathieu Malaterre
4c1023dac6
[trunk] deprecationg warning issued by java compiler should be ignored
2014-02-25 16:53:42 +00:00
Mathieu Malaterre
563d238fa0
[trunk] Create a new static *_impl function to avoid a warning triggered by the deprecation mecanism
...
Fixes issue 257
2014-02-25 16:49:26 +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
7dd65e84e6
[trunk] Revert r2415 for now since it introduce large regression
2014-02-25 14:14:56 +00:00
Mathieu Malaterre
e260ec6e9d
[trunk] Import commit 87b08a096bb8ad61f9dbe4811e208d9c9d7fe63b from ghostpdl
...
don't define lrintf for MSVC 2013 (fix compilation breakage)
Update issue 225
2014-02-25 14:03:30 +00:00
Mathieu Malaterre
7ce3f3c1a6
[trunk] Import commit 4cee6ceab21025079f439bb152fb9d8ae8c5c832 from ghostpdl
...
Bug 694906: fix potential heap overflow in opj_t2_read_packet_header
Update issue 225
2014-02-25 13:50:29 +00:00
Mathieu Malaterre
a466755bbb
[trunk] import commit 83dad6a76536222a3a51146f942e733a2e90ec52 from ghostpdl
...
fix potential NULL-pointer dereference caused by testing the wrong variable
after opj_realloc (happens only in OOM situations)
Update issue 225
2014-02-25 13:39:50 +00:00
Mathieu Malaterre
901c9d8ae0
[trunk] Import commit fc884aee2b69c78500e65c3d05bf216791a9ea4a from ghostpdl
...
prevent heap overflow in opj_t2_read_packet_header
Also prevent a double-free of segment data under OOM conditions.
Problem found in a test file, 1802.pdf.SIGSEGV.36e.894 supplied
by Mateusz "j00ru" Jurczyk and Gynvael Coldwind of the Google
Security Team using Address Sanitizer. Many thanks!
Update issue 225
2014-02-25 13:38:32 +00:00
Mathieu Malaterre
6145c82804
[trunk] Import commit 8ec8321df613986e8642e2975f7182072eb4be62 from ghostpdl
...
make opj_stream_set_user_data accept a NULL stream
for consistency with opj_stream_set_* which does so.
Update issue 225
2014-02-25 13:33:43 +00:00
Mathieu Malaterre
876c02206d
[trunk] Import commit f4139d702559649e577a5df9cfd64b0ca6107a7a from ghostpdl
...
Several functions accept a buffer size but never actually check whether
the buffer overflows during reading/writing. This fixes all cases where
a size variable has explicitly been marked as unused (through a (void)
cast).
This was discovered while investigating an assertion caused by
7cc691f332f26802c64cdc47e17bff8b_signal_sigabrt_7ffff6d59425_2247_2509.pdf
among others.
Thanks to Mateusz Jurczyk and Gynvael Coldwind of the Google Security
Team for providing the example files.
2014-02-25 13:28:37 +00:00
Mathieu Malaterre
3ca312033f
[trunk] Clarify raw input in openjpeg. LSB vs MSB are now documented.
...
Fixes issue 62
2014-02-25 10:35:07 +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
d847e477f0
[trunk] add missing private lib. Update issue 223
2014-02-24 17:22:48 +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
228e0a3d79
[trunk] Fix a simple mem leak
2014-02-24 14:55:32 +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
Mathieu Malaterre
33d8f08964
[trunk] Fix a warning about type conversion. Use a trick where unsigned wrapping is legal
2014-02-24 08:52:44 +00:00
Antonin Descampe
e826e9281e
[trunk] replaced fprintf with event_mgr in cinema-related stuff in j2k.c
2014-02-12 16:33:19 +00:00
Antonin Descampe
780120c9a2
[trunk] moved logic related to cinema profiles in library (was in
...
opj_compress.c). This enables one using the library with its own
executable to easily ask for cinema profiles.
2014-02-12 16:16:21 +00:00
Antonin Descampe
d6c0c85125
[trunk] added a warning when tif conversion changes input image bitdepth
2014-02-12 15:16:36 +00:00
Antonin Descampe
c81fb397bb
[trunk]re-indenting convert.c
2014-02-12 14:56:49 +00:00
Mathieu Malaterre
caf4e46e06
Update kakadu cmake module
2014-02-07 10:37:06 +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
d143f49a66
[trunk] fixed another DCI compliance bug
2014-01-23 09:39:02 +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
c59124dfe2
[trunk] fixed indentation in opj_compress.c, renamed 2 internal
...
functions, added some comments
2014-01-16 14:21:14 +00:00
Antonin Descampe
7b14cf8558
[trunk] fixed DCI-compliant codestream generation (-cinema2K and -
2014-01-16 12:55:14 +00:00
Antonin Descampe
05f796d2fa
trunk: fixed cmake config so as to be able to link opj_jpip_server with FCGI.
2013-10-30 08:59:23 +00:00
Antonin Descampe
bd8c91b37d
trunk: fixed cmake config so as to be able to link opj_jpip_server with FCGI.
2013-10-30 08:57:18 +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
Rex Dieter
4d7b6374c8
complete openjpeg2 pkgconfig support, bug #68
2013-10-15 19:17:51 +00:00
Mathieu Malaterre
5855da5a15
[trunk] Import patch from bug #241
2013-09-26 09:28:47 +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
da4bd9b110
[trunk] use the private version of opj_config to avoid compilation error into mj2
2013-03-25 13:43:14 +00:00
Mickael Savinaud
7fbf6df09e
[trunk] use opj_config_private.h into the opj_inttypes.h
2013-03-25 13:36:26 +00:00
Mickael Savinaud
68415d040f
[trunk] separate the opj_config file between public and private part to avoid expose unused variables into the public API.
2013-03-25 12:43:27 +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
bf0fa4089f
[trunk] enhance the support of sYCC into opj_decompress application (thanks winfried).
2013-03-24 23:12:41 +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
ecb93d97a5
[trunk] add access to opj_apps_config.h to old applications
2013-03-17 22:22:11 +00:00