Function libdav1d_sys::dav1d_get_event_flags

source ยท
pub unsafe extern "C" fn dav1d_get_event_flags(
    c: *mut Dav1dContext,
    flags: *mut Dav1dEventFlags,
) -> c_int
Expand description

Fetch a combination of DAV1D_EVENT_FLAG_* event flags generated by the decoding process.

@param c Input decoder instance. @param flags Where to write the flags.

@return 0 on success, or < 0 (a negative DAV1D_ERR code) on error.

@note Calling this function will clear all the event flags currently stored in the decoder.