pub unsafe extern "C" fn aom_codec_decode(
    ctx: *mut aom_codec_ctx_t,
    data: *const u8,
    data_sz: usize,
    user_priv: *mut c_void
) -> aom_codec_err_t
Expand description

Decode data

Processes a buffer of coded data. Encoded data \ref MUST be passed in DTS (decode time stamp) order. Frames produced will always be in PTS (presentation time stamp) order.

\param[in] ctx Pointer to this instance’s context \param[in] data Pointer to this block of new coded data. \param[in] data_sz Size of the coded data, in bytes. \param[in] user_priv Application specific data to associate with this frame.

\return Returns #AOM_CODEC_OK if the coded data was processed completely and future pictures can be decoded without error. Otherwise, see the descriptions of the other error codes in ::aom_codec_err_t for recoverability capabilities.