[][src]Function openjpeg2_sys::opj_set_MCT

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

Sets the MCT matrix to use.

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

@return true if the parameters could be set.