Function openjpeg_sys::opj_set_default_encoder_parameters

source ยท
pub unsafe extern "C" fn opj_set_default_encoder_parameters(
    parameters: *mut opj_cparameters_t,
)
Expand description

Set encoding parameters to default values, that means :

  • Lossless
  • 1 tile
  • Size of precinct : 2^15 x 2^15 (means 1 precinct)
  • Size of code-block : 64 x 64
  • Number of resolutions: 6
  • No SOP marker in the codestream
  • No EPH marker in the codestream
  • No sub-sampling in x or y direction
  • No mode switch activated
  • Progression order: LRCP
  • No index file
  • No ROI upshifted
  • No offset of the origin of the image
  • No offset of the origin of the tiles
  • Reversible DWT 5-3
@param parameters Compression parameters