[][src]Function libaom_sys::aom_codec_get_preview_frame

pub unsafe extern "C" fn aom_codec_get_preview_frame(
    ctx: *mut aom_codec_ctx_t
) -> *const aom_image_t

Get Preview Frame

Returns an image that can be used as a preview. Shows the image as it would exist at the decompressor. The application \ref MUST NOT write into this image buffer.

\param[in] ctx Pointer to this instance's context

\return Returns a pointer to a preview image, or NULL if no image is available.