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

Steve Lhomme robux4 at ycbcr.xyz
Mon May 6 15:01:29 CEST 2019


Changes since v2:
* use separate callbacks for each action, rather than one callback with
  different control values and void pointers.
* libvlc_video_set_rendering_callbacks is now called libvlc_video_surface_set_callbacks
* libvlc_video_set_rendering_size is now called libvlc_video_surface_set_rendering_size
* no more wrappers for VLC rendering callbacks in the display modules, it's 
  safer for the callback signature and uneeded as no wrapping should be done 
  there. If there's some wrapping needed it should be done in libvlc when the
  internal API evolves.

Steve Lhomme (8):
  vout display: add an API to handle surface rendering through a
    callback
  libvlc: add rendering callbacks for D3D11 and D3D9
  libvlc: handle more than 8 bits output in external D3D rendering
  libvlc: handle the input colorimetry on the surface callbacks
  libvlc: add support for HDR10 metadata during the rendering start
  libvlc: add an API entry to set the new video area size
  libvlc:vout: add a custom vout window module that can change the
    display size
  libvlc: use a callback to select the plane to render to

 include/vlc/libvlc_media_player.h  | 232 +++++++++++++++++++++++++++++
 include/vlc_vout_display.h         |  54 +++++++
 lib/libvlc.sym                     |   2 +
 lib/media_player.c                 | 111 ++++++++++++++
 modules/video_output/Makefile.am   |   2 +
 modules/video_output/host_window.c | 105 +++++++++++++
 6 files changed, 506 insertions(+)
 create mode 100644 modules/video_output/host_window.c

-- 
2.17.1



More information about the vlc-devel mailing list