[vlc-devel] [PATCH 0/3] Add thumbnailing support to libvlc & libvlccore

Hugo Beauzée-Luyssen hugo at beauzee.fr
Fri Oct 5 16:37:53 CEST 2018


Hi,

This patchset is a first attempt at addressing
https://trac.videolan.org/vlc/ticket/17368
It simplifies the generation of a thumbnail, and improves the overall
performances of the said generation (≃2x faster for 4K content & ≃6x
faster for 720p compared to the libvlc_video_take_snapshot approach)

Opinions & comments are, as usual, more than welcome!

Regards,

Hugo Beauzée-Luyssen (3):
  lib: Add libvlc_picture API
  core: Add a thumbnailing API
  lib: Add thumbnailing support

 include/vlc/libvlc_events.h  |   9 ++
 include/vlc/libvlc_media.h   |  39 +++++++
 include/vlc/libvlc_picture.h | 127 +++++++++++++++++++++
 include/vlc/vlc.h            |   1 +
 include/vlc_input.h          |  11 ++
 include/vlc_thumbnailer.h    |  92 ++++++++++++++++
 lib/Makefile.am              |   5 +-
 lib/audio.c                  |   1 +
 lib/libvlc.sym               |  11 ++
 lib/libvlc_internal.h        |   1 +
 lib/media.c                  |  73 +++++++++++++
 lib/media_discoverer.c       |   1 +
 lib/media_list.c             |   1 +
 lib/media_list_player.c      |   1 +
 lib/media_player.c           |   1 +
 lib/picture.c                | 137 +++++++++++++++++++++++
 lib/picture_internal.h       |  32 ++++++
 lib/video.c                  |   1 +
 src/Makefile.am              |   2 +
 src/input/decoder.c          |  45 +++++++-
 src/input/es_out.c           |   5 +-
 src/input/input.c            |  19 +++-
 src/input/input_internal.h   |   1 +
 src/input/thumbnailer.c      | 206 +++++++++++++++++++++++++++++++++++
 src/input/var.c              |   2 +
 src/libvlc.c                 |   6 +
 src/libvlc.h                 |   1 +
 src/libvlccore.sym           |   5 +
 28 files changed, 827 insertions(+), 9 deletions(-)
 create mode 100644 include/vlc/libvlc_picture.h
 create mode 100644 include/vlc_thumbnailer.h
 create mode 100644 lib/picture.c
 create mode 100644 lib/picture_internal.h
 create mode 100644 src/input/thumbnailer.c

-- 
2.19.0



More information about the vlc-devel mailing list