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

Steve Lhomme robux4 at ycbcr.xyz
Thu May 9 16:27:59 CEST 2019

Changes since v4:
* the patchset now includes changes to D3D9 and D3D11 modules, before my work
  branch was too messy. Now the internal match the API
* The callback variables directly point to the libvlc prototypes, similar to 
  what is done with OpenGL callbacks.
* There's an API test code for D3D11 and D3D9 in doc/
* I left the surface resizing API for now as it needs work to handle multiple
  output at the same time, and also work with OpenGL

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
  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       | 220 +++++++++++
 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 | 132 ++++---
 modules/video_output/win32/direct3d9.c  |  43 ++-
 10 files changed, 1271 insertions(+), 123 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


More information about the vlc-devel mailing list