pub unsafe extern "C-unwind" fn JxlEncoderCloseInput(
enc: *mut JxlEncoder,
)Expand description
Closes any input to the encoder, equivalent to calling JxlEncoderCloseFrames
as well as calling JxlEncoderCloseBoxes if needed. No further input of any kind
may be given to the encoder, but further JxlEncoderProcessOutput calls should be
done to create the final output.
The requirements of both JxlEncoderCloseFrames and JxlEncoderCloseBoxes apply
to this function. Either this function or the other two must be called after the final
frame and/or box, and the next JxlEncoderProcessOutput call, or the codestream won’t
be encoded correctly.
§Parameters
enc: encoder object.