diff options
author | Sebastien Zwickert <dilaroga@gmail.com> | 2012-08-14 11:45:29 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-08-14 12:47:27 +0200 |
commit | 3c37970637c0e3f1576cae58feed05497e383fc4 (patch) | |
tree | 2c75c5b770d105d5f1f1e487292171b8924e2fcd /libavcodec/vda_internal.h | |
parent | cfc680ab3982f5c9e4240a9bb69859a49f420113 (diff) | |
download | ffmpeg-3c37970637c0e3f1576cae58feed05497e383fc4.tar.gz |
vda: support synchronous decoding
Note that the symbols used to run the hardware decoder in asynchronous mode
have been marked deprecated and will be dropped at a future version bump.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Diffstat (limited to 'libavcodec/vda_internal.h')
-rw-r--r-- | libavcodec/vda_internal.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libavcodec/vda_internal.h b/libavcodec/vda_internal.h index 364ebfb53e..f5d24c21d7 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); /* @} */ |