Describes the decoder algorithm interface to applications. More...

Classes

struct  vpx_codec_stream_info
 Stream properties. More...
 
struct  vpx_codec_dec_cfg
 Initialization Configurations. More...
 

Typedefs

typedef struct vpx_codec_stream_info vpx_codec_stream_info_t
 Stream properties. More...
 
typedef struct vpx_codec_dec_cfg vpx_codec_dec_cfg_t
 Initialization Configurations. More...
 
typedef void(* vpx_codec_put_frame_cb_fn_t) (void *user_priv, const vpx_image_t *img)
 put frame callback prototype More...
 
typedef void(* vpx_codec_put_slice_cb_fn_t) (void *user_priv, const vpx_image_t *img, const vpx_image_rect_t *valid, const vpx_image_rect_t *update)
 put slice callback prototype More...
 

Functions

vpx_codec_err_t vpx_codec_dec_init_ver (vpx_codec_ctx_t *ctx, vpx_codec_iface_t *iface, const vpx_codec_dec_cfg_t *cfg, vpx_codec_flags_t flags, int ver)
 Initialize a decoder instance. More...
 
vpx_codec_err_t vpx_codec_peek_stream_info (vpx_codec_iface_t *iface, const uint8_t *data, unsigned int data_sz, vpx_codec_stream_info_t *si)
 Parse stream info from a buffer. More...
 
vpx_codec_err_t vpx_codec_get_stream_info (vpx_codec_ctx_t *ctx, vpx_codec_stream_info_t *si)
 Return information about the current stream. More...
 
vpx_codec_err_t vpx_codec_decode (vpx_codec_ctx_t *ctx, const uint8_t *data, unsigned int data_sz, void *user_priv, long deadline)
 Decode data. More...
 
vpx_image_tvpx_codec_get_frame (vpx_codec_ctx_t *ctx, vpx_codec_iter_t *iter)
 Decoded frames iterator. More...
 
vpx_codec_err_t vpx_codec_register_put_frame_cb (vpx_codec_ctx_t *ctx, vpx_codec_put_frame_cb_fn_t cb, void *user_priv)
 Register for notification of frame completion. More...
 
vpx_codec_err_t vpx_codec_register_put_slice_cb (vpx_codec_ctx_t *ctx, vpx_codec_put_slice_cb_fn_t cb, void *user_priv)
 Register for notification of slice completion. More...
 
vpx_codec_err_t vpx_codec_set_frame_buffer_functions (vpx_codec_ctx_t *ctx, vpx_get_frame_buffer_cb_fn_t cb_get, vpx_release_frame_buffer_cb_fn_t cb_release, void *cb_priv)
 Pass in external frame buffers for the decoder to use. More...
 

Detailed Description

Describes the decoder algorithm interface to applications.

This file describes the interface between an application and a video decoder algorithm.