Skip to main content

encode_precomputed_htj2k_53_with_accelerator

Function encode_precomputed_htj2k_53_with_accelerator 

Source
pub fn encode_precomputed_htj2k_53_with_accelerator(
    image: &PrecomputedHtj2k53Image,
    options: &EncodeOptions,
    accelerator: &mut impl J2kEncodeStageAccelerator,
) -> Result<Vec<u8>, &'static str>
Expand description

Encode precomputed reversible 5/3 wavelet coefficients into an HTJ2K codestream using optional block encode and packetization hooks.