diff options
author | wm4 <nfxjfg@googlemail.com> | 2017-03-04 23:57:33 +0000 |
---|---|---|
committer | wm4 <nfxjfg@googlemail.com> | 2017-03-23 09:36:42 +0100 |
commit | 7e4ba776a2240d40124d5540ea6b2118fa2fe26a (patch) | |
tree | f41708a36f6a571352ed2d131993f1bc97420fac /doc/APIchanges | |
parent | 156bd8278f4098426cffaa68efb161907e5c1869 (diff) | |
download | ffmpeg-7e4ba776a2240d40124d5540ea6b2118fa2fe26a.tar.gz |
lavc: vdpau: Add support for new hw_frames_ctx and hw_device_ctx API
This supports retrieving the device from a provided hw_frames_ctx, and
automatically creating a hw_frames_ctx if hw_device_ctx is set.
The old API is not deprecated yet. The user can still use
av_vdpau_bind_context() (with or without setting hw_frames_ctx), or use
the API before that by allocating and setting hwaccel_context manually.
Cherry-picked from Libav commit 1a7ddba5.
(Adds missing APIchanges entry to the Libav version.)
Reviewed-by: Mark Thompson <sw@jkqxz.net>
Diffstat (limited to 'doc/APIchanges')
-rw-r--r-- | doc/APIchanges | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/APIchanges b/doc/APIchanges index a2dc60167d..6aaa9adceb 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -15,6 +15,11 @@ libavutil: 2015-08-28 API changes, most recent first: +2017-03-xx - xxxxxxx - lavc 57.85.101 - avcodec.h + vdpau hardware accelerated decoding now supports the new hwaccel API, which + can create the decoder context and allocate hardware frame automatically. + See AVCodecContext.hw_device_ctx and AVCodecContext.hw_frames_ctx. + 2017-03-xx - xxxxxxx - lavc 57.85.100 - avcodec.h Add AVCodecContext.hwaccel_flags field. This will control some hwaccels at a later point. |