summaryrefslogtreecommitdiff
path: root/src/bin
AgeCommit message (Collapse)Author
2016-09-26Remove typos from comments and man pagesMathieu Malaterre
2016-09-22Fix PNM file reading (#847)Matthieu Darbois
Malformed PNM file could cause a crash in opj_compress. Checks were added to prevent this. Fixes #843 Updates #440
2016-09-20Merge pull request #834 from trylab/issue833Antonin Descampe
Fix issue 833.
2016-09-14Fix some warnings (#838)Matthieu Darbois
Fix warnings introduced by uclouvain/openjpeg#786
2016-09-13Fix issue 833.trylab
Add some overflow check operations.
2016-09-08Merge branch 'master' of https://github.com/uclouvain/openjpeg into ↵Even Rouault
tier1_optimizations_multithreading_2 Conflicts: src/lib/openjp2/t1.c
2016-07-14jpwl: Remove non-portable data type u_int16_t (fix issue #796) (#797)Stefan Weil
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-05-25opj_decompress: use clock_gettime() instead of getrusage() so as to get the ↵Even Rouault
time spent, and not to the total CPU time
2016-05-25opj_decompress: add a -threads <num_threads> optionEven Rouault
2016-05-08Fix Heap Buffer Overflow in function color_cmyk_to_rgbmayeut
Fix uclouvain/openjpeg#774
2016-05-02Use lowercase for cmake commands consistenlyJulien Malik
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-04-30Fix bad call to fclose with NULL pointermayeut
2016-04-30Fix warnings (#763)Matthieu Darbois
2016-04-30Fix Out-Of-Bounds Read in sycc42x_to_rgb function (#745)Matthieu Darbois
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-29Fix heap-buffer-overflow in color_esycc_to_rgb (#748)Matthieu Darbois
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-29cppcheck fix for openjp2 (#740)julienmalik
2016-04-28Fix implicit float-to-bool conversions (#752)julienmalik
2016-04-23Allow to write 3/5/7/9/11/13/15 bpp TIF filesmayeut
Update uclouvain/openjpeg#729
2016-04-23Allow to read 3/5/7/9/11/13/15 bpp TIF filesmayeut
2016-04-09Remove dead code in opj_dumpJulien Malik
2015-11-01opj_decompress: Update error messageStefan Weil
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-01Fix compiler warningsmayeut
2015-11-01convert: Fix compiler warningsStefan Weil
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-01convert: Remove unneeded type castsStefan Weil
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-10-18Fix format strings and unneeded assignmentStefan Weil
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-12Minor style fix to remove c++ commentsMathieu Malaterre
2015-10-07Fix warnings for C++Stefan Weil
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-09-29Fix up-scaling bit depthmayeut
Fixes #609
2015-09-29Fix typos in comments and stringStefan Weil
Most typos were found by codespell. Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-09-25Provide safer string copy than strncpymayeut
As per @boxerab suggestion in commit b9ca882749597e4943e609daba1d3c27694fe2ff
2015-09-25Fix resource leakmayeut
2015-09-25Fix resource leaks & unchecked resource allocationsmayeut
2015-09-24Fix some resource leaksmayeut
2015-09-23Use buffer on stack to read TGA headermayeut
Fixes a potential leak Fixes #601
2015-09-23Fix warning in rle4 decodingmayeut
2015-09-13Fix function namemayeut
2015-09-13Correct leak in color_cielab_to_rgbmayeut
2015-09-09Remove C++ commentmayeut
2015-09-07Correct mismatching deletemayeut
Fixes #575
2015-09-06fix resource leak in jpwlmayeut
Fixes #573
2015-08-23Fix some UBSan warningsmayeut
2015-08-21Add tests for CMYK/esYCC/CIELabmayeut
2015-08-21Fix formattingmayeut
2015-08-21TIFF can output CMYKmayeut
2015-08-21Merge pull request #559 from szukw000/cmyk-cielab-esyccMatthieu Darbois
Add support for CIELab, EYCC and CMYK
2015-07-30Defines three new functionsszukw000
Declares three new functions Calls the three new functions Collects data for CIELab, sets the color_space for EYCC and CMYK
2015-07-31Small correction + attempt to understand git-openjpeg workflowak-dxdy
2015-07-26Remove some warnings when buildingmayeut
Update #442
2015-07-26Remove some warnings when buildingmayeut
Update #442
2015-07-26Update convert for PNG outputmayeut
Update uclouvain/openjpeg#264