[PATCH 00/10] 360° API

Steve Lhomme robux4 at videolabs.io
Tue Sep 20 10:11:07 CEST 2016


Update of the previous first batch of patches.

* Renamed vlc_viewpoint to vlc_viewpoint_t
* the API angles are in radians, not degrees
* use more vlc_viewpoint_t when possible

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

 bin/vlc.c                            |   1 +
 bin/winvlc.c                         |   1 +
 include/vlc/libvlc_media_player.h    |  61 ++++++++++
 include/vlc_keys.h                   |   3 +
 include/vlc_vout.h                   |   9 ++
 include/vlc_vout_display.h           |   7 ++
 include/vlc_vout_wrapper.h           |   3 +
 lib/libvlc.sym                       |   3 +
 lib/media_player.c                   |   1 +
 lib/video.c                          | 108 +++++++++++++++++
 modules/control/Makefile.am          |   4 +-
 modules/control/hotkeys.c            |  56 ++++++++-
 modules/control/vrnav.c              | 229 +++++++++++++++++++++++++++++++++++
 modules/video_output/gl.c            |   6 +
 modules/video_output/ios2.m          |   7 ++
 modules/video_output/macosx.m        |   9 +-
 modules/video_output/opengl.c        |  44 ++++++-
 modules/video_output/opengl.h        |   2 +
 modules/video_output/win32/glwin32.c |  16 ++-
 modules/video_output/xcb/glx.c       |   7 ++
 src/config/keys.c                    |   2 +
 src/libvlc-module.c                  |  34 +++++-
 src/libvlccore.sym                   |   2 +
 src/video_output/control.h           |   2 +
 src/video_output/display.c           |  45 ++++++-
 src/video_output/video_output.c      |  27 +++++
 src/video_output/vout_intf.c         |  30 +++++
 test/libvlc/media_player.c           |  67 ++++++++++
 28 files changed, 773 insertions(+), 13 deletions(-)
 create mode 100644 modules/control/vrnav.c

-- 
2.8.2



More information about the vlc-devel mailing list