[PATCH 0/8] VR/360° navigation API

Steve Lhomme robux4 at videolabs.io
Thu Sep 8 17:35:27 CEST 2016


An update on the patches with less typos.

The hotkeys to change the viewpoint are now Up/Down/Left/Right/Page Up/Down

There's a new control module that can change the viewpoint when clicking on
the mouse (tested on Windows). I suppose the mouse hook might work on mobile
OSes too.

glwin32 now supports changing the viewpoint like the gl plugin.


Steve Lhomme (8):
  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
  vout: an empty viewpoint means reset
  glwin32: handle VOUT_DISPLAY_CHANGE_VIEWPOINT events
  vrnav: add control to change the viewpoint in 360° videos with the
    mouse
  [RFC] core: use vrnav by default

 bin/vlc.c                            |   1 +
 bin/winvlc.c                         |   1 +
 include/vlc/libvlc_media_player.h    |  28 +++++
 include/vlc_keys.h                   |   3 +
 include/vlc_vout_display.h           |   4 +
 include/vlc_vout_wrapper.h           |   2 +
 lib/media_player.c                   |   3 +
 lib/video.c                          |  37 ++++++
 modules/control/Makefile.am          |   4 +-
 modules/control/hotkeys.c            |  44 ++++++-
 modules/control/vrnav.c              | 223 +++++++++++++++++++++++++++++++++++
 modules/video_output/gl.c            |   7 ++
 modules/video_output/opengl.c        |  19 +++
 modules/video_output/opengl.h        |   3 +
 modules/video_output/win32/glwin32.c |  17 ++-
 src/config/keys.c                    |   2 +
 src/libvlc-module.c                  |  34 +++++-
 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         |  51 ++++++++
 22 files changed, 543 insertions(+), 9 deletions(-)
 create mode 100644 modules/control/vrnav.c

-- 
2.8.2



More information about the vlc-devel mailing list