pub unsafe extern "C" fn charls_jpegls_encoder_set_preset_coding_parameters(
    encoder: *mut charls_jpegls_encoder,
    preset_coding_parameters: *const charls_jpegls_pc_parameters,
) -> charls_jpegls_errc
Expand description
Configures the preset coding parameters the encoder should use. If not set the encoder will use the default preset coding parameters as defined by the JPEG-LS standard. Only when the coding parameters are different than the default parameters or when `include_pc_parameters_jai` is set, they will be written to the JPEG-LS stream during the encode phase. Reference to the encoder instance. Reference to the preset coding parameters. The result of the operation: success or a failure code.