openjpeg/src/bin/jp2
Even Rouault 1de5fc6c51
opj_encoder_set_extra_options(): add a GUARD_BITS=value option
and add a -GuardBits option to opj_compress.

The recently-released SMPTE DCP Bv2.1 Application Profile (link below)
says that the number of guard bits in the QCD marker shall be 1 for 2K
content and 2 for 4K content. This change allows the number of guard bits
to be configured, so that users of openjpeg have the control they need to meet the specification.

https://ieeexplore.ieee.org/stamp/stamp.jsp?arnumber=9161348

This is an alternative implementation of https://github.com/uclouvain/openjpeg/pull/1388
that keeps ABI unchanged.
2022-01-23 17:54:44 +01:00
..
CMakeLists.txt Changed cmake version test to allow for cmake 2.8.11.x 2017-11-14 21:45:09 +11:00
convert.c API: deprecate 'bpp' member in favor of 'prec' 2021-10-21 14:13:58 +02:00
convert.h opj_compress: add a -TargetBitDepth switch for TIFF output (#1384) 2021-10-27 14:10:50 +02:00
convertbmp.c API: deprecate 'bpp' member in favor of 'prec' 2021-10-21 14:13:58 +02:00
convertpng.c Fix some typos (found by codespell) 2021-12-05 13:14:33 +01:00
converttif.c Remove duplicate assignments in function tiftoimage 2021-12-10 11:29:06 +01:00
index.c Reformat whole codebase with astyle.options (#128) 2017-05-09 20:46:20 +02:00
index.h Reformat: apply reformattin on .h files (#128) 2017-05-15 12:21:30 +02:00
opj_compress.c opj_encoder_set_extra_options(): add a GUARD_BITS=value option 2022-01-23 17:54:44 +01:00
opj_decompress.c Fix unsigned vs OPJ_INT32 mismatches (#1398) 2022-01-16 18:54:00 +01:00
opj_dump.c Fix unsigned vs OPJ_INT32 mismatches (#1398) 2022-01-16 18:54:00 +01:00
windirent.h Fix some typos (found by codespell) 2021-12-05 13:14:33 +01:00