| Index: include/vpx/vpx_decoder.h
|
| ===================================================================
|
| --- include/vpx/vpx_decoder.h (revision 96967)
|
| +++ include/vpx/vpx_decoder.h (working copy)
|
| @@ -53,6 +53,10 @@
|
| #define VPX_CODEC_CAP_PUT_SLICE 0x10000 /**< Will issue put_slice callbacks */
|
| #define VPX_CODEC_CAP_PUT_FRAME 0x20000 /**< Will issue put_frame callbacks */
|
| #define VPX_CODEC_CAP_POSTPROC 0x40000 /**< Can postprocess decoded frame */
|
| +#define VPX_CODEC_CAP_ERROR_CONCEALMENT 0x80000 /**< Can conceal errors due to
|
| + packet loss */
|
| +#define VPX_CODEC_CAP_INPUT_PARTITION 0x100000 /**< Can receive encoded frames
|
| + one partition at a time */
|
|
|
| /*! \brief Initialization-time Feature Enabling
|
| *
|
| @@ -62,6 +66,11 @@
|
| * The available flags are specified by VPX_CODEC_USE_* defines.
|
| */
|
| #define VPX_CODEC_USE_POSTPROC 0x10000 /**< Postprocess decoded frame */
|
| +#define VPX_CODEC_USE_ERROR_CONCEALMENT 0x20000 /**< Conceal errors in decoded
|
| + frames */
|
| +#define VPX_CODEC_USE_INPUT_PARTITION 0x40000 /**< The input frame should be
|
| + passed to the decoder one
|
| + partition at a time */
|
|
|
| /*!\brief Stream properties
|
| *
|
| @@ -180,6 +189,11 @@
|
| * generated, as appropriate. Encoded data \ref MUST be passed in DTS (decode
|
| * time stamp) order. Frames produced will always be in PTS (presentation
|
| * time stamp) order.
|
| + * If the decoder is configured with VPX_CODEC_USE_INPUT_PARTITION enabled,
|
| + * data and data_sz must contain at most one encoded partition. When no more
|
| + * data is available, this function should be called with NULL as data and 0
|
| + * as data_sz. The memory passed to this function must be available until
|
| + * the frame has been decoded.
|
| *
|
| * \param[in] ctx Pointer to this instance's context
|
| * \param[in] data Pointer to this block of new coded data. If
|
|
|