Function openjpeg_sys::opj_set_MCT

source ·
pub unsafe extern "C" fn opj_set_MCT(
    parameters: *mut opj_cparameters_t,
    pEncodingMatrix: *mut OPJ_FLOAT32,
    p_dc_shift: *mut OPJ_INT32,
    pNbComp: OPJ_UINT32,
) -> OPJ_BOOL
Expand description

Sets the MCT matrix to use.

  • parameters — the parameters to change.
  • pEncodingMatrix — the encoding matrix.
  • p_dc_shift — the dc shift coefficients to use.
  • pNbComp — the number of components of the image.

@return true if the parameters could be set.