pub unsafe extern "C-unwind" fn JxlEncoderFlushInput(
enc: *mut JxlEncoder,
) -> JxlEncoderStatusExpand description
Flushes any buffered input in the encoder, ensuring that all available input data has been processed and written to the output.
This function can only be used after JxlEncoderSetOutputProcessor.
Before making the last call to JxlEncoderFlushInput, users should call
JxlEncoderCloseInput to signal the end of input data.
This should not be used when using JxlEncoderProcessOutput.
§Parameters
enc: Encoder object.
§Returns
JxlEncoderStatus::Successon success.JxlEncoderStatus::Erroron error.