[RFC PATCH 0/4] VR/360° navigation API

Steve Lhomme robux4 at videolabs.io
Wed Sep 7 16:17:03 CEST 2016


The OpenGL vout can change the view direction in 360° videos but there is no
API yet to change that direction. These patches add the necessary API entries
to handle it both in VLC with hotkeys and via libvlc programmatically.

It's possible to change the yaw/pitch/roll individually but in the end all 3
values are sent to the vout at once.

Steve Lhomme (4):
  core: add viewpoint variables to change the yaw/pitch/roll view during
    playback
  hotkeys: new hotkeys to change the viewpoint in 360° videos
  libvlc: add the API needed to set/get the viewpoint in 360° videos
  opengl: handle the viewpoint changes when rendering

 include/vlc/libvlc_media_player.h | 28 ++++++++++++++++++++++
 include/vlc_keys.h                |  7 ++++++
 include/vlc_vout_display.h        |  4 ++++
 include/vlc_vout_wrapper.h        |  2 ++
 lib/media_player.c                |  3 +++
 lib/video.c                       | 37 +++++++++++++++++++++++++++++
 modules/control/hotkeys.c         | 37 +++++++++++++++++++++++++++++
 modules/video_output/gl.c         |  7 ++++++
 modules/video_output/opengl.c     | 19 +++++++++++++++
 modules/video_output/opengl.h     |  3 +++
 src/config/keys.c                 |  6 +++++
 src/libvlc-module.c               | 50 +++++++++++++++++++++++++++++++++++++++
 src/video_output/control.h        |  6 +++++
 src/video_output/display.c        | 40 ++++++++++++++++++++++++++++++-
 src/video_output/video_output.c   | 22 +++++++++++++++++
 src/video_output/vout_internal.h  |  1 +
 src/video_output/vout_intf.c      | 49 ++++++++++++++++++++++++++++++++++++++
 17 files changed, 320 insertions(+), 1 deletion(-)

-- 
2.8.2



More information about the vlc-devel mailing list