mayeut
d6dd524822
Update coverity scan branch
2016-09-08 22:18:09 +02:00
Matthieu Darbois
b21a8317e5
Fix coverity 113065 (CWE-484) ( #824 )
2016-09-08 22:14:19 +02:00
Antonin Descampe
5fb81d986e
Update THANKS.md
2016-09-08 11:28:58 +02:00
Matthieu Darbois
ef01f18dfc
Cast to size_t before multiplication
...
Need to cast to size_t before multiplication otherwise overflow check is useless.
2016-09-08 07:34:46 +02:00
Matthieu Darbois
e078172b1c
Add sanity check for tile coordinates ( #823 )
...
Coordinates are casted from OPJ_UINT32 to OPJ_INT32
Add sanity check for negative values and upper bound becoming lower
than lower bound.
See also
https://pdfium.googlesource.com/pdfium/+/b6befb2ed2485a3805cddea86dc7574510178ea9
2016-09-08 00:24:15 +02:00
Matthieu Darbois
acfb307df4
Add test for PR 818 ( #822 )
...
update uclouvain/openjpeg#818
2016-09-07 00:00:21 +02:00
Matthieu Darbois
275aad4df8
Update to libpng 1.6.25 ( #821 )
2016-09-06 22:33:45 +02:00
Matthieu Darbois
734d57d5f7
fix incrementing of "l_tcp->m_nb_mcc_records" in opj_j2k_read_mcc ( #820 )
2016-09-06 22:33:26 +02:00
trylab
c16bc057ba
Fix an integer overflow issue ( #809 )
...
Prevent an integer overflow issue in function opj_pi_create_decode of
pi.c.
2016-09-06 07:55:49 +02:00
Matthieu Darbois
ea320dab8b
Add overflow check in opj_tcd_init_tile ( #819 )
2016-09-06 07:54:29 +02:00
Matthieu Darbois
d7e6b7de8a
Fix leak & invalid behavior of opj_jp2_read_ihdr ( #818 )
...
In case multiple ihdr box are present, only the first one shall be
taken into account.
2016-09-06 01:31:15 +02:00
Matthieu Darbois
ccd9ced49e
Add overflow check in opj_j2k_update_image_data ( #817 )
2016-09-06 00:50:44 +02:00
Matthieu Darbois
9f24b078c7
Change 'restrict' define to 'OPJ_RESTRICT' ( #816 )
...
Visual Studio 2015 does not pass regression tests with `__restrict` so kept disabled for MSVC.
Need to check proper usage of OPJ_RESTRICT (if correct then there’s
probably a bug in vc14)
Closes #661
2016-09-06 00:49:53 +02:00
Stefan Weil
51155950eb
Add .gitignore ( #787 )
...
Ignore all files and directories which are generated by `cmake . && make`.
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2016-09-05 22:07:50 +02:00
Matthieu Darbois
23cee22286
Switch to clang 3.8 ( #814 )
...
clang 3.9 is currently unavailable for precise through apt
2016-09-02 23:58:12 +02:00
Matthieu Darbois
4a2a8693e5
Update to lcms 2.8 ( #808 )
2016-08-06 13:04:56 +02:00
Matthieu Darbois
1509ccc51f
Update to libpng 1.6.24 ( #807 )
2016-08-06 12:51:40 +02:00
Matthieu Darbois
5bb919a30e
Reenable clang-3.9 build on travis ( #806 )
...
clang-3.9 is now available with apt add-on in travis-ci
2016-08-06 12:26:46 +02:00
Matthieu Darbois
b8bd1b0e07
Add compilation test for standalone inclusion of openjpeg.h ( #798 )
...
This ensures all openjpeg.h dependencies are met.
Fix #673
2016-07-14 11:06:26 +02:00
Stefan Weil
e40c28c2e8
jpwl: Remove non-portable data type u_int16_t (fix issue #796 ) ( #797 )
...
The type casts which used this data type can be removed by changing
the signature of function swap16. As this function is called with
unsigned variables, this change is reasonable.
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2016-07-14 10:49:17 +02:00
Stefan Weil
18da6155b2
Fix dependency for pkg-config (issue #594 ) ( #795 )
...
openjpeg provides libopenjp2.pc, so the require statements must refer to
libopenjp2 instead of openjp2.
Fixes #594
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2016-07-12 00:45:51 +02:00
mayeut
b3c422654f
Update ABI tracker script
...
Disable previous version.
2016-07-06 00:26:37 +02:00
mayeut
9db62b2011
Update ABI tracker from 2.1 to 2.1.1
2016-07-05 23:53:31 +02:00
Antonin Descampe
7948d83340
update api/abi tracker
2016-07-05 23:33:00 +02:00
mayeut
132c4a248b
Add version 2.1.1 to ABI tracker
2016-07-05 22:12:11 +02:00
Antonin Descampe
ed294598ea
Trigger API/ABI update on website
2016-07-05 18:10:35 +02:00
Antonin Descampe
fef144283f
Update INSTALL.md
2016-07-05 16:49:10 +02:00
Antonin Descampe
4c5a1cc825
Update AUTHORS.md
2016-07-05 16:40:27 +02:00
Antonin Descampe
bd96ed8353
Update AUTHORS file
2016-07-05 16:07:16 +02:00
Antonin Descampe
f4a708ba0f
Update INSTALL, README and THANKS file
2016-07-05 16:04:29 +02:00
Antonin Descampe
2372cb78a0
Upload changelog and convert some files to mardown
2016-07-05 15:29:02 +02:00
Antonin Descampe
9d5002f8fd
Remove useless diff command in abi-check.sh
2016-06-26 20:00:37 +02:00
Matthieu Darbois
e4c74f5364
Correct abi-check.sh for PR ( #791 )
2016-06-25 01:09:42 +02:00
maddin200
cb72c08472
Update tcd.c ( #790 )
...
cppcheck unitialized variable
2016-06-21 22:13:57 +02:00
Matthieu Darbois
898ca6f522
Remove clang-3.9 build
...
c.f. travis-ci/travis-ci#6120
2016-06-21 22:09:08 +02:00
Antonin Descampe
86698be6e9
Automatic upload of ABI report (end)
2016-06-21 17:41:29 +02:00
Antonin Descampe
cdcb77e796
Automatic upload of ABI report (ctd)
2016-06-21 17:21:08 +02:00
Antonin Descampe
954dad66de
Automatic upload of ABI report (ctd)
2016-06-21 16:46:38 +02:00
Antonin Descampe
48744a1342
setup automatic upload of ABI reports
2016-06-21 16:19:06 +02:00
Antonin Descampe
d0babeb6f6
WIP automatic release
2016-05-15 18:17:24 +02:00
Antonin Descampe
d1ca2b4f29
WIP: debug travis run script
2016-05-15 00:53:24 +02:00
Antonin Descampe
8ba0de3e45
Update travis and appveyor to enable automatic releases on tag commit
2016-05-15 00:42:54 +02:00
Antonin Descampe
2e0779e250
Update version number in CMakeLists.txt
2016-05-13 12:31:56 +02:00
Antonin Descampe
e55130d3c5
Update NEWS
2016-05-13 12:25:55 +02:00
Stefan Weil
4d2b6a671a
Update implementation of opj_calloc ( #705 )
2016-05-10 22:08:49 +02:00
Stefan Weil
aae066debc
Add missing source for the JPIP library and executables (issue #658 ) ( #659 )
...
They all need opj_malloc and other functions from opc_malloc.c.
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2016-05-10 22:02:49 +02:00
mayeut
6609719b40
Correct expected result for test of issue 495
2016-05-08 20:26:12 +02:00
mayeut
1a8318f6c2
Fix Out-of-Bounds Access in function opj_tgt_reset
...
Fix uclouvain/openjpeg#775
2016-05-08 20:10:13 +02:00
mayeut
162f6199c0
Fix Heap Buffer Overflow in function color_cmyk_to_rgb
...
Fix uclouvain/openjpeg#774
2016-05-08 19:18:05 +02:00
mayeut
8f9cc62b3f
Fix division by zero
...
Fix uclouvain/openjpeg#733
2016-05-08 18:40:12 +02:00
Matthieu Darbois
44a499f2ac
Update lcms2 ( #773 )
...
Update to mm2/Little-CMS@e342f44
2016-05-03 22:22:03 +02:00
julienmalik
94cfb1b008
Merge pull request #769 from julienmalik/cmake_lowercase
...
Use lowercase for cmake commands consistenly
2016-05-02 21:57:55 +02:00
Julien Malik
17a0a8a195
Use lowercase for cmake commands consistenly
...
Inspired from https://github.com/InsightSoftwareConsortium/ITK/blob/master/Utilities/Maintenance/HowToCreateTheCMakeCaseConversion.txt
This needs vim 7.3 and fails with vim 7.4
This also fixes a number of :
- missing empty line at end of files
- useless space at end of lines
2016-05-02 16:05:41 +02:00
julienmalik
ba0cf122f6
Merge pull request #767 from julienmalik/fix_memset_null_pointer
...
Fix UBSan gcc warning for first arg to memset non null
2016-05-02 14:34:32 +02:00
julienmalik
da56086e01
Merge pull request #768 from julienmalik/filter_clang_warnings
...
Ignore clang's summary warning
2016-05-02 14:32:08 +02:00
Julien Malik
04b8cbd27a
Ignore clang's summary warning
...
This assumes prior text has matched some other warning expression.
This reduces the warnings reported for clang build on the dashboard,
which were caused only by the "XXX warnings generated." message.
For some reason they were not reported when not using ctest launchers.
This commit allows to confidently use ctest launchers to improve
dashboard reports.
2016-05-02 12:55:43 +02:00
Julien Malik
e1e018a8dc
Fix UBSan gcc warning for first arg to memset non null
2016-05-02 12:13:24 +02:00
Matthieu Darbois
b51d088267
Update to libtiff-4.0.6 ( #764 )
2016-05-01 18:05:46 +02:00
mayeut
4f11e89c80
Add tests for recent issues
...
Update uclouvain/openjpeg#725
Update uclouvain/openjpeg#726
2016-04-30 18:51:36 +02:00
Matthieu Darbois
9a20f8e8d1
Update lcms ( #544 )
...
Update to mm2/Little-CMS@0e8234e090
2016-04-30 17:58:04 +02:00
Antonin Descampe
72deb588cb
Merge pull request #706 from mayeut/issue135
...
Fix issue 135
The fix is legal regarding the standard but I did not manage to find out if it covers a bug in opj_t2_read_packet_data or if the file is corrupted
2016-04-30 13:51:01 +02:00
mayeut
cd77b6003b
Fix some coverity warnings
2016-04-30 12:15:22 +02:00
mayeut
f40a2ff2ad
Fix bad call to fclose with NULL pointer
2016-04-30 01:50:33 +02:00
Matthieu Darbois
be42e72d22
Fix warnings ( #763 )
2016-04-30 01:12:16 +02:00
Matthieu Darbois
15f081c896
Fix Out-Of-Bounds Read in sycc42x_to_rgb function ( #745 )
...
42x Images with an odd x0/y0 lead to subsampled component starting at the
2nd column/line.
That is offset = comp->dx * comp->x0 - image->x0 = 1
Fix #726
2016-04-30 00:33:27 +02:00
Matthieu Darbois
ad593c9e06
Fix heap-buffer-overflow in color_esycc_to_rgb ( #748 )
...
When all components do not have the same dx/dy, components buffer are
read beyond their end.
Do not convert in this case.
Update uclouvain/openjpeg#725
2016-04-29 23:51:14 +02:00
julienmalik
319fc971fe
cppcheck fix for openjp2 ( #740 )
2016-04-29 23:49:17 +02:00
Matthieu Darbois
e166e4a209
Check SSIZ is valid in opj_j2k_read_siz ( #762 )
2016-04-28 19:20:14 +02:00
Matthieu Darbois
29313eb5f1
Fix unsigned int overflow reported by UBSan ( #761 )
...
* Fix unsigned int overflow reported by UBSan
Please add -DOPJ_UBSAN_BUILD to CFLAGS when building with
-fsanitize=undefined,unsigned-integer-overflow
It seems clang/gcc do not allow to disable checking for block of code
other than function or file.
2016-04-28 13:16:43 +02:00
julienmalik
e982d03966
Fix implicit float-to-bool conversions ( #752 )
2016-04-28 11:52:45 +02:00
Matthieu Darbois
66fd497765
Fix unsigned int overflow reported by UBSan ( #759 )
2016-04-28 00:18:37 +02:00
mayeut
20789fed4e
Fix issue 135
...
dwt_interleave_h.gsr105.jp2 now has the same output as kakadu
issue399 is corrupted. Only the corrupted part changes.
Update known failures for x86 MD5
NR-DEC-kodak_2layers_lrcp.j2c-31-decode-md5
NR-DEC-kodak_2layers_lrcp.j2c-32-decode-md5
NR-DEC-issue135.j2k-68-decode-md5
2016-04-27 23:15:47 +02:00
julienmalik
5947e10ff7
Add clang 3.9 build to Travis matrix ( #753 )
2016-04-27 23:05:43 +02:00
Matthieu Darbois
e6881e7527
Fix negative shift left reported by UBSan ( #758 )
...
Follow-up of #757
This shall have no performance impact on 2’s complement machine where
the compiler replaces the multiplication by power of two (constant) by
a left shift.
Verified at least on MacOS Xcode 7.3, same assembly generated after fix.
2016-04-27 21:56:09 +02:00
Stefan Weil
2296dc9e68
Remove whitespace and CR at line endings ( #678 )
...
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2016-04-26 22:12:11 +02:00
Matthieu Darbois
6f2ac3ee36
Fix negative shift left reported by UBSan ( #757 )
...
This shall have no performance impact on 2’s complement machine where
the compiler replaces the multiplication by power of two (constant) by
a left shift.
Verified at least on MacOS Xcode 7.3, same assembly generated after fix.
2016-04-26 22:06:06 +02:00
Matthieu Darbois
c559c62853
Do not define __attribute__ in opj_includes.h ( #751 )
...
Fix #727
2016-04-23 14:17:31 +02:00
Matthieu Darbois
a9feb9addd
Merge pull request #750 from mayeut/issue-729-2
...
Allow to read/write 3/5/7/9/11/13/15 bpp TIF files
2016-04-23 10:51:46 +02:00
mayeut
74e814358c
Allow to write 3/5/7/9/11/13/15 bpp TIF files
...
Update uclouvain/openjpeg#729
2016-04-23 04:29:03 +02:00
mayeut
54393d9e38
Allow to read 3/5/7/9/11/13/15 bpp TIF files
2016-04-23 04:24:04 +02:00
Matthieu Darbois
06e8dc9edd
Merge pull request #746 from senbox-org/update_cmake_jpylyzer
...
Update cmake & jpylyzer for travis builds
2016-04-22 12:54:25 +02:00
Matthieu Darbois
f5446fdcfb
Merge pull request #747 from julienmalik/update_libpng
...
update libpng to from 1.6.17 to 1.6.21
2016-04-22 10:48:40 +02:00
Julien Malik
8611d127db
Import pnglibconf.h.prebuilt as new pnglibconf.h
2016-04-22 00:16:16 +02:00
Julien Malik
889bf16791
update libpng to from 1.6.17 to 1.6.21
2016-04-21 18:49:15 +02:00
Julien Malik
6ea2ff0b06
Update jpylyzer to 1.17.0
2016-04-21 17:58:19 +02:00
Julien Malik
3436c4e9ba
upgrade cmake to 3.5.2
2016-04-21 17:53:40 +02:00
Antonin Descampe
e1a93d9e59
Merge pull request #708 from GrokImageCompression/issue_695
...
issue #695 MQ Encode: ensure that bp pointer never points to uninitialized memory
2016-04-18 10:51:51 +02:00
Antonin Descampe
a1c0ee9a86
Merge pull request #734 from senbox-org/opj_dump_dead_code
...
Remove dead code in opj_dump
2016-04-12 10:48:02 +02:00
Antonin Descampe
40b5a53d2f
Merge pull request #735 from senbox-org/cppcheck_fix_openjp2
...
Fix uninitialized variable reported by cppcheck
2016-04-12 10:47:28 +02:00
Julien Malik
e7797b97a1
Fix uninitialized variable reported by cppcheck
...
Also reorder initialization to follow declaration order
2016-04-09 19:02:05 +02:00
Julien Malik
5e5f6999a8
Remove dead code in opj_dump
2016-04-09 18:34:11 +02:00
Aaron Boxer
0069a2bd2f
suppress valgrind error - avoid accessing uninitialized memory in mq encoder
2016-01-30 10:05:46 -05:00
Aaron Boxer
e3100f714c
issue #695 MQ Encode: ensure that bp pointer never points to uninitialized memory
2016-01-28 19:34:00 -05:00
Antonin Descampe
5c5ae1d51a
fixed tile numbering
...
Fixes #245
2016-01-25 17:30:43 +01:00
Antonin Descampe
3767af52de
Merge pull request #648 from stweil/alloc
...
Fix support of posix_memalloc for Linux
2016-01-23 19:43:09 +01:00
mayeut
1b86fb6f48
Update known failures
2016-01-11 00:35:47 +01:00
Matthieu Darbois
a42d03df79
Merge pull request #551 from mayeut/coc-qcc
...
Add COC/QCC in main header when needed
2016-01-11 00:23:44 +01:00
Mathieu Malaterre
cb33ff43bb
Merge pull request #690 from rouault/failed_malloc_opj_dwt_encode_procedure
...
[git/2.1 regression] Fix opj_write_tile() failure when numresolutions=1
2016-01-09 14:53:29 +01:00
Even Rouault
6a1974d40d
Add comment explaining bj is not use when l_data_size == 0
2016-01-09 14:30:48 +01:00
Even Rouault
87c0d7dc1e
[git/2.1 regression] Fix opj_write_tile() failure when numresolutions=1
...
When trying the GDAL OpenJPEG driver against openjpeg current master HEAD,
I get failures when trying to create .jp2 files. The driver uses
opj_write_tile() and in some tests numresolutions = 1.
In openjp2/dwt.c:410, l_data_size = opj_dwt_max_resolution( tilec->resolutions,tilec->numresolutions) * (OPJ_UINT32)sizeof(OPJ_INT32);
is called and returns l_data_size = 0. Now in git opj_malloc() has a special case
for 0 to return a NULL pointer whereas previously it relied on system malloc(),
which in my case didn't return NULL.
So only test the pointer value if l_data_size != 0. This makes the GDAL
autotest suite to pass again.
2016-01-08 19:38:45 +01:00
Matthieu Darbois
0dd44e7dba
Merge pull request #687 from stweil/memalign
...
Fix fatal crash on 64 bit Linux
2016-01-06 23:15:05 +01:00
Stefan Weil
9cad6bc1f6
Fix fatal crash on 64 bit Linux
...
By default, OpenJPEG uses the function memalign to allocate aligned
memory on Linux systems. That function needs malloc.h which was
missing. This results in a compiler warning:
openjpeg/src/lib/openjp2/opj_malloc.c:63:3: warning:
implicit declaration of function ‘memalign’
[-Wimplicit-function-declaration]
On hosts where sizeof(int) < sizeof(void *) the return value of memalign
will be truncated which results in an invalid pointer.
That caused "make test" to produce lots of segmentation faults when
running on a 64 bit Linux host.
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2016-01-06 21:40:09 +01:00
Stefan Weil
79b1c4cc85
Fix whitespace issues in opj_malloc.c
...
Some lines ended with spaces. Remove them.
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2016-01-06 21:40:01 +01:00
Stefan Weil
c00ee8bff7
Fix support of posix_memalign for Linux
...
posix_memalign is only declared conditionally in stdlib.h,
so add one of the possible definitions to get the declaration.
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2016-01-06 18:06:45 +01:00
Matthieu Darbois
a205f70328
Merge pull request #686 from mayeut/master
...
[libtiff] Add missing include statement for ssize_t
Close #681
2016-01-06 18:04:51 +01:00
mayeut
9c5b30005e
Add missing include statement for ssize_t
...
Update uclouvain/openjpeg#681
2016-01-06 17:37:37 +01:00
mayeut
83e5e2703e
Merge remote-tracking branch 'uclouvain/master'
2016-01-06 17:09:14 +01:00
Matthieu Darbois
3a0253f4e2
Merge pull request #684 from stweil/typo
...
Fix duplicate article in comments
2016-01-06 17:01:48 +01:00
Stefan Weil
99c4f621bd
Fix duplicate article in comments
...
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2016-01-06 08:55:29 +01:00
mayeut
2e4fadf330
Merge remote-tracking branch 'uclouvain/master'
2016-01-03 02:09:04 +01:00
Matthieu Darbois
8f9905936c
Merge pull request #679 from stweil/grammar
...
Fix grammar in comment
2015-12-31 11:45:51 +01:00
Stefan Weil
a834ab305f
Fix grammar in comment
...
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2015-12-31 10:13:26 +01:00
Matthieu Darbois
51efe91971
Merge pull request #665 from jwilk/spelling
...
Fix typos
2015-12-23 20:55:47 +01:00
Jakub Wilk
4ddc2627dd
Fix typos
2015-11-27 21:38:41 +01:00
mayeut
5d56fb3115
Add known failures
...
2 more tests failing under AppVayor since nov-6 update
Update #655
2015-11-07 14:50:28 +01:00
Matthieu Darbois
51cbcd5748
Merge pull request #654 from mayeut/master
...
Fix undefined size jp2 box handling
2015-11-07 14:35:45 +01:00
mayeut
f51d52f85a
Revert "Check for appveyor update"
...
This reverts commit c414d9c238 .
2015-11-07 02:59:38 +01:00
mayeut
c414d9c238
Check for appveyor update
2015-11-07 02:40:18 +01:00
mayeut
e5ca873ab1
Fix missing bracket
2015-11-07 02:06:22 +01:00
mayeut
601aa38c30
fix appveyor build
2015-11-07 02:04:10 +01:00
mayeut
fb4be3894e
Fix undefined size jp2 box handling
...
Update #653
2015-11-07 01:35:43 +01:00
mayeut
c37d69b25e
Fix Travis cmake install
2015-11-02 22:28:30 +01:00
mayeut
a77717583e
Update cmake for travis ASan build
2015-11-02 22:02:55 +01:00
Matthieu Darbois
968085190c
Merge pull request #651 from stweil/fix
...
opj_decompress: Update error message
2015-11-02 21:49:25 +01:00
Stefan Weil
93a61459cd
opj_decompress: Update error message
...
The png format is also supported, so add it to the message.
Remove also the unneeded blank character before \n.
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2015-11-01 21:01:20 +01:00
mayeut
38ffbbe42e
Fin compiler warnings
2015-11-01 17:08:47 +01:00
mayeut
ce26e523dd
Fix compiler warnings
2015-11-01 16:56:50 +01:00
Stefan Weil
7dfcbf9d7b
convert: Fix compiler warnings
...
Fix this and other similar compiler warnings:
src/bin/jp2/convert.c: In function ‘tga_readheader’:
src/bin/jp2/convert.c:595:5: warning:
dereferencing type-punned pointer will break strict-aliasing rules
[-Wstrict-aliasing]
cmap_len = get_ushort(*(unsigned short*)(&tga[5]));
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2015-11-01 16:54:38 +01:00
Stefan Weil
4ac509182a
convert: Remove unneeded type casts
...
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2015-11-01 16:53:55 +01:00
Matthieu Darbois
0ae66e891a
Merge pull request #647 from stweil/master
...
Fix typo in comments
2015-10-30 22:50:06 +01:00
Stefan Weil
9f78c68953
Fix typo in comments
...
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2015-10-29 20:37:27 +01:00
Matthieu Darbois
f080ab8ce0
Merge pull request #638 from stweil/master
...
Fix format strings and unneeded assignment
2015-10-21 20:53:22 +02:00
mayeut
e975ca2832
Merge branch 'master' into coc-qcc
2015-10-21 20:45:50 +02:00
Matthieu Darbois
b06bed7b7b
Merge pull request #644 from smuehlst/opj_aligned_malloc
...
Avoid pointer arithmetic with (void *) pointers
2015-10-21 10:10:38 +02:00
Stephan Mühlstrasser
b7a162348d
Avoid pointer arithmetic with (void *) pointers.
2015-10-21 09:01:31 +02:00
Stephan Mühlstrasser
540aa58f6c
Merge branch 'master' into opj_aligned_malloc
...
Conflicts:
src/lib/openjp2/opj_malloc.c
2015-10-21 08:57:45 +02:00
mayeut
d48be27f5a
Generic aligned malloc implementation update.
...
Update #642
2015-10-21 00:09:04 +02:00
Stephan Mühlstrasser
eaf55b677c
Generic aligned malloc implementation.
...
Used for platforms where none of posix_memalign(), memalign() and
_aligned_malloc() is available.
2015-10-20 21:34:54 +02:00
Stephan Mühlstrasser
0967d64854
Generic aligned malloc implementation.
...
Used for platforms where none of posix_memalign(), memalign() and
_aligned_malloc() is available.
2015-10-20 13:02:51 +02:00
Matthieu Darbois
5799672237
Merge pull request #641 from smuehlst/opj_hp_issue_640
...
Fix HP compiler warning about redeclaration of function
Fix #640
Fix #243
2015-10-19 22:23:54 +02:00
Stephan Mühlstrasser
a1fc83cc25
Fix HP compiler warning about redeclaration of function ( #640 )
...
HP compiler warns:
cc: "dwt.c", line 798: warning 562: Redeclaration of "opj_v4dwt_decode"
with a different storage class specifier: "opj_v4dwt_decode" will have
internal linkage.
cc: "t2.c", line 1341: warning 562: Redeclaration of "opj_t2_init_seg"
with a different storage class specifier: "opj_t2_init_seg" will have
internal linkage.
2015-10-19 12:14:27 +02:00
Stefan Weil
ad7eb5630e
Fix format strings and unneeded assignment
...
The static code analyzer cppcheck warns about unsigned integers
which use "%d" in the format string.
It also warns about an unneeded assignment.
Fix both issues.
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2015-10-18 19:52:57 +02:00
Matthieu Darbois
4831badeb4
Merge pull request #637 from stweil/fixes
...
Fix repository for JPEG2000 test data
2015-10-18 14:42:58 +02:00
mayeut
80be580d50
Merge branch 'master' into coc-qcc
2015-10-18 03:23:38 +02:00
Matthieu Darbois
05b3afd28f
Merge pull request #636 from uclouvain/opj_malloc-625
...
Update allocation functions
Fix #625
Fix #624
Fix #635
2015-10-18 03:14:55 +02:00
mayeut
e1122a8f50
Cleanup includes
2015-10-18 02:52:33 +02:00
mayeut
f9d47e28b9
Fix _aligned_malloc usage
2015-10-18 02:23:01 +02:00
mayeut
8034ffde8b
Fix inconsistent behavior of malloc(0)
...
Update #635
Update #625
2015-10-17 02:55:09 +02:00
mayeut
b3a15954f6
Add missing checks. Fix crash on failed allocation.
2015-10-17 02:16:17 +02:00
mayeut
83249c318f
Fixed crash on encoding
...
Update #624
Update #625
2015-10-17 01:30:23 +02:00
Matthieu Darbois
b1a8e1adcb
Change link for appveyor
2015-10-15 23:31:42 +02:00
Matthieu Darbois
ee04854e1a
Merge pull request #634 from smuehlst/opj_aix_issue_633
...
Fix #633 .
2015-10-15 13:14:58 +02:00
Stephan Mühlstrasser
b3c581760f
Fix OpenJPEG GitHub issue #633 .
...
"opj_includes.h" must be included before system headers, otherwise
inconsistent definitions of configuration macros lead to build
failures on AIX.
2015-10-15 10:53:33 +02:00
Matthieu Darbois
bd3959dc77
Merge pull request #632 from mayeut/travis-reduce
...
travis-ci: Include add ons in matrix
2015-10-15 01:18:17 +02:00
mayeut
fd424cfb66
travis-ci: Include add ons in matrix
2015-10-15 00:58:58 +02:00
mayeut
e734f0522a
Remove useless environment variables
2015-10-15 00:17:05 +02:00
mayeut
9729405a8f
Add ABI check for PR
2015-10-14 22:43:39 +02:00
Matthieu Darbois
65f78eaa73
Use SPDX full name & identifier for license
2015-10-13 23:54:18 +02:00
Matthieu Darbois
08238dbed6
Add appveyor status badge & license badge
2015-10-13 23:24:10 +02:00
mayeut
c8d03fea9b
Merge branch 'master' into coc-qcc
2015-10-13 21:57:58 +02:00
mayeut
6721f8a53f
Correct unbound variable
2015-10-13 21:37:11 +02:00
Matthieu Darbois
54a5860ee2
Merge pull request #627 from mayeut/appveyor
...
Add Appveyor
2015-10-13 21:27:01 +02:00
Mathieu Malaterre
372fead0d7
Remove the explicit restrict keyword
...
It would trigger a compiler error on xlc compiler. Fixes #620
2015-10-13 21:07:11 +02:00
Giuseppe Baruffa
98324bbd6b
I do not recall exactly... I would say that the correct version should be
...
if (!JPWL_ASSUME)
return false;
meaning that once JPWL_ASSUME=1 the code will pass over such errors and try to decode anyway (just paired with the other JPWL_ASSUME on line 1112).
Fixes #596
2015-10-13 15:20:54 +02:00
mayeut
522d13af2a
Update ci install script
2015-10-12 21:29:16 +02:00
Mathieu Malaterre
26dcb7c125
Remove a possible uninitialized variable
...
Fixes #629
2015-10-12 21:29:12 +02:00
Mathieu Malaterre
51a67a9cbf
Minor style fix to remove c++ comments
2015-10-12 21:25:53 +02:00
Mathieu Malaterre
dd81b5892d
minor tweaks to the code
2015-10-12 21:24:10 +02:00
mayeut
0cd240e2e3
Add appveyor.yml
2015-10-11 17:59:54 +02:00
mayeut
dac03fd168
Add exceptions
2015-10-11 17:33:40 +02:00
mayeut
d02bf257a6
Find out Visual Studio version
2015-10-11 17:10:48 +02:00
mayeut
0f1b1c63b4
Add exceptions
2015-10-11 13:47:44 +02:00
mayeut
11a27e6d20
Correct exceptions
2015-10-10 23:43:50 +02:00
Mathieu Malaterre
ab8929262a
Fix an issue with parenthesis
2015-10-10 21:03:44 +02:00
mayeut
813121e688
Add exceptions
2015-10-10 20:01:03 +02:00
mayeut
7a7901cd6d
Correct script
2015-10-10 19:29:53 +02:00
mayeut
c5a8732b0e
Update kdu copy
2015-10-10 19:26:42 +02:00
mayeut
101a0034e2
Re-enable cloning data
2015-10-10 19:20:50 +02:00
mayeut
2c8ba10cc9
update script
2015-10-10 19:15:52 +02:00
mayeut
30a0180d84
correct kdu copy
2015-10-10 19:02:35 +02:00
mayeut
99c4376aed
kdb copy
2015-10-10 18:58:26 +02:00
mayeut
c3493063b9
correct OPJ_SITE
2015-10-10 18:45:58 +02:00
mayeut
4042210416
run with appveyor
2015-10-10 18:39:59 +02:00
Mathieu Malaterre
dc869c2985
Add paranoid sentinels
2015-10-10 18:38:08 +02:00
mayeut
caeb91121a
export updated path
2015-10-10 18:34:21 +02:00
mayeut
891e7c298a
debug appveyor
2015-10-10 18:29:37 +02:00
mayeut
d60937922f
correct warnings
2015-10-10 18:24:57 +02:00
mayeut
229d9cdb9c
export TRAVIS_OS_NAME
2015-10-10 18:21:42 +02:00
mayeut
f0a980ec16
verbose
2015-10-10 18:19:09 +02:00
mayeut
cc9bf1d557
Use make under windows
2015-10-10 18:15:28 +02:00
mayeut
a01f7cdee0
debug appveyor
2015-10-10 18:01:43 +02:00
Mathieu Malaterre
d753441028
implement a portable aligned realloc
2015-10-10 17:51:29 +02:00
mayeut
53d7f70c15
remove cygwin specifics
2015-10-10 17:51:13 +02:00
mayeut
70a16d80d9
Debug build
2015-10-10 17:31:04 +02:00
mayeut
4560d270e0
Correct make script
2015-10-10 17:27:49 +02:00
mayeut
f33f50126c
Add OPJ_BINARY_DIR
2015-10-10 17:25:50 +02:00
mayeut
8d2019ae73
Correct source path
2015-10-10 17:16:25 +02:00
mayeut
cf6db1641a
get proper path
2015-10-10 17:12:05 +02:00
mayeut
9df5546838
Change OS guessing
2015-10-10 17:05:11 +02:00
mayeut
b816ac185b
change os guessing
2015-10-10 16:50:30 +02:00
mayeut
d92c2b2117
Run under appveyor
2015-10-10 16:44:07 +02:00
mayeut
d035952c52
jpylyzer download
2015-10-10 15:18:12 +02:00
mayeut
1ed6ede703
Debug wget jpylyzer
2015-10-10 15:14:16 +02:00
mayeut
d03c4770cb
Continue debugging wget jpylyzer
2015-10-10 15:08:25 +02:00
mayeut
50b561e911
Debug wget jpylyzer on appveyor
2015-10-10 14:57:25 +02:00
Mathieu Malaterre
2d410fc74b
do not use aligned_alloc since it requires c11
2015-10-10 14:54:21 +02:00
mayeut
d5c460fc5f
Download jpylyzer for windows
2015-10-10 14:51:30 +02:00
mayeut
62006e2b26
which provided by git, try wget
2015-10-10 14:30:15 +02:00
mayeut
d05b19072d
Add appveyor support
2015-10-10 14:19:57 +02:00
mayeut
32ac092dec
Disable ABI check. Keep API check.
2015-10-10 00:23:54 +02:00
mayeut
27102f0b06
Update ABI tools
2015-10-09 23:51:54 +02:00
mayeut
87d44603a0
Update exception list for gcc 4.6.4
2015-10-09 23:19:23 +02:00
mayeut
74f71ec923
Use matrix
2015-10-09 23:00:06 +02:00
mayeut
5c3632b00e
Remove travis debugging
2015-10-09 22:24:51 +02:00
mayeut
a4eade843f
disable output for diff build
2015-10-09 22:23:32 +02:00
mayeut
cba89a62a1
Revert modification made to check incompatibility
2015-10-09 22:20:16 +02:00
mayeut
4123c0ba86
Merge branch 'master' into travis-abi
2015-10-09 22:16:37 +02:00
mayeut
1a9cb9aef7
Use gcc-4.8 for ABI tracker
2015-10-09 22:09:50 +02:00
Mathieu Malaterre
0dc4914b4e
cleanup header file and move to implementation
2015-10-09 22:04:04 +02:00
mayeut
e224dee4b8
travis debugging
2015-10-09 21:52:39 +02:00
mayeut
d2ddf006a6
retrieve & compile wdiff
2015-10-09 21:48:33 +02:00
mayeut
a7ae153a46
ABI Check
2015-10-09 21:20:54 +02:00
mayeut
de0a9ed103
Revert "Make sure to allocate on 16bits alignement. Fix issue #624 "
...
This reverts commit 553714a87a .
2015-10-09 21:13:06 +02:00
Mathieu Malaterre
553714a87a
Make sure to allocate on 16bits alignement. Fix issue #624
2015-10-09 15:37:09 +02:00
mayeut
1b2ebfc69a
Add ABI tracker
2015-10-08 20:06:59 +02:00
mayeut
3259fe2ff8
Merge branch 'master' into coc-qcc
2015-10-08 19:11:52 +02:00
Matthieu Darbois
bbef2a9da3
Merge pull request #584 from mayeut/travis-matrix
...
Add Travis-ci build matrix
2015-10-08 19:04:24 +02:00
mayeut
5b6ff103bd
Merge branch 'master' into travis-matrix
2015-10-07 21:14:38 +02:00
mayeut
c86827952f
Merge remote-tracking branch 'uclouvain/master'
2015-10-07 21:07:24 +02:00
Matthieu Darbois
9b437b0c6a
Merge pull request #623 from stweil/c++
...
Fix warnings for C++
2015-10-07 21:05:25 +02:00
Stefan Weil
c8ae3c5225
Fix warnings for C++
...
g++ complains about invalid conversions like these ones:
error: invalid conversion from ‘const char*’ to ‘char*’ [-fpermissive]
error: invalid conversion from ‘void*’ to ‘opj_precision* {aka opj_prec*}’ [-fpermissive]
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2015-10-07 20:53:57 +02:00
Matthieu Darbois
07f65540b5
Merge pull request #622 from smuehlst/opj_enum_bit_flags
...
Fixed problem that C++ compilation failed because of enum variable.
Fixes #619
2015-10-07 20:44:05 +02:00
Stephan Mühlstrasser
8414870ca7
Fixed problem that C++ compilation failed because of enum variable.
...
Replaced usage of an enum typedef for a variable that is used
for bit flags with OPJ_UINT32 type.
2015-10-07 12:28:12 +02:00
mayeut
2dab5fed59
Merge branch 'master' into coc-qcc
2015-10-06 20:55:36 +02:00
mayeut
26b2728c49
Merge branch 'master' into travis-matrix
2015-10-06 20:54:16 +02:00
mayeut
e526d435cc
Merge remote-tracking branch 'uclouvain/master'
2015-10-06 20:48:37 +02:00
Matthieu Darbois
f8c8222660
Merge pull request #618 from smuehlst/opj_malloc_casts
...
Added missing casts for return values of opj_malloc()/opj_calloc().
2015-10-06 16:24:20 +02:00
Stephan Mühlstrasser
d6b51b7041
Added missing casts for return values of opj_malloc()/opj_calloc().
2015-10-06 15:33:46 +02:00
mayeut
987f96004f
Merge branch 'master' into travis-matrix
2015-10-05 21:50:59 +02:00
mayeut
0b6a592372
Merge remote-tracking branch 'uclouvain/master'
2015-10-05 21:49:39 +02:00
Matthieu Darbois
83c9e0b1f2
Merge pull request #617 from mayeut/tpsot-tnsot-noseek
...
Add check for seek support before trying TPsot==TNsot workaround
2015-10-05 11:45:56 +02:00
mayeut
db23831d57
Add check for seek support before trying TPsot==TNsot workaround
2015-10-02 22:33:44 +02:00
Stefan Weil
0cfe2ca4a9
Fix repository for JPEG2000 test data
...
The data is now maintained in a git repository on Github.
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2015-09-29 15:28:43 +02:00
mayeut
cf352af089
Fix up-scaling bit depth
...
Fixes #609
2015-09-29 09:28:34 +02:00
Matthieu Darbois
c59f464a3f
Merge pull request #610 from stweil/master
...
Fix some typos found by codespell
2015-09-29 08:24:43 +02:00
Stefan Weil
05235963d9
Fix typo in variable name
...
This makes checks with codespell easier.
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2015-09-29 05:57:09 +02:00
Stefan Weil
99fc1ab306
Fix typos in comments and string
...
Most typos were found by codespell.
Signed-off-by: Stefan Weil <sw@weilnetz.de >
2015-09-29 05:55:43 +02:00
mayeut
f7dbcf1512
Merge branch 'master' into travis-matrix
2015-09-25 22:27:56 +02:00
mayeut
838dfb8058
Provide safer string copy than strncpy
...
As per @boxerab suggestion in commit
b9ca882749
2015-09-25 22:04:58 +02:00
mayeut
4da7e9617f
Fix resource leak
2015-09-25 00:39:05 +02:00
mayeut
b9ca882749
Fix resource leaks & unchecked resource allocations
2015-09-25 00:08:34 +02:00
mayeut
f9df8ba19a
Fix some resource leaks
2015-09-24 23:32:03 +02:00
mayeut
09c35dcb84
Merge branch 'master' into travis-matrix
2015-09-23 21:20:11 +02:00
mayeut
f82d7f3a63
Use buffer on stack to read TGA header
...
Fixes a potential leak
Fixes #601
2015-09-23 21:17:06 +02:00
mayeut
faf63fddad
Fix warning in rle4 decoding
2015-09-23 21:09:19 +02:00
Matthieu Darbois
281537851b
Add Coverity Scan status
2015-09-17 14:24:06 +02:00
mayeut
55dbf8acff
Fix resource leak in opj_j2k_create_cstr_index
...
Fixes #599
2015-09-17 12:46:42 +02:00
mayeut
c16c91797f
Fix resource leak in opj_j2k_encode
...
Fixes #598
2015-09-17 12:41:41 +02:00
mayeut
a4e93c3b0a
fix resource leak in opj_j2k_decode_one_tile
...
Fixes #597
2015-09-17 12:31:18 +02:00
mayeut
4bb5e24d23
Merge branch 'master' into coc-qcc
2015-09-17 02:12:27 +02:00
Mathieu Malaterre
6cb56b36f6
Update opj_decompress man page
2015-09-16 20:54:34 +02:00
Mathieu Malaterre
9c911c0e1e
Update the version number
2015-09-16 20:49:45 +02:00
mayeut
3ea4486bed
Travis-ci update
...
Correct case in config
Check DynamicAnalysis result
2015-09-14 20:09:50 +02:00
mayeut
6e11b55441
Travis-ci add linux gcc x86_64 Debug
2015-09-14 19:37:56 +02:00
mayeut
c6b2fdf572
correct MemCheck log filename
2015-09-13 16:34:17 +02:00
mayeut
700f8cb4f8
Ignore ctest return code
...
ctest behavior is not consistent across versions.
Ignore return code & parse logs
2015-09-13 16:09:24 +02:00
mayeut
7d32f11a6f
Merge branch 'master' into travis-matrix
2015-09-13 14:58:01 +02:00
Matthieu Darbois
b4e8a425ae
Merge pull request #590 from mayeut/master
...
Correct leak in color_cielab_to_rgb
2015-09-13 14:55:13 +02:00
mayeut
c8a3117659
Fix function name
2015-09-13 14:51:00 +02:00
mayeut
49cbc11a19
Correct leak in color_cielab_to_rgb
2015-09-13 14:42:56 +02:00
mayeut
3d295431e6
Travis set ASan build to -O1
2015-09-12 20:21:52 +02:00
mayeut
c08bd89739
Travis fix error when no tests are done
2015-09-12 20:06:31 +02:00
mayeut
1621df453d
Travis error on new failures
2015-09-12 19:32:05 +02:00
mayeut
0b611c5250
Travis full matrix
2015-09-12 18:21:25 +02:00
mayeut
b8ba5a8357
Travis mingw
2015-09-12 18:12:38 +02:00
mayeut
9add0fe298
Travis mingw
2015-09-12 18:10:38 +02:00
mayeut
ecb00ea4e4
Travis mingw
2015-09-12 18:06:31 +02:00
mayeut
cde7423958
Travis add mingw
2015-09-12 17:56:29 +02:00
mayeut
6c157b60f2
Fix Travis ASan build
2015-09-12 16:37:47 +02:00
mayeut
fc131a1339
Travis ASan build
2015-09-12 16:36:19 +02:00
mayeut
4f157f3cf0
Fix matrix for debug build
2015-09-12 16:16:19 +02:00
mayeut
41730e8cc6
Travis add debug config
2015-09-12 16:11:56 +02:00
mayeut
82c238f504
Fix OPJ_CI_SKIP_TESTS
2015-09-12 15:52:13 +02:00
mayeut
52c36b4955
Add 32 bit build
2015-09-12 15:48:23 +02:00
mayeut
b7069ce2b2
Download kakadu on osx
2015-09-12 13:03:50 +02:00
mayeut
cc2ae75450
Fix build with gcc 4.6.3
2015-09-12 05:50:57 +02:00
mayeut
b97aadcf3e
Fix travis build with make 2.8.7
2015-09-12 05:44:52 +02:00
mayeut
1e2dcaf7b3
Add ctest script
2015-09-12 05:26:19 +02:00
mayeut
175eceb020
Fix matrix
2015-09-12 03:19:42 +02:00
mayeut
7981908754
Fix unbound variable
2015-09-12 03:13:45 +02:00
mayeut
9258f8f6a7
Use make to unzip kakadu
2015-09-12 03:02:42 +02:00
mayeut
41a96aee5a
Fix fetching of openjpeg-data
...
Fetch from master branch if TRAVIS_BRANCH doesn’t exist
2015-09-12 02:59:49 +02:00
mayeut
897d2c0b75
Enhance travis run script
2015-09-12 02:34:14 +02:00
mayeut
e3579b6c1d
Revert "Setup travis matrix"
...
This reverts commit 8d46ac19ff .
2015-09-12 02:20:22 +02:00
mayeut
8d46ac19ff
Setup travis matrix
...
This is just to get some ideas of what can be done.
Update uclouvain/openjpeg#581
2015-09-12 02:19:28 +02:00
Matthieu Darbois
4b02d246a4
Merge pull request #578 from mayeut/travis-ci
...
Travis-ci update, use Kakadu for testing
2015-09-11 21:36:07 +02:00
mayeut
47b7b2787b
Echo Kakadu copyright notice
...
Move to script so that travis-ci doesn’t hide this by default
2015-09-11 21:25:45 +02:00
mayeut
c31a28fcd1
Echo Kakadu copyright notice
2015-09-11 21:21:22 +02:00
mayeut
cd10f46572
Echo Kakadu copyright notice
2015-09-11 21:15:17 +02:00
mayeut
29ce132df4
Echo Kakadu copyright notice
2015-09-11 21:04:49 +02:00
Matthieu Darbois
5d953558de
Merge pull request #579 from mayeut/lossless
...
Correct lossless issue on linux x86
Fix #571
2015-09-11 14:39:43 +02:00
Matthieu Darbois
bac2c9e0a3
Change test in opj_tcd_makelayer
...
Remove float equality test. Such a test has no meaning.
2015-09-11 14:17:30 +02:00
Matthieu Darbois
ee0f313848
Update check in opj_tcd_makelayer to be robust to different float precisions
2015-09-10 15:46:51 +02:00
Matthieu Darbois
ccdce606f1
Fix threshold calculation
...
It doesn't change the outcome of the test suite, that's weird...
2015-09-10 15:10:14 +02:00
mayeut
d7d9f84707
Remove invalid assert in compare_images
2015-09-10 08:04:59 +02:00
mayeut
4cde646cd7
Add test for uclouvain/openjpeg#571
2015-09-10 01:24:46 +02:00
mayeut
5f02757eef
Correct lossless issue on linux x86
...
Update uclouvain/openjpeg#571
2015-09-10 00:39:23 +02:00
mayeut
4f5ec07c31
Remove C++ comment
2015-09-09 23:38:46 +02:00
mayeut
0a27667878
Add notice for kakadu use
2015-09-09 21:35:50 +02:00
mayeut
66d890bf22
Merge remote-tracking branch 'uclouvain/master' into coc-qcc
2015-09-08 22:33:07 +02:00
mayeut
dd00120e96
Add Kakadu tests
2015-09-08 22:24:06 +02:00
mayeut
e71247bb90
correct untar of jpylyzer
2015-09-08 01:50:18 +02:00
mayeut
a024980007
Add jpylyzer tests
2015-09-08 01:47:26 +02:00
mayeut
dc46d267f0
Add build results to CDash
2015-09-08 01:19:44 +02:00
mayeut
c32809d464
Submit test results to CDash
2015-09-08 00:32:20 +02:00
mayeut
5be56d582c
Set tests succeed for now
2015-09-07 23:31:28 +02:00
mayeut
bd291ae5a8
Add tests when running travis-ci
2015-09-07 23:19:40 +02:00
mayeut
f1ba09f690
Add tests when running travis-ci
2015-09-07 23:16:48 +02:00
mayeut
4eabbc8661
Add travis-ci build status
2015-09-07 22:47:32 +02:00
mayeut
e4be47279d
Add travis-ci script
2015-09-07 22:40:11 +02:00
mayeut
29c644ec49
Correct mismatching delete
...
Fixes #575
2015-09-07 19:24:20 +02:00
mayeut
940100c28a
Fix potential use-after-free in opj_j2k_write_mco function
...
Fixes #563
2015-09-06 17:24:03 +02:00
mayeut
c31fb68ccc
fix resource leak in jpwl
...
Fixes #573
2015-09-06 17:18:37 +02:00
Matthieu Darbois
15d07f33d1
Merge pull request #572 from mayeut/master
...
Correct CMake version requirements
2015-09-01 20:53:25 +02:00
mayeut
c5dd6035c9
Correct CMake version requirements
...
Update uclouvain/openjpeg#488
2015-09-01 20:43:43 +02:00
mayeut
2eb97a851d
Update tests
2015-08-23 12:32:21 +02:00
mayeut
8a95efcd3f
Fix some UBSan warnings
2015-08-23 11:43:38 +02:00
mayeut
38770403d4
Fix some calculations in opj_tcd_init_tile
...
Fixes #486
Fixes #394
Update #480
Update #388
2015-08-23 11:38:04 +02:00
Matthieu Darbois
589cc547b9
Merge pull request #567 from mayeut/master
...
Add tests for CMYK/esYCC/CIELab
2015-08-21 21:44:05 +02:00
mayeut
a521472427
Add tests for CMYK/esYCC/CIELab
2015-08-21 21:41:50 +02:00
mayeut
d4ac2f613d
Fix formatting
2015-08-21 20:17:55 +02:00
mayeut
fa9142b7e4
Fix formatting
2015-08-21 20:15:50 +02:00
mayeut
f98df1c715
TIFF can output CMYK
2015-08-21 19:54:22 +02:00
Matthieu Darbois
3109759fd7
Merge pull request #559 from szukw000/cmyk-cielab-esycc
...
Add support for CIELab, EYCC and CMYK
2015-08-21 19:48:31 +02:00
mayeut
0a4ac0852a
Merge remote-tracking branch 'uclouvain/master' into coc-qcc
2015-07-31 01:50:55 +02:00
mayeut
dc34a6cc8c
Add test for #388
2015-07-31 01:48:51 +02:00
szukw000
238f4419ab
Defines three new functions
...
Declares three new functions
Calls the three new functions
Collects data for CIELab, sets the color_space for EYCC and CMYK
2015-07-30 23:31:12 +00:00
mayeut
60301842c7
Sync coc-qcc branch with master
2015-07-31 01:07:14 +02:00
ak-dxdy
acbb297a0a
Small correction + attempt to understand git-openjpeg workflow
2015-07-31 00:51:31 +02:00
ak-dxdy
4fc1073809
French comments replaced by English ones
2015-07-31 00:51:08 +02:00
Matthieu Darbois
7c688c3453
Merge pull request #558 from mayeut/remove-printf
...
Remove printf/fprintf to stdout/stderr throughout openjp2 lib
2015-07-30 23:37:20 +02:00
mayeut
372c887aad
Fix typo (that brakes building with '-DBUILD_MJ2:bool=on')
...
Fixes #556
2015-07-30 23:34:12 +02:00
mayeut
0df90afdf7
Remove printf/fprintf to stdout/stderr throughout openjp2 lib
...
Update uclouvain/openjpeg#246
2015-07-30 23:26:31 +02:00
Matthieu Darbois
75a33de3bc
Merge pull request #552 from mayeut/jpylyzer
...
Add jpylyzer tests for JP2 compression
2015-07-30 18:13:15 +02:00
Matthieu Darbois
f026c0541e
Merge pull request #555 from rdieter/master
...
better -ffast-math handling
2015-07-30 18:09:42 +02:00
Rex Dieter
e4735c703d
better -ffast-math handling
...
issue #488
See also
http://public.kitware.com/pipermail/cmake/2015-April/060479.html
2015-07-30 09:54:07 -05:00
mayeut
ae7953849b
Add jpylyzer tests for JP2 compression
...
Unify syntax
2015-07-30 01:33:04 +02:00
mayeut
1947323329
Add jpylyzer tests for JP2 compression
2015-07-30 01:27:34 +02:00
mayeut
c3d9719cd4
Write COC/QCC in Main Header
...
Update uclouvain/openjpeg#459
2015-07-29 00:29:49 +02:00
mayeut
2263b6bacc
Start support for qcc/coc
2015-07-28 23:58:10 +02:00
Matthieu Darbois
5b66156be4
Merge pull request #550 from mayeut/msvc-emul
...
Use __emul under msvc x86 for fast 64 = 32 * 32
2015-07-27 20:14:18 +02:00
mayeut
b0035538af
Use __emul under msvc x86 for fast 64 = 32 * 32
...
Update uclouvain/openjpeg#220
2015-07-27 20:12:48 +02:00
mayeut
45ccf501f0
Fix ARM build with Visual Studio
2015-07-26 21:12:36 +02:00
mayeut
15e4168ee2
Remove some warnings when building
...
Update #442
2015-07-26 19:19:31 +02:00
mayeut
2452bb7c45
Remove some warnings when building
...
Update #442
2015-07-26 19:01:52 +02:00
mayeut
85904a3291
Fix libtiff build with Visual Studio 2010
2015-07-26 18:49:23 +02:00
Matthieu Darbois
012f22958a
Merge pull request #549 from mayeut/master
...
Update convert for PNG output
2015-07-26 18:29:30 +02:00
mayeut
f3dad25c77
Update convert for PNG output
...
Update uclouvain/openjpeg#264
2015-07-26 18:28:03 +02:00
mayeut
e6cf1744d4
Remove some warnings when building
...
Update #442
2015-07-26 13:41:59 +02:00
Matthieu Darbois
db9b3400e5
Merge pull request #548 from mayeut/master
...
Remove some warnings when building
2015-07-26 02:42:41 +02:00
mayeut
c423cc84e7
Remove some warnings when building
...
Update #442
2015-07-26 02:41:39 +02:00
Matthieu Darbois
d87de3a88d
Merge pull request #547 from mayeut/libpng-1.6.17
...
Switch to libpng-1.6.17
2015-07-25 20:33:36 +02:00
mayeut
6007ac5c56
Switch to libpng-1.6.17
2015-07-25 19:48:21 +02:00
Matthieu Darbois
335e972554
Merge pull request #528 from mayeut/zlib-1.2.8
...
Update zlib to version 1.2.8
2015-07-25 19:00:51 +02:00
Matthieu Darbois
8c4afeff40
Merge pull request #521 from manisandro/bigendian
...
Fix opj_write_bytes_BE
Fixes #472
Fixes #345
Fixes #518
2015-07-25 15:54:26 +02:00
mayeut
ffd9db9700
Remove some warnings when building
...
Update #442
2015-07-25 03:16:16 +02:00
mayeut
b190a91ab5
Remove some warnings when building
...
Update #442
2015-07-24 23:55:45 +02:00
Matthieu Darbois
f6843d5511
Merge pull request #545 from mayeut/master
...
Add some missing static keywords
2015-07-23 07:49:58 +02:00
mayeut
a56819eaab
Add some missing static keywords
...
Update uclouvain/openjpeg#243
2015-07-23 07:48:42 +02:00
Matthieu Darbois
d6f2d26430
Merge pull request #543 from mayeut/master
...
Prevent overflow when coding 16 bits images
2015-07-22 00:19:38 +02:00
mayeut
9ac3a1572e
Prevent overflow when coding 16 bits images
...
Update uclouvain/openjpeg#539
2015-07-22 00:10:32 +02:00
Matthieu Darbois
0905cab40a
Merge pull request #542 from mayeut/lcms2-2.6
...
Switch to libcms2-2.6
2015-07-22 00:03:44 +02:00
mayeut
2fc9d4956a
Switch to libcms2-2.6
2015-07-21 23:49:11 +02:00
Matthieu Darbois
28c6f54798
Merge pull request #533 from mayeut/refactor-read-ppX
...
Refactor opj_j2k_read_ppm & opj_j2k_read_ppt
Fixes uclouvain/openjpeg#470
Fixes uclouvain/openjpeg#288
Fixes uclouvain/openjpeg#532
2015-07-21 01:26:02 +02:00
Matthieu Darbois
2c7dab7655
Merge pull request #534 from mayeut/issue-235
...
Add checks for odd looking cmap & for cmap outside jp2h box
2015-07-21 00:47:23 +02:00
mayeut
96ae1b8dfc
Add test for odd looking cmap & for cmap outside jp2h
...
Update uclouvain/openjpeg#235
2015-07-21 00:46:55 +02:00
mayeut
1bbb607069
Merge remote-tracking branch 'uclouvain/master' into issue-235
2015-07-21 00:20:05 +02:00
Matthieu Darbois
fd1f7cf297
Merge pull request #538 from mayeut/master
...
Update PNG support
Fixes #536
2015-07-19 17:48:46 +02:00
mayeut
5bb074611a
Update PNG support
...
Only input modified for now
Update uclouvain/openjpeg#536
Update uclouvain/openjpeg#264
2015-07-19 17:42:11 +02:00
mayeut
46c1dd22fc
Correct error message for invalid TIFF input
2015-07-19 15:01:12 +02:00
Matthieu Darbois
06f6911d7b
Merge pull request #537 from mayeut/master
...
Various Minor fixes
2015-07-18 21:46:59 +02:00
mayeut
ae4799ad07
Add some missing static
...
Still needs to check j2k.c & jp2.c
Update uclouvain/openjpeg#243
2015-07-18 02:39:32 +02:00
mayeut
b88025b38f
Add headers to CMake target
2015-07-18 01:50:17 +02:00
Matthieu Darbois
b59085db0c
Merge pull request #535 from mayeut/converttif
...
Update TIFF conversion to support more bit depth.
2015-07-18 00:33:02 +02:00
mayeut
8048bbc7a2
Add tests for TIFF input with Alpha channel
...
Update uclouvain/openjpeg#322
2015-07-18 00:07:04 +02:00
mayeut
d1591be3d7
Add tests for TIFF output
...
Update uclouvain/openjpeg#322
2015-07-17 23:22:40 +02:00
mayeut
6b7ad74e26
Add tests for TIFF input
...
Update uclouvain/openjpeg#322
2015-07-16 23:20:50 +02:00
mayeut
635a358962
Fix build warnings in converttif.c
2015-07-16 06:51:21 +02:00
mayeut
8f798864a9
Update imagetotif to support more output TIF formats
...
Update uclouvain/openjpeg#322
Update uclouvain/openjpeg#264
2015-07-16 00:26:02 +02:00
mayeut
ac9fb5a302
Update tiftoimage to support more input TIF formats
...
Update uclouvain/openjpeg#322
Update uclouvain/openjpeg#264
2015-07-14 23:51:02 +02:00
mayeut
775ee87776
Add checks for odd looking cmap & for cmap outside jp2h box
...
Update uclouvain/openjpeg#235
Update uclouvain/openjpeg#447
2015-07-12 19:39:30 +02:00
mayeut
0b1f8eb6f7
Merge pull request #529 from renevanderark/master
...
fix Suspicious code in j2k.c
Fixes #517
2015-07-12 19:20:57 +02:00
mayeut
c887df12a3
Refactor opj_read_ppm
...
Update uclouvain/openjpeg#470
Update uclouvain/openjpeg#288
2015-07-12 18:09:30 +02:00
mayeut
d1b053afe2
Refactor opj_j2k_read_ppt
...
Update uclouvain/openjpeg#470
Update uclouvain/openjpeg#532
2015-07-12 15:55:58 +02:00
mayeut
5e1474cc92
Merge pull request #531 from mayeut/issue-289
...
Add option to force component splitting in imagetopnm
2015-07-11 11:42:58 +02:00
mayeut
dc43ebf96c
Add option to force component splitting in imagetopnm
...
Update uclouvain/openjpeg#289
2015-07-11 11:35:21 +02:00
Antonin Descampe
a7060dae1c
updated doxygen website references
2015-07-10 18:03:28 +02:00
Rene van der Ark
ba05549b0f
fix Suspicious code in j2k.c #517
2015-07-08 11:13:31 +02:00
mayeut
fb0e397330
Update zlib to version 1.2.8
2015-07-04 18:45:06 +02:00
mayeut
35ddb3abc7
Fix CMake warning when testing for LFS
...
Update issue #442
2015-07-04 17:33:28 +02:00
mayeut
237ddd72f1
Merge pull request #514 from mayeut/issue-254
...
Correctly decode files with incorrect tile-part header fields (TPsot==TNsot)
Fixes uclouvain/openjpeg#254
2015-07-04 00:47:59 +02:00
mayeut
c999b6c0f0
uclouvain/openjpeg#254 Add build option to disable the fix
2015-07-04 00:04:55 +02:00
mayeut
4e0de649bd
uclouvain/openjpeg#254 Update MD5 sums for tests
2015-07-03 23:25:14 +02:00
Aaron Boxer
6b0a8e3a0f
upgraded to libtiff v4.0.4
2015-07-03 19:19:17 +02:00
Antonin Descampe
eadfad7a50
commented out printf line
2015-07-03 17:36:39 +02:00
Antonin Descampe
14361eee24
commented out a printf line
2015-07-03 16:35:16 +02:00
Aaron Boxer
c9e231508b
various small T1 optimizations
2015-07-03 15:23:15 +02:00
Aaron Boxer
6347686385
fixed a few bugs
2015-07-03 15:22:58 +02:00
Aaron Boxer
1a8f929111
visual studio lrintf is very slow - do not use
2015-07-03 15:22:42 +02:00
Aaron Boxer
56d3f5af6e
add timing to compress and decompress
2015-07-03 15:20:11 +02:00
Sandro Mani
c665e81a39
Fix opj_write_bytes_BE ( #518 )
2015-06-25 23:11:22 +02:00
Antonin Descampe
c6c49865fe
Update README.md
2015-06-24 17:11:09 +02:00
Antonin Descampe
52d27be5c2
Update README.md
2015-06-17 14:24:25 +02:00
Antonin Descampe
6e0118231a
Update README.md
2015-06-17 14:15:26 +02:00
Antonin Descampe
da3786d2d1
Merge pull request #510 from radarhere/patch-1
...
Fixed typos
2015-06-16 14:01:53 +02:00
Andrew Murray
8d770ece9a
Fixed typos
2015-06-16 15:07:20 +10:00
Antonin Descampe
0a0cb190da
Merge pull request #507 from htmfilho/master
...
Formatted the readme file
2015-06-15 09:56:50 +02:00
Hildeberto Mendonça
79b079bdc0
Update README.md
2015-06-13 15:39:03 +02:00
Hildeberto Mendonça
dbb67194b2
Formatted the readme file
...
Put the extension `md` to allow GitHub to identify the file and transform it to HTML, improving the presentation of the project. Formatted the file to markdown. Put links to references.
2015-06-13 15:33:37 +02:00
Hildeberto Mendonça
c255e0140c
Update README.md
2015-06-13 15:24:45 +02:00
Hildeberto Mendonça
2bd6aa54d6
Update and rename README to README.md
2015-06-13 15:23:02 +02:00
mayeut
c7535d084e
Merge branch 'master' into issue-254
2015-06-05 20:42:57 +02:00
Matthieu Darbois
c0d7afe15c
[trunk] Fix offset computations in opj_j2k_update_image_data
...
Update issue 481
2015-06-03 20:56:13 +00:00
Matthieu Darbois
6def7e38b4
[trunk] Fix wrong return value for opj_setup_encoder & opj_set_decoded_resolution_factor (fixes issue 497)
...
Thanks Aaron.
2015-05-29 21:58:08 +00:00
Matthieu Darbois
73881d0e52
[trunk] Fix sscanf format specifier (fixes issue 494)
...
Thanks Aaron.
2015-05-28 22:16:49 +00:00
Matthieu Darbois
e3291c4e1f
[trunk] Fix overflow in opj_image_comp_header_update (fixes issue 495)
2015-05-27 23:05:16 +00:00
Matthieu Darbois
0fa5a17c98
[trunk] Correct potential double free on malloc failure in opj_j2k_copy_default_tcp_and_create_tcp (fixes issue 492)
2015-05-19 21:57:27 +00:00
Matthieu Darbois
757f9394bf
[trunk] Add check for number of layers & cblkw/cblkh values (fixes issue 475)
2015-05-19 21:24:44 +00:00
Matthieu Darbois
daed8cc919
[trunk] Add check for at most 1 COD marker per tile. 1 COD marker for MH (fixes issue 476)
2015-05-19 20:13:37 +00:00
mayeut
d1a941ea50
Revert "Correct overflows in opj_j2k_update_image_data"
...
This reverts commit 1fb24aba4b .
2015-05-16 14:22:16 +02:00
mayeut
00a47c1e06
Implement TNsot correction for non conforming files
2015-05-16 11:15:29 +02:00
mayeut
1fb24aba4b
Correct overflows in opj_j2k_update_image_data
2015-05-16 02:51:31 +02:00
Antonin Descampe
2d24b6000d
[trunk] added overflow checks (fixes issue 431)
...
Thanks mdarbois
2015-02-02 16:11:31 +00:00
Antonin Descampe
8b5e2a5143
[trunk] fixes a bug that prevented opj_decompress to take directory as input (fixes issue 463)
...
Thanks Aaron.
2015-02-02 16:11:23 +00:00
Matthieu Darbois
3ed5858902
[trunk] use hidden visibility for static library (fixes issue 354)
2015-01-25 16:59:39 +00:00
Antonin Descampe
7a8cdc4bb0
[trunk] fixed a bug encoutntered when multiple MCT markers are provided
...
Update issue 430
Cc: savmickael@gmail.com
@Mickael: this revision affects your work on custom MCT. Is there a way
you could provide test data to add to our test suite ? Thanks
2015-01-20 16:29:16 +00:00
Antonin Descampe
4c0ed02806
[trunk] checks for JP2 signature and file type boxes more carefully
...
Update issue 430
2015-01-20 14:27:20 +00:00
Antonin Descampe
5d00b719f4
[trunk] fixed a buffer overflow in opj_tcd_init_decode_tile
...
Update issue 431
2015-01-15 18:16:29 +00:00
Matthieu Darbois
42132ed6b5
[trunk] removed warning from convertbmp.c
...
Update issue 442
2014-12-27 11:31:43 +00:00
Matthieu Darbois
31f5efe453
[trunk] fixed typo in opj_decompress (fixes issue 465)
2014-12-26 15:37:16 +00:00
Matthieu Darbois
78a7762e3f
[trunk] removed unnecessary operation in opj_bio_flush (fixes issue 461)
2014-12-23 16:05:19 +00:00
Matthieu Darbois
33f52fb611
[trunk] removed warning from convert.c
...
Update issue 442
2014-12-23 16:03:45 +00:00
Matthieu Darbois
81abe5b3bb
[trunk] fixed imagetoraw unsigned 16bits conversion (fixes issue 460)
2014-12-23 15:06:23 +00:00
Matthieu Darbois
4a09296771
[trunk] removed warning from convertbmp.c
...
Update issue 442
2014-12-23 10:13:28 +00:00
Matthieu Darbois
6922124c4c
[trunk] fixed colorspace mapping for raw grayscale images (fixes issue 456)
2014-12-22 18:39:14 +00:00
Matthieu Darbois
59b844347c
[trunk] fixed component precision upscaling in opj_decompress (fixes issue 458)
2014-12-22 15:50:32 +00:00
Matthieu Darbois
bde5ba6ae8
[trunk] fixed compression check for 1 bit unsigned component (fixes issue 457)
2014-12-22 15:00:12 +00:00
Matthieu Darbois
16240e21f9
[trunk] updated BMP format input support
...
Update issue 203
2014-12-22 14:40:31 +00:00
Matthieu Darbois
33a0e66eb1
[trunk] updated BMP format input support
...
Update issue 203
2014-12-22 13:14:37 +00:00
Matthieu Darbois
f7ff08de5a
[trunk] updated tests to get BMP RLE8 tested
...
Update issue 203
2014-12-20 18:58:28 +00:00
Matthieu Darbois
f1bae45c76
[trunk] fixed BMP reading for 8bpp when width & 3 == 1
...
Update issue 203
2014-12-20 18:45:53 +00:00
Matthieu Darbois
65c07b42e3
[trunk] updated tests
...
Update issue 415
2014-12-20 15:08:55 +00:00
Matthieu Darbois
3888daac6a
[trunk] fixed test issues (fixes issue 454)
2014-12-20 13:27:30 +00:00
Matthieu Darbois
e966fef3eb
[trunk] fixed a possible overflow in opj_t1_encode_cblks call to opj_int_fix_mul (fixes issue 141)
2014-12-20 13:03:11 +00:00
Matthieu Darbois
a504edf724
[trunk] fixed return value for compare_raw_files (fixes issue 453)
2014-12-20 12:42:40 +00:00
Matthieu Darbois
dde788b59e
[trunk] Updated checks regarding number of decomposition levels when compressing
...
Update issue 215
2014-12-19 22:56:00 +00:00
Matthieu Darbois
58fc86452d
[trunk] Fixed a crash on illegal tile offset when decoding
...
Update issue 427
2014-12-18 22:56:38 +00:00
Matthieu Darbois
c0cb119c0e
[trunk] Fixed a crash on 0xh or wx0 image size decoding
...
Update issue 427
2014-12-18 22:19:52 +00:00
Matthieu Darbois
9a21e1eef0
[trunk] removed warnings when building tcd.c (Update issue 442)
2014-12-15 18:48:50 +00:00
Matthieu Darbois
a0688a9874
[trunk] Add SSE2/SSE41 implementations for mct.c (fixes issue 451)
2014-12-13 12:29:22 +00:00
Matthieu Darbois
d0ce2ced53
[trunk] Speed-up opj_int_fix_mul by removing unneeded operation
...
Update issue 220
2014-12-13 10:27:21 +00:00
Matthieu Darbois
e05d2901ec
[trunk] Reduce encoder code block memory usage for non 64x64 code block sizes (fixes issue 444)
2014-12-12 21:54:22 +00:00
Matthieu Darbois
c0710f557c
[trunk] Fixed invalid check in in tiff reading method (fixes issue 449)
2014-12-11 20:21:26 +00:00
Matthieu Darbois
f095027329
[trunk] add test for compression using MCT with alpha channel
...
Update issue 415
2014-12-09 19:45:12 +00:00
Antonin Descampe
8d320bbdf8
[trunk] check number of components when getting mct norm (fixes issue 436)
2014-12-09 12:09:08 +00:00
Matthieu Darbois
776b83ddbc
[trunk] Fixed compilation error under Visual Studio 2003 (fixes issue 351)
2014-12-09 05:44:55 +00:00
Matthieu Darbois
04ace2a558
[trunk] Fixed typo in opj_compress error report (fixes issue 350)
2014-12-02 20:18:50 +00:00
Matthieu Darbois
46afb746f0
[trunk] removed warnings when configuring with CMake 3.x on MacOS (fixes issue 443)
2014-11-25 23:57:37 +00:00
Matthieu Darbois
570dd13f55
[trunk] removed some warnings when configuring with CMake 3.x on MacOS
...
Update issue 443
Warnings related to OPJ_USE_DSYMUTIL are fixed
2014-11-25 21:52:24 +00:00
Matthieu Darbois
63f877769c
[trunk] removed some warnings when building src/bin/jp2/convert.c
...
Update issue 442
2014-11-25 20:06:12 +00:00
Matthieu Darbois
04c6bb4a72
[trunk] removed warnings when building jp2.c (Update issue 442)
2014-11-24 21:31:09 +00:00
Matthieu Darbois
131cc98491
[trunk] added an option to upsample image components in opj_decompress
...
Update issue 289
Issue is left open since there's still one image failing the tests.
2014-11-22 17:59:07 +00:00
Matthieu Darbois
13bcb63b73
[trunk] fixed pnmtoimage for odd pgm files (fixes issue 294)
2014-11-22 14:09:16 +00:00
Matthieu Darbois
0ba5d15b58
[trunk] fixed warning in option to force rgb output in opj_decompress (fixes issue 282)
2014-11-22 12:30:04 +00:00
Matthieu Darbois
7e38446075
[trunk] added option to force rgb output in opj_decompress (fixes issue 282 , fixes issue 286)
2014-11-22 00:04:39 +00:00
Matthieu Darbois
548aff34f4
[trunk] added check for tile component data size overflow (fixes issue 432)
2014-11-21 21:35:43 +00:00
Matthieu Darbois
8397eac382
[trunk] added check for pclr box validity (fixes issue 429)
2014-11-20 23:47:09 +00:00
Matthieu Darbois
a2c2d86d3d
[trunk] fixed memleak in abnormal condition (fixes issue 437)
2014-11-20 20:13:47 +00:00
Matthieu Darbois
3bc360fc9d
[trunk] added option to force output bit depth in opj_decompress (fixes issue 283)
2014-11-19 20:05:39 +00:00
Matthieu Darbois
ae1da37558
[trunk] replace OPJ_MACRO_TCD_ALLOCATE macro by inlined function (fixes issue 433)
2014-11-19 19:08:09 +00:00
Matthieu Darbois
f57f59b10d
[trunk] remove warning during build (fixes issue 435)
2014-11-18 18:30:44 +00:00
Matthieu Darbois
b65e3ebdb6
[trunk] fixed a bug leading to jpwl build failure & add related odd width/height sYCC tests (fixes issue 422)
2014-11-18 00:07:50 +00:00
Matthieu Darbois
50acc339c5
[data] added new non-regression tests from foxit
...
Update issue 415
Issue not closed as in the mean time there are other images to include
2014-11-17 22:02:38 +00:00
Matthieu Darbois
f123ce8f8a
[trunk] fixed a bug preventing palette image with cdef to decode properly using opj_get_decoded_tile (fixes issue 428)
2014-11-17 21:46:43 +00:00
Antonin Descampe
c3629e37a2
[trunk] significantly reduces memory for single tile RGB encoding (fixes
...
issue 375)
2014-11-03 14:51:41 +00:00
Antonin Descampe
cf5153c518
[trunk] add a cdef box when alpha component is present (fixes issue 416)
2014-11-03 14:12:01 +00:00
Antonin Descampe
3b7dced8e6
[trunk] fixed a bug preventing palette image with cdef to decode properly (fixes issue 412)
2014-10-30 18:26:10 +00:00
Antonin Descampe
03a410e03d
[trunk] fixed a bug that was preventing image with per channel alpha to decode properly (fixes issue 414)
2014-10-30 18:26:04 +00:00
Antonin Descampe
0a6eaaa605
[trunk] add a check on precinct size (fixes issue 420)
2014-10-30 18:00:45 +00:00
Antonin Descampe
7f8f284ee5
[trunk] prevent overflow in j2k.c
...
Update issue 392
Issue left open to solve problem on x64-Asan and to investigate Matthieu's suggestion
2014-10-30 11:53:06 +00:00
Antonin Descampe
09fb8b6989
[trunk] add Aaron Boxer as contributor
2014-10-22 23:01:04 +00:00
Antonin Descampe
9e6c62199a
[trunk] re-arrange contributors alphabetically and add Matthieu Darbois
2014-10-22 22:59:35 +00:00
Antonin Descampe
d47f7a249d
[trunk] workaround to make MD5 work under valgrind on MacOSX (fixes issue 410)
2014-10-22 22:52:01 +00:00
Antonin Descampe
7280263988
[trunk] Added new non-regression tests from foxit issues
...
Update issue 415
2014-10-22 22:38:55 +00:00
Antonin Descampe
3e1fad2da4
[trunk] resets resno_decoded for each tile (fixes issue 399)
2014-10-22 13:16:35 +00:00
Antonin Descampe
d72940c56b
[trunk] resets code-blocks reused for other tiles than the first one (fixes issue 418)
2014-10-22 13:16:12 +00:00
Antonin Descampe
ad4fad0965
[trunk] add a check on mandatory headers in Main Header (fixes issue 408)
2014-10-22 10:30:35 +00:00
Antonin Descampe
aff9cb39ed
[trunk] fixed invalid member values from opj_read_header or opj_decode (fixes issue 411)
2014-10-21 15:22:22 +00:00
Antonin Descampe
0a3f234df7
[trunk] verify channel definitions is complete when cdef is present (fixes issue 397)
2014-10-21 12:54:08 +00:00
Antonin Descampe
efb70af001
[trunk] add a check on the number of resolution passed to cmdline (fixes issue 352)
2014-10-21 12:47:48 +00:00
Antonin Descampe
e65303b903
[trunk] added check on JP2_IHDR box (fixes issue 364)
2014-10-21 12:35:16 +00:00
Antonin Descampe
413de4fbfa
[trunk] add a check on Zppm value in PPM markers (fixes issue 393)
2014-10-21 12:27:58 +00:00
Antonin Descampe
984351f86f
[trunk] Add option to call dsymutil on built binaries (fixes issue 409)
2014-10-15 10:24:49 +00:00
Antonin Descampe
f8796711e8
[trunk] add a check on progression order (fixes issue 413)
2014-10-15 10:14:54 +00:00
Antonin Descampe
0b540067b1
[trunk] add a check for illegal SCod value (fixes issue 400)
2014-10-15 08:48:19 +00:00
Antonin Descampe
3df347eded
[trunk] additional checks for marker size inconsistency (fixes issue 363)
2014-10-14 15:15:09 +00:00
Antonin Descampe
eb7c6d295a
[trunk] fixed potential negative size params (fixes issue 390)
2014-10-06 21:05:32 +00:00
Antonin Descampe
f126eb0d41
[trunk] added box length inconsistency check
...
Update issue 364
issue364-38.patch applied. Thanks Matthieu.
2014-10-06 21:05:27 +00:00
Antonin Descampe
7256e43c48
[trunk] fixed PDF crash in Chrome (fixes issue 362)
2014-10-06 21:05:21 +00:00
Antonin Descampe
a0a3af1dee
[trunk] removed illegal character in comment
2014-10-03 19:52:20 +00:00
Antonin Descampe
48832d944f
[trunk]fixes buffer overflow in t2.c
...
Update issue 390
Summary: check for negative-size params in code
Patch from Matthieu applied. Left open to apply this to other places in
code.
2014-10-03 10:15:28 +00:00
Antonin Descampe
06bd61b571
[trunk] c++-style comment removed (fixes issue 407)
2014-10-02 07:44:53 +00:00
Antonin Descampe
a1c754c737
[trunk] fixed warning from r2891
2014-10-01 12:11:43 +00:00
Antonin Descampe
fef1276901
[trunk] fixed bad use of case statement (fixes issue 381)
2014-09-30 12:19:13 +00:00
Antonin Descampe
45f33cdbd6
[trunk] check possible overflow on size in opj_t2_read_packet_data
...
Update issue 390
Labels: Priority-Critical
Should be rechecked with ASan and pdfium
2014-09-30 10:07:09 +00:00
Antonin Descampe
1acfa211ae
[trunk] fixes heap-buffer-overflow in parse_cmdline_encoder
...
Fixes issue 403
Thanks Matthieu
2014-09-30 09:48:26 +00:00
Antonin Descampe
2f3fd1194e
[trunk] prevent overflow in opj_t2_read_packet_header (update issue 389)
2014-09-30 09:26:44 +00:00
Antonin Descampe
f08af3ed82
[trunk] Ensure cblk->data pointer is correctly initialized (updates issue 391). Still need to check if it does not fail anymore with ASan.
2014-09-29 12:03:50 +00:00
Antonin Descampe
2720a1a405
[trunk] fixed tile numbering in output message (fixes issue 370)
2014-09-29 12:03:36 +00:00
Mathieu Malaterre
31fd8d3fe8
trunk: extend support for pdf2jp2
2014-09-19 15:48:48 +00:00
Antonin Descampe
6868ee373e
added memory allocation checks (fixes issue 355)
2014-09-19 10:26:35 +00:00
Antonin Descampe
b9a247b559
fixes install name id on OSX builds (fixes issue 367)
2014-09-19 09:30:12 +00:00
Antonin Descampe
50a205d20f
[trunk] improve memory management (fixes issue 359)
2014-09-16 15:48:04 +00:00
Antonin Descampe
b0072bf658
[trunk] allow compilation with MinGW32 (fixes issue 361)
2014-09-16 15:38:11 +00:00
Antonin Descampe
2c810567dd
[trunk] Changed error to warning when no EOC found in codestream (fixes
...
issue 366)
2014-07-14 07:42:50 +00:00
Antonin Descampe
0a1a29a7fe
[trunk] replaced malloc with opj_malloc. (Fixes issue 368).
2014-07-03 16:05:56 +00:00
Antonin Descampe
7d21871ed8
[trunk] fixes issue #357 . MCT is automatically disabled when
...
subsamppling is detected.
2014-07-03 09:15:13 +00:00
Antonin Descampe
a38b97fae0
[trunk] moved comment marker setup from opj_compress to the library
2014-07-01 13:51:55 +00:00
Antonin Descampe
45313a8dfa
[trunk] fixed warning in j2k.c about sign conversion
2014-04-28 09:38:44 +00:00
Mathieu Malaterre
b08135e7c1
[trunk] Finalize API for openjpeg 2.1
...
public header will only contains minimal information: major, minor and build version
Prefix has been changed from OPENJPEG to OPJ for consistency
SOVERSION has been removed from header (ABI vs API info)
OPJ_VERSION string has been removed, since it is accessible already (PACKAGE_VERSION)
Fixes issue 342
2014-04-28 09:17:31 +00:00
Mathieu Malaterre
4bac8488df
[trunk] Properly handle failure to compress (remove file)
...
Fixes issue 323
2014-04-28 07:54:33 +00:00
Mathieu Malaterre
de04302c15
[trunk] Missing endianess setting
...
Fixes issue 337
2014-04-28 07:44:39 +00:00
Mathieu Malaterre
997758f91c
[trunk] properly handle pkg-config on non-UNIX hosts
...
Fixes issue 340
2014-04-28 07:34:26 +00:00
Mathieu Malaterre
763214f7c0
[trunk] Provide #ifdef blockers for OpenJPEG Version
...
Fixes issue 342
2014-04-28 07:32:35 +00:00
Antonin Descampe
77e8dad503
[trunk] fixed typo in NEWS
2014-04-27 21:31:32 +00:00
Antonin Descampe
1758445a75
[trunk] updated NEWS for 2.1.0
2014-04-25 09:22:49 +00:00
Mathieu Malaterre
7a77a8047d
[trunk] Make sure OpenJPIP compiles on WIN32
2014-04-24 11:24:56 +00:00
Antonin Descampe
d8767cbcb7
[trunk] fixed reference to opj_stream_set_user_data_v3 in jpip sources.
2014-04-24 08:51:29 +00:00
Antonin Descampe
7924d3a456
[trunk]removed '-x' option for index file as long as it's broken
2014-04-23 15:19:57 +00:00
Antonin Descampe
ec84bafcd8
[trunk]re-formatted help display in executables
2014-04-23 14:09:20 +00:00
Antonin Descampe
08c09b74cf
[trunk]formatted some messages. Removed -version option to disambiguate
...
with -v(erbose) option, added version info in help display
2014-04-23 09:12:30 +00:00
Antonin Descampe
7aece5e8e7
[trunk]Replaced deprecated opj_stream_set_user_data function from API
...
with its 'v3' version, and removed all other 'v3' suffixes from API.
2014-04-23 07:46:11 +00:00
Antonin Descampe
8d93eae64a
[trunk] fixed some warning and errors formatting and add a '-version'
...
option to opj_compress and opj_decompress binaries
2014-04-22 21:22:49 +00:00
Antonin Descampe
9a3d660d1b
[trunk] fixed warning related to r2837 and move new field at the end of
...
parameters structure.
2014-04-17 09:54:38 +00:00
Antonin Descampe
7199d9b5d3
[trunk] refactoring of rsiz, profiles, and extensions management
2014-04-17 09:31:37 +00:00
Antonin Descampe
d19a4ab676
[trunk] updated copyright and added copyright notice required by ISO, in each file; updated AUTHORS, NEWS
2014-04-03 15:30:57 +00:00
Antonin Descampe
f105cb5471
[trunk] removed debug message in CMakeLists.txt
2014-04-02 16:37:07 +00:00
Antonin Descampe
4db4198722
[trunk] fixed a bug triggering SEGFAULT on debug mode (uninitialized
...
structure)
2014-04-02 16:25:40 +00:00
Mathieu Malaterre
616a3345c4
[trunk] Properly copy/paste code from the autotools
...
gcc correctly fails compiling this code, I needed to move the code outside the main function to get the error. This actually match the autotools (incorrect) code. We'll see how they fix this code in future release.
This make the code compatible with previous openjpeg version and remove C99 requirement.
Fixes issue 316
2014-03-27 15:07:58 +00:00
Mathieu Malaterre
1f8d84a562
[trunk] Make sure to use long long (this is not C89). However this should be ok on most compilers nowadays
...
Update issue 316
2014-03-26 16:20:13 +00:00
Antonin Descampe
a54d757a3e
[trunk] fixed warnings triggered on linux related to r2802
2014-03-26 15:17:17 +00:00
Mathieu Malaterre
b5eb374fb9
[trunk] Run test suite on issue 316 dataset
...
Update issue 316
2014-03-26 15:16:24 +00:00
Antonin Descampe
f1d69068c7
[trunk] add ability in opj_compress to input subsampled images through
...
'-F' (aka raw option). Let the user input raw images with 444, 422, 420
(etc) subsampling. To be used in conjunction with '-mct 0' option to
compress subsampled YCC images.
2014-03-26 14:26:49 +00:00
Mathieu Malaterre
ee130e2306
[trunk] Add small utilities to extract JP2 files from PDF
2014-03-26 11:52:01 +00:00
Mathieu Malaterre
9ba6bc6042
[trunk] Make sure to test value not pointer
...
Update issue 302
2014-03-25 16:34:59 +00:00
Antonin Descampe
5e1a0fad08
[trunk] fixed bug related to r2791
2014-03-25 15:35:33 +00:00
Mathieu Malaterre
c05118dc49
[trunk] Add sentinel in case list empty.
...
I was getting a cmake error `list sub-command REMOVE_ITEM requires list to be present`
2014-03-25 15:29:19 +00:00
Mathieu Malaterre
1adf89d5d2
[trunk] Import change from 2.0 branch
2014-03-25 15:21:53 +00:00
Antonin Descampe
666f71b2a1
[trunk] fixed warning due induced by r2791
2014-03-25 13:29:11 +00:00
Antonin Descampe
2b7d5b18f3
[trunk] add "-mct {0,1,2}" option to opj_compress to allow MCT to be
...
disabled if needed.
2014-03-25 12:38:29 +00:00
Mathieu Malaterre
18d5d25cb6
[trunk] Make sure to not use alpha pointer if it is not an RGBA input
...
Fixes issue 310
2014-03-25 11:47:34 +00:00
Mathieu Malaterre
492d8ab7d9
[trunk] Rework previous commit r2610
...
This way we are able to gently deprecate the old API, and preserve ABI
Update issue 306
2014-03-25 10:23:40 +00:00
Mathieu Malaterre
2b93727bea
[trunk] Add documentation
2014-03-25 10:22:40 +00:00
Mathieu Malaterre
18c5be69e9
[trunk] Make sure to exit early instead of looping on every single pixels
2014-03-24 16:01:51 +00:00
Mathieu Malaterre
5a70e97f51
[trunk] Fix typo in comment (this is not j2k_dump)
2014-03-24 09:49:04 +00:00
Mathieu Malaterre
f4707da97a
[trunk] Revert r2764. It breaks ~230 tests as seen on continuous. Since no dataset is available, the issue 296 will be left open.
...
Update issue 296
2014-03-18 15:19:29 +00:00
Mathieu Malaterre
51ab074d50
[trunk] User can now control source/target java version
...
Fixes issue 303
2014-03-18 15:00:23 +00:00
Mathieu Malaterre
6d9e8a5a63
[trunk] Import git commit fc884aee2b69c78500e65c3d05bf216791a9ea4a from ghostscript team
...
Fixes issue 296
2014-03-18 14:43:47 +00:00
Mathieu Malaterre
008de86533
[trunk] Import git commit 99a6f1af177c15f4db475186b79d169c993494ef from ghostscript team
...
Update issue 296
2014-03-18 14:43:18 +00:00
Mathieu Malaterre
ae49fd1aa9
[trunk] Update big endian handling no such thing as WORDS_BIGENDIAN (prefer OPJ_BIG_ENDIAN)
...
Update issue 302
2014-03-18 14:37:33 +00:00
Mathieu Malaterre
79d18f7fd0
[trunk] Now that dataset from issue 297 have been imported, run test suite.
...
None of the dataset triggered any buffer overflow. Recent changes in trunk handle all those cases.
Update issue 297
2014-03-18 10:21:11 +00:00
Mathieu Malaterre
99d1859a44
[trunk] Explicitely reject file4/file6 scenario
...
Update issue 286
2014-03-17 16:18:22 +00:00
Mathieu Malaterre
866cd28ad4
[trunk] Update BSD-4 copyright into a BSD-3 copyright
...
Fixes issue 300
2014-03-17 15:02:49 +00:00
Mathieu Malaterre
71a9f498b5
[trunk] Since r2747 we are now able to track which files are missing from the test_suite. Add them.
2014-03-14 15:52:22 +00:00
Mathieu Malaterre
b607da8ae9
[trunk] add mecanism to track of addition of new regression files in svn/data. It will report when a J2K files is added but no test is found in the test_suite file
2014-03-14 15:51:53 +00:00
Mathieu Malaterre
a43d206b93
[trunk] Remove duplicate content from test_inline.c
...
Thanks to Matthieu Darbois for report (and patch)
Fixes issue 285
2014-03-14 15:10:31 +00:00
Mathieu Malaterre
15863e7170
[trunk] rework code from r2463. Really there has been some code duplication from r2413
...
Thanks to John Rogers (oracle.com) for report
2014-03-14 15:06:20 +00:00
Mathieu Malaterre
5e91877636
[trunk] rework code from r2463. Really there has been some code duplication from r2413
...
Thanks to John Rogers (oracle.com) for report
2014-03-14 15:04:24 +00:00
Mathieu Malaterre
7e1d012161
[trunk] Now that issue 165 dataset is in non regression repository, activate code to reject them
...
Fixes issue 165
2014-03-14 15:01:13 +00:00
Mathieu Malaterre
de74605777
[trunk] Fix issue with & vs &&
...
Fixes issue 277
2014-03-14 14:46:40 +00:00
Mathieu Malaterre
e8abf1fb25
[trunk] Add internal implementation to dump all tiles/comp info
...
Eg: opj_dump -f 8 -i input.j2k
Update issue 3
2014-03-14 13:53:36 +00:00
Mathieu Malaterre
b7fe7d25e1
[trunk] Prevent a leak when reading PPT markers
...
Update issue 295
2014-03-14 12:27:01 +00:00
Mathieu Malaterre
138a65d6c1
[trunk] Move INLINE definition within openjpeg.h header since application may use it
2014-03-14 12:02:05 +00:00
Mathieu Malaterre
9d0bdf69e5
[trunk] Apply final missing patch from sumatrapdf team:
...
http://bugs.ghostscript.com/show_bug.cgi?id=694893
Update issue 231
2014-03-14 11:59:18 +00:00
Mathieu Malaterre
9194dfb94b
[trunk] Rework r2731 since it breaks non-regression testing
2014-03-14 11:42:26 +00:00
Mathieu Malaterre
b7ebf54a29
[trunk] Be more verbose about failure.
...
Update issue 294
2014-03-14 11:37:44 +00:00
Mathieu Malaterre
3a80b72ac8
[trunk] Add a temporary work around for issue 293
...
As described in the bug report the default allocation mecanism for codeblock data is too small for those dataset (16bits). We would need a finer (more granular) mecanism to reallocated only on demand. For now this help the two failing tests to pass.
Fixes issue 293
2014-03-14 10:54:08 +00:00
Mathieu Malaterre
3e33012bd9
[trunk] Mark OpenJPEG to be ABI incompatible with previous one, move to SONAME 7
...
Also declare this is 2.1.0 (or very close)
2014-03-14 09:30:03 +00:00
Mathieu Malaterre
fd3f7ca2bb
[trunk] Remove warnings about unused values introduced in r2710
...
Thanks to Matthieu Darbois for patch
Fixes issue 290
2014-03-14 08:44:53 +00:00
Mathieu Malaterre
6e22c4f68a
[trunk] Add some sanity checks when reading Ippm(i) segments
...
Update issue 288
2014-03-13 15:34:36 +00:00
Mathieu Malaterre
565ef29ae3
[trunk] Make sure to reallocate ppm data buffer when multiple Ippm(i) buffer are found
...
This handle the case where remaining data is exactly Nppm(i)
Fixes issue 287
2014-03-13 13:47:44 +00:00
Mathieu Malaterre
68398b2a5a
[trunk] Add documentation to the checkmd5refs cmake module (used for regression testing)
2014-03-13 12:37:36 +00:00
Mathieu Malaterre
5624e4a25f
[trunk] Always report when decompression failed as return code value
2014-03-13 12:31:41 +00:00
Mathieu Malaterre
92e07f3b74
[trunk] Fix test NR-DEC-issue171.jp2-71-decode-md5 after recent code change
2014-03-13 12:26:30 +00:00
Mathieu Malaterre
8447f0a323
[trunk] Add a double check for user input
2014-03-13 12:26:06 +00:00
Mathieu Malaterre
f0a2fdd508
[trunk] Fix compilation on VS2010 (snprintf is not C89). C++11 should avoid this in the future
2014-03-13 11:03:05 +00:00
Mathieu Malaterre
320784659d
[trunk] Just in case this would be helpful for other, here is the code used to track issue 80
...
Update issue 80
2014-03-13 10:56:48 +00:00
Mathieu Malaterre
51ab8cd67d
[trunk] Tweak documentation in t2.c. Be more verbose in case of failure.
2014-03-13 10:46:54 +00:00
Mathieu Malaterre
237253d83b
[trunk] Add some documention in the pi code
2014-03-13 10:42:06 +00:00
Mathieu Malaterre
fe100fb490
[trunk] Add debug code to extract decompressed image right before PCLR handling
...
Update issue 235
2014-03-13 10:35:41 +00:00
Mathieu Malaterre
c7b646e23a
[trunk] Add a small helper to spli ppm into 3 pgm files
...
Update issue 235
2014-03-13 09:57:20 +00:00
Mathieu Malaterre
41add6882b
[trunk] Make sure to use 8bits buffer when applying the ICC profile.
...
Fixes issue 281
2014-03-12 14:18:25 +00:00
Mathieu Malaterre
dd0d2c2f0a
[trunk] Add debug info to be able to test integration with littlecms
2014-03-12 13:55:41 +00:00
Mathieu Malaterre
d38e32c036
[trunk] TIFF files in test suite can have 1 or 3 components
2014-03-12 11:32:44 +00:00
Mathieu Malaterre
73315c2edc
[trunk] Simplify code when reading in TIFF images
2014-03-12 10:50:47 +00:00
Mathieu Malaterre
6b51d11d08
[trunk] Make sure when reading POC that number of layers (layer end) is within acceptable bound.
...
Fixes issue 80
2014-03-12 10:10:21 +00:00
Mathieu Malaterre
59270c39a7
[trunk] Re-active old warning about missing SOP marker
2014-03-11 15:21:12 +00:00
Mathieu Malaterre
db82cf7778
[trunk] Add debug info to track issue 80
...
Update issue 80
2014-03-11 15:17:39 +00:00
Mathieu Malaterre
ddb1d57766
[trunk] Rework assertion to work on 32bits system
2014-03-11 12:56:52 +00:00
Mathieu Malaterre
5dd770746b
[trunk] Fix remainings warnings on linux/32bits arch
2014-03-11 10:28:04 +00:00
Mathieu Malaterre
fa436eb368
[trunk] Rework fseek ifdefs blockers, it breaks the 64bits behavior for fseeko
2014-03-11 10:27:01 +00:00
Mathieu Malaterre
fcc658f106
[trunk] Fix compilation errors when JPWL and/or MJ2 are build
2014-03-11 09:11:35 +00:00
Mathieu Malaterre
2e7b8fb9a1
[trunk] Another final round of fixes for sign conversion warnings.
...
Fixes issue 256
2014-03-10 16:43:04 +00:00
Mathieu Malaterre
1778e2576e
[trunk] Another round of fixes for sign conversion warnings.
...
Update issue 256
2014-03-10 16:17:12 +00:00
Mathieu Malaterre
73c9e85642
[trunk] Another round of fixes for sign conversion warnings.
...
Update issue 256
2014-03-10 16:17:01 +00:00
Mathieu Malaterre
76557d2eb3
[trunk] Another round of fixes for sign conversion warnings.
...
Update issue 256
2014-03-10 15:51:05 +00:00
Mathieu Malaterre
9095c7361e
[trunk] Remove old warnings about deprecated API
2014-03-10 14:51:59 +00:00
Mathieu Malaterre
c02c1432e8
[trunk] Remove a set of warning about sign conversion
...
Update issue 266
2014-03-10 14:15:27 +00:00
Mathieu Malaterre
8411ed4f80
[trunk] Remove warning about sign conversion in color.c
...
Update issue 256
2014-03-10 14:05:25 +00:00
Mathieu Malaterre
4de95f320f
[trunk] Run richter test suite, correct a regression introduced in r2668
2014-03-10 13:51:16 +00:00
Mathieu Malaterre
aea18173d1
[trunk] Tweak JP2 conformance test suite add documentation
2014-03-10 13:31:51 +00:00
Mathieu Malaterre
856fc0652f
[trunk] Properly handle number of components to run kakadu test suite.
...
Update issue 266
2014-03-10 13:05:20 +00:00
Mathieu Malaterre
b01c1240cf
[trunk] Fix simple sign conversion warnings only visible on 32bits arch
2014-03-10 12:22:56 +00:00
Mathieu Malaterre
836ec05920
[trunk] Handle multi components files with PGM outputs
2014-03-10 12:20:55 +00:00
Mathieu Malaterre
9a52b30c3d
[trunk] Properly handle PGM file generation when fullpath is specified in the cmd line
...
This will break a very old behavior (since 2005), but avoid writing in un-expected places for users
This also make the behavior similar with PGX file generation
2014-03-10 10:52:09 +00:00
Mathieu Malaterre
76af73bc72
[trunk] Fix inversion in code convention
2014-03-10 10:43:45 +00:00
Mathieu Malaterre
f7bc0b49cb
[trunk] Fix typo in the code
2014-03-10 10:12:25 +00:00
Mathieu Malaterre
9155e98911
[trunk] rework actual code to handle DOS/UNIX end of lines in a transparent manner.
...
This will help cross compilation cases
2014-03-10 10:09:30 +00:00
Mathieu Malaterre
7aee50de97
[trunk] First pass to cleanup compare_dump_files
2014-03-10 09:56:22 +00:00
Mathieu Malaterre
24966ffbda
[trunk] Fix compilation when TIFF lib is neither found nor compiled
2014-03-10 09:36:14 +00:00
Mathieu Malaterre
666ef53fd2
[trunk] Make sure to always initialize variable
2014-03-10 08:40:02 +00:00
Mathieu Malaterre
e02ba05034
[trunk] Fix warnings about shadow variables
2014-03-10 08:25:08 +00:00
Mathieu Malaterre
b478912910
[trunk] remove a warning when using strict prototype
2014-03-10 08:15:43 +00:00
Mathieu Malaterre
2001932c56
[trunk] Remove 2 warnings about set but not used variables
2014-03-10 08:13:05 +00:00
Mathieu Malaterre
f54de95802
[trunk] Upon failure, need to return proper return code
2014-03-07 17:23:19 +00:00
Mathieu Malaterre
fa1c2454e6
[trunk] Add new test suite that run on kakadu conformance images
2014-03-07 17:18:13 +00:00
Mathieu Malaterre
6b94237679
[trunk] Cleanup commit. Rename compare family since comparePGX now support TIFF.
...
Rename compareRAWimage for clarity since it merely compare files (not images).
2014-03-07 16:24:24 +00:00
Mathieu Malaterre
aedff8a000
[trunk] Use C-style comments
2014-03-07 16:17:21 +00:00
Mathieu Malaterre
a0aa8dd851
[trunk] Rework the code to simplify cleanup code
2014-03-07 16:15:59 +00:00
Mathieu Malaterre
440ef4873b
[trunk] Also override the default error handler for TIFF files
2014-03-07 14:33:03 +00:00
Mathieu Malaterre
ffad2fbe55
[trunk] Another round of fixes for sign conversion warnings.
...
Update issue 256
2014-03-07 14:14:31 +00:00
Mathieu Malaterre
cc1354ebfa
[trunk] Another round of fixes for sign conversion warnings.
...
Update issue 256
2014-03-07 14:00:47 +00:00
Mathieu Malaterre
581d2ba8b4
[trunk] Rework r2597, make sure test suite is passing now.
...
Update issue 256
2014-03-07 13:50:58 +00:00
Mathieu Malaterre
61348b20b4
[trunk] Another round of fixes for sign conversion warnings.
...
Update issue 256
2014-03-07 13:43:15 +00:00
Mathieu Malaterre
e619e06078
[trunk] Another round of fixes for sign conversion warnings.
...
Update issue 256
2014-03-07 13:40:54 +00:00
Mathieu Malaterre
4f84d1693a
[trunk] Another round of fixes for sign conversion warnings.
...
Update issue 256
2014-03-07 13:37:45 +00:00
Mathieu Malaterre
71d244a5b6
[trunk] Another round of fixes for sign conversion warnings.
...
Update issue 256
2014-03-07 13:33:47 +00:00
Mathieu Malaterre
f9a0f869e3
[trunk] Another round of fixes for sign conversion warnings.
...
Update issue 256
2014-03-07 13:31:25 +00:00
Mathieu Malaterre
33c472d734
[trunk] Redo r2623, and remove guilty section
...
Update issue 256
2014-03-07 13:29:35 +00:00
Mathieu Malaterre
a8eb122c1f
[trunk] Revert r2623 for now
2014-03-07 13:14:26 +00:00
Mathieu Malaterre
956b1a7697
[trunk] Another round of fixes for sign conversion warnings.
...
Update issue 256
2014-03-07 12:06:00 +00:00
Mathieu Malaterre
472ce19183
[trunk] Another round of fixes for sign conversion warnings.
...
Update issue 256
2014-03-07 12:01:41 +00:00
Mathieu Malaterre
740924fa61
[trunk] Another round of fixes for sign conversion warnings.
...
Update issue 256
2014-03-07 11:59:29 +00:00
Mathieu Malaterre
01b4bb5447
[trunk] Another round of fixes for sign conversion warnings.
...
Update issue 256
2014-03-07 11:57:37 +00:00
Mathieu Malaterre
ee3b02932a
[trunk] Another round of fixes for sign conversion warnings.
...
Update issue 256
2014-03-07 11:43:50 +00:00
Mathieu Malaterre
2a07d3d26b
[trunk] Another round of fixes for sign conversion warnings.
...
Update issue 256
2014-03-07 11:28:34 +00:00
Mathieu Malaterre
e238148d42
[trunk] Another round of fixes for sign conversion warnings.
...
Update issue 256
2014-03-07 11:27:34 +00:00
Mathieu Malaterre
9d21695476
[trunk] As reported by clang analyzer thoses values were never read
2014-03-07 11:20:59 +00:00
Mathieu Malaterre
22d11a9ccb
[trunk] Remove mem leak and warning reported by clang
2014-03-07 11:17:51 +00:00
Mathieu Malaterre
fc9248ea2b
[trunk] Remove simple warnings about format
2014-03-07 11:11:43 +00:00
Mathieu Malaterre
c302979738
[trunk] Remove simple warning about functions not used
2014-03-07 11:08:35 +00:00
Mathieu Malaterre
e4d077bc98
[trunk] Another round of fixes for sign conversion warnings.
...
Update issue 256
2014-03-07 11:06:13 +00:00
Mathieu Malaterre
76cd9b7f72
[trunk] Another round of fixes for sign conversion warnings.
...
Update issue 256
2014-03-07 10:25:16 +00:00
Mathieu Malaterre
e71431ec78
[trunk] Fix simple warning about sign conversion
...
Update issue 256
2014-03-07 10:21:51 +00:00
Mathieu Malaterre
7b335eb635
[trunk] Another of fixes for warning about sign conversion
...
Update issue 256
2014-03-07 10:19:39 +00:00
Mathieu Malaterre
c0c086388b
[trunk] Fix warning about sign conversion
...
Update issue 256
2014-03-07 10:03:56 +00:00
Mathieu Malaterre
048c8302fe
[trunk] un-deprecated opj_stream_destroy API, import patch manually
...
In some case user still want to be able to call opj_stream_destroy.
Fixes issue 227
2014-03-07 09:58:32 +00:00
Mathieu Malaterre
a7b051b172
[trunk] Update memory management mecanism
...
Fixes issue 253
2014-03-07 09:44:32 +00:00
Mathieu Malaterre
5f7ad58f48
[trunk] Remove self-assignement.
...
Fixes issue 273
2014-03-07 09:33:32 +00:00
Mathieu Malaterre
016b9fc052
[trunk] Fix compilation in visual studio, inline cannot be used directly.
...
Fixes issue 272
2014-03-07 09:15:27 +00:00
Mathieu Malaterre
99b40e8257
[trunk] Remove warning about implicitly defined function
2014-03-07 09:14:39 +00:00
Mathieu Malaterre
a734e447b5
[trunk] Remove TIFF warning handler. This help test suite run smoothly on windows by removing the message box.
...
Fixes issue 276
2014-03-07 09:03:15 +00:00
Mathieu Malaterre
37128c34a9
[trunk] Fix mem leaks reported by cppcheck
2014-03-07 08:48:47 +00:00
Mathieu Malaterre
f5630ab88e
[trunk] Simplify code and remove bogus out of bound check
2014-03-07 08:11:49 +00:00
Mathieu Malaterre
6790587db8
[trunk] Revert r2597 for now, since it breaks a lot of tests
2014-03-06 17:25:08 +00:00
Mathieu Malaterre
445f696dc6
[trunk] Remove warning about sign conversion.
...
Update issue 256
2014-03-06 16:59:34 +00:00
Mathieu Malaterre
dd5c3a9c8e
[trunk] Remove some easy warnings
2014-03-06 16:29:03 +00:00
Mathieu Malaterre
0f45e38b52
[trunk] Remove warning about sign conversion.
...
Update issue 256
2014-03-06 16:26:24 +00:00
Mathieu Malaterre
93bc3cb628
[trunk] Remove warning about sign conversion.
...
Update issue 256
2014-03-06 16:01:23 +00:00
Mathieu Malaterre
79faedfb9b
[trunk] Remove warning about sign conversion.
...
Update issue 256
2014-03-06 15:16:44 +00:00
Mathieu Malaterre
17d9caae83
[trunk] Remove warning about sign conversion.
...
Update issue 256
2014-03-06 15:10:39 +00:00
Mathieu Malaterre
eea18e856e
[trunk] Remove warning about sign conversion.
...
Update issue 256
2014-03-06 15:05:00 +00:00
Mathieu Malaterre
7e64eb5414
[trunk] Remove some easy warnings about sign compare reported by gcc
2014-03-06 15:00:41 +00:00
Mathieu Malaterre
8a959bb1f4
[trunk] Remove out of bound access in code and simplify code. this is a test tool, security is not an issue here.
2014-03-06 14:50:42 +00:00
Mathieu Malaterre
8d3ef0729c
[trunk] Remove simple warning about unused variables
2014-03-06 14:47:52 +00:00
Mathieu Malaterre
275680bdb7
[trunk] Make sure that all output files from the test suite are using a different output name
...
Fixes issue 271
2014-03-06 14:43:21 +00:00
Mathieu Malaterre
4d5d1f0f66
[trunk] Handle cmap where direct use is specified (issue235_cmapsubbox.jp2)
...
I doubt the old code ever work. The new code copy the old codestream bytes into the new components (instead of copying the pointer).
Technically the issue235.jp2 file should be handled since I.5.3.5 specifies that:
...
If the JP2 Header box does not contain a Component Mapping box, the components shall be mapped directly to channels,
such that component i is mapped to channel i.
...
Update issue 235
2014-03-05 09:45:04 +00:00
Mathieu Malaterre
1ef677f264
[trunk] Make sure to reject images such as 1336.pdf.asan.47.376.jp2
...
Fixes issue 267
2014-03-04 10:32:26 +00:00
Mathieu Malaterre
07193e2a34
[trunk] remove more conversion warning in multi-lines macro.
...
C allow simple tricks such as to find those:
gcc -E tcd.c | sed '/^\#/d' | indent -st -i2 > clean.c
Update issue 256
2014-03-04 09:58:07 +00:00
Mathieu Malaterre
f7da94610d
[trunk] Remove some conversion warnings reported by gcc
...
Update issue 256
2014-03-04 09:55:38 +00:00
Mathieu Malaterre
872368d25c
[trunk] Remove another warning. ftell returns long int
...
Update issue 256
2014-03-04 09:32:19 +00:00
Mathieu Malaterre
36320b4bf4
[trunk] Remove more conversion warnings.
...
Update issue 256
2014-03-04 09:30:07 +00:00
Mathieu Malaterre
7185faa857
[trunk] Remove warning about conversion.
...
Update issue 256
2014-03-04 09:19:49 +00:00
Mathieu Malaterre
0c80fcff2a
[trunk] Add a TIFF compare function (PEAK/MSE)
...
Fixes issue 100
2014-03-04 09:14:47 +00:00
Mathieu Malaterre
51caff5dcf
[trunk] Revert portion of r2562, need to investigate issue.
...
Update issue 269
2014-03-04 08:40:06 +00:00
Mathieu Malaterre
d643ff5dbc
[trunk] Remove remaining conversion issues in mqc.c
2014-03-03 16:11:41 +00:00
Mathieu Malaterre
44ca89eff7
[trunk] Remove remainings conversion issues in t2.c + clock.c
2014-03-03 16:08:03 +00:00
Mathieu Malaterre
7afad19c77
[trunk] Remove a simple warning about int -> float conversion
2014-03-03 16:02:36 +00:00
Mathieu Malaterre
765c4ab4f4
[trunk] rework code to avoid a warning. this also remove a division and prefer bit-shift
2014-03-03 16:02:16 +00:00
Mathieu Malaterre
24eca792ff
[trunk] Remove some more warnings about conversion
2014-03-03 15:55:27 +00:00
Mathieu Malaterre
b1b17ee264
[trunk] Prefer compile time constant to avoid conversion double -> int
2014-03-03 15:55:06 +00:00
Mathieu Malaterre
74600cfb14
[trunk] Review warning about types conversion, and add cast when needed
2014-03-03 15:47:23 +00:00
Mathieu Malaterre
171ec1583d
[trunk] Remove some simple warnings about conversion
2014-03-03 12:13:11 +00:00
Mathieu Malaterre
80c5106015
[trunk] fgets takes an int as parameter
2014-03-03 12:11:53 +00:00
Mathieu Malaterre
e92fe4c1a4
[trunk] Remove warning about cast double -> int. Instead use bit-shifting (compile time computation)
2014-03-03 12:01:36 +00:00
Mathieu Malaterre
11f402b44a
[trunk] Remove easy to fix warnings about conversion
2014-03-03 12:00:24 +00:00
Mathieu Malaterre
18049fe3e0
[trunk] Import left over from patch submitted as issue 225 (comment #14 )
...
Update issue 225
2014-03-03 11:48:27 +00:00
Mathieu Malaterre
b330c10492
[trunk] remove some simple warnings about unused params
2014-03-03 11:40:59 +00:00
Mathieu Malaterre
25255c4ed1
[trunk] remove all api with invalid FILE* parameters which could leads to issues when applications are compiled with different flags from openjpeg.
...
Fixes issue 198
2014-03-03 11:36:31 +00:00
Mathieu Malaterre
16febebd28
[trunk] Explicitely trigger issue 229, there may be an impact in code execution. The assert may get removed afterward
...
Update issue 229
2014-03-03 11:30:54 +00:00
Mathieu Malaterre
339952c2af
[trunk] Remove simple warnings
2014-03-03 10:41:13 +00:00
Mathieu Malaterre
75715635e8
[trunk] Remove 3635.pdf.asan.77.2930.jp2 from opj_dump tests
...
Update issue 250
2014-03-03 10:38:41 +00:00
Mathieu Malaterre
9863d8d1d2
[trunk] Avoid conflicting declarion for fseek in openjp2 vs fseek in openjpip
2014-03-03 08:49:28 +00:00
Mathieu Malaterre
3ecccb7410
[trunk] Fix md5 values for decode-md5 tests.
...
Update issue 250
2014-03-03 08:45:21 +00:00
Mathieu Malaterre
3c7a7a1675
[trunk] Remove deprecated functions.
...
Update issue 268
2014-03-03 08:30:36 +00:00
Mathieu Malaterre
d14c475de7
[trunk] Remove warning about unused function
...
Update issue 268
2014-03-03 08:27:40 +00:00
Mathieu Malaterre
a68a3feb60
[trunk] Remove deprecated functions (not called anywhere in the code base).
...
Update issue 268
2014-03-03 08:17:20 +00:00
Mathieu Malaterre
43382a9b9c
[trunk] Remove unused variables from test
2014-03-03 07:58:59 +00:00
Mathieu Malaterre
a149502c01
[trunk] Remove some simple warnings about var being set but not used
2014-03-02 10:23:05 +00:00
Mathieu Malaterre
decace60da
[trunk] Remove warning about -2147483648 (aka INT_MIN), causing this decimal constant is unsigned only in ISO C90
2014-03-02 10:20:57 +00:00
Mathieu Malaterre
2c876b6765
[trunk] Remove simple warnings about comments, missing case in switch statement
2014-03-02 10:16:54 +00:00
Mathieu Malaterre
6d0785a78f
[trunk] Fix compilation on MSVC compiler
2014-03-01 10:41:46 +00:00
Mathieu Malaterre
ec593a2549
[trunk] Partially rework r2506, original patch from issue 171 was totally bogus (untested?) and did break most of the test (eg. p1_04 family)
...
convert.c duplicate a lot of code, this patch only adresses the PGX codec section of the code.
Update issue 171
Update issue 264
2014-02-28 17:29:28 +00:00
Mathieu Malaterre
978de6fb97
[trunk] Make sure to run *-decode-md5 only after *-decode tests. Update md5 since recent code change.
2014-02-28 16:04:11 +00:00
Mathieu Malaterre
c53e2960a0
[trunk] Remove easy uint32 <-> int32 conversions
2014-02-28 16:01:07 +00:00
Mathieu Malaterre
cf91ebf278
[trunk] Re-import chunk from r2458 that made textGBR.jp2 to fail otherwise
...
Update issue 225
2014-02-28 15:27:30 +00:00
Mathieu Malaterre
fd5f21af00
[trunk] Rework r2458, instead we should reject 451.pdf.SIGSEGV.ce9.3723 since tile-parts are out of order (as per kakadu behavior).
...
Update issue 225
2014-02-28 15:24:33 +00:00
Mathieu Malaterre
1b93cb8c0a
[trunk] Mark a file as being invalid for opj_dump
2014-02-28 15:14:53 +00:00
Mathieu Malaterre
a9e6268766
[trunk] Fix JPIP test with updated md5sum
2014-02-28 14:54:37 +00:00
Mathieu Malaterre
fc855084a0
[trunk] Really apply r2460 this time, but fix the original typo in the submitted patch
...
Update issue 225
2014-02-28 14:52:58 +00:00
Mathieu Malaterre
b7bccf86c3
[trunk] final round of minor cleanups
2014-02-28 14:38:45 +00:00
Mathieu Malaterre
6ee2a51edc
[trunk] Remove PNG generation code for now
2014-02-28 14:31:01 +00:00
Mathieu Malaterre
d2dc1597fe
[trunk] Prefer strcpy since it copies trailing 0 directly
2014-02-28 14:23:30 +00:00
Mathieu Malaterre
82647e79c7
[trunk] Simplify code to centralize code cleanup
2014-02-28 14:17:30 +00:00
Mathieu Malaterre
ecbebe2847
[trunk] Some code cleanup add sentinels
2014-02-28 13:59:59 +00:00
Mathieu Malaterre
816db977fd
[trunk] Remove a simple warning, and use static to detect unused functions. Simplify function declarations.
2014-02-28 13:19:03 +00:00
Mathieu Malaterre
cbe77e2412
[trunk] run test suite on dataset from issue 171
...
Fixes issue 171
2014-02-28 12:30:11 +00:00
Mathieu Malaterre
1eb67ca49d
[trunk] Remove some simple warnings in opj_dump
2014-02-28 12:06:57 +00:00
Mathieu Malaterre
7a89d731f7
[trunk] Merge final patch from issue 171 with code simplification. also handles signed case properly.
...
Fixes issue 171
2014-02-28 09:52:35 +00:00
Mathieu Malaterre
65503dad73
[trunk] Fix find_path behavior within cross-compilation execution
2014-02-28 08:28:25 +00:00
Mathieu Malaterre
a347262468
[trunk] Import patch from issue 218. No dataset to check, so blindly applied it.
...
Fixes issue 218
2014-02-27 17:21:00 +00:00
Mathieu Malaterre
6a6fa7027a
[trunk] Import patch from issue 171. Only the imagetoraw part was not applied.
...
Update issue 171
2014-02-27 17:04:06 +00:00
Mathieu Malaterre
86cdc91180
[trunk] Try to run test suite on invalid dataset from sumatrapdf team
...
Update issue 225
2014-02-27 15:00:54 +00:00
Mathieu Malaterre
094465a710
[trunk] run test suite to illustrate patch from r2458
2014-02-27 14:43:17 +00:00
Mathieu Malaterre
6ae56f302e
[trunk] Make sure that opj_decompress only output a single component
...
Update issue 110
2014-02-27 14:17:53 +00:00
Mathieu Malaterre
ad895fadb1
[trunk] add issue 46 to the test suite
...
Fixes issue 46
2014-02-27 10:03:11 +00:00
Mathieu Malaterre
7c120281c7
[trunk] improve command line parser syntax checking
2014-02-27 10:02:46 +00:00
Mathieu Malaterre
8a4095b405
[trunk] add a sentinel in debug code
2014-02-27 09:56:06 +00:00
Mathieu Malaterre
a7cc5b6a5d
[trunk] simplify code using for loop
2014-02-27 08:38:55 +00:00
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
8f4d674442
[trunk] Add missing include dir for wx app
2014-02-26 14:04:03 +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
52440cc2e6
[trunk] Remove a simple warning about a cast
2014-02-26 12:54:02 +00:00
Mathieu Malaterre
3fe9243e1c
[trunk] revert r2460 since it breaks ETS-C1P0-p0_03.j2k-decode.
...
Update issue 225
2014-02-26 12:33:49 +00:00
Mathieu Malaterre
05dae25a22
[trunk] Revert r2453 since it breaks conformance test ETS-C1P1-p1_06.j2k-decode
2014-02-26 12:30:44 +00:00
Mathieu Malaterre
23ea270881
[trunk] Import patch from sumatrapdf team. This handle testcase 1336.pdf.asan.47.376
...
Update issue 225
2014-02-26 11:27:01 +00:00
Mathieu Malaterre
7247543da3
[trunk] Import patch from sumatrapdf team. This handle testcase 1888.pdf.asan.35.988
...
Update issue 225
2014-02-26 11:26:09 +00:00
Mathieu Malaterre
37a8d2acc1
[trunk] Import patch from sumatrapdf team. This handle testcase 1851.pdf.SIGSEGV.ce9.948
...
Update issue 225
2014-02-26 11:25:27 +00:00
Mathieu Malaterre
4a7ba87d99
[trunk] Import patch from sumatrapdf team. Start using new color space when found.
...
Update issue 225
2014-02-26 11:24:38 +00:00
Mathieu Malaterre
51e3764519
[trunk] Import patch from sumatrapdf team. This handle some Part-2 compliant file, by being more tolerant in COLR box. No testcase for now.
...
Fixes issue 247
2014-02-26 11:22:34 +00:00
Mathieu Malaterre
533d92aa8e
[trunk] Import patch from sumatrapdf team. This handle some testcase with no input dataset, but changes looks ok.
...
Update issue 225
2014-02-26 11:21:18 +00:00
Mathieu Malaterre
19887b7b8c
[trunk] Import patch from sumatrapdf team. This handle testcase 2977.pdf.asan.67.2198
...
Update issue 225
2014-02-26 11:17:18 +00:00
Mathieu Malaterre
005e75bdc3
[trunk] Import (ugly) patch from sumatrapdf team. This feels like a hack rather than a solution.
...
Fixes issue 226
2014-02-26 11:16:32 +00:00
Mathieu Malaterre
5f3470fcd0
[trunk] Import patch from sumatrapdf team. This handle testcase 3635.pdf.asan.77.2930
...
Update issue 225
2014-02-26 11:14:27 +00:00
Mathieu Malaterre
adb237cfa8
[trunk] Import patch from sumatrapdf team. Original commit is 5b0c9985e3359aca9b3fcfd94424166aa61a141a.
...
Update issue 225
2014-02-26 11:13:21 +00:00
Mathieu Malaterre
29a29d6210
[trunk] Import patch from sumatrapdf team. This handle testcase 451.pdf.SIGSEGV.ce9.3723
...
Update issue 225
2014-02-26 11:11:33 +00:00
Mathieu Malaterre
3a155ceda6
[trunk] Import patch from sumatrapdf team. This handle testcase 2.pdf.SIGFPE.706.1112
...
Update issue 225
2014-02-26 11:10:40 +00:00
Mathieu Malaterre
7195a23a9d
[trunk] Import patch from sumatrapdf team. This handle testcase 1610.pdf.SIGSEGV.59c.681
...
Update issue 225
2014-02-26 11:09:59 +00:00
Mathieu Malaterre
0ae6ff8018
[trunk] Import patch from sumatrapdf team. This handle testcase 2539.pdf.SIGFPE.706.1712
...
Update issue 225
2014-02-26 11:09:20 +00:00
Mathieu Malaterre
241769dc2f
[trunk] Import patch from sumatrapdf team. This handle testcase 4035.pdf.SIGSEGV.d8b.3375
...
Update issue 225
2014-02-26 11:08:25 +00:00
Mathieu Malaterre
4a39ee9bbc
[trunk] Import patch from sumatrapdf team. Add detection for testcase 1802.pdf.SIGSEGV.36e.894
...
Update issue 225
2014-02-26 11:06:18 +00:00
Mathieu Malaterre
1dedf7f0cd
[trunk] Import patch from sumatrapdf team. Add a new function to check color box.
...
Update issue 225
2014-02-26 11:05:31 +00:00
Mathieu Malaterre
70ede09310
[trunk] Import patch from sumatrapdf team. This patch adds new colorspace handling.
...
Update issue 225
2014-02-26 11:04:33 +00:00
Mathieu Malaterre
3da30304fc
[trunk] Import patch from sumatrapdf team. This adds alpha handling. This patch changes ABI.
...
Update issue 225
2014-02-26 11:03:55 +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
36a7d23273
[trunk] regex would not be used to remove java deprecation warning from dashboard
2014-02-26 09:47:53 +00:00
Mathieu Malaterre
c4317177f3
[trunk] Remove simple warnings about unused functions
2014-02-26 09:46:01 +00:00
Mathieu Malaterre
e231a84b2f
[trunk] Properly store and use value returned by fread. Also invert nmemb and size in fread call.
...
Fixes issue 262
2014-02-26 09:40:19 +00:00
Mathieu Malaterre
b56fb96b1b
[trunk] Fix invalid write access in JPIP code.
...
Fixes issue 261
2014-02-26 09:35:11 +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
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
Mickael Savinaud
f769d5e27f
[trunk] manage correctly the case where meth value is not correct (thanks winfried)
2013-03-17 18:27:41 +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
0abf4f8fbb
[trunk]remove wrong code in mj2 library detected by winfried (thanks to you)
2013-03-17 17:06:30 +00:00
Mickael Savinaud
a13e4a77e0
[trunk] use everywhere the new opj_ prefix for HAVE variables and use the opj_apps_config file (thanks to winfried)
2013-03-17 17:03:00 +00:00
Mickael Savinaud
6de2271e2a
[trunk] use the home made macro to ensure the existence of some include file
2013-03-13 15:21:20 +00:00
Mickael Savinaud
021e255282
[trunk] use the opj_ prefix for the HAVE_FSEEKO variable
2013-03-13 15:17:35 +00:00
Mickael Savinaud
92b1e038c1
[trunk] correct missing variable in openjpeg config file
2013-03-13 10:18:04 +00:00
Mickael Savinaud
a8c33ae219
[trunk] remove some unused variable from opj_config and rename other one with opj_ prefix
2013-03-03 18:06:27 +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
efaefa21fc
[trunk] add the prefix opj_ to deprecated everywhere
2013-02-18 13:19:52 +00:00
Mickael Savinaud
42bd417acf
[trunk] update documentation of new functions _v3 and mark deprecated related functions
2013-02-17 22:57:14 +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
c03ca9c73c
[trunk] rename deprecated macro with opj_ prefix and use it for opj_stream_destroy function
2013-02-16 17:31:22 +00:00
Mickael Savinaud
d5884afcf3
[trunk] add functions to avoid to use FILE* into the API (thanks winfried).
...
Update issue 120 and update issue 198
2013-02-16 17:20:55 +00:00
Mickael Savinaud
a2aeafe85b
[trunk] add a test related to issue 202
2013-02-04 13:22:56 +00:00
Mickael Savinaud
0109b39f58
[trunk] update convert about png writing with additional metadata (thanks winfried)
2013-02-03 10:18:10 +00:00
Mickael Savinaud
752e978d56
[trunk] update test suite for issue 5 and 62
2013-02-03 09:55:31 +00:00
Mickael Savinaud
8b36a11f2b
[trunk] backout one part of the rev 2266
2013-02-03 09:07:23 +00:00
Mathieu Malaterre
ccd448d626
[trunk] JP3D: Fix issue with Z handling in packet iterator
2013-01-03 14:26:38 +00:00
Mathieu Malaterre
44fb38949b
[trunk] JP3D: Handles errors properly
2013-01-03 14:25:49 +00:00
Mathieu Malaterre
ad1532ed57
[trunk] JP3D: remove old debug
2013-01-03 14:22:34 +00:00
Mathieu Malaterre
caaec3bb05
[trunk] JP3D: convert from DOS to UNIX eol
2013-01-02 18:19:56 +00:00
Mathieu Malaterre
df47fae287
[trunk] JP3D: remove exe bit from source files
2013-01-02 18:16:14 +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
Mathieu Malaterre
4c02acb728
[trunk] remove left over from v2 transition
2012-12-11 14:15:46 +00:00
Mathieu Malaterre
8c9151c86b
[trunk] JP3D: completely redo the opj_tgt_create function. Take as input the initial opj_tgt_create as found in openjpeg 1.5, and extend with the 3rd dimension.
2012-12-11 14:09:24 +00:00
Rex Dieter
c075742bc8
Doxyfile: HTML_TIMESTAMP = NO
...
helps when comparing the output of multiple runs,
and distros will appreciate avoiding multilib conflicts.
2012-12-07 15:07:50 +00:00
Mickael Savinaud
b42cf317d6
[trunk] correct the new name of OPJ_HAVE_STDINT_H everywhere
2012-12-04 13:13:50 +00:00
Mickael Savinaud
f5429e4ce8
[trunk] remove SSIZE which is unused in openjpeg and rename HAVE_STDINT_H to OPJ_HAVE_STDINT_H
2012-12-04 12:51:00 +00:00
Mickael Savinaud
82dad8e629
[trunk] add openjpeg.h in some files of openjpip to use some opj type (thanks winfried)
2012-12-04 12:20:30 +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
Mickael Savinaud
0adb43f06e
[trunk] correct the encoding of colr box information (thanks Winfried)
2012-12-03 13:04:43 +00:00
Mickael Savinaud
87e09a09da
[trunk]add the pkgconfig support for openjp2 (thanks Winfried)
2012-12-03 12:21:48 +00:00
Mathieu Malaterre
ba630816bc
[trunk] JP3D codec was trying to pull information from the registration parameter in COM. This is non-standard.
2012-11-28 13:37:50 +00:00
Mathieu Malaterre
863fdafcd5
[trunk] As per T.809 code block are not shifted in JP3D
...
Table A.7
3D code-block width, height and depth exponent values xcb = value, ycb = value
or zcb = value.
NOTE – This redefines Rec. ITU-T T.800 | ISO/IEC 15444-1 significantly! The 3D
code-block width, height and depth are limited to powers of two with the minimum
size being 20 and the maximum being 210.
Further, the 3D code-block size is restricted so that 4 ≤ xcb+ycb+zcb ≤ 18.
2012-11-28 13:06:02 +00:00
Mathieu Malaterre
be5e6941bf
[trunk] JP3D: this is safe to write comment using Registration: ISO-8859-15
2012-11-28 12:21:51 +00:00
Mathieu Malaterre
7980115412
[trunk] JP3D fix issue with Registration value in COM marker. Move COM marker just before COD.
2012-11-28 12:18:17 +00:00
Mathieu Malaterre
cab86a0deb
[trunk] jp3d: fix command line parsing for subsampling
2012-11-28 12:04:40 +00:00
Mathieu Malaterre
be3a1da14a
[trunk] Fix issue with ITU-T T.809 (05/2011)
...
- ZSI is now known as NSI (FF54)
- NSI now stores Ndim (=3)
- CAP extended marker was not set properly
2012-11-28 11:46:16 +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
48e0d167aa
[trunk] check the index of the component in read_qcc (thanks Even). fixes issue 192
2012-11-26 15:58:14 +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
14ab311d2f
[trunk] fix issue 191 (thanks Even)
2012-11-19 13:37:04 +00:00
Mickael Savinaud
02ab4363b6
[trunk]remove not used structures
2012-11-19 10:31:43 +00:00
Mickael Savinaud
e1f7c73324
[trunk] remove the extended struct it is a bad idea
2012-11-16 15:40:23 +00:00
Mickael Savinaud
3042fc2a29
[trunk] add extended capacities for future development
2012-11-16 09:35:42 +00:00
Mathieu Malaterre
a622c1c2fe
[trunk] rename USE_LEGACY into OPJ_USE_LEGACY for consistency with other #define
2012-11-16 09:31:12 +00:00
Mathieu Malaterre
b3e467dcba
[trunk] Attempt to fix compilation error with mj2
2012-11-16 09:19:11 +00:00
Mathieu Malaterre
c0259255b0
[trunk] Attempt to fix compilation error with mj2
2012-11-16 09:18:03 +00:00
Mickael Savinaud
9398bc1764
[trunk] solve the problem with new opj_ symbols in color.c
2012-11-16 08:36:23 +00:00
Mickael Savinaud
fcf9fa3651
[trunk] add opj_ prefix to some internal define and use the new opj type instead of int and float in some files
2012-11-16 08:29:43 +00:00
Mickael Savinaud
583df79be9
[trunk]rename the cinema option to old one
2012-11-15 19:24:51 +00:00
Mickael Savinaud
0e0b892493
[trunk] update some applications with new OPJ_BOOL type
2012-11-15 19:18:43 +00:00
Mickael Savinaud
78a8d64a92
[trunk] use OPJ_INT32 instead of int in t2.c
2012-11-15 16:46:08 +00:00
Mickael Savinaud
5433e4dab8
[trunk] rename function with the new opj_ prefix
2012-11-15 16:42:55 +00:00
Mickael Savinaud
c3c59b010b
[trunk] solve a potential bug when we test the realloc
2012-11-15 16:37:57 +00:00
Mickael Savinaud
8eb481b6c6
[trunk] add an assert to spot a problem. update issue 189
2012-11-15 16:28:44 +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
f663042893
[trunk] propagate the new OPJ_ symbol and type to openjpip
2012-11-15 14:43:50 +00:00
Mickael Savinaud
f07c1a11a0
[trunk]rename decompress options with the goog name
2012-11-15 14:29:38 +00:00
Mickael Savinaud
ce297bfa9e
runk] fix the documentation of the API
2012-11-15 14:22:13 +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
ec0fe09138
[trunk] move opj_bool to OPJ_BOOL to follow the other type
2012-11-15 13:13:36 +00:00
Mickael Savinaud
8562ed3018
[trunk]remove OPJ_LIMIT_DECODING struct which is not useful for v2 API
2012-11-15 13:02:33 +00:00
Mickael Savinaud
21b0ccf859
[trunk] rename public symbols with OPJ_ prefix (enum part)
2012-11-15 12:58:32 +00:00
Mickael Savinaud
84c93c2fea
[trunk] rename public symbols with OPJ_ prefix
2012-11-15 12:25:11 +00:00
Mickael Savinaud
e3c2305ff4
[trunk] remove warnings raised by flags -Wall -Wextra -pedantic
2012-11-13 17:35:15 +00:00
Mickael Savinaud
0e3c467a5b
[trunk] remove warnings raised by vs11-beta analyzer
2012-11-13 16:59:03 +00:00
Mickael Savinaud
94880d8f36
[trunk] remove warnings raised by flags -Wall -Wextra -pedantic
2012-11-13 15:26:13 +00:00
Mickael Savinaud
7307bb6e9a
[trunk] remove warnings raised by flags -Wall -Wextra -pedantic and vs9 analyzer
2012-11-13 15:16:35 +00:00
Mickael Savinaud
4263410fe8
[trunk] remove warnings raised by flags -Wall -Wextra -pedantic
2012-11-13 12:59:35 +00:00
Mickael Savinaud
cb0eb855ca
[trunk] manage the case where the SOT marker is alone, PSot=12 (case of PHR data).
...
Fixes issue 162
2012-11-13 11:18:58 +00:00
Mickael Savinaud
569d0ec7cc
[trunk] avoid memory leak in opj_t2_decode_packets
2012-11-13 09:47:16 +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
Mickael Savinaud
853bcb3c64
[trunk] add documentation
2012-10-29 22:12:02 +00:00
Mickael Savinaud
4d32395fe1
[trunk]OPJ_STREAM_READ is now equal to OPJ_TRUE and OPJ_STREAM_WRITE to OPJ_FALSE
2012-10-29 22:06:28 +00:00
Mickael Savinaud
a6a141d326
[trunk] move opj_event_mgr struct from openjpeg. h to event.h
2012-10-29 22:02:02 +00:00
Mickael Savinaud
e0161e03db
[trunk] remove old struct from V1 and not used in V2
2012-10-29 21:49:33 +00:00
Mathieu Malaterre
82d29d4c2a
[trunk] Remove bool.h, use opj_bool instead
...
Fix remaining opj_calloc/malloc/free issues
2012-10-29 16:24:39 +00:00
Mathieu Malaterre
1a5791750b
[trunk] Fix simple warning about unused variables
2012-10-29 16:07:24 +00:00
Mathieu Malaterre
482d9b58b3
[trunk] Make sure to use off_t
2012-10-29 16:07:09 +00:00
Mathieu Malaterre
5903dd7d82
[trunk] Remove temp fix now that mj2 is fixed
2012-10-29 15:28:59 +00:00
Mathieu Malaterre
301b1ffbc7
[trunk] Update version number to 2.0. This will help for testing generating scripts
2012-10-29 14:36:35 +00:00
Mathieu Malaterre
759be64115
[trunk] Fix remainings issues with doxygen doc
...
Convert DOS files to UNIX eol
2012-10-29 14:35:11 +00:00
Mickael Savinaud
ece2a2d6c2
[trunk] Normalize the return type of opj_read_from_file regarding the test in the calling function
2012-10-29 13:53:02 +00:00
Mathieu Malaterre
f31957c502
[trunk] Remove some simple warnings about missing prototypes
2012-10-29 13:28:51 +00:00
Mathieu Malaterre
fb69541cfa
[trunk] Fix compilation when JPIP is OFF
2012-10-29 13:27:39 +00:00
Mathieu Malaterre
e189679ebc
[trunk] Merge back JPIP modification into v2
...
This commit imports changes from openjpip.c from r2122 into openjpeg.c
2012-10-29 10:12:03 +00:00
Mickael Savinaud
18e7fcc37f
[trunk] remove warnings related to the use of -Wall -Wextra -pedantic
2012-10-29 10:08:35 +00:00
Mickael Savinaud
1c8a657044
[trunk] finish to remove the old cio_ struct (last comment is incomplete)
2012-10-26 10:10:22 +00:00
Mickael Savinaud
cdea5c8eef
[trunk] remove some warnings from -Wall -Wextra -pedantic
2012-10-26 10:04:55 +00:00
Mickael Savinaud
bcc386e3bb
[trunk]remove some warnings raised by Wall
2012-10-26 09:39:52 +00:00
Mickael Savinaud
a2bd3bb75b
[trunk] use the right cp structure in image.h
2012-10-26 07:52:27 +00:00
Mickael Savinaud
b63d618e48
[trunk] remove last warnings from t1
2012-10-25 17:31:18 +00:00
Mickael Savinaud
8864c2d59b
[trunk] rename t1_getwmsedec_v2 to opj_t1_getwmsedec and remove t1_getwmsedec
2012-10-25 17:27:22 +00:00
Mickael Savinaud
c75073fbf4
[trunk] cancel previous commit about use of t1_decode_cblks from v2. We should use t1_decode_cblks from 1.5 because it is faster (rev 557)
2012-10-25 17:23:54 +00:00
Mickael Savinaud
cf4529d058
[trunk] use the opj_ prefix for last t1 functions
2012-10-25 15:50:58 +00:00
Mickael Savinaud
9b6900b058
[trunk] [trunk] remove old opj_tcp and rename opj_tcp_v2 to opj_tcp
2012-10-25 15:15:02 +00:00
Mickael Savinaud
7f7ef068fc
[trunk] [trunk] remove old opj_cp and rename opj_cp_v2 to opj_cp
2012-10-25 15:09:31 +00:00
Mickael Savinaud
a41790ce8a
[trunk] [trunk] remove old opj_t2 and rename opj_t2_v2 to opj_t2
2012-10-25 14:54:19 +00:00
Mickael Savinaud
06615a556d
[trunk] rename opj_tcd_truct_v2 to opj_tcd_struct
2012-10-25 14:49:10 +00:00
Mickael Savinaud
94a69c2b31
[trunk] rename opj_j2k_v2 to opj_j2k
2012-10-25 14:27:09 +00:00
Mickael Savinaud
425ff2f81d
[trunk] remove old opj_j2k struct
2012-10-25 14:22:29 +00:00
Mickael Savinaud
2257166e61
[trunk] rename opj_jp2_v2 to opj_jp2
2012-10-25 14:16:19 +00:00
Mickael Savinaud
56cf5f4f67
[trunk] remove old opj_jp2 struct
2012-10-25 14:11:19 +00:00
Mickael Savinaud
668484ba8f
[trunk] correct a mis use of an old struct
2012-10-25 14:10:01 +00:00
Mickael Savinaud
f824078c14
[trunk] rename opj_event_msg_v2 to opj_event_msg
2012-10-25 13:49:20 +00:00
Mickael Savinaud
3250833a62
[trunk]remove old opj_event_mgr function
2012-10-25 13:46:40 +00:00
Mickael Savinaud
8bc24912d1
[trunk] style
2012-10-25 13:35:30 +00:00
Mickael Savinaud
52f6f7e0c7
[trunk] remove cio deprecated functions
2012-10-25 13:29:41 +00:00
Mickael Savinaud
ee8ee69c30
[trunk]clean jpip marker functions but it is still experimental
2012-10-25 13:15:37 +00:00
Mickael Savinaud
4941ebcc91
[trunk] remove jpt.c/.h which used functions not used by v2. The code is always available in branch 1.5
2012-10-25 11:45:44 +00:00
Mathieu Malaterre
9adbea785b
[trunk] Fix remaining issue with OPJ_CALLCONV
2012-10-25 10:41:55 +00:00
Mathieu Malaterre
fd19413196
[trunk] Add documentation for stable API/ABI and gcc flags on UNIX
2012-10-25 08:44:27 +00:00
Mathieu Malaterre
6300a8a0a2
[trunk] marking as deprecated the old cio interface
2012-10-25 08:38:04 +00:00
Mathieu Malaterre
66c1228c95
[trunk] Remove some simple warnings about missing prototypes
2012-10-25 08:20:12 +00:00
Mathieu Malaterre
4585b23552
[trunk] Fix OpenJPWL compilation
...
Simply move files over from branch 1.5 onto current trunk, and use current openmj2 copy (it contains a copy of openjpeg 1.5.x)
2012-10-25 08:15:41 +00:00
Mathieu Malaterre
23a624f73a
[trunk] Since r2060 (and r2059) openjpip is now a first class shared library, instead of a local static lib which expose all the symbols.
...
As such re-apply changes from r2077 which were removed in r2122
Also remove old code for now removed opj_jpip_compress
2012-10-25 07:53:22 +00:00
Mathieu Malaterre
f3d7d2f7b1
[trunk] Rework r2077
...
r2077 did expose too much of the detail implementation of OpenJPEG. Rework dependencies in between JPIP file level details and JPIP client/server arch.
Move JPIP file level functionalities back into OpenJP2 as was the case in openjpeg 1.5.x. Use new cio func.
2012-10-25 07:39:59 +00:00
Mathieu Malaterre
0358983ee6
[trunk] Add missing newline
2012-10-25 07:06:12 +00:00
Mathieu Malaterre
a0977266b4
[trunk] Run fix_comment on invert.c
2012-10-25 06:58:30 +00:00
Mickael Savinaud
76947f0074
[trunk] add the support of complex mct encoding when we setup the j2k encoder
2012-10-24 15:19:51 +00:00
Mickael Savinaud
f649754018
[trunk] correct a small warning raised by continous
2012-10-24 14:52:15 +00:00
Mickael Savinaud
b1c5ce2517
[trunk] remove old structures from tcd.h
2012-10-24 14:38:07 +00:00
Mickael Savinaud
f2db5ec4fb
[trunk] use the right v2 structure
2012-10-24 14:10:03 +00:00
Mickael Savinaud
db08494776
[trunk] rename flag_t to opj_flag_t
2012-10-24 14:06:10 +00:00
Mickael Savinaud
9166d595e6
[trunk] use new opj prefix and type with raw functions
2012-10-24 13:18:12 +00:00
Mickael Savinaud
f1061c8763
[trunk] remove a usefulness test before a free
2012-10-24 13:05:30 +00:00
Mickael Savinaud
fca9803bee
[trunk] update jp2./.h to v2 style: use new OPJ type, manage case where bpcc box is available even if ihdr indicate that it is not needed; resolve a LH TODO
2012-10-24 12:49:28 +00:00
Mickael Savinaud
0d841b5e05
[trunk] add documentation to the message handler functions
2012-10-24 11:17:48 +00:00
Mickael Savinaud
216791c3fb
[trunk] Finalize dwt.v/.h with the v2 style : remove last functions already optimized, add opj_ prefix, use new name of the functions
2012-10-24 09:29:34 +00:00
Mickael Savinaud
12c4e68058
[trunk] finalize bio.c/.h related to the v2 style
2012-10-24 09:09:37 +00:00
Mathieu Malaterre
b4b451863d
[trunk] Remove SONAME from Java binding
2012-10-22 10:49:22 +00:00
Mathieu Malaterre
f2808de855
[trunk] Fix java binding installation
2012-10-22 10:41:44 +00:00
Mathieu Malaterre
9b2897ccd9
[trunk] Fix another set of issue with calling convention
2012-10-15 15:52:43 +00:00
Mathieu Malaterre
3c4698435c
[trunk] Fix issue on windows OS. Need to explicitely state the calling convention
2012-10-15 15:50:05 +00:00
Mathieu Malaterre
98682e1073
[trunk] Remove some warnings about missing prototypes (gcc)
2012-10-15 15:47:56 +00:00
Mathieu Malaterre
d6bcb8b7e0
[trunk] Fix JPIP compilation. Some prototypes were not respected.
2012-10-15 15:47:19 +00:00
Mickael Savinaud
a501237ae3
[trunk] propagate the renaming to openjpwl
2012-10-15 13:32:07 +00:00
Mickael Savinaud
f6622c2fbb
[trunk] fix a compilation error with windows and new public function opj_j2k_start_compress
2012-10-15 13:00:31 +00:00
Mickael Savinaud
b08b90d71c
[trunk]rename j2k_lib to opj_clock
2012-10-15 12:58:32 +00:00
Mickael Savinaud
b46ed8c7a3
[trunk] modify type of opj_clock function
2012-10-15 12:43:44 +00:00
Mathieu Malaterre
45869ce843
[trunk] Fix issue during renaming of man page
2012-10-15 11:57:47 +00:00
Mathieu Malaterre
dff377a741
[trunk] Fix compilation:
...
- using mingw32 compiler (missing exported symbols)
- using -fvisibility=hidden (gcc on UNIX)
2012-10-15 09:44:34 +00:00
Mathieu Malaterre
b24cf8d157
[trunk] Fix Java binding compilation. Need to link against openmj2 for now to resolve all symbols.
...
Add a local indec.c (pulled from opj 1.5 branch)
2012-10-15 09:43:28 +00:00
Mathieu Malaterre
2ad90b7c41
[trunk] Fix missing -lm to openjpwl
2012-10-15 08:38:48 +00:00
Mathieu Malaterre
a40fc41988
[trunk] Fix missing link to zlib
2012-10-15 08:13:27 +00:00
Mathieu Malaterre
3416c6d91b
[trunk] Fix openmj2 compilation in static mode.
2012-10-15 08:09:31 +00:00
Mathieu Malaterre
54c2bcb60f
[trunk] Fix compilation in static mode. Prevent duplicate symbols with convert.c implementation
2012-10-15 08:02:30 +00:00
Mathieu Malaterre
44a5108e1d
[trunk] Add missing newline character
2012-10-15 07:57:19 +00:00
Mathieu Malaterre
d8715871fa
[trunk] Fix issues in man pages.
2012-10-15 07:52:27 +00:00
Mathieu Malaterre
772fcc963c
[trunk] Fix installaiton of header file
2012-10-15 07:52:07 +00:00
Mathieu Malaterre
75b7104724
[trunk] remove left-over from ->jpip_on implementation. JPIP is now completely removed from openjp2 and openmj2. Document jpip_iptr_offset variable
2012-10-15 07:38:10 +00:00
Mathieu Malaterre
fe3c1f9061
[trunk] Fix warning for no previous prototype by using static function
2012-10-15 07:31:05 +00:00
Mathieu Malaterre
e30818ce39
[trunk] Fix advanced (and experimental) Java binding. As reported on the mailing list.
2012-10-10 13:26:29 +00:00
Mathieu Malaterre
2e30886a0d
[trunk] Fix openmj2/mj2 compilation
...
As reported on the mailing list, it is better to have a working (compiling) mj2 codec rather than nothing. mj2 uses it own copy of openjpeg 1.5
Update issue 177
2012-10-09 09:45:43 +00:00
Mathieu Malaterre
b18ffbd08a
[trunk] Use opj_malloc/opj_free in jpip bin
...
Update issue 177
2012-10-09 09:44:24 +00:00
Mathieu Malaterre
16d2dc662f
[trunk] FolderReorgProposal task. Remove left over of JPIP
...
JPIP code was moved from JP2 to openjpip
Update issue 177
2012-10-09 09:11:24 +00:00
Mathieu Malaterre
9832c911b3
[trunk] Update JPIP (FolderReorgProposal task)
...
This commit does three things:
- Use opj_malloc/calloc/free instead of the default C ones.
- Update JPIP API to start using cio _v2 API
- Create a new opj_jpip_compress which is the replacement for image_to_j2k -jpip
Update issue 177
2012-10-08 15:59:17 +00:00
Mathieu Malaterre
23f5eeec20
[trunk] Make openjpip a first class shared lib, for future linking
2012-10-05 17:05:06 +00:00
Mathieu Malaterre
16106b2978
[trunk] First step in moving JPIP code out of openjp2
2012-10-05 16:57:30 +00:00
Mickael Savinaud
c66e6be4a4
[trunk] update t1_generate_luts.c with the right ouput to generate t1_luts
2012-10-05 12:34:46 +00:00
Mathieu Malaterre
eda4c26d24
[trunk] Fix spelling. writting -> writing
2012-10-05 09:20:05 +00:00
Mickael Savinaud
4b140e060b
[trunk] rename int.h to opj_intmath.h and rename all its functions with opj_ prefix
2012-10-05 09:10:15 +00:00
Mickael Savinaud
1fefa03329
[trunk] move fix_mul inside int.h and remove fix.h from the project
2012-10-05 08:32:05 +00:00
Mickael Savinaud
37ff9b029c
[trunk] remove warnings
2012-10-05 08:18:55 +00:00
Mickael Savinaud
e798fe37e1
[trunk]remove warnings in pi.c through the update of poc struct types with new opj_types.
2012-10-03 17:03:41 +00:00
Mickael Savinaud
f4a8f7165c
[trunk] update global functions of tgt with opj_ prefix
2012-10-03 15:06:58 +00:00
Mickael Savinaud
2d52e409c2
[trunk] (style) move global pi functions to the right place and update indentation
2012-10-03 14:41:40 +00:00
Mickael Savinaud
1b5e677d0c
[trunk] remove old v1 functions and rename pi_initialise_encode_v2 to opj_pi_initialise_encode; pi_create_encode_v2 to opj_pi_create_decode; pi_destroy_v2 to opj_pi_destroy; pi_create_decode_v2 to opj_pi_create_decode
2012-10-03 14:29:26 +00:00
Mickael Savinaud
c508923f04
[trunk] update pi_check_next_level with the opj_ prefix and change output type to be more convenient
2012-10-03 13:25:03 +00:00
Mickael Savinaud
6c4024796e
[trunk]rename pi_update_encoding_parameters to opj_pi_update_encoding_parameters
2012-10-03 12:50:44 +00:00
Mickael Savinaud
bd2c6cfa55
[trunk] replace pi_next by opj_pi_next
2012-10-03 12:43:15 +00:00
Mickael Savinaud
bd74db932e
[trunk] update local function of pi.c with the opj_ prefix and the new opj types
2012-10-03 12:39:17 +00:00
Mickael Savinaud
439337fb1b
[trunk] update mqc global functions with opj_ prefix
2012-10-03 12:12:33 +00:00
Mickael Savinaud
5ffe6f5acf
[trunk] add comments to check some parts of mqc.c and update types
2012-10-03 11:45:53 +00:00
Mickael Savinaud
f281f8cb75
upadate mqc with new opj_type and use opj_ prefix for local functions
2012-10-03 11:38:12 +00:00
Mickael Savinaud
3a46e2d86b
[trunk] correct warnings linked to static dwt functions because declaration is not hide when we use SSE
2012-10-03 09:52:09 +00:00
Mickael Savinaud
6a84a1788b
{trunk]update mct functions with opj_ prefix and new opj type
...
add some comments
2012-10-03 09:47:50 +00:00
Mickael Savinaud
df870e5241
[trunk] update global functions of bio.c with opj_prefix and new opj type
2012-10-03 09:04:44 +00:00
Mathieu Malaterre
82afd3a891
[trunk] Set of warnings fix for gcc -pedantic
2012-10-02 09:41:51 +00:00
Mathieu Malaterre
514fc72050
[trunk] Build small internal tools to generate t1_luts.h
2012-10-02 07:45:49 +00:00
Mathieu Malaterre
4dba9aed22
[trunk] Import opj_malloc.h from branch 1.5.x
2012-10-02 06:51:59 +00:00
Mathieu Malaterre
a46dbe6941
[trunk] V2 will be release with SOVERSION=6
2012-10-01 15:45:24 +00:00
Mathieu Malaterre
394db7b738
[trunk] Remove old function tgt_create
...
Fix some warnings about size_t
2012-10-01 15:29:36 +00:00
Mathieu Malaterre
3ad58ee1f5
[trunk] Update README to reflect FolderReorgProposal
...
Update issue 177
2012-10-01 15:16:33 +00:00
Mathieu Malaterre
00aa77f2d9
[trunk] FolderReorgProposal fix. 3rd party variables were not set
...
Update issue 177
2012-10-01 14:50:26 +00:00
Mathieu Malaterre
60fc79c717
[trunk] Requires CMake 2.8.2 at least
2012-10-01 14:18:20 +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
c450d418ef
[trunk] remove warnings generated by all project in thirdparties
2012-10-01 11:14:20 +00:00
Mathieu Malaterre
c3b1af023b
[trunk] Discard warnings from tiff package
2012-10-01 11:06:10 +00:00
Mathieu Malaterre
bf37be46b8
[trunk] rename PACKAGE_VERSION to OPJ_PACKAGE_VERSION
...
This prevent conflicts with TIFF package which also defines PACKAGE_VERSION
2012-10-01 10:39:39 +00:00
Mathieu Malaterre
4466c31fc2
[trunk] Fix missing include directory
2012-10-01 10:20:31 +00:00
Mathieu Malaterre
b2bebcf5ce
[trunk] fix compilation on windows where getopt is not available
2012-10-01 10:19:12 +00:00
Mathieu Malaterre
de33ba029b
[trunk] Fix missing getopt symbols on windows
2012-10-01 10:11:46 +00:00
Mathieu Malaterre
465db44499
[trunk] FolderReorgProposal task: Fix openjp2 lib name
2012-10-01 10:08:01 +00:00
Mathieu Malaterre
abdb8ee3f7
[trunk] Fix a set of warnings about C90 issues
2012-10-01 10:01:09 +00:00
Mathieu Malaterre
aa6b4b4970
[trunk] FolderReorgProposal task. Do not rebuild doxygen always
...
Update issue 177
2012-10-01 09:37:19 +00:00
Mathieu Malaterre
25cbfcf34a
[trunk] FolderReorgProposal task: cleanup doxygen
...
Update issue 177
2012-10-01 09:20:30 +00:00
Mathieu Malaterre
cffc33a51c
[trunk] FolderReorgProposal task: fix jpip doxygen
...
Update issue 177
2012-10-01 08:43:02 +00:00
Mathieu Malaterre
5db7b01fa2
[trunk] FolderReorgProposal task: Fix doxygen
...
Update issue 177
2012-10-01 08:30:04 +00:00
Mathieu Malaterre
1ca5ca8392
[trunk] FolderReorgProposal task: update install instruction
...
Update issue 177
2012-10-01 07:59:48 +00:00
Mathieu Malaterre
93761d9ab5
[trunk] FolderReorgProposal task: move source code to source dir
2012-10-01 07:49:52 +00:00
Mathieu Malaterre
bb16d8816c
[trunk] FolderReorgProposal task: only keep a single build system
2012-10-01 07:33:59 +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
2d09cbfd21
[trunk] FolderReorgProposal task: rename JP3D CLI tools
...
Update issue 177
2012-09-28 09:57:19 +00:00
Mathieu Malaterre
d84b16caf9
[trunk] FolderReorgProposal task: rename MJ2/JPIP CLI tools
...
Update issue 177
2012-09-28 09:52:57 +00:00
Mathieu Malaterre
95f06f0591
[trunk] FolderReorgProposal task: fix JPWL
...
Update issue 177
2012-09-28 09:26:51 +00:00
Mathieu Malaterre
3bf4d635f2
[trunk] FolderReorgProposal task: rename cli tools
...
Update issue 177
2012-09-28 09:12:22 +00:00
Mathieu Malaterre
a4fa18e92d
[trunk] FolderReorgProposal task: Fix Viewer
...
Update issue 177
2012-09-28 08:59:10 +00:00
Mathieu Malaterre
f71af2a2ef
[trunk] FolderReorgProposal task: refactor MJ2
...
Update issue 177
2012-09-28 08:51:14 +00:00
Mathieu Malaterre
3e62f8d9b7
[trunk] FolderReorgProposal task: add JP3D
...
Update issue 177
2012-09-28 08:32:34 +00:00
Mathieu Malaterre
028720c9ec
[trunk] Continue FolderReorgProposal task. Missing java wrapping
...
Update issue 177
2012-09-28 08:17:02 +00:00
Mathieu Malaterre
d518970039
[trunk] Start FolderReorgProposal task
...
Update issue 177
2012-09-28 08:11:41 +00:00
Mickael Savinaud
8363a6ab1e
update j2k_lib with new opj type
2012-09-27 14:50:06 +00:00
Mickael Savinaud
a540dcd2e2
correct a warning in image.c
2012-09-27 14:48:47 +00:00
Mickael Savinaud
58b2c6c4a5
clean function_list functions
2012-09-27 14:47:34 +00:00
Mickael Savinaud
34ffde6799
[trunk] Rename bio_create and bio_destroy with opj_ prefix
2012-09-27 14:42:08 +00:00
Mickael Savinaud
e7cd945000
[trunk] udpate local functions of bio.c with opj_prefix and new opj types
...
update opj_bio structure
2012-09-27 14:36:30 +00:00
Mickael Savinaud
ccf0f05e98
[trunk] update t1_luts.h with opj type
2012-09-27 14:28:32 +00:00
Mickael Savinaud
36672ad50e
[trunk] update some local function of t1 with opj_prefix and new opj type
2012-09-27 14:16:05 +00:00
Mickael Savinaud
8bee3d89c5
rename opj_t1_enc_clnpass and opj_t1_enc_clnpass_step with opj_ prefix and update types used in theses functions
2012-09-27 14:09:41 +00:00
Mickael Savinaud
cf212e55ac
[trunk]rename t1_enc_refpass_step and t1_enc_repass with opj_ prefix and update types used in theses functions
2012-09-27 13:56:48 +00:00
Mickael Savinaud
a00f61bd5d
{trunk] remove old v1 style function t1_encode_cblk
...
rename t1_encode_cblk_v2 to opj_t1_encode_cblk
2012-09-27 13:51:01 +00:00
Mickael Savinaud
dca76de872
[trunk] remove old v1 function t1_encode_blocks
2012-09-27 13:43:27 +00:00
Mickael Savinaud
70540f9563
[trunk] remove old v1 style t1_decode_cblk function and rename t1_decode_cblk_v2 to opj_t1_decode_cblk
...
rename t1_dec_sigpass t1_dec_sigpass_step, t1_updateflags, t1_dec_refpass, t1_dec_refpass_step with opj_prefix and v2 type
delete unused functions in new V2 t1 framework: t1_dec_refpass_raw, t1_dec_refpass_mqc, t1_dec_refpass_mqc_vsc, t1_dec_refpass_step_raw, t1_dec_refpass_step_mqc, t1_dec_refpass_step_mqc_vsc, t1_dec_sigpass_raw, t1_dec_sigpass_mqc, t1_dec_sigpass_mqc_vsc, t1_dec_sigpass_step_raw, t1_dec_sigpass_step_mqc, t1_dec_sigpass_step_mqc_vsc
2012-09-27 13:28:44 +00:00
Mickael Savinaud
a545cb7cff
[trunk]remove t2_init_seg
...
rename t2_init_seg_v2 to opj_t2_init_seg
rename t2_encode_packet_v2 to opj_t2_encode_packet
2012-09-27 13:22:32 +00:00
Mickael Savinaud
9a86a3bd23
[trunk] remove t2_destroy, t2_decode_packets and t2_decode_packet
...
rename from t2_destroy_v2 to opj_t2_destroy
rename from t2_decode_packets_v2 to opj_t2_decode_packets
rename from t2_decode_packet_v2 to opj_t2_decode_packet
2012-09-27 13:14:15 +00:00
Mickael Savinaud
69673635ef
[trunk] remove old v1 style function t2_create
...
rename t2_create_v2 to opj_t2_create
2012-09-27 13:03:35 +00:00
Mickael Savinaud
77e6971bbb
[trunk] remove t2_encode_packet and t2_encode_packets
...
rename from t2_encode_packets_v2 to opj_t2_encode_packets
2012-09-27 12:53:36 +00:00
Mickael Savinaud
a9a1336502
[trunk] update t2_getnumpasses from V2 branch and put opj_ prefix
2012-09-27 09:54:35 +00:00
Mickael Savinaud
9103674950
[trunk] update t2_putnumpasses with V2 style
2012-09-27 09:48:18 +00:00
Mickael Savinaud
2af39ac017
[trunk] rename t2_getcommacode to opj_t2_getcommacode
2012-09-27 09:40:45 +00:00
Mickael Savinaud
d47b8fef18
[trunk] modify output type of t2_getcommacode
2012-09-27 09:29:47 +00:00
Mickael Savinaud
f8fc214b11
[trunk] rename local functions in t2 with opj_ prefix
2012-09-27 09:14:58 +00:00
Mickael Savinaud
7861bfa45e
rename from t2_skip_packet to opj_t2_skip_packet;
...
rename from t2_skip_packet_data to opj_t2_skip_packet_data;
2012-09-27 08:56:00 +00:00
Mathieu Malaterre
02734264a1
[trunk] Fix possible code execution vuln
...
Thanks to Huzaifa Sidhpurwala of Red Hat Security Response Team for patch + dataset to reproduce issue.
Technically kdu_expand works fine on the image...
Fixes issue 175
2012-09-12 17:11:17 +00:00
Mathieu Malaterre
4a845f3d04
[trunk] Fix one remaining issue with C90 compat
2012-09-10 12:46:42 +00:00
Mathieu Malaterre
0452ebdfcd
[trunk] Use new gcc feature to actually hide exported symbols
...
Right now we are only using the Windows/POSIX compatibility layer. This means that we have only been marking explicitely which symbols to export.
What this also means is that for one to explicitely remove non-explicitely marked symbols, one has to set -fvisibility=hidden as CFLAGS
2012-09-10 12:38:22 +00:00
Mathieu Malaterre
c8b8c4cf30
[trunk] no need to export MCT_ELEMENT_SIZE symbol
2012-09-10 12:34:46 +00:00
Mathieu Malaterre
1ff1401ff1
[trunk] Fix Heap-based buffer-overflow when decoding openjpeg image
...
Thanks to Huzaifa Sidhpurwala of Red Hat Security Response Team for report
This does not affect release 1.5.0 and/or 1.5 release branch.
Fixes issue 170
2012-09-10 11:05:15 +00:00
Mathieu Malaterre
3991bbe595
[trunk] Fix some C90 issues.
2012-09-10 09:42:29 +00:00
Mathieu Malaterre
20beb093a1
[trunk] Fix all C90 issues using gcc -pedantic -Wno-long-long to track them
...
As a side effect, fix all comment style to remove extra gcc output
Fixes issue 173
2012-09-10 09:04:47 +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
Mickael Savinaud
f16216e270
[trunk] STYLE: Clean up documentation errors
...
Functions should only have formal documentation in one place, and preferably in the declaration (i.e. repeated documentaiton should not be at both the declaration and the definition, because it causes too much maintenance to keep them syncronized). In cases where the definition is also the declaration (as is often the case for static functions in the .c files) the documentation was preserved at the first use of the function signature.
Functions that are formally documented should contain documentation for each function argument.
The clang 3.1 compiler issues documentation warnings when the documentation block with @params preceeding a declaration does not match the argument list. This patch set follows a convention used elsewere in openjpeg to add a placeholder FIXME DOC description where one was previously missing.
Thanks to Hans Johnson.
2012-08-30 16:56:31 +00:00
Mickael Savinaud
de9e1a0693
[trunk] Remove all non-ascii characters (Several compilers and development tools are confused by non-ascii characters in source code. These have been removed) thanks to Hans Johnson
2012-08-30 16:51:30 +00:00
Mickael Savinaud
47b18d89f6
[trunk] COMP: Fix one warning identified by clang31 :
...
openjpeg/applications/codec/j2k_dump.c:362 col 29: warning: equality comparison
with extraneous parentheses
(thanks to Hans Johnson)
2012-08-30 16:34:17 +00:00
Mickael Savinaud
3f5b474b16
[trunk] COMP: Remove compiler warning (warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare]) thnaks to Hans Johnson
2012-08-30 16:22:40 +00:00
Mickael Savinaud
b103fec939
[trunk] COMP: _v2 code remove (thanks to Hans Johnson and Winfried)
2012-08-30 15:43:09 +00:00
Luc Hermitte
728be68bfe
[trunk] memory leaks on ppm_data, found in tests NR-p1_05.j2k-dump, NR-p1_03.j2k-dump, ETS-C1P1-p1_03.j2k-decode, ETS-C0P1-p1_03.j2k-decode, ETS-C0P1-p1_05.j2k-decode
2012-08-23 19:37:31 +00:00
Luc Hermitte
5820e97abe
[trunk] realloc is misused and may leak memory (Issue#168) (complements: compilation errors)
2012-08-23 19:34:41 +00:00
Luc Hermitte
4e81ea2a8a
[trunk] realloc is misused and may leak memory (Issue#168)
2012-08-22 18:45:31 +00:00
Luc Hermitte
7bfdb31c77
[trunk] j2k_to_image gives fff-topic error message for non-openable files (Issue#167)
2012-08-22 18:22:20 +00:00
Mickael Savinaud
44cec04294
fix a compilation error
2012-08-17 15:02:18 +00:00
Mickael Savinaud
c60a84b6f5
rename t1_enc_sigpass_step and t1_enc_sigpass with opj_ prefix and update type
2012-08-17 14:56:42 +00:00
Mickael Savinaud
3b953cc763
remove deprecated v1 style function t1_destroy; rename t1_destroy_v2 to opj_t1_destroy
...
remove deprecated v1 style function t1_decode_cblks; rename t1_decode_cblks_v2 to opj_t1_decode_cblks
remove deprecated v1 style function t1_encode_cblks; rename t1_encode_cblks_v2 to opj_t1_encode_cblks
remove deprecated v1 style function t1_create; rename t1_create_v2 to opj_t1_create
2012-08-17 14:28:50 +00:00
Mickael Savinaud
859ce39666
rename local functions and struct with opj_ prefix
2012-08-17 13:47:45 +00:00
Mickael Savinaud
7c6ea4ed00
rename local dwt functions
...
remove deprecated v1 style function dwt_decode_tile; rename dwt_decode_tile_v2 to opj_dwt_decode_tile
2012-08-17 09:12:07 +00:00
Mickael Savinaud
3dab3be859
remove deprecated v1 style function dwt_encode; rename dwt_encode_v2 to opj_dwt_encode
...
remove deprecated v1 style function dwt_decode; rename dwt_decode_v2 to opj_dwt_decode
remove deprecated v1 style function dwt_getgain; rename dwt_getgain_v2 to opj_dwt_getgain
add opj_dwt_getnorm, opj_dwt_getnorm_real functions
remove deprecated v1 style function dwt_encode_real; rename dwt_encode_real_v2 to opj_dwt_encode_real
remove deprecated v1 style function dwt_getgain_real; rename dwt_getgain_real_v2 to opj_dwt_getgain_real
rename dwt_calc_explicit_stepsizes to opj_dwt_calc_explicit_stepsizes
2012-08-17 08:27:57 +00:00
Mickael Savinaud
062ed99894
rename local tcd functions with opj_ prefix
2012-08-16 16:44:09 +00:00
Mickael Savinaud
d275fc90cf
remove deprecated v1 style function tcd_decode_tile; rename tcd_decode_tile_v2 to opj_tcd_decode_tile
...
remove deprecated v1 style function tcd_free_decode
remove deprecated v1 style function tcd_free_decode_tile
2012-08-16 16:27:59 +00:00
Mickael Savinaud
dbc4c47b15
remove deprecated v1 style function tcd_destroy; rename tcd_destroy_v2 to opj_tcd_destroy
...
rename tcd_init_v2 to opj_tcd_init
remove deprecated v1 style function tcd_malloc_encode
remove deprecated v1 style function tcd_free_encode
remove deprecated v1 style function tcd_init_encode
remove deprecated v1 style function tcd_malloc_decode
remove deprecated v1 style function tcd_malloc_decode_tile
remove deprecated v1 style function tcd_makelayer_fixed; rename tcd_makelayer_fixed_v2 to opj_tcd_makelayer_fixed
remove deprecated v1 style function tcd_rateallocate_fixed; rename tcd_rateallocate_fixed_v2 to opj_tcd_rateallocate_fixed
remove deprecated v1 style function tcd_makelayer; rename tcd_makelayer_v2 to opj_tcd_makelayer
remove deprecated v1 style function tcd_rateallocate; rename tcd_rateallocate_v2 to opj_tcd_rateallocate
remove deprecated v1 style function tcd_encode_tile; rename tcd_encode_tile_v2 to opj_tcd_encode_tile
2012-08-16 16:23:07 +00:00
Mickael Savinaud
e6d97ce928
remove deprecated v1 style function tcd_create; rename tcd_create_v2 to opj_tcd_create
2012-08-16 15:51:55 +00:00
Mickael Savinaud
b7473285ec
rename tcd functions with opj_ prefix
2012-08-16 15:48:20 +00:00
Mickael Savinaud
8b7107b81f
optimization of dwt_deinterleave_h, dwt_deinterleave_v from v2 branch; update type with OPJ_type
2012-08-16 15:33:33 +00:00
Mickael Savinaud
d1251b2850
correct warnings in j2k.c
2012-08-16 14:29:02 +00:00
Mickael Savinaud
e972589554
remove deprecated v1 style function j2k_write_eoc; rename j2k_write_eoc_v2 to opj_j2k_write_eoc
2012-08-16 14:19:00 +00:00
Mickael Savinaud
0f19c958da
remove deprecated v1 style function j2k_read_eoc; rename j2k_read_eoc_v2 to opj_j2k_read_eoc
2012-08-16 14:16:28 +00:00
Mickael Savinaud
2935fbc089
clean style and remove old v1 style structure in j2k.c
2012-08-16 14:08:58 +00:00
Mickael Savinaud
f47fc4f111
remove deprecated v1 style function j2k_add_mhmarker; rename j2k_add_mhmarker_v2 to opj_j2k_add_mhmarker
...
remove deprecated v1 style function j2k_add_tlmarker; rename j2k_add_tlmarker_v2 to opj_j2k_add_tlmarker
2012-08-16 13:53:23 +00:00
Mickael Savinaud
01c95cb07e
remove deprecated v1 style function j2k_create_compress; rename opj_j2k_create_compress_v2 to opj_j2k_create_compress
2012-08-16 13:46:43 +00:00
Mickael Savinaud
1f94541732
rename j2k functions with opj_ prefix
2012-08-16 13:44:02 +00:00
Mickael Savinaud
ff43b4dca0
remove deprecated v1 style function j2k_setup_encoder; rename opj_j2k_setup_encoder_v2 to opj_j2k_setup_encoder
2012-08-16 13:37:34 +00:00
Mickael Savinaud
5d494e940f
remove deprecated v1 style function j2k_get_num_tp; rename j2k_get_num_tp_v2 to opj_j2k_get_num_tp
2012-08-16 13:34:26 +00:00
Mickael Savinaud
30de580afe
remove deprecated v1 style function j2k_calculate_tp; rename j2k_calculate_tp_v2 to opj_j2k_calculate_tp
2012-08-16 13:31:22 +00:00
Mickael Savinaud
0c13350ea4
rename local j2k function with opj_ prefix
2012-08-16 13:28:52 +00:00
Mickael Savinaud
83a661c360
remove deprecated v1 style function j2k_write_rgn; rename j2k_write_rgn_v2 to opj_j2k_write_rgn
2012-08-16 13:20:16 +00:00
Mickael Savinaud
38ec1325c4
remove deprecated v1 style function j2k_write_sod; rename j2k_write_sod_v2 to opj_j2k_write_sod
2012-08-16 13:16:38 +00:00
Mickael Savinaud
2ca2e83ce5
remove deprecated v1 style function j2k_write_sot; rename j2k_write_sot_v2 to opj_j2k_write_sot
2012-08-16 13:14:00 +00:00
Mickael Savinaud
a9908ba7bd
remove deprecated v1 style function j2k_write_tlm; rename j2k_write_tlm_v2 to opj_j2k_write_tlm
2012-08-16 13:11:26 +00:00
Mickael Savinaud
9f874c00aa
rename local j2k function with opj_ prefix
2012-08-16 13:09:36 +00:00
Mickael Savinaud
b52cdf6a95
rename local j2k function with opj_ prefix
2012-08-16 13:07:36 +00:00
Mickael Savinaud
40e637d9e1
remove deprecated v1 style function j2k_write_poc; rename j2k_write_poc_v2 to opj_j2k_write_poc
...
rename j2k_write_poc_in_memory to opj_j2k_write_poc_in_memory
rename j2k_get_max_poc_size to opj_j2k_get_max_poc_size
2012-08-16 13:03:20 +00:00
Mickael Savinaud
21c76d97bb
remove deprecated v1 style function j2k_write_qcd; rename j2k_write_qcd_v2 to opj_j2k_write_qcd
...
remove deprecated v1 style function j2k_write_qcc; rename j2k_write_qcc_v2 to opj_j2k_write_qcc
remove deprecated v1 style function j2k_write_qcx; rename j2k_write_qcc_in_memory to
rename j2k_get_max_qcc_size to opj_j2k_get_max_qcc_size
2012-08-16 12:58:30 +00:00
Mickael Savinaud
4b3147ede7
rename j2k_get_max_coc_size to opj_j2k_get_max_coc_size
2012-08-16 12:51:46 +00:00
Mickael Savinaud
a037a66ea4
remove deprecated v1 style function j2k_write_cod; rename j2k_write_cod_v2 to opj_j2k_write_cod
...
remove deprecated v1 style function j2k_write_coc; rename j2k_write_coc_v2 to opj_j2k_write_coc
remove deprecated v1 style function j2k_write_cox; rename j2k_write_coc_in_memory to opj_j2k_write_coc_in_memory
2012-08-16 12:47:45 +00:00
Mickael Savinaud
c071819c26
remove deprecated v1 style function j2k_write_com; rename j2k_write_com_v2 to opj_j2k_write_com
2012-08-16 12:38:23 +00:00
Mickael Savinaud
28e018de8a
remove deprecated v1 style function j2k_write_siz; rename j2k_write_siz_v2 to opj_j2k_write_siz
2012-08-16 12:36:05 +00:00
Mickael Savinaud
65102c0ba5
rename j2k_write_soc_v2 to opj_j2k_write_soc
2012-08-16 12:33:43 +00:00
Mickael Savinaud
ff8e97310d
remove deprecated v1 style function j2k_write_soc
2012-08-16 12:32:34 +00:00
Mickael Savinaud
2546661aeb
remove deprecated v1 style functions j2k_destroy_decompress, j2k_decode_jpt_stream, j2k_destroy_compress and j2k_encode
2012-08-16 12:29:59 +00:00
Mickael Savinaud
fdeed49637
rename local j2k function with opj_ prefix
2012-08-16 12:20:46 +00:00
Mickael Savinaud
fab7693da5
free local memory in image_to_j2k application
2012-08-16 12:03:20 +00:00
Mickael Savinaud
582323d63c
rename j2k functions with opj_ prefix
2012-08-16 11:51:34 +00:00
Mickael Savinaud
a6522d3706
remove warnings from dwt.c
2012-08-16 10:46:57 +00:00
Mickael Savinaud
28a0028762
Correct the wrong output management of opj_stream_read_seek function (thanks to EvenR)
2012-08-16 09:13:58 +00:00
Mickael Savinaud
ec19c32b63
remove old v1 style functions from jp2.c
2012-08-13 11:43:02 +00:00
Mickael Savinaud
ec9aceb96f
rename local jp2 functions with opj_ prefix
2012-08-13 10:10:25 +00:00
Mickael Savinaud
0e1c2e3378
rename jp2_write_jp_v2 to opj_jp2_write_jp
2012-08-13 10:03:57 +00:00
Mickael Savinaud
094b952d70
remove deprecated v1 style function jp2_write_jp
2012-08-13 09:58:43 +00:00
Mickael Savinaud
3821a4e054
rename jp2_write_jp2c_v2 to opj_jp2_write_jp2c
2012-08-13 09:57:09 +00:00
Mickael Savinaud
d24404ca9a
remove deprecated v1 style function jp2_write_jp2c
2012-08-13 09:55:57 +00:00
Mickael Savinaud
fb2d6e8870
rename local function in jp2.c with the opj_ prefix
2012-08-13 09:44:40 +00:00
Mickael Savinaud
e421cbac2a
rename jp2_write_ftyp_v2 to opj_jp2_write_ftyp
2012-08-13 09:39:51 +00:00
Mickael Savinaud
a71310f58b
remove deprecated v1 style function jp2_write_ftyp
2012-08-13 09:36:53 +00:00
Mickael Savinaud
43c392626b
rename jp2_write_colr_v2 to opj_jp2_write_colr
2012-08-13 09:35:16 +00:00
Mickael Savinaud
d286573958
remove deprecated v1 style function jp2_write_colr
2012-08-13 09:33:00 +00:00
Mickael Savinaud
ff889c40da
rename jp2_write_bpcc_v2 to opj_jp2_write_bpcc
2012-08-13 09:31:24 +00:00
Mickael Savinaud
0ecdbe8614
remove deprecated v1 style function jp2_write_bpcc
2012-08-13 09:29:37 +00:00
Mickael Savinaud
8b3500a2a9
rename jp2_write_ihdr_v2 to opj_jp2_write_ihdr
2012-08-13 09:27:58 +00:00
Mickael Savinaud
c5fd56606d
remove deprecated v1 style function jp2_write_ihdr
2012-08-13 09:25:41 +00:00
Mickael Savinaud
dd86b85664
rename jp2 functions with V2 style and opj_ prefix
2012-08-13 09:24:15 +00:00
Mickael Savinaud
3ec9f5fa0b
remove deprecated v1 style functions jp2_write_jp2h
2012-08-13 08:54:42 +00:00
Mickael Savinaud
3bf3ce06f7
remove deprecated v1 style functions : jp2_create_compress, jp2_destroy_compress, opj_jp2_encode
2012-08-13 08:53:17 +00:00
Mickael Savinaud
cc1d601722
fix some warnings in jp2.c
2012-08-13 08:30:00 +00:00
Mickael Savinaud
e8c1b849b7
fix compilation error with win platform
2012-08-13 07:49:49 +00:00
Luc Hermitte
de44b71b12
[trunk] fix possible memory leak on realloc failure
2012-08-10 17:15:57 +00:00
Mickael Savinaud
df70c7136d
use internal type to reduce warnings in jp2.c
2012-08-10 11:21:48 +00:00
Mickael Savinaud
bf2b9ea539
rename jp2_read_boxhdr_v2 to opj_jp2_read_boxhdr
2012-08-10 11:00:40 +00:00
Mickael Savinaud
b0b46c331e
remove deprecated v1 style function jp2_read_boxhdr
2012-08-10 10:57:51 +00:00
Mickael Savinaud
b3269581ea
rename local function in jp2.c with the opj_ prefix
2012-08-10 10:55:10 +00:00
Mickael Savinaud
699edd4393
rename jp2_read_jp_v2 to opj_jp2_read_jp
2012-08-10 10:34:40 +00:00
Mickael Savinaud
9128c6c17b
remove deprecated v1 style function jp2_read_jp2c, jp2_read_struct
2012-08-10 10:27:17 +00:00
Mickael Savinaud
f121223ed8
rename jp2_read_ftyp_v2 to opj_jp2_read_ftyp
2012-08-10 10:24:09 +00:00
Mickael Savinaud
3c0e360df1
remove deprecated v1 style function jp2_read_ftyp
2012-08-10 10:22:51 +00:00
Mickael Savinaud
1de6f5fcf6
rename jp2_read_colr_v2 to opj_jp2_read_colr, jp2_read_pclr_v2 to opj_jp2_read_pclr, jp2_read_cmap_v2 to opj_jp2_read_cmap, jp2_read_cdef_v2 to opj_jp2_read_cdef
2012-08-10 10:19:11 +00:00
Mickael Savinaud
5bf4b718d4
remove deprecated v1 style function jp2_read_colr, jp2_read_pclr, jp2_read_cmap, jp2_read_cdef
2012-08-10 10:01:47 +00:00
Mickael Savinaud
f912007fe8
rename jp2_read_bpcc_v2 to opj_jp2_read_bpcc
2012-08-10 09:53:28 +00:00
Mickael Savinaud
377809a35b
remove deprecated v1 style function jp2_read_bpcc
2012-08-10 09:50:23 +00:00
Mickael Savinaud
f0f981b80d
rename jp2_read_ihdr_v2 to opj_jp2_read_ihdr
2012-08-10 09:47:56 +00:00
Mickael Savinaud
2b9302632c
remove deprecated v1 style function jp2_read_ihdr
2012-08-10 09:46:31 +00:00
Mickael Savinaud
a59a1552ad
rename jp2_read_jp2h_v2 to opj_jp2_read_jp2h
2012-08-10 09:43:28 +00:00
Mickael Savinaud
4a80e821df
remove deprecated v1 style function jp2_read_jp2h
2012-08-10 09:39:40 +00:00
Mickael Savinaud
6822291f91
remove deprecated v1 style function jp2_destroy_decompress
2012-08-10 09:33:54 +00:00
Mickael Savinaud
863aacaee3
rename local functions with opj_ prefix in j2k.c (part 2)
2012-08-10 09:27:45 +00:00
Mickael Savinaud
00a2bf7120
rename local functions with opj_ prefix in j2k.c
2012-08-10 09:14:49 +00:00
Mickael Savinaud
6ac5acf765
rename some j2k decoding functions with new prefix opj_
2012-08-10 08:21:31 +00:00
Mickael Savinaud
ce7583f173
rename mct function read/write function with opj_ prefix
2012-08-10 08:07:30 +00:00
Mickael Savinaud
24b10ac585
rename j2k_read_mct to opj_j2k_read_mct, j2k_read_mco to opj_j2k_read_mco, j2k_read_mcc to opj_j2k_read_mcc
2012-08-10 07:58:23 +00:00
Mickael Savinaud
706371e24f
rename j2k_read_cbd to opj_j2k_read_cbd
2012-08-10 07:54:33 +00:00
Mickael Savinaud
5de8639685
rename j2k_read_com_v2 to opj_j2k_read_unk
2012-08-10 07:51:29 +00:00
Mickael Savinaud
d42e26d59c
remove deprecated v1 style function j2k_read_unk
2012-08-10 07:49:52 +00:00
Mickael Savinaud
6ea06e87bb
rename j2k_read_com_v2 to opj_j2k_read_com
2012-08-10 07:44:47 +00:00
Mickael Savinaud
5eb8a44317
remove deprecated v1 style function j2k_read_com
2012-08-10 07:42:41 +00:00
Mickael Savinaud
c89fb0b828
rename j2k_read_crg_v2 to opj_j2k_read_crg
2012-08-10 07:37:58 +00:00
Mickael Savinaud
52e111dbb7
remove deprecated v1 style function j2k_read_crg
2012-08-10 07:36:16 +00:00
Mickael Savinaud
36b5109387
rename j2k_read_ppt_v2 to opj_j2k_read_ppt
2012-08-10 07:32:57 +00:00
Mickael Savinaud
c07b085c81
remove deprecated v1 style function j2k_read_ppt
2012-08-10 07:29:57 +00:00
Mickael Savinaud
065c442141
remove deprecated v1 style function j2k_read_cox
2012-08-10 07:27:04 +00:00
Mickael Savinaud
83b570d981
correct a compilation error about misplaced declaration
2012-08-10 07:13:30 +00:00
Mickael Savinaud
2afdee9c7d
remove deprecated v1 style function j2k_read_ppm
2012-08-09 17:10:56 +00:00
Mickael Savinaud
a7e809e1f7
rename j2k_read_plt_v2 to opj_j2k_read_plt
2012-08-09 17:09:26 +00:00
Mickael Savinaud
deb7cb708f
remove deprecated v1 style function j2k_read_plt
2012-08-09 17:07:26 +00:00
Mickael Savinaud
fcd7db6cd1
rename j2k_read_plm_v2 to opj_j2k_read_plm
2012-08-09 17:06:13 +00:00
Mickael Savinaud
68adbd2e05
rename j2k_read_tlm_v2 to opj_j2k_read_tlm
2012-08-09 17:03:11 +00:00
Mickael Savinaud
b6258d612b
remove deprecated v1 style function j2k_read_tlm
2012-08-09 17:01:20 +00:00
Mickael Savinaud
93cb76a292
rename j2k_read_poc_v2 to opj_j2k_read_poc
2012-08-09 16:57:45 +00:00
Mickael Savinaud
6191f69f0c
remove deprecated v1 style function j2k_read_poc
2012-08-09 16:56:00 +00:00
Mickael Savinaud
d416e6c854
remove deprecated v1 style function j2k_read_qcx
2012-08-09 16:54:01 +00:00
Mickael Savinaud
3a63d978dd
rename j2k_read_qcc_v2 to opj_j2k_read_qcc
2012-08-09 16:52:05 +00:00
Mickael Savinaud
d2a78c33df
remove deprecated v1 style function j2k_read_qcc
2012-08-09 16:50:21 +00:00
Mickael Savinaud
679f91482e
rename j2k_read_qcd_v2 to opj_j2k_read_qcd
2012-08-09 16:48:48 +00:00
Mickael Savinaud
d380a8554d
remove deprecated v1 style function j2k_read_qcd
2012-08-09 16:47:08 +00:00
Mickael Savinaud
4f36ad0cc1
rename j2k_read_rgn_v2 to opj_j2k_read_rgn
2012-08-09 16:45:18 +00:00
Mickael Savinaud
90ba7fbf1f
remove deprecated v1 style function j2k_read_rgn
2012-08-09 16:43:00 +00:00
Mickael Savinaud
76658477af
rename j2k_read_coc_v2 to opj_j2k_read_coc
2012-08-09 16:40:22 +00:00
Mickael Savinaud
ffb6a9c74b
remove deprecated v1 style function j2k_read_coc
2012-08-09 16:38:11 +00:00
Mickael Savinaud
21d334389f
rename j2k_read_cod_v2 to opj_j2k_read_cod
2012-08-09 16:36:06 +00:00
Mickael Savinaud
94a5e081e5
remove deprecated v1 style function j2k_read_cod
2012-08-09 16:34:28 +00:00
Mickael Savinaud
5e78d72ef2
rename j2k_read_siz_v2 to opj_j2k_read_siz
2012-08-09 15:59:14 +00:00
Mickael Savinaud
5c303e2bb5
remove deprecated v1 style function j2k_read_siz
2012-08-09 15:56:27 +00:00
Mickael Savinaud
4c1cb388af
rename j2k_read_sod_v2 to opj_j2k_read_sod
2012-08-09 15:44:55 +00:00
Mickael Savinaud
144bd4a878
remove deprecated v1 style function j2k_read_sod
2012-08-09 15:42:35 +00:00
Mickael Savinaud
91737aff68
rename j2k_read_sot_v2 to opj_j2k_read_sot
2012-08-09 15:39:41 +00:00
Mickael Savinaud
2391b40f47
remove deprecated v1 style function j2k_read_sot
2012-08-09 15:36:16 +00:00
Mickael Savinaud
6a8aff5a74
rename j2k_read_soc_v2 to opj_j2k_read_soc
2012-08-09 15:32:18 +00:00
Mickael Savinaud
c0ec5d404b
remove deprecated v1 style function j2k_read_soc
2012-08-09 15:28:38 +00:00
Mickael Savinaud
10e9a6b6cd
rename j2k_decode_v2 to opj_j2k_decode
2012-08-09 15:16:33 +00:00
Mickael Savinaud
a51aed7ce2
remove deprecated v1 style function j2k_decode
2012-08-09 15:13:33 +00:00
Mickael Savinaud
71e0106846
rename j2k_setup_decoder_v2 to opj_j2k_setup_decoder
2012-08-09 15:08:33 +00:00
Mickael Savinaud
3ce9af7fce
remove deprecated v1 style function j2k_setup_decoder
2012-08-09 15:04:09 +00:00
Mickael Savinaud
05e8aae95e
rename j2k_create_decompress_v2 to opj_j2k_create_decompress
2012-08-09 15:00:50 +00:00
Mickael Savinaud
381de6b7cb
remove deprecated v1 style function j2k_create_decompress and jp2_create_decompress
2012-08-09 14:57:03 +00:00
Mickael Savinaud
c077645f77
rename jp2_decode_v2 to opj_jp2_decode
2012-08-09 14:46:11 +00:00
Mickael Savinaud
ebc3263987
remove deprecated v1 style function opj_jp2_decode
2012-08-09 14:42:37 +00:00
Mickael Savinaud
cf6e5bf01f
rename jp2_setup_decoder_v2 to opj_jp2_setup_decoder
2012-08-09 14:38:55 +00:00
Mickael Savinaud
958c615a83
remove deprecated v1 style function jp2_setup_decoder
2012-08-09 14:31:02 +00:00
Mickael Savinaud
8e5070f469
[trunk] add the support of the flag ignore_pclr_cmap_cdef into the V2 jp2 functions (but not for box reading); no tests modified
2012-08-09 14:28:35 +00:00
Mickael Savinaud
4397b675cb
[trunk] begin to clean the old V1 style message event management
2012-08-09 14:00:31 +00:00
Mickael Savinaud
9ed88f6a8d
[trunk] clean jp2_read_ihdr_v2 interface
2012-08-09 13:22:25 +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
1c4ea6d246
remove deprecated v1 style function opj_destroy_cstr_info
2012-08-09 12:52:28 +00:00
Mickael Savinaud
a6d76b3c48
[trunk] move functions in openjpeg.c in two parts compression vs decompression
2012-08-09 12:51:16 +00:00
Mickael Savinaud
5d0ace0577
[trunk] rename opj_encode_v2 to opj_encode
2012-08-09 12:42:46 +00:00
Mickael Savinaud
7b88544d46
[trunk] remove deprecated v1 style function opj_encode and opj_encode_with_info
2012-08-09 12:40:22 +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
459db3d64b
remove deprecated v1 style function opj_setup_encoder
2012-08-09 12:31:46 +00:00
Mickael Savinaud
d009cf618a
rename opj_create_compress_v2 to opj_create_compress
2012-08-09 12:28:51 +00:00
Mickael Savinaud
9a9897a9de
[trunk] remove deprecated v1 style function opj_create_compress
2012-08-09 12:26:04 +00:00
Mickael Savinaud
3f9fb13df6
remove deprecated v1 style function opj_decode and opj_decode_with_info
2012-08-09 12:16:59 +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
b34215906c
[trunk] remove deprecated v1 style function opj_setup_decoder
2012-08-09 11:56:14 +00:00
Mickael Savinaud
fb768ac792
[trunk] remove deprecated v1 style function opj_destroy_decompress
2012-08-09 11:53:33 +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
ef00fdf472
[trunk] remove V1 style function opj_create_decompress
2012-08-09 11:46:19 +00:00
Mickael Savinaud
3de7e8358f
[trunk] define local functions of j2k.c as static and clean style
2012-08-09 11:35:06 +00:00
Mickael Savinaud
28ac2f49dc
[trunk] move allocation of cstr_index->tile_index to the end of the header reading
2012-08-09 11:12:28 +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
Mathieu Malaterre
efafbe9a5c
[trunk] Use const keyword when appropriate
2012-07-25 13:10:43 +00:00
Mathieu Malaterre
e38680a4df
[trunk] Import changes from 1.5 branch
2012-07-25 13:10:21 +00:00
Mathieu Malaterre
f28fc6f2e1
[trunk] Fix r156 to compile on compilers where false is not defined.
2012-07-11 14:59:41 +00:00
Mathieu Malaterre
5ba8d36687
[trunk] This fixes issues seen on PDF files
...
Fixes issue 156
2012-07-11 14:55:39 +00:00
Mathieu Malaterre
178236cc5f
[trunk] Fix heap buffer overflow
...
Enforce sanity checks on tile number and tile length, even when the (rather
broken) USE_JPWL code isn't enabled.
Import r1727 from branch 1.5
2012-07-10 13:09:45 +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
0d0e7a1008
[trunk] The two files in Issue145 have a precision < 8-bit:
...
therefore 'jp2_read_pclr' must be changed.
j2k_to_image fails to create RGB/RGBA images with a
precision < 8-bit: therefore 'imagetopng' must be
changed.
Fixes issue 145
2012-05-29 13:55:49 +00:00
Mathieu Malaterre
806545df34
[trunk] Fix installation issues. Thanks to winfried for patch.
...
Fixes issue 149
2012-05-29 13:44:27 +00:00
Mathieu Malaterre
b8cc257ac5
[trunk] Follow up to r1691. Handle signed case.
2012-05-29 09:33:28 +00:00
Mathieu Malaterre
bdb4d96678
[trunk] Add new behavior for codecs. Now supports little endian RAWL format. It is now possible to encode directly little endian raw file, by simply using the rawl extension. Code has been modified to use strcasecmp instead of strncasecmp to cope with 4 letters files extensions.
...
Update issue 141
2012-05-29 09:30:03 +00:00
Mathieu Malaterre
0c5fb4a81b
[trunk] Add commented out code for tile support in applications.
2012-05-29 09:07:49 +00:00
Mathieu Malaterre
3ff48f27cf
[trunk] error message typo, refer PLT instead of PLM
2012-05-22 16:07:38 +00:00
Mathieu Malaterre
f0c732452f
[trunk] add sentinel when tile_index is null
2012-05-21 08:38:13 +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
38fd7a84c7
Comment the using of j2k_add_marker function into a v2 function.
2012-05-21 06:51:07 +00:00
Mickael Savinaud
ee17910ec5
use the correct event handler in j2k_to_image.c
2012-05-14 17:47:10 +00:00
Mickael Savinaud
717a7dbfde
resolve bug under win arch with test_tile_encoder.c
2012-05-14 17:25:10 +00:00
Mickael Savinaud
0fb6576511
2012-05-14 17:17:53 +00:00
Mathieu Malaterre
383495c863
[trunk] Start activating tile tests
2012-05-14 16:05:55 +00:00
Mathieu Malaterre
b55abf5730
[trunk] Need to use new interface opj_event_msg_v2, instead of old opj_event_msg. Remove some simple warnings
2012-05-14 15:20:20 +00:00
Mathieu Malaterre
3e1aa456b9
[trunk] Pointer is opj_jp2_v2_t, not opj_jp2_t
2012-05-14 15:19:40 +00:00
Mathieu Malaterre
00558adda8
[trunk] Wrong struct size. Use opj_jp2_v2_t instead
2012-05-14 14:51:26 +00:00
Mathieu Malaterre
1c3273aab2
[trunk] Make sure the memory is initialized. valgrind was complaning in mqc_init_enc we were reading uninit value. See also comment in r479: FIXME: mqc_init_enc and mqc_byteout underrun the buffer if we don't do this. Why?
2012-05-14 14:38:02 +00:00
Mathieu Malaterre
589b247926
[trunk] Fix minor typo in error message.
2012-05-14 14:36:24 +00:00
Mickael Savinaud
6965e3e03c
adding jp2_encode_v2 from v2 branches; using the right return value for opj_stream_flush
2012-05-14 11:04:59 +00:00
Mickael Savinaud
202d5ab754
correct style in cio.c and use only op_bool return value; correct error in jp2.c and some style
2012-05-14 10:02:59 +00:00
Mickael Savinaud
1023be33fb
add new functions in jp2 codec from v2 branches; solve bug in j2k_setup_encoder_v2
2012-05-14 09:37:36 +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
a9b653db26
Correct a mistake about declaration of j2k_write_eoc_v2
2012-05-14 06:24:27 +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
821d7a8941
remove a fixme about tcd_deallocate and encodind precint
2012-05-13 15:48:19 +00:00
Mickael Savinaud
e7c8a22c67
[trunk] style
2012-05-02 13:37:54 +00:00
Mickael Savinaud
5652ccc780
[trunk] correct a bug in jpip building induced by the previous commit
2012-05-02 13:30:41 +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
Mathieu Malaterre
8231897b26
[trunk] apply patch from winfried on the mailing list. For more info see: https://groups.google.com/group/openjpeg/msg/e631d586a31c6de4
2012-04-23 13:28:20 +00:00
Mathieu Malaterre
df7e656034
Fix a set of warnings reported by gcc in cio.c. This patch impact the API directly (remove left over 32bits API)
2012-04-23 09:16:17 +00:00
Mathieu Malaterre
d045409b9f
Adding sentinel code for debug
2012-04-23 09:15:29 +00:00
Mickael Savinaud
7f3f4cfdd0
[trunk] correct a wrong assert in j2k.c
2012-04-13 14:36:30 +00:00
Mathieu Malaterre
ef044d9f17
[trunk] attempt to fix clang/3.1 compilation error remotely
2012-03-27 08:11:14 +00:00
Mathieu Malaterre
9642c7f990
[trunk] fix compilation on OS where ssize_t is not defined.
2012-03-27 07:44:28 +00:00
Mathieu Malaterre
0c5193c588
[trunk] Final touch to get rid of most truncation warnings
2012-03-26 16:42:52 +00:00
Mathieu Malaterre
f2c2b3fc7a
[trunk] one more round of warnings fixes
2012-03-26 16:18:58 +00:00
Mathieu Malaterre
1228e0e925
[trunk] change char* to const char* when possible. Remove more warnings
2012-03-26 16:08:05 +00:00
Mathieu Malaterre
3a3820bedc
[trunk] remove warnings from jp2k decoder
2012-03-26 16:00:26 +00:00
Mathieu Malaterre
91ee6ed60f
[trunk] change char* to const char* when possible. Remove more warnings
2012-03-26 15:56:04 +00:00
Mathieu Malaterre
7e28fdc176
[trunk] another round of compilation fixes
2012-03-26 15:37:04 +00:00
Mathieu Malaterre
569bc02649
[trunk] another set of warnings fixes for LFS support
2012-03-26 15:04:49 +00:00
Mathieu Malaterre
178309be47
[trunk] Fix equality into test
2012-03-26 14:50:34 +00:00
Mathieu Malaterre
2fb7ac9a58
[trunk] remove some simple warnings
2012-03-26 14:50:14 +00:00
Mathieu Malaterre
2e493cb89a
[trunk] According to JPIP/A.2.3 in class identifiers should be an unsigned integer. Since portion of codes was using Byte8_t and other was using int, pick Byte8_t as best matching type
2012-03-26 14:44:12 +00:00
Mathieu Malaterre
cdf0d77b20
[trunk] continue work on getting API to use off_t instead of long toward LFS support in JPIP (sock_manager)
2012-03-26 14:23:33 +00:00
Mathieu Malaterre
ccdfaa9115
[trunk] continue work on getting API to use off_t instead of long toward LFS support in JPIP (auxtrans_manager)
2012-03-26 14:14:19 +00:00
Mathieu Malaterre
34af05ec30
[trunk] continue work on getting API to use off_t instead of long toward LFS support in JPIP (metadata_manager)
2012-03-26 13:53:25 +00:00
Mathieu Malaterre
6bd41e47ac
[trunk] continue work on getting API to use off_t instead of long toward LFS support in JPIP (manfbox_manager)
2012-03-26 13:49:32 +00:00
Mathieu Malaterre
45d11c53f0
[trunk] continue work on getting API to use off_t instead of long toward LFS support in JPIP (j2kheader_manager)
2012-03-26 13:47:52 +00:00
Mathieu Malaterre
50a68d7d59
[trunk] continue work on getting API to use off_t instead of long toward LFS support in JPIP (index_manager)
2012-03-26 13:34:16 +00:00
Mathieu Malaterre
cc47b5a78c
[trunk] continue work on getting API to use off_t instead of long toward LFS support in JPIP (marker_param_t)
2012-03-26 13:18:09 +00:00
Mathieu Malaterre
34b4ec3624
[trunk] fix another simple warning
2012-03-26 13:15:40 +00:00
Mathieu Malaterre
86ed364dc0
[trunk] explicit cast missing
2012-03-26 13:02:40 +00:00
Mathieu Malaterre
438cde4e70
[trunk] remove simple warnings.
2012-03-26 13:01:41 +00:00
Mathieu Malaterre
3b268d1656
[trunk] continue work on getting API to use off_t instead of long toward LFS support in JPIP (codestream_param_t)
2012-03-26 12:59:33 +00:00
Mathieu Malaterre
0a97782339
[trunk] continue work on getting API to use off_t instead of long toward LFS support in JPIP
2012-03-26 12:31:27 +00:00
Mathieu Malaterre
1cf1d6146c
[trunk] Start working on LFS support in JPIP code section
2012-03-26 09:48:53 +00:00
Mathieu Malaterre
f3217ac170
[trunk] ICC profile length is always an unsigned integer
2012-03-26 09:19:45 +00:00
Mathieu Malaterre
c8125f8710
[trunk] make openjpeg consistant with itself, and adapt sign of struct variables
2012-03-26 09:15:26 +00:00
Mathieu Malaterre
1e3bc7c069
[trunk] Fix a potential issue with truncation of pointers diff
2012-03-26 08:51:12 +00:00
Mathieu Malaterre
34df9f3dbf
[trunk] Fix some simple warnings reported by -Wconversion
2012-03-26 08:47:06 +00:00
Mathieu Malaterre
72bb159a7e
[trunk] fix compilation when jpwl option is ON.
2012-03-26 08:41:48 +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
b9d271c1a8
[trunk] Fix invalid truncation from off_t to int (thanks to -Wconversion for report)
2012-03-19 14:24:26 +00:00
Mathieu Malaterre
b3931741ef
[trunk] Missing PRId64 for MS compilers
2012-03-19 13:46:34 +00:00
Mathieu Malaterre
ede48e285f
[trunk] Forgot portion of the previous commit.
2012-03-19 13:42:53 +00:00
Mathieu Malaterre
8890539f47
[trunk] use autotools convention where #ifdef BLA, should be provided by #define BLA 1. This is to cope with pseudo autotools generated tif header.
2012-03-19 13:10:46 +00:00
Mathieu Malaterre
ff72dd8d2c
[trunk] start using new functionalities from opj_inttypes in jpip code and main openjpeg
2012-03-19 11:18:24 +00:00
Mathieu Malaterre
e07b265009
[trunk] move functionalities of stdint/inttype into opj_stdint/opj_inttypes
2012-03-19 10:15:46 +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
e6f8b59010
[trunk] replace more void* object pointer to proper function pointer: opj_procedure. Remove some warnings reported by gcc -pedantic
2012-03-19 09:51:23 +00:00
Mathieu Malaterre
8e65846f32
[trunk] add debug statement for Win7-VS2008-32bits-trunk-Debug-OSGeo4W
2012-03-19 09:11:58 +00:00
Mathieu Malaterre
96d4d3f3be
[trunk] Quick fix for MS compilers which do not ship inttypes.h
2012-03-17 18:20:52 +00:00
Mathieu Malaterre
811c01cc2e
[trunk] Fix compilation win32 with shared libs on (export symbol name)
2012-03-17 18:06:54 +00:00
Mathieu Malaterre
e24127771e
[trunk] Fix numerous warnings about signed vs unsigned comparison. Adapt opj_procedure type to what it should hev been IMHO. Start using PRIi64 for printf and int64_t
2012-03-17 18:06:22 +00:00
Mathieu Malaterre
b3f00d05a8
[trunk] remove a warning, about ISO C restricts enumerator values to range of 'int'
2012-03-17 17:03:16 +00:00
Mathieu Malaterre
652d34b0a8
[trunk] HACK: This commit remove some JPWL related code just to allow compilation. See r1564 for more info
2012-03-17 15:05:38 +00:00
Mathieu Malaterre
7539577b46
[trunk] Fix compilation when zlib.h is in user specified directory.
2012-03-17 14:51:40 +00:00
Mathieu Malaterre
41ee6006c4
[trunk] Fix compilation on 32bits/PowerPC arch (debian/linux)
2012-03-15 13:36:12 +00:00
Mathieu Malaterre
813ba42cfc
[trunk] make sure to build as universal build when OS is APPLE
2012-03-15 13:35:30 +00:00
Mathieu Malaterre
80076276e1
[trunk] remove a warning about no end of file
2012-03-15 13:35:04 +00:00
Mickael Savinaud
3a78e8010d
[trunk] modify image_to_j2k and the lib to support functionalities given by the v2 alpha branch
2012-03-15 10:23:20 +00:00
Mathieu Malaterre
d9940f416b
[trunk] Fix issue with space
2012-03-12 16:43:27 +00:00
Mathieu Malaterre
dd998e7fd3
[trunk] Add support for compiling libtiff with VS2008
2012-03-12 16:40:29 +00:00
Mathieu Malaterre
747db4d940
[trunk] Add support for MSVC 2010 compiler (32bits)
2012-03-12 15:40:22 +00:00
Mathieu Malaterre
ecd5c523dc
[trunk] Update libtiff to 4.0.1 to support BigTIFF. openjpeg/tiff 4.0.1 currently builds on linux/x86_64 and linux/mingw32.
2012-03-12 11:35:35 +00:00
Mathieu Malaterre
3de14fc63e
[trunk] Use stdint.h when available to compute fixed-type definition.
2012-03-11 15:12:31 +00:00
Mathieu Malaterre
7f166eaee7
[trunk] Backport diff from openjpeg 1.5 branch
2012-03-11 14:56:29 +00:00
Mickael Savinaud
ab7b5e48c4
[trunk] reverted to revision 1536
2012-03-09 17:34:05 +00:00
Mickael Savinaud
345b5cfc5c
[trunk] add j2k_post_write_tile in trunk from branch v2
2012-03-09 17:16:24 +00:00
Mickael Savinaud
1ac93c3a72
[trunk] add j2k_get_tile_data in trunk from branch v2
2012-03-09 17:16:16 +00:00
Mickael Savinaud
4b8c29a708
[trunk] add tcd_get_encoded_tile_size in trunk from branch v2alpha
2012-03-09 17:16:04 +00:00
Mickael Savinaud
04b057d22c
[trunk] add j2k_pre_write_tile function in trunk from v2alpha
2012-03-09 17:15:55 +00:00
Mickael Savinaud
fcfb8dd2ed
[trunk] first steps about merge compression WIP
2012-03-09 17:15:41 +00:00
Mathieu Malaterre
4a2673772a
[trunk] Fix a bunch of warning about C++ comments in C code.
2012-03-02 15:53:14 +00:00
Mathieu Malaterre
b9e216ac6f
[trunk] merge r1229 from branch 1.5 over to trunk
2012-03-02 15:24:12 +00:00
Mathieu Malaterre
e78e2885fe
[trunk] minor style to sync with branch 1.5
2012-03-02 15:21:51 +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
44a3af51f0
[trunk] merge r1322 from branch 1.5 over to trunk
2012-03-02 15:04:45 +00:00
Mathieu Malaterre
79f090d92b
[trunk] merge r1197, r1199, r1228, r1230 and r1232 from branch 1.5 over to trunk
2012-03-02 15:02:48 +00:00
Mathieu Malaterre
54c65fdad0
[trunk] merge r1479 from branch 1.5 over to trunk
2012-03-02 14:55:16 +00:00
Mathieu Malaterre
e917802316
[trunk] merge r1323 from branch 1.5 over to trunk
2012-03-02 14:52:18 +00:00
Mathieu Malaterre
6a19a31171
[trunk] Remove exe bit on CMakeLists.txt. Set from DOS eol to UNIX eol
2012-03-02 14:33:29 +00:00
Mathieu Malaterre
a06b7f2ae0
[trunk] Sync with 1.5 branch
2012-03-02 14:31:46 +00:00
Mathieu Malaterre
405b1067e2
[trunk] Backout r1513 for now.
2012-03-02 14:29:08 +00:00
Mathieu Malaterre
10cb93283a
[trunk] merge rev 1330/1331 from branch 1.5 onto trunk
2012-03-02 14:24:39 +00:00
Mathieu Malaterre
d28e8f537a
[trunk] merge rev 1333 from 1.5 to trunk
2012-03-02 14:19:44 +00:00
Mathieu Malaterre
24d7f54662
[trunk] merge rev 1228 from 1.5 to trunk
2012-03-02 14:14:31 +00:00
Mathieu Malaterre
687a43e199
[trunk] Import change from 1.5 branch over to trunk
2012-03-02 14:01:15 +00:00
Mathieu Malaterre
07ef7d750b
[trunk] Synchronize with 1.5 branch, installation convention
2012-03-02 13:59:12 +00:00
Mathieu Malaterre
ea2b1d36aa
[trunk] minor coding style change to match 1.5
2012-03-02 13:57:04 +00:00
Mathieu Malaterre
c7540fba94
[trunk] Import getopt modification from 1.5 branch
2012-03-02 13:50:29 +00:00
Mathieu Malaterre
3d9198592b
[trunk] Import remaning bits from JPIP/1.5 over to trunk
2012-03-02 11:09:16 +00:00
Mathieu Malaterre
d6357bacdd
[trunk] Merge rev 1068 into trunk
2012-03-02 10:58:43 +00:00
Mathieu Malaterre
647551b8e4
[trunk] Remove junk from merge
2012-03-02 10:49:53 +00:00
Mathieu Malaterre
b158c25dc3
[trunk] Import rev 1103 into trunk.
2012-03-02 10:46:04 +00:00
Mickael Savinaud
bc8a3c5b6f
[trunk] correct bug when we expand the list of marker in a tile
2012-03-02 10:42:11 +00:00
Mickael Savinaud
c149db2205
[trunk] check the PSot value during the reading of SOT marker
2012-03-02 10:38:01 +00:00
Mathieu Malaterre
b5495ec972
[trunk] do not distribute binary in the source code. Remove *.jar files
2012-03-02 10:35:42 +00:00
Mathieu Malaterre
472c390e75
[trunk] import JPIP modifications for build-system from 1.5
2012-03-02 10:23:20 +00:00
Mathieu Malaterre
3d9a41e4b4
[trunk] Import applications modifications from 1.5 over to trunk
2012-03-02 10:01:00 +00:00
Mathieu Malaterre
9f77b065d3
[trunk] Convert from DOS eol to UNIX eol
2012-03-02 09:55:28 +00:00
Mathieu Malaterre
7abbe1e8d8
[trunk] Backport from OPJViewer version 1.5 over to trunk
2012-03-02 09:47:55 +00:00
Mathieu Malaterre
004b6ed60f
[trunk] Remove left-over Makefile
2012-03-02 09:44:52 +00:00
Mathieu Malaterre
d12f30f90c
[trunk] Sync OPJViewer with 1.5 version
2012-03-02 09:41:31 +00:00
Mathieu Malaterre
c433c2f2e2
[trunk] Backport toplevel files from 1.5
2012-03-02 09:26:15 +00:00
Mathieu Malaterre
9e52c330ae
[trunk] Remove copyrighted material from java-jni. Import patch from 1.5 over to trunk/JavaOpenJPEG
2012-03-02 09:20:13 +00:00
Mathieu Malaterre
564deec2c4
[trunk] Backport toplevel changes from 1.5 over to trunk. Remove hand-generated CHANGES file
2012-03-02 09:11:48 +00:00
Mathieu Malaterre
6fd0ffccbf
[trunk] Merge the CMake/ dir from opj 1.5
2012-02-13 11:20:26 +00:00
Mathieu Malaterre
ee957a4285
Integrate some more diffs from the 1.5 branch
2012-02-13 09:42:26 +00:00
Mathieu Malaterre
c63331a303
Start merging of the 1.5 branch into trunk. Start with doc
2012-02-13 09:27:50 +00:00
Antonin Descampe
4d2c44ca87
add opj_logo.icns for trunk and 1.5
2012-01-11 12:19:18 +00:00
Mathieu Malaterre
596b5cd732
Fix test NR-ENC-Bretagne2.ppm-4-encode on linux.
2011-12-20 17:54:04 +00:00
Mathieu Malaterre
8ff1ba325d
Fix strange line, as reported by lockalsash (gmail.com)
2011-12-20 17:11:22 +00:00
Mathieu Malaterre
a19d7e3680
minor typo
2011-12-12 11:19:13 +00:00
Mickael Savinaud
90eeb25770
[trunk] remove some warnings detected by cppcheck
2011-12-07 09:53:46 +00:00
Mathieu Malaterre
bfe8b81d18
Add new mechanism for cppcheck
2011-12-06 16:03:05 +00:00
Mathieu Malaterre
ec71c19be7
Update changelog
2011-12-06 09:47:10 +00:00
Mathieu Malaterre
cce1fc9c65
Apply patch from Brad Hards to fix some typos.
2011-12-06 09:46:40 +00:00
Mathieu Malaterre
79fee501af
Apply doxygen fixes suggested by Brad Hards on opj mailing list.
2011-12-03 17:26:59 +00:00
Mathieu Malaterre
12dfaa2d74
Sorry. Reverting mistake.
2011-12-02 15:35:47 +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
Mathieu Malaterre
d7388d7e80
Add CPack stuff
2011-12-02 14:52:34 +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
440adddcde
[trunk] fix warnings when printing large integers
2011-12-01 10:50:14 +00:00
Mickael Savinaud
af9ad1580a
[trunk] fix a warning about a recent commit (1104)
2011-12-01 09:10:26 +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
c39bea2017
[trunk] make large file support variables persistent in CMake to allow reconfiguration
2011-11-30 19:43:48 +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
8c2d8bc85f
[trunk] fix bug during random access to tile (tile already decoded)
2011-11-30 17:31:47 +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
b3368a85da
[trunk] add support for Large File in autoconf
2011-11-28 15:35:16 +00:00
Julien Malik
defe0b25dd
[trunk] fix definition of _FILE_OFFSET_BITS macro on platform where it is needed
2011-11-28 15:32:33 +00:00
Julien Malik
b68ed904b1
[trunk] add definitions for 64 bits integer types, and define OPJ_OFF_T to map to OPJ_INT64 systematically
2011-11-28 15:32:29 +00:00
Julien Malik
2eba4fb96b
[trunk] activate LargeFileSupport in CMake
2011-11-28 15:32:22 +00:00
Julien Malik
27ba604ad7
[trunk] search for kdu_expand in a more cmake-compliant way
2011-11-27 22:27:50 +00:00
Julien Malik
769982d058
[trunk] clean up redundant includes already handled in opj_includes.h
2011-11-27 21:57:16 +00:00
Julien Malik
674d702257
[trunk] backout wrong changeset 1091 - see issue 123
2011-11-27 20:28:24 +00:00
Julien Malik
c974cb1b8e
[trunk] support seeking in files larger than 2 GB
2011-11-24 15:30:09 +00:00
Mathieu Malaterre
20c05a3add
Remove duplicate definition
2011-11-24 12:50:54 +00:00
Mathieu Malaterre
c27322ff04
Cleanup jpip cmake compilation
2011-11-24 10:42:47 +00:00
Mathieu Malaterre
6e624946d2
add note for cmake
2011-11-24 10:20:49 +00:00
Mathieu Malaterre
ab9a63bbea
Use cmake style define. Fix big endian issue on dual OS (eg. Tiger)
2011-11-24 10:17:49 +00:00
Mathieu Malaterre
3a8438e1f8
minor reindentation
2011-11-24 10:17:01 +00:00
Mathieu Malaterre
0e49c6affd
Remove exe bit from source files
2011-11-24 10:16:01 +00:00
Mathieu Malaterre
8bcf78cd78
fix variable name to be hidden
2011-11-24 10:15:43 +00:00
Mathieu Malaterre
ffc944976b
Avoid message pollution during cmake configuration time
2011-11-24 10:14:55 +00:00
Mickael Savinaud
1b52be6246
[trunk] WIP: fix bug with windows platform and j2k_dump
2011-11-21 17:18:33 +00:00
Mickael Savinaud
e7e1ec6e84
[trunk] WIP: fix bug with windows platform and j2k_to_image
2011-11-18 08:42:57 +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
380a357b08
[trunk] WIP: clean j2k_dump and enhance j2k_dump with commit 1052
2011-11-17 14:23:19 +00:00
Mickael Savinaud
8026d0b2e7
[trunk] WIP: add a set decoded resolution factor function and update j2k_to_image help about decoded region
2011-11-17 14:21:11 +00:00
Kaori Hagihara
b41cad58cb
[trunk][JPIP] fixed opj_server execusion error (instant terminating) with autotool, cmake still need to be fixed
2011-11-16 20:00:13 +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
Mickael Savinaud
eb3cd22aa3
[trunk] fix bug with mj2 applications (credit to winfried)
2011-11-09 14:47:44 +00:00
Mickael Savinaud
5b35f5fb69
[trunk] enhance mj2 when read jp2h (credit to winfried)
2011-11-09 14:38:12 +00:00
Mickael Savinaud
11d875d043
[trunk] check if the file extension is the same as the infile format (credit to winfried)
2011-11-09 14:32:54 +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
Kaori Hagihara
815e2f3d03
[trunk][JPIP] enabled OpenJPEG V2 API
2011-11-08 15:22:02 +00:00
Mickael Savinaud
bd8bca87b2
[trunk] WIP: add get_decoded_tile functionality
2011-11-08 13:21:17 +00:00
Mickael Savinaud
9110aa09a4
[trunk] WIP: clean and enhance j2k files
2011-11-08 13:15:21 +00:00
Mickael Savinaud
fe085a631d
[trunk] WIP: clean and enhance openjpeg.c
2011-11-08 13:13:05 +00:00
Mickael Savinaud
c7489af844
[trunk] WIP: clean and enhance openjpeg.h and add deprecated macro
2011-11-08 13:09:53 +00:00
Kaori Hagihara
32a653e67e
[trunk][JPIP] updated main page of doxygen
2011-11-08 10:17:52 +00:00
Kaori Hagihara
d16c93aa08
solved memory leak of opj_server, and removed redundant defines
2011-11-03 17:20:00 +00:00
Antonin Descampe
46367a7a7b
[trunk][JPIP] additional patches for autotools and cmake
2011-11-02 00:54:19 +00:00
Kaori Hagihara
83a25c06ef
additional patches for autotool are applied
2011-10-26 10:20:57 +00:00
Kaori Hagihara
db7db67851
fixed client viewer to be compatible with server response header both Content-type and Content-Type
2011-10-25 22:16:56 +00:00
Kaori Hagihara
8d7073abf6
patches for cmake and autotool are applied
2011-10-25 21:10:48 +00:00
Mickael Savinaud
f1c8dd887b
[trunk] WIP: add a file to exclude some valgrind errors (detected with ctest_memcheck) related to png lib found with ubuntu10.04 platform
2011-10-25 12:31:27 +00:00
Mickael Savinaud
08bc3b0386
[trunk] WIP: solve problems with reading of elements outside the tilec->data buffer in dwt
2011-10-25 12:27:51 +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
028088f5f0
[trunk] WIP: enhance codestream index generation
2011-10-21 16:36:04 +00:00
Mickael Savinaud
21178c3571
[trunk] WIP: isolate dump test suite
2011-10-20 15:10:59 +00:00
Mickael Savinaud
b8214e260c
WIP: remove memory leak about new jp2_read_marker function
2011-10-20 13:18:52 +00:00
Mickael Savinaud
45d813b62c
[trunk] WIP: remove previous commit about memory leak with ppm read function
2011-10-20 09:19:35 +00:00
Mickael Savinaud
73b3e0e50e
[trunk] WIP: solve memory leak with ppm read function
2011-10-20 08:33:00 +00:00
Kaori Hagihara
255fcbc3a5
start using API style in openJPIP library
2011-10-19 23:29:57 +00:00
Mickael Savinaud
47d93279ff
[trunk] WIP: solve problem with writing of tga image from an image with signd=1 (credit to Winfried)
2011-10-19 13:18:06 +00:00
Mickael Savinaud
5b93ae8628
[trunk] WIP: solve some memory leak in test compare functions
2011-10-19 13:06:49 +00:00
Kaori Hagihara
436318a8c8
adapt makefiles to the new structure
2011-10-18 14:31:06 +00:00
Kaori Hagihara
57a328c7a9
rearranged opj_server, opj_dec_server directory
2011-10-18 12:38:31 +00:00
Kaori Hagihara
2cd3f046e5
enable all progression orders
2011-10-14 17:10:30 +00:00
Kaori Hagihara
5c88c1376c
include stdlib.h for calloc
2011-10-13 20:00:19 +00:00
Mickael Savinaud
2d39e5d7a5
[trunk] WIP: resolve heap corruption with p0_07.j2k (credit to Winfried)
2011-10-12 14:44:46 +00:00
Mickael Savinaud
27e255fa75
[trunk] WIP: correct some memory leaks in applications functions
2011-10-12 14:42:21 +00:00
Mickael Savinaud
195190b612
[trunk] WIP: add a read CBD marker function (JPEG2000 part 2)
2011-10-12 14:36:39 +00:00
Mickael Savinaud
aeabfaf417
[trunk] WIP: add a read MCO marker function (JPEG2000 part 2)
2011-10-12 14:34:17 +00:00
Mickael Savinaud
f62201ba9d
[trunk] WIP: add a read MCC marker function (JPEG2000 part 2)
2011-10-12 14:32:29 +00:00
Mickael Savinaud
5cf331d881
[trunk] WIP: add a read MCT marker function (JPEG2000 part 2)
2011-10-12 14:30:22 +00:00
Kaori Hagihara
28c90cce6c
enable layers requests; restricting the number of codesream quality layers
2011-10-12 13:25:53 +00:00
Mickael Savinaud
ca5b10938a
[trunk] WIP: correct a segfault inside j2k_dump output
2011-10-11 13:49:58 +00:00
Kaori Hagihara
acd4cc6f5c
-J option for -jpip added into the option list
2011-10-11 13:01:38 +00:00
Kaori Hagihara
7ac3a36229
change -v option was renamed to -u, which is equivalent to -TP long option
2011-10-11 10:57:41 +00:00
Mickael Savinaud
a6178c1de6
[trunk] WIP: correct some segfault with win platform and remove a aligned allocation which produce error when a realloc is done on this pointer
2011-10-11 10:09:02 +00:00
Mickael Savinaud
990dd18474
[trunk] WIP: add stream length value to read unknown marker size, backport 855 into V2 framework, correct memory leak into get_cstr_info
2011-10-11 08:01:31 +00:00
Mickael Savinaud
c4642d4fda
[trunk] WIP: add output elements about decoding of jp2 files with last tile part lenght equal zero
2011-10-11 07:54:27 +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
Kaori Hagihara
7c87bb35c4
change -v option was reactivated for JPIP
2011-10-10 16:10:49 +00:00
Kaori Hagihara
f20530dce2
enable JPT-stream request from client viewer option
2011-10-10 13:15:18 +00:00
Antonin Descampe
5d5adf7c7e
[trunk][JPIP]removed obsolete indexer utility
2011-10-10 10:02:20 +00:00
Vincent Torri
fc01873d60
[trunk] fix name
2011-10-10 06:52:07 +00:00
Vincent Torri
81b9e78565
[trunk] add libopenjpeg-jpwl.pc.in. fix output when --disable-shared or --disable-static is passed to configure. Minor clean up of configure.ac.
2011-10-10 06:51:08 +00:00
Vincent Torri
cee4505172
[trunk] fix 'distcheck' rule
2011-10-10 06:26:34 +00:00
Mickael Savinaud
4d4b29ea94
[trunk] WIP: correct mistake in text output inside set_decoded_area function (credit to Winfried)
2011-10-07 21:57:09 +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
35e13cf5e8
[trunk] correct wrong input in dump_codec function and add missing return value
2011-10-07 17:11:12 +00:00
Mickael Savinaud
238652b36c
[trunk] WIP: correct mistake inside set_decoded_area function (credit to Francois De Vieilleville)
2011-10-07 14:36:29 +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
68967aef72
[trunk] WIP: Enhance html documentation generation with cmake, add a mainpage to this documentation and bump version to 1.99.0 into the main CMakeLists (as rev951)
2011-10-06 08:41:49 +00:00
Mickael Savinaud
fd67d46be7
[trunk] WIP: fix build error with windows configuration induced by rev 960
2011-10-06 08:05:00 +00:00
Mickael Savinaud
ee0e8a3aad
[trunk] WIP: fix the decoding process with conformance files and V2 framework
2011-10-05 16:27:16 +00:00
Vincent Torri
f4734d6b4d
* [vincent] fix autotools for various compilation problems
...
* [vincent] fix indexer compilation. Patch from Winfried
2011-09-30 21:14:25 +00:00
Kaori Hagihara
656628e69b
modified indexer for JPIP, JPP-stream
2011-09-30 17:15:06 +00:00
Kaori Hagihara
6b1bca80ee
enabled JPP-stream
2011-09-30 15:31:06 +00:00
Vincent Torri
537a50214a
[trunk] bump version to 1.99.0
2011-09-28 04:32:28 +00:00
Mickael Savinaud
67d04dd9ba
[trunk] WIP: enhance the event management into the new API
2011-09-27 12:41:49 +00:00
Mickael Savinaud
b8efd02c7f
[trunk] WIP: fix some warnings about a static function and j2k_read_unk_v2
2011-09-27 12:32:28 +00:00
Mickael Savinaud
a600d8f4e2
[trunk] WIP: add basis for a new output management of the codestream information and index
2011-09-27 12:14:11 +00:00
Mickael Savinaud
de7793e918
[trunk] WIP: fix some warnings from j2k_dump and index.c
2011-09-27 12:00:06 +00:00
Mickael Savinaud
a5e442d490
[trunk] WIP: fix build compilation (with autotools) with MJ2 option (credit to Winfried)
2011-09-22 09:31:45 +00:00
Mickael Savinaud
51513c4e6b
WIP: fix build compilation error with windows platform about event_mgr management
2011-09-22 08:39:59 +00:00
Mickael Savinaud
5d0b813cec
[trunk] WIP: clean the j2k_dump application and the lib regards to the event management
2011-09-21 16:37:45 +00:00
Mickael Savinaud
ba0c271774
Enhance the support of endianess with cmake and inside the code (credit to Winfried)
2011-09-21 10:01:54 +00:00
Mickael Savinaud
7062c01b68
WIP: fixed build issues with JPWL option ON
2011-09-20 14:50:04 +00:00
Mickael Savinaud
c0bad42eb1
WIP: fixed build issue with MJ2 option ON with new framework
2011-09-20 14:36:23 +00:00
Mickael Savinaud
af7ebd96a0
Enhance some new JPIP files about opj_config inclusion and using of free/calloc (credit to Julien Malik)
2011-09-19 16:53:10 +00:00
Mickael Savinaud
ac59fd1476
WIP: begin to test opj_decode_tile_data
2011-09-19 16:34:44 +00:00
Mickael Savinaud
6561d70664
WIP: update t1, t2, tcd to use same strut as in V2
2011-09-19 16:09:19 +00:00
Mickael Savinaud
1a5c59326a
WIP: begin to test opj_read_tile_header with V2 style
2011-09-19 16:05:43 +00:00
Mickael Savinaud
d44375aece
WIP: create a new framework to output file information
2011-09-19 16:01:49 +00:00
Mickael Savinaud
cf37058d7c
WIP: remove a piece of code copy by the merge op at the wrong place
2011-09-19 15:51:20 +00:00
Mickael Savinaud
dcb3fcbfa7
WIP: begin to clean j2k_dump and some other small things
2011-09-19 13:55:06 +00:00
Mickael Savinaud
6ece3f6792
WIP: enchance the new version with some bug fixes from v1 and from me
2011-09-19 13:47:35 +00:00
Mickael Savinaud
3b30e42551
WIP: add support of jp2 for new j2k_dump function and some other small stuff
2011-09-19 13:36:07 +00:00
Mickael Savinaud
b0ef524b9e
WIP: new image_header struct is used and enable used of cstr_info
2011-09-19 13:30:21 +00:00
Mickael Savinaud
b138aaae08
WIP: manage the case of event_mgr is not provided to setup_decoder function
2011-09-19 13:18:19 +00:00
Mickael Savinaud
3953661078
WIP: insert elements from V2 framework into the trunk (add missing files)
2011-09-19 13:12:01 +00:00
Mickael Savinaud
b551844cc2
Work In Progress: insert elements from V2 framework into the trunk
2011-09-19 13:04:04 +00:00
Kaori Hagihara
93f3e2b007
Add README description for stateless requests
2011-09-16 14:36:51 +00:00
Kaori Hagihara
0a42a8bc46
opj_dec_server enabled stateless requests
2011-09-16 14:20:00 +00:00
Kaori Hagihara
8097b07661
opj_viewer_xerces enabled stateless requests
2011-09-16 14:18:22 +00:00
Kaori Hagihara
1475cabfa0
opj_viewer enabled stateless requests
2011-09-16 14:17:45 +00:00
Antonin Descampe
6a1573c228
TRUNK: fixed autotools for new indexer option
2011-09-09 18:54:05 +00:00
Antonin Descampe
d26e1d783f
forgot the CHANGES file in r913
2011-09-09 14:53:38 +00:00
Antonin Descampe
fa720c1858
TRUNK:added a new indexer functionality to the library. With the new -jpip option at encoding, the user can now generate a JP2 file including an XML box with the index used when browsing the image with JPIP
2011-09-09 14:49:08 +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
Kaori Hagihara
480ca88b68
changed terminating status of opj_server in debug/non-server mode
2011-09-01 13:32:42 +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
Kaori Hagihara
0c65d2cc0c
reorganization of indexer before importing extentional libopenjpeg files
2011-08-28 21:43:57 +00:00
Antonin Descampe
13c5f806c6
fixed missing include directory in opj_client/opj_dec_server/CMakeLists.txt
2011-08-27 15:52:45 +00:00
Antonin Descampe
84d3b4de46
small changes in autotools files
2011-08-26 21:58:50 +00:00
Antonin Descampe
925a772dce
fixed cmake and autotools files to reflect recent indexer changes in JPIP
2011-08-26 21:46:42 +00:00
Kaori Hagihara
95015f1104
modified indexer to use the latest openjpeg library
2011-08-26 16:57:34 +00:00
Antonin Descampe
dcbc727813
fixed cmake and autotools files to reflect recent changes in JPIP
2011-08-26 12:44:28 +00:00
Kaori Hagihara
3b9d4c8d50
fixed Makefile.nix to load openjpeg library from this archive
2011-08-26 11:50:50 +00:00
Kaori Hagihara
40fe9e6d67
added tid request support to JPIP client and JPIP server quit request
2011-08-25 17:13:04 +00:00
Kaori Hagihara
4da816e459
support tid request
2011-08-24 17:07:28 +00:00
Kaori Hagihara
9c475467d5
moved declarations of functions of opj_server for readability
2011-08-24 11:26:39 +00:00
Kaori Hagihara
0310cbad0a
added cachemodel_manager, which had been managed in target_manager previously
2011-08-24 11:00:15 +00:00
Mathieu Malaterre
ef258914b2
Properly close bug #73 , by providing a test for it.
2011-08-22 13:13:00 +00:00
Antonin Descampe
c025f363f5
updated INSTALL files, fixed a bug in CMakeLists.txt that prevented finding the data directory
2011-08-22 10:42:32 +00:00
Antonin Descampe
51187d06b3
INSTALL and THANKS files update
2011-08-22 09:59:03 +00:00
Antonin Descampe
8210b3c873
added NEWS, AUTHORS and THANKS files. Cosmetic changes in autotools files (in trunk)
2011-08-16 13:25:42 +00:00
Antonin Descampe
883e0826e2
removed obsolete testing directory and *.nix files (in trunk)
2011-08-16 09:33:37 +00:00
Antonin Descampe
003f9f7953
fixed cmake support for openjpip
2011-08-16 08:52:23 +00:00
Antonin Descampe
2880a679f0
fixed a bug in autotools files that prevented libfcgi to be correctly found in some cases (patch from V.Torri)
2011-08-15 13:22:46 +00:00
Antonin Descampe
4d6cff7eb8
minor changes in autotools installation README
2011-08-15 09:51:47 +00:00
Antonin Descampe
d8806649ab
added cmake support to openjpip
2011-08-12 13:57:36 +00:00
Mickael Savinaud
dc9a65923a
Fixed issue #76 (trunk)
2011-08-11 14:29:03 +00:00
Antonin Descampe
751d2a0fe7
minor bug fix in configure.ac (credit to Vincent Torri)
2011-08-11 12:22:31 +00:00
Mickael Savinaud
e3e2dc1f6e
fixed build error with position of variable declaration after patch 856
2011-08-11 08:37:11 +00:00
Mickael Savinaud
4f329cbb45
fixed wrong patch with the return value of fgets into convert.c file
2011-08-11 08:21:28 +00:00
Mickael Savinaud
0e8995aa7e
fixed error with the return value of fgets into convert.c file
2011-08-10 15:54:15 +00:00
Mickael Savinaud
7812030886
moved the definition of OPJ_ARG_NOT_USED from opj_includes.h to openjpeg.h
2011-08-10 09:33:33 +00:00
Mickael Savinaud
6fb9794200
fixed segfault with 123.j2c and bug.j2c images (thanks to Tim Mattox for his contribution to this patch)
2011-08-10 09:00:34 +00:00
Mickael Savinaud
9e419fdaf7
fixed glibc error with broken2 and broken4 images
2011-08-10 08:47:20 +00:00
Mickael Savinaud
e634cd0d62
add copyright header into new test functions
2011-08-10 08:14:49 +00:00
Mickael Savinaud
676f8f189f
removed unused parameters warnings with the solution proposed by myself and Bob Friesenhahn
2011-08-10 08:12:10 +00:00
Antonin Descampe
df44837b07
removed xcode project files (cmake and autotools are now the only supported build methods)
2011-08-09 15:42:42 +00:00
Mickael Savinaud
16998b4b6d
update MJ2 CMakeLists regards to the new thirdparty strategy
2011-07-29 10:47:42 +00:00
Mickael Savinaud
f57c4fd0c2
increase number of warning reported on the dashboard (forgot the file in the last commit)
2011-07-29 09:12:26 +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
e716a316f6
manage case 0 frames inside yuv_num_frames function and correct some warnings with gcc4.5 (credit to Winfried)
2011-07-28 10:45:22 +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
14799e25c6
delete double semi-colon at end of line which generate crash on win platform
2011-07-26 07:57:53 +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
ff6d246efd
modify j2k_dump to support output file, needed for non-regression tests
2011-07-25 16:27:07 +00:00
Mickael Savinaud
a7f08e9b36
fixed issue 74 for trunk
2011-07-25 07:31: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
Mickael Savinaud
f8de2fc8eb
to follow last version of conformance data about component separator for pgx file, we changed - to _ separator even if nb component = 1
2011-07-21 14:56:29 +00:00
Mickael Savinaud
0380840348
removed unused warning configuration message
2011-07-21 14:34:16 +00:00
Mickael Savinaud
9cd5752e38
correct build error (mislocated declaration) with convert to tiff function when HAVE_LIBTIFF is defined
2011-07-18 08:58:18 +00:00
Mickael Savinaud
65f7f8dc50
improved some CMakeLists files linked to the build of applications which used thirdparty
2011-07-13 16:49:53 +00:00
Antonin Descampe
36c8d85f43
updated CHNAGES files after branch renaming
2011-07-11 17:43:08 +00:00
Kaori Hagihara
d2bfeaa5e2
updates of jar files 2
2011-07-11 14:35:22 +00:00
Kaori Hagihara
025bc9fbe1
updates of jar files
2011-07-11 14:23:11 +00:00
Antonin Descampe
acccedbbb7
opj-v1-branch created
2011-07-10 18:36:17 +00:00
Antonin Descampe
6106e48397
improved encoding speed in t1_encode_cblks (credit to Giuseppe Baruffa)
2011-07-10 17:32:22 +00:00
Kaori Hagihara
0358177c3f
bug fixed for error concerning parameter name modification, Makefile.nix also corrected
2011-07-06 19:40:26 +00:00
Antonin Descampe
875ac79d0e
JPIP : fixed autotools to work with recent name changes
2011-07-06 10:21:25 +00:00
Kaori Hagihara
9350a47153
additional changes of parameter names and message names for image_viewer and decoding_server from JPT to JPIP-stream
2011-07-05 13:35:31 +00:00
Kaori Hagihara
6230ec13b4
add documentations
2011-07-05 12:25:37 +00:00
Kaori Hagihara
0a9cd082db
changed program and parameter names from jpt to jpip
2011-07-05 12:10:35 +00:00
Kaori Hagihara
3f5b6c7aca
changed func name parse_stream to parse_JPIPstream
2011-07-05 10:10:20 +00:00
Kaori Hagihara
826fda959c
changed parameter and file names regarding JPT-stream to JPIP-stream, which handles also JPP-stream
2011-07-04 23:00:21 +00:00
Antonin Descampe
a5130aebab
fixed bmptoimage (see http://groups.google.com/group/openjpeg/browse_thread/thread/33a24c5896bf6391 )
2011-07-03 18:23:33 +00:00
Antonin Descampe
fa6aea80f5
fixed handling of "jp2->meth" value (Restricted ICC profile handling currently not implemented)
2011-07-03 17:56:49 +00:00
Antonin Descampe
b09051fd79
fixed CTest configuration files
2011-06-30 13:52:23 +00:00
Kaori Hagihara
1837d6efa0
typo miss corrections for fx,fy
2011-06-27 14:09:11 +00:00
Mathieu Malaterre
74583409ec
Fix some error with cmake
2011-06-03 13:44:58 +00:00
Mathieu Malaterre
3da66d4d79
adding partno and numpart info as part of the warning message (issue #69 )
2011-06-03 08:47:30 +00:00
Antonin Descampe
645d7cab86
fixed paths in makefile.am
2011-05-26 09:32:34 +00:00
Antonin Descampe
d737981cfe
changed Makefile to Makefile.nix to avoid having autotools overwrite them
2011-05-26 08:25:40 +00:00
Kaori Hagihara
dd51c25641
added system architecture description on the documentation
2011-05-25 12:07:39 +00:00
Antonin Descampe
b7969ce657
fixed a bug in autotools that prevented "make distcheck" to work properly (credit to Vincent Torri) ; added autotools for the "applications/jpip/tools" directory
2011-05-24 09:30:25 +00:00
Antonin Descampe
5cee7cfc40
forgot to add new Makefile.am in previous commit
2011-05-23 20:32:22 +00:00
Antonin Descampe
586581685c
fixed autotools (broken since the new directory structure) and added autotools as a build method for jpip (credit to Vincent Torri)
2011-05-23 20:30:20 +00:00
Antonin Descampe
88f43b15fa
defined new type "opj_bool", and new constants OPJ_FALSE and OPJ_TRUE, to avoid having to deal with "stdbool.h" (patch from Winfried)
2011-05-18 11:02:27 +00:00
Antonin Descampe
0c9f6a3ac9
fixed another bug related to the number of packets in a tile-part, not correctly taken into account when generating an index file during decoding
2011-05-16 19:39:07 +00:00
Antonin Descampe
18cb325a8e
fixed part of issue 69, when tile-part index is inconsistent with the total number of tile-parts
2011-05-16 11:07:37 +00:00
Antonin Descampe
ed71feac52
xcode project file updated (now integrates openjpip)
2011-05-12 11:03:11 +00:00
Antonin Descampe
7fe3933faa
subsequent jpip-related commits to be logged in "applications/jpip/CHANGES" rather than main CHANGES file
2011-05-12 09:44:19 +00:00
Kaori Hagihara
9837e01971
opj_viewer removed the xml functions (for users without Xersus2), opj_viewer_xerces is the copy of the original viewer ( needs Xersus2)
2011-05-10 16:43:20 +00:00
Kaori Hagihara
5b1dc83382
temporal commit to resort the opj_viewer
2011-05-10 16:39:17 +00:00
Kaori Hagihara
42e5077688
Modification of opj_dec_server to be portable to windows
2011-05-10 14:42:00 +00:00
Kaori Hagihara
081178cd9a
Removal of c99 from the compile option (to be compatible to win platform) and bool definition in libopenjpip/bool.h
2011-05-09 18:11:40 +00:00
Antonin Descampe
fb29d47f0c
OpenJPIP: small bug fixes to compile on win platform
2011-05-09 09:27:48 +00:00
Antonin Descampe
1dc2654b54
OpenJPIP: fixed several bugs in opj_server (removal of strsep function, duplication of query string) + some changes to compile opj_server under windows (replacement of strcasecmp(), bzero()).
2011-05-08 10:49:06 +00:00
Antonin Descampe
2a5a6416a5
fixed a bug in mqc.c (see https://groups.google.com/d/topic/openjpeg/kQ1PbZUd19k/discussion , credit to Peter Wimmer)
2011-04-16 12:09:16 +00:00
Antonin Descampe
175fd6692c
fixed wrong path in Doxyfile.dox
2011-04-16 12:03:45 +00:00
Antonin Descampe
31dba0b4e9
initial commit of OpenJPIP 1.0, a JPIP client-server architecture based on OpenJPEG (see README file in jpip directory for more details)
2011-04-14 18:37:47 +00:00
Antonin Descampe
27b894dd3f
fixed applications/codec/CMakeLists.txt that prevented JPWL executables to be built with JPWL functionalities ; changed make all behaviour : DOC target removed from ALL
2011-04-14 10:13:25 +00:00
Antonin Descampe
6aaaa3eae2
changed the directory hierarchy of the whole project. See README files for details.
2011-04-13 22:38:50 +00:00
Antonin Descampe
16f205d886
re-organization of openjpeg directories hierarchy : step 1
2011-04-13 21:01:39 +00:00
Antonin Descampe
87e4c72ee4
moved "openjpeg3d" directory from the trunk to the branches directory.
2011-04-13 15:42:01 +00:00
Antonin Descampe
5ef5fc65ae
renamed and reorganized "jp3d" directory to "openjpeg3d". Is now a standalone directory, with independent cmake files. Done as it uses its own version of the openjpeg library and does not depend on the one currently developped. Will be removed from the trunk and stored in a branch.
2011-04-13 15:24:36 +00:00
Antonin Descampe
e93d5a683f
Fixed internal function names conflict with Jasper ( http://code.google.com/p/openjpeg/issues/detail?id=30 )
2011-04-12 17:24:30 +00:00
Antonin Descampe
91419e0e3e
convert.c: ENDIAN condition removed, tiftoimage and imagetotif updated (ALPHA added for RGB and GRAY, correct handling of 12-bit precision), small bugfixes (credit to Winfried)
2011-04-12 17:05:47 +00:00
Antonin Descampe
74626a17db
small fix in configure.ac (credit to Vincent Torri)
2011-04-12 16:18:51 +00:00
Rex Dieter
1ab46eeff2
openjpeg.pc.cmake rewrites wrong variables (issue 67)
2011-03-30 18:44:40 +00:00
Antonin Descampe
70177d55b0
name fixing in variables related to liblcms
2011-03-24 09:50:20 +00:00
Antonin Descampe
1fd9603c55
added two files FindLCMS.cmake and FindLCMS2.cmake as they are not shipped by default with other cmake modules.
2011-03-21 21:51:04 +00:00
Antonin Descampe
279b67c838
fixed a bug that created a conflict between liblcms on the system and liblcms2 in the thirdparty directory
2011-03-21 21:22:33 +00:00
Antonin Descampe
19f9147e10
Removed the libs directory containing win32 compiled versions of libpng, libtiff and liblcms. Added a thirdparty directory to include main source files of libtiff, libpng, libz and liblcms to enable support of these formats in the codec executables. CMake will try to statically build these libraries if they are not found on the system. Note that these third party libraries are not required to build libopenjpeg (which has no dependencies).
2011-03-20 22:45:24 +00:00
Antonin Descampe
6bda73eeb2
fixed lt_version in configure.ac
2011-03-10 17:08:50 +00:00
Antonin Descampe
9f349b0988
cosmetic change for status report of ./configure
2011-03-05 17:36:08 +00:00
Antonin Descampe
91ce5625b5
now assume MinGW does not have dirent.h (actually have it but without opendir function). Fixed also a WIN32 check in jp3d/libjp3dvm/openjpeg3d.h.
2011-03-04 11:21:45 +00:00
Antonin Descampe
a3df1f5c5e
small fix related to the formatting of the install report displayed at the end of install procedure
2011-03-04 11:03:33 +00:00
Antonin Descampe
86edc0a40e
updated autotools files to improve build and install procedures (credit to Vincent Torri)
2011-03-04 10:53:27 +00:00
Antonin Descampe
89456eed51
replaced "long" by "size_t" in dwt.c to be sure to cast to a pointer size.
2011-02-17 21:11:29 +00:00
Antonin Descampe
e023107e97
now allows 16-bit precision for mj2 encoding and decoding (solves Issue 49 and Issue 63). Credit to Winfried.
2011-02-17 20:01:14 +00:00
Mathieu Malaterre
af71acb043
Explicitly link to the math lib on UNIX as we use floor and such symbols
2011-02-16 13:59:24 +00:00
Mathieu Malaterre
e12008a718
Make sure to be able to compile index_create on UNIX. Install target
2011-02-16 13:55:04 +00:00
Antonin Descampe
c9bae1fd46
removed opj_config.h.in from svn, as it is automaticaly generated by autoheader when calling ./bootstrap.sh
2011-02-09 10:42:17 +00:00
Antonin Descampe
3a73ff3bc2
renamed "java sources" to "java-sources" to avoid blank space in directory name
2011-02-09 10:07:03 +00:00
Antonin Descampe
99c3c5a4af
cmake : fixed installed links to openjpeg.h and openjpeg3d.h
2011-02-06 16:39:26 +00:00
Antonin Descampe
a1920bc5c2
fixed warnings in jp2.c (signed compared to unsigned) and dwt.c (bad cast) ; removed depcomp file from trunk (automatically copied by automake in main folder)
2011-01-30 21:33:55 +00:00
Antonin Descampe
9a811cb52a
replaced en-dash with standard dash in jp2.c
2011-01-30 15:38:45 +00:00
Antonin Descampe
55c8c2bc77
license header: replaced Hervcalloc by Herve, I should learn to double-check my changes
2011-01-29 14:15:26 +00:00
Antonin Descampe
fbffea94a9
removed é in license header to prevent warning C4819 (see http://code.google.com/p/openjpeg/issues/detail?id=57 )
2011-01-29 14:08:13 +00:00
Antonin Descampe
c7e17d06c8
removed other VS files
2011-01-27 10:28:45 +00:00
Antonin Descampe
75fa7a8d87
remove more obsolete VS files. Left only mj2_to_metadata VS files, as this is the only executable not yet handled by CMake
2011-01-24 22:28:21 +00:00
Antonin Descampe
5e3290a486
removed obsolete VS files
2011-01-23 19:34:26 +00:00
Antonin Descampe
90725df206
MJ2 module: Add two components to mj2.h: meth, enumcs ; Define or reset all components of mj2_cparameters_t before its usage ; Add argument -D prec to frames_to_mj2.c and use the precision in mj2_convert.c (solves Issue 49)
2011-01-23 18:33:06 +00:00
Antonin Descampe
066bda52c0
move KK definition from rs.h to rs.c to prevent duplicate symbol error when building jpwl with autotools
2011-01-23 18:17:00 +00:00
Rex Dieter
2514c5b550
cmake: SOVERSION change to 1 (from 1.4) to match auto-tools build
2011-01-18 17:23:04 +00:00
Rex Dieter
3f234ac21b
remove (autotools) generated files
2011-01-17 18:45:33 +00:00
Antonin Descampe
420750f5ca
convert.c: inclusion of endian.h has to be different on APPLE platforms
2011-01-16 16:23:12 +00:00
Rex Dieter
51f7cc6874
followup autotools fixes, adding DESTDIR support
2011-01-13 20:18:53 +00:00
Rex Dieter
c4252ed824
s/libopenjpeg.pc/libopenjpeg1.pc/
2011-01-13 19:54:11 +00:00
Rex Dieter
97c5fe052c
fix symlink creation (cmake)
2011-01-13 19:40:48 +00:00
Rex Dieter
5f1e13e770
adjust autotools pkg-config support to match
2011-01-13 19:36:21 +00:00
Rex Dieter
d2d6e1fd6f
add pkg-config support to cmake
2011-01-13 19:29:18 +00:00
Antonin Descampe
08459fd944
removed forgotten debug info in imagetopnm()
2011-01-11 08:21:13 +00:00
Antonin Descampe
985a163e33
imagetopnm() has been rewritten to allow 16-bits precision, and PAM (P7) support. See Netpbm for more info. (patch from szukw000).
2011-01-09 22:54:35 +00:00
Winfried
7441340ab5
changed report code in Makefile.am
2011-01-07 03:20:58 +00:00
Antonin Descampe
50b3b5c991
removed badly written tests from CTest in codec/CMakeLists.txt
2011-01-03 22:44:59 +00:00
Antonin Descampe
73a6ed7c21
bug fixes to enable cmake compilation on WIN32 platform (see CHANGES for details)
2011-01-02 18:10:09 +00:00
Antonin Descampe
56afd80506
small update to xcode project
2011-01-02 18:03:28 +00:00
Winfried
398b3f08b0
Adapted Makefile.am/Makefile.nix to build choice: shared xor static
2010-12-14 03:33:31 +00:00
Antonin Descampe
1dd92890d7
fixed flags when building jp3d with MinGW
2010-12-11 23:23:02 +00:00
Winfried
436d2f4bb9
Changed build choice in configure.ac/Makefile.am/Makefile.nix: shared xor static
2010-12-10 04:27:40 +00:00
Antonin Descampe
0264197f3f
removed LCMS dependency in jp3d/libjp3dvm/CMakeLists.txt
2010-12-09 21:44:20 +00:00
Antonin Descampe
b487a3521c
updated xcode project
2010-12-09 11:07:22 +00:00
Antonin Descampe
816d914c4e
renamed jp3d/libjp3dvm/openjpeg.h => jp3d/libjp3dvm/openjpeg3d.h
2010-12-09 10:34:47 +00:00
Antonin Descampe
c0fd0c8f89
removed "codec/compat/" directory
2010-12-09 10:23:13 +00:00
Winfried
ebcda80583
Updated Makefile.in
2010-12-09 01:23:46 +00:00
Winfried
407b95e35f
Removed LCMS dependencies from Makefile.am/Makefile.nix
2010-12-09 01:11:05 +00:00
Antonin Descampe
d08a96e251
(thanks to Winfried for his help)
...
* [antonin] changed remaining "WIN32" to "_WIN32"
! [antonin] libopenjpeg has no more dependency on LCMS lib. Everything concerning color (icc profile, conversion to rgb, etc) has been put outside libopenjpeg and is used in j2k_to_image.c and mj2_to_frames.c.
- [antonin] removed "opj_convert{.c,.h}"
+ [antonin] added a directory "common/" that contains "getopt{.c,.h}" (previously in "codec/compat").
+ [antonin] added files "color{.c,.h}" in "common/" that define the code for icc profile management and sycc_to_rgb conversion
+ [antonin] added "common/format_defs.h" that contains common definitions used in image_to_j2k, j2k_to_image, j2k_dump.
2010-12-08 11:06:41 +00:00
Antonin Descampe
59d9b97ffe
revert to previous behaviour for cmake: builds (and links) dynamically by default. Static build only if -DBUILD_SHARED_LIBS is set to OFF.
2010-12-05 15:19:57 +00:00
Antonin Descampe
cf39198a9a
added a definition in getopt.h and an initial value in convert.c
2010-12-05 15:10:10 +00:00
Antonin Descampe
02229c7c2d
workaround for name clash when building static and dynamic on WIN32 (see http://www.vtk.org/Bug/view.php?id=10190 for description)
2010-12-03 11:57:00 +00:00
Antonin Descampe
1c2ed5cc33
fixed a bug in codec/convert.c that prevented to build executables with WIN32 compiler (thanks winfried)
2010-11-28 18:40:57 +00:00
Antonin Descampe
efc709578a
2010-11-28 18:37:16 +00:00
Antonin Descampe
eb5694ca2a
changed cmake behaviour: executables are now always statically linked. When -DBUIL_SHARED_LIBS option is ON (the default), the shared versions of the libraries are also built (but executables remain linked against the static libraries).
2010-11-28 17:07:04 +00:00
Antonin Descampe
389166e86e
fix compilation and DLL creation of libopenjpeg with MSYS/MinGW (from vincent.torri, see issue 47 on googlecode)
2010-11-25 11:58:26 +00:00
Antonin Descampe
2b31495723
xcode : changed to native architecture build by default
2010-11-22 11:49:28 +00:00
Antonin Descampe
d5b44a98bc
reverted 'include "../opj_config.h"' to 'include "opj_config.h"'
2010-11-22 11:48:19 +00:00
Antonin Descampe
0e5551da99
xcode project : add mj2 targets
2010-11-18 11:12:01 +00:00
Antonin Descampe
3afd3b1afd
install man pages by default. install CHANGES and LICENSE
2010-11-17 10:59:21 +00:00
Antonin Descampe
223a39b51e
minor changes in cmake files (from winfried)
2010-11-17 10:26:05 +00:00
Antonin Descampe
8faf300b6e
fixed missing argument in main CMakeLists.txt
2010-11-17 08:39:24 +00:00
Antonin Descampe
5c76f68168
minor changes in cmake flags
2010-11-16 11:15:38 +00:00
Antonin Descampe
ad970dd9df
xcode project rewrite
2010-11-15 11:12:24 +00:00
Antonin Descampe
161891a06e
changed imagetopng() function to correctly deal with non-standard bit-depths. Add png support for win32. (from winfried)
2010-11-15 11:10:26 +00:00
Antonin Descampe
709068ef5b
minor changes in header inclusions
2010-11-15 11:08:03 +00:00
Antonin Descampe
2b7f6f82be
complete rewrite of opj_convert.c with correct values (from winfried)
2010-11-15 11:06:46 +00:00
Antonin Descampe
005b1b1a4b
removed call to dirent.h in jp3d
2010-11-11 11:37:45 +00:00
Antonin Descampe
3eab8f975e
add info on how to build doxygen doc with autotools
2010-11-11 11:36:10 +00:00
Ben Boeckel
2a4563a677
Fix installation rules in jpwl for CMake
2010-10-28 14:34:37 +00:00
Ben Boeckel
af32de46a2
Installation fixes when using CMake
2010-10-26 16:46:01 +00:00
Ben Boeckel
f35d25c674
Fix jp3dvm version
2010-10-25 16:04:09 +00:00
Antonin Descampe
0dc7f6a2d3
Fixed doxygen data inside source code (from winfried)
2010-10-24 20:28:22 +00:00
Ben Boeckel
bb9232c9d9
Don't clobber openjpeg.h from jp3d
2010-10-22 18:41:49 +00:00
Ben Boeckel
87cb9efb99
Install man pages
2010-10-22 18:41:17 +00:00
Ben Boeckel
4c9a60d4fd
Default to building shared libraries
2010-10-22 18:40:33 +00:00
Antonin Descampe
e36881487d
Patch to support the MSVC Win 64 builds (from szekerest)
2010-10-22 09:45:53 +00:00
Antonin Descampe
56dd722fb4
Currently the Visual Studio builds are broken in the SVN. Attached a patch to fix this issue (from szekerest)
2010-10-22 09:43:06 +00:00
Winfried
c2f441840f
M libopenjpeg/Makefile.in
...
M libopenjpeg/Makefile.am
M jp3d/libjp3dvm/Makefile.in
M jp3d/libjp3dvm/Makefile.am
M CHANGES
M jpwl/Makefile.in
M jpwl/Makefile.am
2010-10-22 08:51:38 +00:00
Winfried
a55ea39677
M CHANGES
...
M jpwl/Makefile.in
M jpwl/Makefile.am
2010-10-22 04:11:41 +00:00
Winfried
fc668f3ec3
M configure
...
M Makefile.in
M configure.ac
A libopenjpeg.pc.in
M doc/Makefile.in
M doc/Makefile.am
M CHANGES
M Makefile.am
2010-10-22 03:07:12 +00:00
Antonin Descampe
c515199674
fixed help display (patch from winfried)
2010-10-21 09:53:13 +00:00
Antonin Descampe
b6102e207c
fixed paths to png and tiff in CMakeLists.txt and fixed link to lcms library (patch from winfried)
2010-10-21 09:49:54 +00:00
Antonin Descampe
ddc9a278aa
fixed options and help display (patch from winfried)
2010-10-19 10:06:47 +00:00
Winfried
e65ef3a24f
M jp3d/Makefile.nix
...
M config.nix
M doc/Makefile.in
M doc/Makefile.am
M doc/Makefile.nix
M CHANGES
M jpwl/Makefile.nix
M Makefile.nix
2010-10-18 00:17:19 +00:00
Winfried
f4b08bacb0
-This line, and those below, will be ignored--
...
M configure
M Makefile.in
M opj_config.h.in.user
M mj2/Makefile.in
M mj2/Makefile.am
M mj2/Makefile.nix
M libopenjpeg/Makefile.in
M jp3d/Makefile.in
M jp3d/libjp3dvm/Makefile.in
M jp3d/Makefile.nix
M jp3d/codec/Makefile.in
M jp3d/codec/Makefile.am
M config.nix
M configure.ac
M doc/Makefile.in
M doc/Makefile.am
M doc/Makefile.nix
M INSTALL
M CHANGES
M jpwl/Makefile.in
M jpwl/Makefile.am
M jpwl/Makefile.nix
M Makefile.am
M Makefile.nix
M codec/Makefile.in
M codec/Makefile.am
2010-10-17 22:42:46 +00:00
Winfried
ae6cf3da7d
2010-10-13 15:16:48 +00:00
Winfried
03133377fa
2010-10-13 14:49:39 +00:00
Antonin Descampe
106da2f51e
1. The jp3d/libjp3dvm/Makefile.am has been changed:
...
Installing: /usr/local/TEST_CONFIG/include/openjpeg3d-1.3/
Installing: /usr/local/TEST_CONFIG/include/openjpeg3d-1.3/openjpeg3d.h
PREFIX/include:
23 openjpeg.h -> openjpeg-1.4/openjpeg.h
27 openjpeg3d.h -> openjpeg3d-1.3/openjpeg3d.h
28773 openjpeg-1.4/openjpeg.h
22158 openjpeg3d-1.3/openjpeg3d.h
2. The jp3d/Makefile.nix has been changed respectivly.
3. The mj2/Makefile.nix contained a wrong path to 'compat/'
4. opj_config.h.in.user contained a comment within a comment.
5. 'autoreconf' reported that AC_PROG_RANLIB is no longer necessary in 'configure.ac'.
2010-10-10 21:17:18 +00:00
Antonin Descampe
72b6fdb04b
fixed a bug in mj2.c that prevented extract_j2k_from_mj2 to build properly. Patch from winfried
2010-10-08 10:16:27 +00:00
Antonin Descampe
453af11e2c
fixed CMakeLists.txt typo
2010-10-05 19:17:01 +00:00
Antonin Descampe
eeefefd56c
Added files to let people build openjpeg with configure tools ; Added makefiles to let people manually build openjpeg on *nix platforms ; Removed obsolete Makefiles ; Renamed dirent.h to windirent.h ; Made optional the PNG, TIFF, and LCMS support in CMake files ; Added opj_config* files to configure openjpeg before building it (opj_config.h generated by configure, cmake, or manually by the user) ; Renamed this file from ChangeLog to CHANGES ; Renamed License.txt to LICENSE ; Updated README files ; Added INSTALL and LICENSE files ; Added man pages
2010-10-05 10:33:15 +00:00
Luis Ibanez
531c0cf26f
Reverting the use of #include "openjpegConfigure.h" until we find a compatible
...
way of doing this with autoconf, and with the default VS project files.
2010-09-08 22:40:11 +00:00
Luis Ibanez
b7208fb525
ENH: Now forcing openjpeg_JPWL to be a STATIC library.
2010-09-07 22:29:56 +00:00
Luis Ibanez
dc700d5d50
ENH: Now verifies if the OPJ_STATIC macro is not
...
already defined, before it defines it.
2010-09-07 22:24:12 +00:00
Luis Ibanez
00f7af7748
ENH: Including the new header file openjpegConfigure.h
...
in order to carry the definition of OPJ_STATIC
when building static libraries.
2010-09-07 22:05:17 +00:00
Luis Ibanez
9989de4bd0
COMP: adding trunk/codec/compat to the list of directories
...
that must be searched for header files.
2010-09-05 22:52:44 +00:00
Luis Ibanez
fcbf45ca64
ENH: Removed redundant copies of getopt.c and getopt.h.
...
Now reusing the ones in codec/compat.
2010-09-05 21:59:25 +00:00
Luis Ibanez
509f7a64ea
ENH: The logic for defining OPJ_STATIC has now been moved to the
...
openjpegConfigure.h file.
2010-09-05 21:37:14 +00:00
Luis Ibanez
e80d147957
ENH: Adding symbols from traditional checks.
...
NOTE: the LCMS may still require CMake code for detecting the
prescence of the library, of the use of CMake options for letting
the user choose based on her preference.
2010-09-05 21:34:07 +00:00
Luis Ibanez
2cea89dc7d
ENH: Adding a configured header file at the image of config.h.
2010-09-05 21:14:47 +00:00
Luis Ibanez
1a79adb3a9
COMP: PNG_LIBRARIES were missing for the TARGET_LINK_LIBRARIES command
...
of the executable targets.
2010-09-05 20:54:55 +00:00
Luis Ibanez
8dbd92f6c2
ENH: jpwl subdirectory is now build also on Unix systems.
...
As pointed out by Winfried and Antonin, there is no reason
to exclude jpwl in Unix systems.
2010-09-05 20:50:17 +00:00
Luis Ibanez
d22912349b
ENH: Grouping the logic that detects getopt.c into a single .cmake file.
...
Multiple directories were repeating this configuration independently.
The directory jp3d is expected to be self-suficient so it still does
the configuration directly.
2010-09-05 20:15:05 +00:00
Luis Ibanez
26e8f3fd28
COMP: Fixing configuration for static builds. Fixing dependencies that several
...
executables have on getopt.c, convert.c and index.c.
Some refactoring is going to be required in order to have a cleaner
configuration process and make it easier to maintain.
2010-09-01 00:52:26 +00:00
Luis Ibanez
86864a2f6c
ENH: Silencing warnings from Visual Studio regardgin security of string functions, that can't be resolved in a multi-platform manner anywasys.
2010-08-31 23:44:21 +00:00
Luis Ibanez
7c65e4c14b
STYLE: This file had inconsistent ends of line (mixture of DOS and UNIX).
2010-08-31 23:38:44 +00:00
Luis Ibanez
a56fbe42a4
COMP: Moving to the parent directory the set INCLUDE_DIRECTORIES command.
...
Given that files in "codec" look for files in "libjp3dvm", and files in
"libjp3dvm" look for header files in "codec".
2010-08-31 23:37:21 +00:00
Luis Ibanez
9427107b94
COMP: Remove requirement that png and tiff headers must be in a specific directory relative to this one.
2010-08-31 23:35:03 +00:00
Luis Ibanez
75c589958a
BUG: The directory compat doesn't exist. The file getopt.c is actually at this level.
2010-08-31 23:27:19 +00:00
Antonin Descampe
3e8cad7e39
Update the XCode project file with JPWL targets
2010-08-30 10:15:32 +00:00
Antonin Descampe
e4c4d146e1
Update the README.cmake file : an instruction was missing to run the tests correctly.
2010-08-30 10:14:34 +00:00
Mathieu Malaterre
34e592341c
Fix case
2010-08-11 08:47:21 +00:00
Antonin Descampe
94b9942cd9
Update README and Makefiles to promote cmake. Fix the README.cmake file.
2010-07-07 13:00:39 +00:00
Antonin Descampe
d5f9ea9fc2
Change CMakeLists.txt to build examples by default (image_to_j2k and j2k_to_image).
2010-07-02 12:44:22 +00:00
Mathieu Malaterre
f6ed93253b
Need to include png/tiff include path
2010-07-01 17:33:51 +00:00
Mathieu Malaterre
3479749499
Synchronize branch and trunk cmakelists files
2010-06-29 19:09:10 +00:00
Mathieu Malaterre
89eafad589
Synchronize branch and trunk cmakelists files
2010-06-29 19:08:58 +00:00
Mathieu Malaterre
8bb5a19905
return error code upon errors
2010-06-29 19:08:45 +00:00
Mathieu Malaterre
84f77a71e5
Sync with v2 branch
2010-06-22 19:06:29 +00:00
Mathieu Malaterre
da0d29e4ab
Merge with v2 branch
2010-06-22 17:32:19 +00:00
Mathieu Malaterre
f30f4c744e
Also dump the image info as well as cp info.
2010-06-22 14:03:52 +00:00
Mathieu Malaterre
6621494d9d
Apply patch from w. szukalski (sent to list). Mon, Jun 21, 2010 at 5:49 PM
2010-06-22 11:55:36 +00:00
Mathieu Malaterre
2374885ac0
adding j2k_dump executable
2010-06-21 13:21:11 +00:00
Luis Ibanez
784cf66dc2
ENH: Added custom configuration for CTest. This allows to fine tune
...
the selection of files for code coverage computation, and also
allows to filter out acceptable compiler warnings.
2010-05-26 23:44:07 +00:00
Luis Ibanez
6c641471b2
ENH: Cleaning up the file comments. Setting the build time to 3am UTC.
2010-05-26 23:07:59 +00:00
Mathieu Malaterre
18c30c30d6
Remove automatic setting of BUILDNAME for now
2010-05-26 09:53:05 +00:00
Mathieu Malaterre
a1b6f1e096
Reactivate ctest
2010-05-26 09:45:12 +00:00
Mathieu Malaterre
a02c683572
Move to cmake 2.6. Add policy CMP0003
2010-05-26 09:34:01 +00:00
Antonin Descampe
8ecce4df3d
Added CTestConfig.cmake to the root directory to incorporate the testing dashboard.
2010-05-26 09:00:06 +00:00
Antonin Descampe
9af159c200
MACOSX : Added a "build all" target to the XCode project file.
2010-05-26 08:25:06 +00:00
Antonin Descampe
b96b24ce8c
MACOSX : Fixed the XCode project file to link with the PNG library. Library and header should be located in /usr/local/lib/ and /usr/local/include/, respectively. Check http://ethan.tira-thompson.org/Mac_OS_X_Ports.html if it is not the case on your mac.
2010-04-16 17:14:29 +00:00
Francois-Olivier Devaux
fdf04af271
[v1.4]Fixed issue 6 on google code. Variable "pi" not freed or pointed-to in function "pi_create_encode". Thanks to Kent Mein for reporting this.
...
[v1.4]Fixed problem with Borland C++ Builder (Borland C do not have lrintf). Thanks Marek Mauder for this fix.
2010-04-08 20:19:54 +00:00
Francois-Olivier Devaux
203a264f96
[v1.4] Fixed pi.c bug (issue 15 on google code). Thanks to Anton Lionel for catching this.
2010-04-08 18:43:03 +00:00
Francois-Olivier Devaux
b5ff4ffedc
Fixed MJ2 codec bugs (issues 23-24 on google code). Thanks to Winfried for these patches.
2010-04-08 17:50:05 +00:00
Francois-Olivier Devaux
6628a4df45
Fixed JP3D codec file format analyzer. Thanks to Kristóf Ralovich for this patch.
2010-04-08 17:34:40 +00:00
Francois-Olivier Devaux
627f484bce
Significant optimizations of MCT, DWT, MQ and T1 modules by Peter Wimmer (thanks Peter)
2010-04-08 17:22:58 +00:00
Francois-Olivier Devaux
d03779ee2a
Added support for "jpc" codestreams which are equivalent to "j2c" codestreams [v1.4]. Thanks to Winfried for this patch
2010-03-26 16:07:08 +00:00
Francois-Olivier Devaux
3e4b0ee509
Added support for PNG image format [Not yet functional under WIN32]. Thanks to Winfried for this patch. See details here http://code.google.com/p/openjpeg/issues/detail?id=16
2010-03-26 15:46:17 +00:00
Francois-Olivier Devaux
54214fb65f
Code improvements using 'g++-4.4.0' to trace the code (v1.4). Thanks to Winfried for this patch.
2010-03-24 11:20:45 +00:00
Francois-Olivier Devaux
3ecae15da2
Fixed small compatibility issues with win32 in codec (moved include <strings.h>)
2010-03-07 21:27:37 +00:00
Francois-Olivier Devaux
c2da8234d9
Updated makefiles for v1.4 and v2.0
2010-03-05 21:28:20 +00:00
Francois-Olivier Devaux
20d5c4c1a8
First import of OPJ_Validate tool
2010-03-05 21:17:11 +00:00
Francois-Olivier Devaux
34c485169e
Applied changes to jp3d_to_volume.c that didn't pass in previous revision (rev545)
2010-02-19 13:37:27 +00:00
Francois-Olivier Devaux
cb4702b4c5
JP3D Module. Fixed issue when computing the number of elements in an array that leads to crash (thanks Kristof). Updated JP3D makefiles.
2010-02-18 16:36:21 +00:00
Francois-Olivier Devaux
c1a51d68a6
[FOD] Created a new constant in openjpeg.h to differentiate the case when the colorspace is not supported by the library and when it is not specified in the codestream. Suggested by Matteo Italia.
2010-01-20 15:44:13 +00:00
Antonin Descampe
9324bc4cd4
fixed MCT check bug in t1_getwmsedec. See http://groups.google.com/group/openjpeg/browse_thread/thread/d9d96dd4ec3e7443 for info
2009-11-06 12:52:54 +00:00
Antonin Descampe
449d7bedb6
fixed "tiffio" header inclusion to use user version on Win32 system only (otherwise assume its existence in system headers).
2009-11-05 16:39:02 +00:00
Antonin Descampe
bfd3fe8a4a
fixed minor bugs which were triggering warnings at compilation (different signedness, wrong pointer type, etc)
2009-09-10 12:29:51 +00:00
Antonin Descampe
9dbbc6ca13
openjpeg.c : fixed initialization of parameters->cp_disto_alloc/fixed_quality/fixed_alloc/tcp_numlayers because they were preventing to use the -q and -f options.
2009-09-08 18:25:51 +00:00
Antonin Descampe
83abf56736
JavaOpenJpegDecoder.c : fixed a signed/unsigned behaviour when returning form C to JAVA
2009-08-31 13:18:20 +00:00
Mathieu Malaterre
a695c8eb51
ENH: fix svn properties
2008-10-01 16:01:23 +00:00
Mathieu Malaterre
a69db02b7f
COMP: minor compilation warning
2008-10-01 16:00:42 +00:00
Antonin Descampe
73d8401465
found a bug in tcd.c that was preventing to find the correct threshold in tcd_rateallocate.c for high-precision images. Applied a temporary patch but a better solution should be found.
2008-08-22 16:18:17 +00:00
Antonin Descampe
4a90f97639
fixed a bug in image_to_j2k.c that was preventing the 'r' option to work properly (everything was compressed lossless regardless of the specified rate).
2008-08-21 16:00:44 +00:00
Francois-Olivier Devaux
4da178b0d8
Modified the way raw images with more that 8bpp are read and written
2008-08-08 13:15:36 +00:00
Antonin Descampe
f4bbad8615
Deleting v2 directory... Will be re-created as a branch
2008-07-31 11:22:44 +00:00
Parvatha Elangovan
cebdbda260
Added the default lossless parameter to opj_set_default_encoder_parameters in openjpeg.c
2008-07-09 11:43:02 +00:00
Antonin Descampe
1d45d7514b
Initial commit of openjpeg version 2. Temprarily added as a separate directory in the trunk (will maybe be moved to a branch of version 1.3, this has to be investigated).
2008-07-04 11:27:40 +00:00
Antonin Descampe
846bd364be
fixed a bug in dirent.h that prevented codec on Linux Alpha Systems to compile correctly. Thanks to RobinC.
2008-06-12 14:55:12 +00:00
Antonin Descampe
295ad6b112
fixed a bug in j2k.c (j2k_write_sod) that allowed to get negative rates, thanks zhong1985624 for pointing this.
2008-05-22 16:39:40 +00:00
Antonin Descampe
f4d394d932
additional test to avoid crash due to invalid image size, patch by Christopher Layne
2008-05-22 12:34:29 +00:00
Antonin Descampe
65e5ff0fb4
memory leak fixed in openjpeg.c (opj_destroy_cstr_info()), patch by Carsten Juttner
2008-05-22 09:54:44 +00:00
Antonin Descampe
2f3dd4916f
updated XCode project file
2008-05-20 16:46:14 +00:00
Giuseppe Baruffa
a92cc111a2
Added help line for the -F option in j2k_to_image
2008-03-12 10:40:42 +00:00
Francois-Olivier Devaux
52296999f6
Changed Java files copyright in JavaOpenJPEG module
2008-03-04 10:56:03 +00:00
Francois-Olivier Devaux
9652def4de
Corrected the wrong syntax of calloc()...
2008-02-29 09:36:12 +00:00
Francois-Olivier Devaux
6d1f3ecc9f
Fixed openjpeg.c for proper initialization of codec context structures (dinfo in opj_create_compress() and opj_create_decompress(). Bug fix suggested by Andrey V. Kiselev
...
Clean up of opj_aligned_malloc(), to just forgo the use of posix_memalign(), as apparently memalign() is what is working better for everyone. Patch by Callum.
2008-02-29 09:33:41 +00:00
Francois-Olivier Devaux
396cb1e102
Removed the J2KViewer module, which has been replaced by OPJViewer and fixed the error handling of j2k_decode in jp2.c, thanks to Robin Cornelius
2008-02-28 11:26:04 +00:00
Giuseppe Baruffa
ac0cc6df62
Minor style modifications to comply with c99 compiler flag; removed Microsoft-specific "union-in-struct" syntax; Re-enabled cstr_info struct creation when -W switch is specified. Changed a number of things in opjviewer (e.g., decoding thread does not execute GUI calls anymore), to have it running under linux --> it is better than before, but still crashes
2008-02-11 14:43:11 +00:00
Parvatha Elangovan
29ea3dde47
In convert.c, corrected imagetobmp() conversion for grayscale. In tcd.c, corrected Rate modification in tcd_init_encode().
2008-02-05 15:15:38 +00:00
Giuseppe Baruffa
e21d865440
In opjviewer, unification of JPEG 2000 family handlers (*.jp2, *.mj2, *.j2k) in a single file
2008-01-31 14:36:06 +00:00
Francois-Olivier Devaux
04966097fc
In image.c, changed the opj_image_create0() memory allocation from malloc() to calloc() in order to avoid segfaults when freeing the memory allocated for the coding of bad images. Thanks to Christopher Layne for this improvement.
2008-01-22 10:35:26 +00:00
Antonin Descampe
8c2ae8b03d
update of openjpeg XCode project file (2)
2008-01-18 10:30:24 +00:00
Antonin Descampe
9947453ea8
update of openjpeg XCode project file
2008-01-18 10:29:16 +00:00
Francois-Olivier Devaux
4514e333c6
SVN server problem. Added again MJ2 project files to try to solve issue.
2008-01-17 11:57:04 +00:00
Francois-Olivier Devaux
daff186ceb
SVN server problem. Removed MJ2 project files to try to solve issue.
2008-01-17 11:52:32 +00:00
Antonin Descampe
8359fbd5e7
Initial commit of Xcode project directory (XCode 2.5 for macosx). Available targets : libopenjpeg (stat and dyn), image_to_j2k, j2k_to_image
2008-01-17 10:48:51 +00:00
Antonin Descampe
13209d2565
fixed opj_malloc.h for macosx (bugfix provided by janpeder, thanks)
2008-01-16 19:01:13 +00:00
Antonin Descampe
9a6f0596b0
remove obsolete directory "CVSROOT"
2008-01-16 17:54:47 +00:00
Antonin Descampe
901308cbc8
update makefile.osx and readme.osx to comply with version 1.3
2008-01-16 17:17:05 +00:00
Francois-Olivier Devaux
ea6d8f5aaf
Added missing files to JavaOpenJPEG project (files from Patrick Piscaglia)
2008-01-11 09:33:45 +00:00
Parvatha Elangovan
4051e87d06
Patch by Callum Lerwick. Fixed error during encoding using tile option in tcd.c
2008-01-04 15:43:57 +00:00
Francois-Olivier Devaux
4619a94ebf
VERSION 1.3.0 RELEASE
2007-12-21 10:39:41 +00:00
Francois-Olivier Devaux
287fb0b8fd
Bug fixed by David Bruken. Fixed memory allocation issue in opj_malloc.h.
...
Possible errors in pi_create_encode handled
2007-12-21 10:19:01 +00:00
Antonin Descampe
847b082b64
changed variables names alpha, beta, gamma, delta in dwt.c to avoid re-declarations on Macosx
2007-12-19 14:45:35 +00:00
Francois-Olivier Devaux
5f995bcf4b
Fixed allocation problem in pi.c
2007-12-19 13:57:57 +00:00
Parvatha Elangovan
64ed560f4f
In pi.c, removed the Recursive function pi_check_next_level() and modified the code.
2007-12-19 12:28:40 +00:00
Francois-Olivier Devaux
1a33a09726
In mqc.h, changed MQC_NUMCTXS from 32 to 19 as JPEG 2000 only allows 19 possible contexts
2007-12-19 09:13:52 +00:00
Francois-Olivier Devaux
26606c71c8
First import of JAVAOpenJPEG, a Java wrapper of OpenJPEG, developed by Patrick Piscaglia of Telemis (www.telemis.com). Thank you Patrick for this new module !
2007-12-10 13:16:01 +00:00
Giuseppe Baruffa
e06bcd027f
Added index.h and index.c in VC6 projects; wrapped index.h in the C++ preprocessor; modified OPJViewer project and some files.
2007-11-29 14:38:26 +00:00
Francois-Olivier Devaux
9e5d165e79
Fixed the maximum number of resolutions a user can discard while decoding.
...
Added an error state in J2K_STATE (j2k.c)
2007-11-27 14:00:45 +00:00
Francois-Olivier Devaux
efa5f7977c
Created the file index.c in the codec directory. This file handles the creation of index files, at encoding and decoding.
...
Fixed bugs during the creation of the index (PCRL progression order)
2007-11-27 12:38:52 +00:00
Francois-Olivier Devaux
c458af9cd6
Avoided ABI breakage
2007-11-14 11:34:48 +00:00
Francois-Olivier Devaux
010ae27471
Patch by Callum Lerwick. The opj_tcd_cblk array is one of the largest allocations, because it contains a bunch of static buffers. This also makes it a major source of cache thrashing. This patch allocates the buffers from the heap, and dynamically sizes them in the decoder. I have not yet managed to dynamically size them in the encoder, getting the decoder to do it was tricky enough... I also split opj_tcd_cblk_t into separate encode and decode versions. A lot of fields were not used by both, so this cuts its size even further.
2007-11-14 10:52:02 +00:00
Francois-Olivier Devaux
24e189e4d8
Patch by Callum Lerwick. This patch rearranges the largest memory allocations so they're allocated as late as possible, and freed as soon as possible. This cuts memory usage by about half on two large test images.
2007-11-14 08:45:00 +00:00
Francois-Olivier Devaux
61a15672bb
Patch by Callum Lerwick. Instead of reinventing realloc, j2k_read_sod now just uses opj_realloc in j2k.c
2007-11-14 08:29:12 +00:00
Francois-Olivier Devaux
dbeebe72b9
Patch by Dzonatas and Callum Lerwick. Fp/vectorization patch which basically converts most of the irreversible decode codepath to floating point, eliminating a few rounds of int/fp conversion, resulting in a vast performance improvement, and an increase in accuracy.
2007-11-13 17:35:12 +00:00
Mathieu Malaterre
014694b04f
BUG: Fix name of project
2007-11-08 14:52:45 +00:00
Mathieu Malaterre
6a1588c78e
ENH: remove hardcoded value. It is a user-configurable option, which default to the same...
2007-11-08 14:46:53 +00:00
Mathieu Malaterre
6d7f5ccc8d
ENH: do not set ffast-math for all configurations, please
2007-11-08 14:41:45 +00:00
Francois-Olivier Devaux
4bb067642f
Patches from Callum Lewick: Fixed some spelling errors in dwt.c.
2007-11-08 14:29:39 +00:00
Francois-Olivier Devaux
c38de0728d
In t1.c, small change to avoid calling twice t1_getwmsedec()
...
Patch from Callum Lewick. Basic gcc optimization flags in cmake and makefile match.
2007-11-08 14:26:03 +00:00
Giuseppe Baruffa
b93c12564d
Restoring wrap_j2k_in_mj2.c, which I did not want to commit at all in rev469
2007-11-05 13:14:51 +00:00
Giuseppe Baruffa
95d760a173
Fixed a bug which prevented JPWL from working on multi-tiled images; added some more fields in the interface info structures (keep a list of markers, save start packet number for each tile)
2007-11-05 13:05:07 +00:00
Giuseppe Baruffa
123a680669
Improved success for the linux build; OPJViewer shows all the COM contents
2007-10-23 14:33:40 +00:00
Francois-Olivier Devaux
9e114bcaa4
Patch from Callum Lewick. Memset patch. See ChangeLog for more details. Thanks Callum !
2007-10-18 12:26:11 +00:00
Francois-Olivier Devaux
5fdc05d18d
Changed the ROI parameter in the image_to_j2k codec to make it correspond to the documentation (i.e. -ROI c=0,U=25)
2007-10-18 08:14:43 +00:00
Francois-Olivier Devaux
1f11a4fe90
Changed the way the image structure is allocated when the decoding parameters include some resolutions to discard. This should have a significant impact for the decoding of huge images when some resolutions are discarder (-r parameter)
...
Warning: The output image size is now reduced when discarding resolutions !
2007-10-12 15:04:34 +00:00
Francois-Olivier Devaux
ab0473aa42
*Patch from Callum Lewick. Clean up of j2klib.h for the aligned malloc stuff.
...
*convert.c: Changed some error comments for TIFF images
2007-10-10 06:17:28 +00:00
Francois-Olivier Devaux
4b60f17bba
Patch from Callum Lewick. Fixed dwt.c where an alignment in buffer was problematic under x86_64.
2007-09-27 12:20:12 +00:00
Mathieu Malaterre
6265dcfb11
BUG: Fix previous patch from Callum Lerwick. I have no clue what CMAKE_INSTALL_LIBDIR refers too. Bump up cmake 2.2 restriction to cmake 2.4 because of previous patch not backward compatible. Properly set the SOVERSION in a cross plateform way (yes WIN32 is a plateform)
2007-09-25 14:54:49 +00:00
Parvatha Elangovan
7e40a9475a
Fixed issues with generation of SOP marker.
2007-09-19 14:56:19 +00:00
Parvatha Elangovan
a6ba04cdf4
Fixed issues with Reading and Writing TIF images in convert.c to avoid segmentation fault.
...
Fixed issues relating to using user specified rates for CINEMA option for multiple images.
2007-09-18 13:07:29 +00:00
Francois-Olivier Devaux
55c4c14352
OpenJPEG library interface modified to retain compatibility with version 1.2. Sorry if some of you already adapted their code to the previous interface, but we want to avoid a ABI break....
2007-09-17 15:11:20 +00:00
Francois-Olivier Devaux
569bbb0077
Fixed issues with cstr_info when codestream has components with different number of resolutions.
2007-09-17 14:00:43 +00:00
Francois-Olivier Devaux
abfba20b99
Patch from Callum Lerwick. Fixed the library linking so it links with the soversion properly set. Fixes up the install targets so that it interacts properly with RPM. Install target for MJ2. Sets some necessary and useful CFLAGS if gcc is in use.
2007-09-12 09:04:03 +00:00
Francois-Olivier Devaux
09231c317d
Updated the MJ2 codec to be compatible with the recent changes in the OpenJPEG library.
2007-09-12 08:52:18 +00:00
Giuseppe Baruffa
1e705438e4
JPWL encoding is finalized correctly into the JP2 file format; added an additional structure in opj_codestream_info, to keep a record of the written markers
2007-09-11 15:21:12 +00:00
Giuseppe Baruffa
d70a0415b9
Adapted the JPWL and OPJViewer code to new interface; fixed a samll bug in JPWL which created large EPBs even when null protection was specified
2007-09-07 23:16:31 +00:00
Francois-Olivier Devaux
3816e0edf4
Indexes can now be generated when decoding J2K codestreams.
2007-09-07 15:01:55 +00:00
Mathieu Malaterre
e7149e0c56
ENH: license.txt was dos on my linux box. Make it native instead.
2007-09-07 13:52:43 +00:00
Mathieu Malaterre
3392d99487
BUG: cannot run tests if EXAMPLES are not built
2007-09-07 13:49:57 +00:00
Mathieu Malaterre
263e0f3bb2
ENH: make it a little more user friendly
2007-09-07 13:27:16 +00:00
Mathieu Malaterre
b29cff9b9c
ENH: Add cmake code to do testing if user has properly setup a testimages directory
2007-09-07 13:21:17 +00:00
Mathieu Malaterre
2479921c71
ENH: Upon failure, properly return error code (!=0)
2007-09-07 13:06:36 +00:00
Mathieu Malaterre
53471a76f1
ENH: Fix unitialized read in img_fol (we may need a smarter initialize than memset)
2007-09-06 16:49:15 +00:00
Mathieu Malaterre
8ac5e7023c
ENH: Add very simple tests (simply run command line with no option)
2007-09-06 16:38:06 +00:00
Giuseppe Baruffa
dfcacb8247
One more field in the codestream_info struct for recording the number of packets per tile part; JPWL now distributes the EPBs in all the tile part headers
2007-09-06 15:59:39 +00:00
Mathieu Malaterre
cf95a80be6
ENH: Add CMake/doxygen output
2007-09-06 15:10:15 +00:00
Mathieu Malaterre
be5db9489e
ENH: add Java j2kviewer but do not compile it using cmake since cmake has too poor support for Java. Should create a custom command running ant instead.
2007-09-06 14:56:23 +00:00
Mathieu Malaterre
f3456a27e7
ENH: add Java j2kviewer but do not compile it using cmake since cmake has too poor support for Java. Should create a custom command running ant instead.
2007-09-06 14:56:00 +00:00
Mathieu Malaterre
375754f1e6
ENH: CMake: start compiling index_create. OpenJPEG.rc update copyright year
2007-09-06 14:46:24 +00:00
Mathieu Malaterre
f9c5f4565a
ENH: CMake: output all executable/libs into one single directory
2007-09-06 11:01:10 +00:00
Mathieu Malaterre
86da5c2589
ENH: CMake: output all executable/libs into one single directory
2007-09-06 11:01:00 +00:00
Mathieu Malaterre
23891ede86
ENH: update changelog
2007-09-06 10:53:41 +00:00
Mathieu Malaterre
b4dc6fc133
ENH: add cmake for jp3d
2007-09-06 10:51:38 +00:00
Mathieu Malaterre
0533b5b78e
Move include file that collides with system include to the correct directory (no need to be present for the lib, only codec need it)
2007-09-06 10:49:19 +00:00
Mathieu Malaterre
976ca18103
ENH: Add jpwl. Also remove old deprecated way of linking lib math on unix
2007-09-06 10:23:40 +00:00
Mathieu Malaterre
7e874368f7
ENH: Start building mj2
2007-09-06 10:13:05 +00:00
Giuseppe Baruffa
d3d2a36fbc
Added some fields in the codestream_info structure: they are used to record the position of single tile parts. Changed also the write_index function in the codec, to reflect the presence of this new information.
2007-09-04 14:19:55 +00:00
Giuseppe Baruffa
564e16d5ce
Added the knowledge of JPSEC SEC and INSEC markers (you have to compile the JPWL project). Management of these markers is limited to skipping them without crashing: no real security function at this stage. Deprecated USE_JPSEC and USE_JPWL will be removed next
2007-09-03 13:30:59 +00:00
Giuseppe Baruffa
c4313f0b39
Fixed save capabilities in OPJViewer due to recent code upgrade
2007-08-31 10:55:15 +00:00
Francois-Olivier Devaux
7a2d96efe1
Added information regarding the end of packet position in the index
2007-08-30 15:32:51 +00:00
Francois-Olivier Devaux
acfe0ad645
Changed the OpenJPEG library interface to enable users to access information regarding the codestream (also called index).
2007-08-30 09:51:20 +00:00
Francois-Olivier Devaux
d07fa5d9d0
Fixed wrong destructors called in openjpeg.c
...
Fixed bug in j2k_decode_jpt_stream
2007-08-28 10:13:58 +00:00
Parvatha Elangovan
c101f8049c
The end of main header is calculated after TLM and POC marker for Dcinema.
2007-08-24 15:11:01 +00:00
Francois-Olivier Devaux
bd0b6ec2fd
Fixed problem with _mm_malloc under OSX. Thanks to Callum Lerwick for solving that issue.
2007-08-24 13:46:44 +00:00
Francois-Olivier Devaux
1d02a8b595
Use <xmmintrin.h> for WIN32, else use <mm_malloc.h>
2007-08-21 12:57:39 +00:00
Francois-Olivier Devaux
07be749bf2
Moved the orient flipping into the ctxno_zc table.
...
Thanks to Callum Lerwick who provided all these great patches !
2007-08-21 12:51:57 +00:00
Francois-Olivier Devaux
2952874cb8
Replaced the large ctxno_mag lookup table with a small bit of inline-able branchless code
2007-08-21 12:42:55 +00:00
Francois-Olivier Devaux
1cfbdcc9ce
Consolidated some calls to mqc_setcurctx. Cleaned up t1_generate_luts to output the proper types.
2007-08-21 12:36:05 +00:00
Francois-Olivier Devaux
d4d23c7eb5
Reworks of t1_updateflags to get rid of the shift operation. mqc_setcurctx moved to the header to allow it to be inlined into the t1.
2007-08-21 12:30:08 +00:00
Francois-Olivier Devaux
adca52578d
Memory leaks fixed
2007-08-21 12:21:35 +00:00
Francois-Olivier Devaux
3810e943b1
Aligned malloc using Intel's _mm_malloc(), cleanup on the t1 memory allocation, getting rid of some leftover debug code
2007-08-21 12:13:54 +00:00
Francois-Olivier Devaux
ca2a0114a2
Minor cleanup patch, that gets rid of a bunch of "old style declaration" warnings from Intel's compiler
2007-08-21 12:02:23 +00:00
Francois-Olivier Devaux
2c75c27ee8
Solved problems with codec reading from image file directory when filename had more than one "." in name
2007-08-21 10:50:47 +00:00
Francois-Olivier Devaux
1d0dbeb232
Robustified MJ2 codecs
2007-08-21 10:18:40 +00:00
Francois-Olivier Devaux
d9924962ff
Added support for Visual Studio 2005
2007-08-21 10:17:35 +00:00
Francois-Olivier Devaux
00e440ebdb
Corrected allocation to take into account the EOC marker
2007-08-21 09:06:13 +00:00
Francois-Olivier Devaux
17f0828c74
Fixed _strnicmp bug
2007-08-20 15:26:01 +00:00
Francois-Olivier Devaux
8298fd2b0a
Added support for the TGA file format in the codec
2007-08-20 15:20:42 +00:00
Francois-Olivier Devaux
7dcb817e6a
Fixed the DCinema filesize allocation. It now includes the SOT marker size
2007-08-08 09:41:16 +00:00
Giuseppe Baruffa
9cf692e897
Added a basic saving capability to OPJViewer
2007-08-02 12:45:28 +00:00
Francois-Olivier Devaux
4f4aa1d49f
Lighter version of libtiff uploaded (without JPEG support).
2007-07-19 15:04:39 +00:00
Francois-Olivier Devaux
9e5a83d8f9
Delete Tiffconf.h
2007-07-19 13:49:33 +00:00
Francois-Olivier Devaux
c45b8e6c38
Updated libtiff library version to 3.8.2 (for WIN32)
...
Updated BMP and PxM truncation when decoding J2K files with more than 8 bits (convert.c)
2007-07-19 13:44:04 +00:00
Francois-Olivier Devaux
64d72b7bfd
Fixed raw option to encode raw images with more than three components.
2007-07-18 09:45:59 +00:00
Francois-Olivier Devaux
b7ce19709d
Added support for RAW images. This module has been developped by the University of Perugia team. Thanks to them !
2007-07-17 16:19:41 +00:00
Francois-Olivier Devaux
5dec8bbbe9
2007-07-13 13:07:07 +00:00
Giuseppe Baruffa
4a50efe542
Fixed a bug in JPWL module, which prevented to exploit the full error correction capability of RS codes (e.g. it gave up at 5 errors, even if 6 were correctable); defined a JPWL_MAXIMUM_EPB_ROOM for better customization of the maximum dimension of EPBs (the dimension is pre-calculated on an hypothesis, if it goes beyond 65535 there will be problems, thus we give a little less than the max, let's say 65450)
2007-07-12 08:31:01 +00:00
Antonin Descampe
bdb18ab19c
fixed the size of the memory allocation in cio.c (confusion between bits and bytes)
2007-07-08 16:38:51 +00:00
Giuseppe Baruffa
167fb6337b
Previous, home, and next frame buttons for exploring MJ2 files in OPJViewer
2007-06-21 14:00:32 +00:00
Francois-Olivier Devaux
c924975434
Output image color space set when decoding a JP2 file
2007-06-21 08:26:03 +00:00
Giuseppe Baruffa
92398409a5
Reload image doesn't crash in OPJViewer; more settings saved to registry
2007-06-18 13:05:28 +00:00
Giuseppe Baruffa
c647671607
added toolbar to OPJViewer
2007-06-17 23:13:04 +00:00
Giuseppe Baruffa
2845d9bf64
Possibility to disable parsing in OPJViewer; also, saves common settings to the registry; automatic build numbering
2007-06-16 17:28:47 +00:00
Francois-Olivier Devaux
3d626da232
Fixed the generation of index files. Now works with cinema formats.
2007-06-15 13:27:43 +00:00
Antonin Descampe
f428a306a1
changed the dylib-version to 1.2.0
2007-06-05 09:00:34 +00:00
Francois-Olivier Devaux
aec1d7592c
Tipo corrected...
2007-06-04 13:32:25 +00:00
Francois-Olivier Devaux
21f2cab710
Release of version 1.2.0
2007-06-04 13:27:25 +00:00
Francois-Olivier Devaux
ea9335ff48
Bugs corrected in decoding of command line (getopt.c), in the handling of 16 bit files (t1.c and tcd.c) and the calculation of elapsed time for multiple tiles parts (tcd.c and tdc.h).
2007-06-04 13:23:26 +00:00
Giuseppe Baruffa
adc1aacb60
OPJViewer opens now BMP, PNG, GIF, PNM, TIFF (with wxWidgets internals); added an encoder settings tab, for future integration with "save file as..." in JPEG 2000 format
2007-06-03 17:34:46 +00:00
Francois-Olivier Devaux
814bab6900
Fixed the handling of 16bit TIFF files for cinema compression. Modified "convert.c".
...
Fixed the parameters used for cinema compression (9-7 transform used instead of 5-3). Modified "image_to_j2k.c"
2007-05-31 09:13:44 +00:00
Francois-Olivier Devaux
1f55aaf4a6
Bug fixed by Sylvain Munaut. Change in the reading of the POC marker. Since COD/COC can be anywhere in the header, the decoder cannot always know while decoding the POC marker the value of numlayers and numresolution.
2007-05-23 16:04:50 +00:00
Francois-Olivier Devaux
8be8111008
Patch suggested by Callum Lerwick <seg@haxxed.com>: "This makes the t1 data arrays dynamic, which greatly reduces cache thrashing. Also, some minor cleanup to prevent unnecessary casts"
2007-05-22 13:14:13 +00:00
Francois-Olivier Devaux
1bec8fe082
Patch suggested by Callum Lerwick <seg@haxxed.com>: "Some formatting cleanups, so that the long function definitions and calls fit on screen. Use of prefix increment which is theoretically faster, in
...
practice any sane compiler can optimize a postfix increment but its best not to count on such things. Consolidation of some redundant calculations in the inner loops, which becomes very useful in the future autovectorize patch."
2007-05-21 13:08:10 +00:00
Francois-Olivier Devaux
7d06d7fb5d
Patch suggested by Callum Lerwick <seg@haxxed.com>: "This changes the flag code in t1 to use a flag_t type, which can then be changed to reduce RAM usage. It is now typedef to a short."
2007-05-21 12:50:03 +00:00
Francois-Olivier Devaux
e0ee9becb4
Patch suggested by Callum Lerwick <seg@haxxed.com>: "This patch makes the t1 LUTs static. I actually intend this as a prelude to possibly eliminating some or all of the LUTs entirely."
2007-05-21 09:44:10 +00:00
Francois-Olivier Devaux
0afa3c70bc
Changlog updated
2007-05-15 14:02:03 +00:00
Francois-Olivier Devaux
38137b033a
JP3D library Binaries removed from SVN.
2007-05-10 14:34:05 +00:00
Francois-Olivier Devaux
1200dd871a
MJ2 codec updated from LibOpenJPEG version 0.97 to LibOpenJPEG version 1. Hence, the MJ2 codec will now take advantage of all the improvements and optimizations done on the LibOpenJPEG library.
2007-05-10 14:21:09 +00:00
Francois-Olivier Devaux
f3170bf64e
Possibility to choose to apply MCT (multiple component transform) enabled, and new decoding_limit: DECODE_ALL_BUT_PACKETS
2007-05-10 14:13:30 +00:00
Giuseppe Baruffa
7c9dc11e33
workarounds for rendering differently sized components
2007-04-27 17:20:26 +00:00
Mathieu Malaterre
848214e789
ENH: add basic instructions for cmake
2007-04-26 09:09:29 +00:00
Mathieu Malaterre
e5240301c7
ENH: add basic instructions for cmake
2007-04-26 09:08:10 +00:00
Francois-Olivier Devaux
2bd0f7b8c4
Modification of the openjpeg.h file to avoid and ABI break with v1.1, removed the dangerous #IFDEF JPWL and added tcp_mct in cparameters.
2007-04-25 17:04:21 +00:00
Giuseppe Baruffa
fbc9a5edcb
enable/disable decoding in OPJViewer
2007-04-22 22:41:01 +00:00
Parvatha Elangovan
110b54c7c6
Fixed Error in tiftoimage(). Modification in convert.c.
2007-04-12 10:01:48 +00:00
Parvatha Elangovan
dbd132dca8
Accepting "j2c" as format for Encoding and Decoding. Modification in image_to_j2k.c.
...
Modified imagetotif() to read images with signed data. Modification in convert.c.
2007-04-10 16:23:48 +00:00
Francois-Olivier Devaux
0930d9886b
fix.h, dwt.c and t1.c optimized. Thanks a lot to Dzonatas <dzonatas at dzonux.net> and Callum Lerwick <seg at haxxed.com> for these great patches !
2007-04-05 14:24:19 +00:00
Parvatha Elangovan
dd18811600
Digital cinema compliance for 4K chosen by "-cinema4K" option. Modification in image_to_j2k.c.
...
Bit rate limitation for each color component. Modification in image_to_j2k.c, t2.c.
Modified and tested Progression order change "-POC" option. Modification in image_to_j2k.c, j2k.c, pi.c.
Function j2k_check_poc_val() to check for possible loss of packets in case of wrong POC declaration. Modification in j2k.c.
Structure T2_MODE. This tells if the t2_encode_packets() is called during Threshold calculation or in Final pass. Modification in j2k.h, tcd.c
2007-04-04 13:40:32 +00:00
Francois-Olivier Devaux
24146a96cf
Included the license in a distinct file, which allows other projects using OpenJPEG to
...
include it into the built package in a legally unambiguous manner.
2007-04-04 06:19:26 +00:00
Giuseppe Baruffa
7dd3a5bf22
OPJViewer should now work under Linux, at least with not big j2k files. Tested under Suse 10.1 64 bit.
2007-03-30 09:27:08 +00:00
Parvatha Elangovan
9ba672366e
Enable accepting file names with `-´ symbol .Modification getopt.c
...
Rsiz profile name generation to be STD_RSIZ for profiles which are not DCI compliant.Modification in image_to_j2k.c
Renamed convert_progression_order to j2k_convert_progression_order. Modification j2k.c
Calculation of number of tile part in each tile in j2k_calculate_tp. Modification j2k.c
j2k_setup_encoder to set bit rate limitation for digital cinema compliance with quality option. Modification in j2k.c
Equation to check multiple tile precincts. Modification pi.c
array size generation of pi->include in pi_initialise_encode().Modification in pi.c
Modification in pi_create_encode for tile part generation.Modification in pi.c
In tcd_rateallocate a variable stable_threshold which holds the valid threshold value. This is used to avoid error in case of a wrong threshold value in the last iteration. Modification in tcd.c.
2007-03-29 14:15:14 +00:00
Giuseppe Baruffa
a1fe5809a4
Some coding style adaptations for compiling the OPJViewer GUI under Linux. It compiles, but does not yet display images.
2007-03-29 08:27:03 +00:00
Francois-Olivier Devaux
5a3c1ffe7d
Fixed an historical bug in t1.c that leaded to the inclusion of useless 0xFF in the codestream. Thanks to Sylvain, Pascal and Parvatha !
2007-03-28 08:44:21 +00:00
Giuseppe Baruffa
144e1ff4e6
Following to Hervé's suggestions, all the exit() calls, added by JPWL strict checking in t2.c and j2k.c, have been substituted with (object free'ing + opj_evt_message(EVT_ERROR) + return); added linking to TIFF library in the JPWL VC6 workspaces
2007-03-27 17:18:56 +00:00
Giuseppe Baruffa
3f36196dfd
Improved parsing in OPJViewer, as well some aesthetic modifications; support for image rendering with bit depths lower than 8 bits; can display an arbitrary frame of an MJ2 file (only in B/W, though); can reload a file; better image resizing capabilities
2007-03-27 12:48:17 +00:00
Antonin Descampe
f7c9b01800
Fixed Makefile.osx and changed Readme.osx accordingly
2007-03-23 14:08:15 +00:00
Parvatha Elangovan
6045158ce6
Fixed j2k_prog_order_list[]. Modifications in j2k.c.
...
Fixed t1_decode_cblks. Modifications in t1.c.
2007-03-21 13:01:15 +00:00
Parvatha Elangovan
694a173adb
Added feature for generation of tile parts. Modifications in image_to_j2k.c, openjpeg.c, j2k.c, pi.c
...
Added function j2k_write_tlm(),to generate TLM marker for a Digital cinema compliant codestream. Modifications in j2k.c.
2007-03-20 17:15:18 +00:00
Francois-Olivier Devaux
8bc6da2ffa
Fixed linux makefile, with help from David Fries and Guido
2007-03-14 07:35:54 +00:00
Parvatha Elangovan
78003a016a
Added option for Digital cinema profile compliant codestream. This can be chosen by "-cinema2K" or "-cinema4K" for a 2K and 4K compliance respectively. The feature for tileparts has not been implemented in this version. Modification in image_to_j2k.c
...
Added the Digital Cinema profiles (CINEMA2K and CINEMA4K) to the list of profiles recognized in the codestream SIZ marker segment. Modification in openjpeg.h,j2k.c
Added feature for constant quality within bitrate defined in Digital cinema standards. Modification in tcd.c
Modified the method of generation of buffer length. Modification in cio.c
2007-03-07 16:04:33 +00:00
Francois-Olivier Devaux
9e5d0b1a40
Modified codec projects (*.dsp) and makefile to include the tiff library (modified codec/image_to_j2k.dsp codec/j2k_to_image.dsp and codec/makefile)
2007-03-01 16:12:17 +00:00
Mathieu Malaterre
219dd65bef
COMP: Fix compilation of executable linking to TIFF lib.
2007-03-01 14:39:31 +00:00
Giuseppe Baruffa
ba423fe3d0
Zoom capability and decoder settings dialog in OPJViewer
2007-03-01 00:01:37 +00:00
Giuseppe Baruffa
e2a54d9ac6
Modified JPWL libopenjpeg library by directly embedding the JPWL functions
2007-02-28 23:43:37 +00:00
Antonin Descampe
44ab0ccf01
add an "ifdef WIN32" to "include malloc.h" to be compliant with non-WIN32 platforms.
2007-02-28 15:55:03 +00:00
Parvatha Elangovan
192e46c32f
Enabled compression of TIF image format to j2k by tifftoimage() and decompression of codestream to TIF image format using imagetotif(). Modifications in image_to_j2k.c, j2k_to_image.c, convert.c, convert.h
2007-02-28 15:31:56 +00:00
Antonin Descampe
e5c5d1064e
fixed a bug in context numerotation that prevented the RESET switch to work correctly : mqc_reset_enc in mqc.c
2007-02-28 14:27:20 +00:00
Francois-Olivier Devaux
2fb6da8d85
Corrected codec Makefile by adding the compilation of "compat/getopt.c"
2007-02-28 13:56:06 +00:00
Parvatha Elangovan
fd680a1cf0
Made get_file_format function more robust. Modifications in image_to_j2k.c, j2k_to_image.c, getopt.c, getopt.h
2007-02-27 14:19:09 +00:00
Parvatha Elangovan
313c772f4a
Added the dirent.h file used for opening and reading Directory holding image files. Used in image_to_j2k.c and j2k_to_image.c.
2007-02-27 08:54:56 +00:00
Parvatha Elangovan
0781b7d441
Option to read images from a Folder whose path is specified in the Input parameters by "-ImgDir" along with output decod format specified by "-OutFor" . Modifications in image_to_j2k.c, j2k_to_image.c, getopt.c, getopt.h
...
Enabling use of multi character input parameters in the codec. Modifications in image_to_j2k.c, j2k_to_image.c, getopt.c, getopt.h
2007-02-26 15:40:01 +00:00
Giuseppe Baruffa
e6ce7958f2
Added makefile for linux build of JPWL module; added newlines at the end of JPWL files
2007-02-23 18:24:49 +00:00
Francois-Olivier Devaux
d268ea7d6a
Changed version number from 1.1.0 to 1.1.1 in openjpeg.h
2007-02-23 10:48:11 +00:00
Giuseppe Baruffa
0eaafe93ac
Added Readme file for OPJViewer
2007-02-23 08:59:46 +00:00
Giuseppe Baruffa
8a75823eea
Fixed a copy-and-paste type assignment error (bool instead of int) in the JPWL section of decoder parameters structure in openjpeg.h; minor type-casting in jpwl_lib.c. As a result, now OPJViewer should run correctly when built against the most current SVN trunk of LibOpenJPEG.lib
2007-02-23 01:23:05 +00:00
Francois-Olivier Devaux
e841b13166
Added the OPJViewer Module (/OPJViewer), developed by Giuseppe Baruffa of the University of Perugia
2007-02-22 17:05:58 +00:00
Francois-Olivier Devaux
7cb2194c8e
Algorithmic optimizations in t1.c, thanks to Guido J. !
2007-02-21 07:57:27 +00:00
Francois-Olivier Devaux
eac141b69a
Added OPJ_LIMIT_DECODING enabling us to limit the decoding to main header
2007-02-19 09:59:29 +00:00
Francois-Olivier Devaux
d084ff59f2
David Fries suggestions. In image_to_j2k and j2k_to_image, strncpy() functions: instead of specifying the path size macro, let the compiler read the length out of the array entry.
2007-02-13 09:00:37 +00:00
Francois-Olivier Devaux
dcc6f679bc
Change file modified. -fPIC flag used for 64-bit compilation. Move operation (rather than copy) for the dist library creation, and -p flag added.
2007-02-13 08:49:00 +00:00
Francois-Olivier Devaux
3f5e8eb92b
Extra tokens at the end of #endif directive corrected in openjpeg.c, j2k.c and image_to_j2k.c -> no more warnings in linux compilation
2007-01-31 15:19:54 +00:00