From 7f3dfd2010c6f92447e34ccbbb303b0fd18997ff Mon Sep 17 00:00:00 2001 From: Sebastien Zwickert Date: Sun, 12 Aug 2012 17:03:05 +0200 Subject: vda: support synchronous decoding. Note that the symbols used to run the hardware decoder in asynchronous mode has been marked as deprecated and will be dropped at a future version dump. Signed-off-by: Michael Niedermayer --- libavcodec/vda_internal.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libavcodec/vda_internal.h') diff --git a/libavcodec/vda_internal.h b/libavcodec/vda_internal.h index df7305bfe6..55ef6e95b5 100644 --- a/libavcodec/vda_internal.h +++ b/libavcodec/vda_internal.h @@ -31,11 +31,15 @@ * @{ */ +#if FF_API_VDA_ASYNC /** Send frame data to the hardware decoder. */ int ff_vda_decoder_decode(struct vda_context *vda_ctx, uint8_t *bitstream, int bitstream_size, int64_t frame_pts); +#endif + +int ff_vda_sync_decode(struct vda_context *vda_ctx); /* @} */ -- cgit v1.2.3