summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/jp2.c
AgeCommit message (Collapse)Author
2016-01-25processed all c/h files through astyle with opj_astyle.cfgcodingstyleAntonin Descampe
2015-11-07Fix undefined size jp2 box handlingmayeut
Update #653
2015-10-29Fix typo in commentsStefan Weil
Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-10-06Added missing casts for return values of opj_malloc()/opj_calloc().Stephan Mühlstrasser
2015-09-29Fix typos in comments and stringStefan Weil
Most typos were found by codespell. Signed-off-by: Stefan Weil <sw@weilnetz.de>
2015-08-21Fix formattingmayeut
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-30Remove printf/fprintf to stdout/stderr throughout openjp2 libmayeut
Update uclouvain/openjpeg#246
2015-07-23Add some missing static keywordsmayeut
Update uclouvain/openjpeg#243
2015-07-12Add checks for odd looking cmap & for cmap outside jp2h boxmayeut
Update uclouvain/openjpeg#235 Update uclouvain/openjpeg#447
2015-01-20[trunk] checks for JP2 signature and file type boxes more carefullyAntonin Descampe
Update issue 430
2014-12-22[trunk] fixed compression check for 1 bit unsigned component (fixes issue 457)Matthieu Darbois
2014-11-24[trunk] removed warnings when building jp2.c (Update issue 442)Matthieu Darbois
2014-11-20[trunk] added check for pclr box validity (fixes issue 429)Matthieu Darbois
2014-11-18[trunk] remove warning during build (fixes issue 435)Matthieu Darbois
2014-11-17[trunk] fixed a bug preventing palette image with cdef to decode properly ↵Matthieu Darbois
using opj_get_decoded_tile (fixes issue 428)
2014-11-03[trunk] add a cdef box when alpha component is present (fixes issue 416)Antonin Descampe
2014-10-30[trunk] fixed a bug preventing palette image with cdef to decode properly ↵Antonin Descampe
(fixes issue 412)
2014-10-30[trunk] fixed a bug that was preventing image with per channel alpha to ↵Antonin Descampe
decode properly (fixes issue 414)
2014-10-21[trunk] verify channel definitions is complete when cdef is present (fixes ↵Antonin Descampe
issue 397)
2014-10-21[trunk] added check on JP2_IHDR box (fixes issue 364)Antonin Descampe
2014-10-06[trunk] fixed potential negative size params (fixes issue 390)Antonin Descampe
2014-10-06[trunk] added box length inconsistency checkAntonin Descampe
Update issue 364 issue364-38.patch applied. Thanks Matthieu.
2014-10-06[trunk] fixed PDF crash in Chrome (fixes issue 362)Antonin Descampe
2014-10-03[trunk] removed illegal character in commentAntonin Descampe
2014-09-19added memory allocation checks (fixes issue 355)Antonin Descampe
2014-09-16[trunk] improve memory management (fixes issue 359)Antonin Descampe
2014-04-03[trunk] updated copyright and added copyright notice required by ISO, in ↵Antonin Descampe
each file; updated AUTHORS, NEWS
2014-03-14[trunk] rework code from r2463. Really there has been some code duplication ↵Mathieu Malaterre
from r2413 Thanks to John Rogers (oracle.com) for report
2014-03-14[trunk] rework code from r2463. Really there has been some code duplication ↵Mathieu Malaterre
from r2413 Thanks to John Rogers (oracle.com) for report
2014-03-11[trunk] Fix remainings warnings on linux/32bits archMathieu Malaterre
2014-03-07[trunk] Another round of fixes for sign conversion warnings.Mathieu Malaterre
Update issue 256
2014-03-06[trunk] Remove some easy warnings about sign compare reported by gccMathieu Malaterre
2014-03-05[trunk] Handle cmap where direct use is specified (issue235_cmapsubbox.jp2)Mathieu Malaterre
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-03[trunk] Review warning about types conversion, and add cast when neededMathieu Malaterre
2014-03-03[trunk] Remove deprecated functions.Mathieu Malaterre
Update issue 268
2014-03-02[trunk] Remove simple warnings about comments, missing case in switch statementMathieu Malaterre
2014-02-27[trunk] Import patch from issue 218. No dataset to check, so blindly applied it.Mathieu Malaterre
Fixes issue 218
2014-02-26[trunk] Import patch from sumatrapdf team. This handle testcase ↵Mathieu Malaterre
1851.pdf.SIGSEGV.ce9.948 Update issue 225
2014-02-26[trunk] Import patch from sumatrapdf team. Start using new color space when ↵Mathieu Malaterre
found. Update issue 225
2014-02-26[trunk] Import patch from sumatrapdf team. This handle some Part-2 compliant ↵Mathieu Malaterre
file, by being more tolerant in COLR box. No testcase for now. Fixes issue 247
2014-02-26[trunk] Import patch from sumatrapdf team. This handle some testcase with no ↵Mathieu Malaterre
input dataset, but changes looks ok. Update issue 225
2014-02-26[trunk] Import patch from sumatrapdf team. Add a new function to check color ↵Mathieu Malaterre
box. Update issue 225
2014-02-26[trunk] Import patch from sumatrapdf team. This adds alpha handling. This ↵Mathieu Malaterre
patch changes ABI. Update issue 225
2014-02-25[trunk] import commit 83dad6a76536222a3a51146f942e733a2e90ec52 from ghostpdlMathieu Malaterre
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[trunk] Import commit f4139d702559649e577a5df9cfd64b0ca6107a7a from ghostpdlMathieu Malaterre
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.
2013-03-17[trunk] manage correctly the case where meth value is not correct (thanks ↵Mickael Savinaud
winfried)
2013-03-17[trunk] correct issue 188 (thanks winfried) and add test about it. Fixes ↵Mickael Savinaud
issue 188
2012-12-03[trunk] correct the encoding of colr box information (thanks Winfried) Mickael Savinaud