[vlc-devel] [PATCH 0/8 v6] libvlc rendering to Direct3D surfaces

Steve Lhomme robux4 at ycbcr.xyz
Fri May 10 11:31:49 CEST 2019


Changes since v4:
* allow the setup callback to return a different opaque pointer
* fix the libvlc API documentation
* allow the plane selection callback to be NULL

Steve Lhomme (8):
  libvlc: add rendering callbacks for D3D11 and D3D9
  direct3d11: use the libvlc rendering callbacks for the rendering
  direct3d9: use the libvlc rendering callbacks for the rendering
  vout: direct3d: remove the header to share common callbacks for
    rendering
  doc: add a sample app to demo D3D11 callbacks
  doc: add a sample app to demo D3D9 callbacks
  libvlc: add support for HDR10 metadata during the rendering start
  libvlc: use a callback to select the plane to render to

 doc/libvlc/d3d11_player.cpp             | 482 ++++++++++++++++++++++++
 doc/libvlc/d3d9_player.c                | 380 +++++++++++++++++++
 include/vlc/libvlc_media_player.h       | 235 ++++++++++++
 lib/libvlc.sym                          |   1 +
 lib/media_player.c                      |  64 ++++
 modules/video_output/win32/d3d11_quad.c |   9 +-
 modules/video_output/win32/d3d11_quad.h |   4 +-
 modules/video_output/win32/d3d_render.h |  59 ---
 modules/video_output/win32/direct3d11.c | 130 ++++---
 modules/video_output/win32/direct3d9.c  |  43 ++-
 10 files changed, 1285 insertions(+), 122 deletions(-)
 create mode 100644 doc/libvlc/d3d11_player.cpp
 create mode 100644 doc/libvlc/d3d9_player.c
 delete mode 100644 modules/video_output/win32/d3d_render.h

-- 
2.17.1



More information about the vlc-devel mailing list