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.)
Showing the changes to doc/APIchanges (1 of 4 files). Show all
Unified · Split
| @@ -15,6 +15,11 @@ libavutil: 2015-08-28 · 14 unmodified lines | ||
| 15 | 15 | |
| 16 | 16 | API changes, most recent first: |
| 17 | 17 | |
| 18 | +2017-03-xx - xxxxxxx - lavc 57.85.101 - avcodec.h | |
| 19 | + vdpau hardware accelerated decoding now supports the new hwaccel API, which | |
| 20 | + can create the decoder context and allocate hardware frame automatically. | |
| 21 | + See AVCodecContext.hw_device_ctx and AVCodecContext.hw_frames_ctx. | |
| 22 | + | |
| 18 | 23 | 2017-03-xx - xxxxxxx - lavc 57.85.100 - avcodec.h |
| 19 | 24 | Add AVCodecContext.hwaccel_flags field. This will control some hwaccels at |
| 20 | 25 | a later point. |