This also adds support to avconv (which is trivial due to the new hwaccel API being generic enough). The new decoder setup code in dxva2.c is significantly based on work by Steve Lhomme <robux4@gmail.com>, but with heavy changes/rewrites. Merges Libav commit f9e7a2f95a7194a8736cc1416a03a1a0155a3e9f. Also adds untested VP9 support. The check for DXVA2 COBJs is removed. Just update your MinGW to something newer than a 5 year old release.
Showing the changes to doc/APIchanges (1 of 22 files). Show all
Unified · Split
| @@ -15,6 +15,12 @@ libavutil: 2015-08-28 · 14 unmodified lines | |||
| 15 | 15 | ||
| 16 | API changes, most recent first: | 16 | API changes, most recent first: |
| 17 | 17 | ||
| 18 | 2017-xx-xx - xxxxxxx - lavc 57.100.100 - avcodec.h | ||
| 19 | DXVA2 and D3D11 hardware accelerated decoding now supports the new hwaccel API, | ||
| 20 | which can create the decoder context and allocate hardware frame automatically. | ||
| 21 | See AVCodecContext.hw_device_ctx and AVCodecContext.hw_frames_ctx. For D3D11, | ||
| 22 | the new AV_PIX_FMT_D3D11 pixfmt must be used with the new API. | ||
| 23 | |||
| 18 | 2017-xx-xx - xxxxxxx - lavu 56.67.100 - hwcontext.h | 24 | 2017-xx-xx - xxxxxxx - lavu 56.67.100 - hwcontext.h |
| 19 | Add AV_HWDEVICE_TYPE_D3D11VA and AV_PIX_FMT_D3D11. | 25 | Add AV_HWDEVICE_TYPE_D3D11VA and AV_PIX_FMT_D3D11. |
| 20 | 26 | ||