Commit Graph

21 Commits

Author SHA1 Message Date
Even Rouault 0b5d62684f
API: deprecate 'bpp' member in favor of 'prec'
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
2021-10-21 14:13:58 +02:00
Even Rouault 3835f37084
tests/: reformat a few files to be modified 2021-10-21 13:12:33 +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
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
Mathieu Malaterre 7e64eb5414 [trunk] Remove some easy warnings about sign compare reported by gcc 2014-03-06 15:00:41 +00:00
Mathieu Malaterre b330c10492 [trunk] remove some simple warnings about unused params 2014-03-03 11:40:59 +00:00
Mathieu Malaterre a7cc5b6a5d [trunk] simplify code using for loop 2014-02-27 08:38:55 +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
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 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
Mathieu Malaterre 650c587875 [trunk] Fix compilation issue where size_t would be undefined 2012-11-28 10:54:33 +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 e212154d8d [trunk]extend last commits to apps 2012-11-15 13:38:35 +00:00
Mickael Savinaud 7bf09734d7 [trunk] remove old structure from testempty 2012-10-30 08:12:32 +00:00
Mickael Savinaud 37ff9b029c [trunk] remove warnings 2012-10-05 08:18:55 +00:00
Mathieu Malaterre fe6d9ed9ba [trunk] import unit testing from 1.5.x branch 2012-10-01 12:26:27 +00:00