summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/image.c
AgeCommit message (Collapse)Author
2021-10-21API: deprecate 'bpp' member in favor of 'prec'Even Rouault
in opj_image_comp and opj_image_comptparm structures. bpp was redundant with prec, and almost never set by the library, except by opj_image_create(). This change should hopefully not impact existing, working, users of the API, which should already have used prec to get things working. Fixes #1379
2018-02-14fix unchecked integer multiplication overflowsetharnold
Hello, this fixes an unchecked integer multiplication overflow. Thanks.
2017-09-19Replace C++ style comments by C onesEven Rouault
2017-09-08Use opj_image_data_free() where appropriate (adapted from ↵Even Rouault
https://github.com/uclouvain/openjpeg/pull/1015/commits/dab9db0723a5bb9f3d745f9dd7a0b8b3b18b8054, #1014)
2017-08-07Add opj_image_data_alloc() / opj_image_data_free()Even Rouault
As bin/common/color.c used to directly call malloc()/free(), we need to export functions dedicated to allocating/freeing image component data.
2017-08-07Fix crash on Windows due to b7594c0fcb9dd3aa6356d72c4a525d76168da689Even Rouault
b7594c0fcb9dd3aa6356d72c4a525d76168da689 may put opj_tcd_tilecomp_t->data allocated by opj_alloc_tile_component_data() as the image->comps[].data. As opj_alloc_tile_component_data() use opj_aligned_malloc() we must be sure to ue opj_alined_malloc()/_free() in all places where we alloc/free image->comps[].data. Note: this might have some compatibility impact in case user code does itself the allocation/free of image->comps[].data
2017-07-30Avoid heap buffer overflow in function pnmtoimage of convert.c, and unsigned ↵Even Rouault
integer overflow in opj_image_create() (CVE-2016-9118, #861)
2017-05-09Reformat whole codebase with astyle.options (#128)Even Rouault
2015-07-30Remove printf/fprintf to stdout/stderr throughout openjp2 libmayeut
Update uclouvain/openjpeg#246
2015-05-27[trunk] Fix overflow in opj_image_comp_header_update (fixes issue 495)Matthieu Darbois
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-07[trunk] Another round of fixes for sign conversion warnings.Mathieu Malaterre
Update issue 256
2013-09-26[trunk] Import patch from bug #241Mathieu Malaterre
2012-11-16[trunk] add opj_ prefix to some internal define and use the new opj type ↵Mickael Savinaud
instead of int and float in some files
2012-10-25[trunk] [trunk] remove old opj_cp and rename opj_cp_v2 to opj_cpMickael Savinaud
2012-10-05[trunk] rename int.h to opj_intmath.h and rename all its functions with opj_ ↵Mickael Savinaud
prefix
2012-09-28[trunk] Start FolderReorgProposal taskMathieu Malaterre
Update issue 177