pub unsafe extern "C-unwind" fn JxlDecoderSkipCurrentFrame(
dec: *mut JxlDecoder,
) -> JxlDecoderStatusExpand description
Skips processing the current frame. Can be called after frame processing
already started, signaled by a JxlDecoderStatus::NeedImageOutBuffer event,
but before the corresponding JxlDecoderStatus::FullImage event. The next signaled
event will be another JxlDecoderStatus::Frame, or JxlDecoderStatus::Success if there
are no more frames. If pixel data is required from the already processed part
of the frame, JxlDecoderFlushImage must be called before this.
§Parameters
dec: decoder object
§Returns
JxlDecoderStatus::Successif there is a frame to skip, andJxlDecoderStatus::Errorif the function was not called during frame processing.