pub type aom_release_frame_buffer_cb_fn_t = Option<unsafe extern "C" fn(priv_: *mut c_void, fb: *mut aom_codec_frame_buffer_t) -> c_int>;
Expand description

release frame buffer callback prototype

This callback is invoked by the decoder when the frame buffer is not referenced by any other buffers. |fb| is guaranteed to not be NULL. On success the callback must return 0. Any failure the callback must return a value less than 0.

\param[in] priv Callback’s private data \param[in] fb Pointer to aom_codec_frame_buffer_t

Aliased Type§

enum aom_release_frame_buffer_cb_fn_t {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut aom_codec_frame_buffer) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: *mut aom_codec_frame_buffer) -> i32)

Some value of type T.