| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2016-01-25 | processed all c/h files through astyle with opj_astyle.cfgcodingstyle | Antonin Descampe | |
| 2016-01-25 | fixed tile numbering | Antonin Descampe | |
| Fixes #245 | |||
| 2016-01-23 | Merge pull request #648 from stweil/alloc | Antonin Descampe | |
| Fix support of posix_memalloc for Linux | |||
| 2016-01-11 | Merge pull request #551 from mayeut/coc-qcc | Matthieu Darbois | |
| Add COC/QCC in main header when needed | |||
| 2016-01-09 | Add comment explaining bj is not use when l_data_size == 0 | Even Rouault | |
| 2016-01-08 | [git/2.1 regression] Fix opj_write_tile() failure when numresolutions=1 | Even Rouault | |
| 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-06 | Fix fatal crash on 64 bit Linux | Stefan Weil | |
| 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 | Fix whitespace issues in opj_malloc.c | Stefan Weil | |
| Some lines ended with spaces. Remove them. Signed-off-by: Stefan Weil <sw@weilnetz.de> | |||
| 2016-01-06 | Fix support of posix_memalign for Linux | Stefan Weil | |
| 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 | Fix duplicate article in comments | Stefan Weil | |
| Signed-off-by: Stefan Weil <sw@weilnetz.de> | |||
| 2015-12-31 | Fix grammar in comment | Stefan Weil | |
| Signed-off-by: Stefan Weil <sw@weilnetz.de> | |||
| 2015-11-27 | Fix typos | Jakub Wilk | |
| 2015-11-07 | Fix undefined size jp2 box handling | mayeut | |
| Update #653 | |||
| 2015-11-01 | Fin compiler warnings | mayeut | |
| 2015-10-29 | Fix typo in comments | Stefan Weil | |
| Signed-off-by: Stefan Weil <sw@weilnetz.de> | |||
| 2015-10-21 | Merge branch 'master' into coc-qcc | mayeut | |
| 2015-10-21 | Avoid pointer arithmetic with (void *) pointers. | Stephan Mühlstrasser | |
| 2015-10-21 | Generic aligned malloc implementation update. | mayeut | |
| Update #642 | |||
| 2015-10-20 | Generic aligned malloc implementation. | Stephan Mühlstrasser | |
| Used for platforms where none of posix_memalign(), memalign() and _aligned_malloc() is available. | |||
| 2015-10-19 | Fix HP compiler warning about redeclaration of function (#640) | Stephan Mühlstrasser | |
| 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-18 | Merge branch 'master' into coc-qcc | mayeut | |
| 2015-10-18 | Merge pull request #636 from uclouvain/opj_malloc-625 | Matthieu Darbois | |
| Update allocation functions Fix #625 Fix #624 Fix #635 | |||
| 2015-10-18 | Cleanup includes | mayeut | |
| 2015-10-18 | Fix _aligned_malloc usage | mayeut | |
| 2015-10-17 | Fix inconsistent behavior of malloc(0) | mayeut | |
| Update #635 Update #625 | |||
| 2015-10-17 | Add missing checks. Fix crash on failed allocation. | mayeut | |
| 2015-10-17 | Fixed crash on encoding | mayeut | |
| Update #624 Update #625 | |||
| 2015-10-15 | Fix OpenJPEG GitHub issue #633. | Stephan Mühlstrasser | |
| "opj_includes.h" must be included before system headers, otherwise inconsistent definitions of configuration macros lead to build failures on AIX. | |||
| 2015-10-13 | Merge branch 'master' into coc-qcc | mayeut | |
| 2015-10-13 | Remove the explicit restrict keyword | Mathieu Malaterre | |
| It would trigger a compiler error on xlc compiler. Fixes #620 | |||
| 2015-10-13 | I do not recall exactly... I would say that the correct version should be | Giuseppe Baruffa | |
| 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-12 | Remove a possible uninitialized variable | Mathieu Malaterre | |
| Fixes #629 | |||
| 2015-10-12 | minor tweaks to the code | Mathieu Malaterre | |
| 2015-10-10 | Fix an issue with parenthesis | Mathieu Malaterre | |
| 2015-10-10 | Add paranoid sentinels | Mathieu Malaterre | |
| 2015-10-10 | implement a portable aligned realloc | Mathieu Malaterre | |
| 2015-10-10 | do not use aligned_alloc since it requires c11 | Mathieu Malaterre | |
| 2015-10-09 | cleanup header file and move to implementation | Mathieu Malaterre | |
| 2015-10-09 | Revert "Make sure to allocate on 16bits alignement. Fix issue #624" | mayeut | |
| This reverts commit 553714a87a92930dd69f5762e0615c12dfcbd873. | |||
| 2015-10-09 | Make sure to allocate on 16bits alignement. Fix issue #624 | Mathieu Malaterre | |
| 2015-10-08 | Merge branch 'master' into coc-qcc | mayeut | |
| 2015-10-07 | Fixed problem that C++ compilation failed because of enum variable. | Stephan Mühlstrasser | |
| Replaced usage of an enum typedef for a variable that is used for bit flags with OPJ_UINT32 type. | |||
| 2015-10-06 | Merge branch 'master' into coc-qcc | mayeut | |
| 2015-10-06 | Added missing casts for return values of opj_malloc()/opj_calloc(). | Stephan Mühlstrasser | |
| 2015-10-02 | Add check for seek support before trying TPsot==TNsot workaround | mayeut | |
| 2015-09-29 | Fix typo in variable name | Stefan Weil | |
| This makes checks with codespell easier. Signed-off-by: Stefan Weil <sw@weilnetz.de> | |||
| 2015-09-29 | Fix typos in comments and string | Stefan Weil | |
| Most typos were found by codespell. Signed-off-by: Stefan Weil <sw@weilnetz.de> | |||
| 2015-09-17 | Fix resource leak in opj_j2k_create_cstr_index | mayeut | |
| Fixes #599 | |||
| 2015-09-17 | Fix resource leak in opj_j2k_encode | mayeut | |
| Fixes #598 | |||
| 2015-09-17 | fix resource leak in opj_j2k_decode_one_tile | mayeut | |
| Fixes #597 | |||
