pub unsafe extern "C" fn aom_codec_get_frame(
    ctx: *mut aom_codec_ctx_t,
    iter: *mut aom_codec_iter_t
) -> *mut aom_image_t
Expand description

Decoded frames iterator

Iterates over a list of the frames available for display. The iterator storage should be initialized to NULL to start the iteration. Iteration is complete when this function returns NULL.

The list of available frames becomes valid upon completion of the aom_codec_decode call, and remains valid until the next call to aom_codec_decode.

\param[in] ctx Pointer to this instance’s context \param[in,out] iter Iterator storage, initialized to NULL

\return Returns a pointer to an image, if one is ready for display. Frames produced will always be in PTS (presentation time stamp) order.