JxlDecoderSkipCurrentFrame

Function JxlDecoderSkipCurrentFrame 

Source
pub unsafe extern "C-unwind" fn JxlDecoderSkipCurrentFrame(
    dec: *mut JxlDecoder,
) -> JxlDecoderStatus
Expand 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