Function libdav1d_sys::dav1d_get_frame_delay
source ยท pub unsafe extern "C" fn dav1d_get_frame_delay(
s: *const Dav1dSettings,
) -> c_int
Expand description
Get the decoder delay, which is the number of internally buffered frames, not including reference frames. This value is guaranteed to be >= 1 and <= max_frame_delay.
@param s Input settings context.
@return Decoder frame delay on success, or < 0 (a negative DAV1D_ERR code) on error.
@note The returned delay is valid only for a Dav1dContext initialized with the provided Dav1dSettings.