Update on this patchset with a lot of fixes that was discussed during the last weeks. The patches have been split more.
The public structures in libavutil are more documented and require less things set by the caller. The GUIDs declared in the template are defined in a separate ffmpeg_guid.c file so that they are not twice in the same binary. Steve Lhomme (6): libavutil: add support for AV_HWDEVICE_TYPE_D3D11VA ffmpeg: dxva2: factorize some code that can be common with d3d11va ffmpeg: dxva2: move the DXVA GUID definitions outside of the template ffmpeg_dxva2: remove unused initial values ffmpeg: add ffmpeg_d3d11va ffmpeg: dxva: use the typedefs more to make comparison between dxva2 and d3d11va Changelog | 1 + Makefile | 3 +- configure | 14 ++ doc/APIchanges | 3 + ffmpeg.h | 2 + ffmpeg_d3d11va.c | 213 +++++++++++++++++++ ffmpeg_dxva2.c | 306 ++++++--------------------- ffmpeg_dxva_template.c | 300 +++++++++++++++++++++++++++ ffmpeg_guid.c | 20 ++ ffmpeg_opt.c | 3 + libavutil/Makefile | 3 + libavutil/hwcontext.c | 3 + libavutil/hwcontext.h | 1 + libavutil/hwcontext_d3d11va.c | 461 +++++++++++++++++++++++++++++++++++++++++ libavutil/hwcontext_d3d11va.h | 70 +++++++ libavutil/hwcontext_internal.h | 1 + libavutil/version.h | 2 +- 17 files changed, 1157 insertions(+), 249 deletions(-) create mode 100644 ffmpeg_d3d11va.c create mode 100644 ffmpeg_dxva_template.c create mode 100644 ffmpeg_guid.c create mode 100644 libavutil/hwcontext_d3d11va.c create mode 100644 libavutil/hwcontext_d3d11va.h -- 2.10.2 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel