Skip to main content

encode_prequantized_htj2k_97_with_accelerator

Function encode_prequantized_htj2k_97_with_accelerator 

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

Encode prequantized irreversible 9/7 code-block coefficients into an HTJ2K codestream using optional block encode and packetization hooks.