Commit Graph

35 Commits

Author SHA1 Message Date
Alexandre Janniaux b9a270574a include: fix typos
Typos found and reworked from codespell.
2022-01-08 15:19:32 +00:00
Thomas Guillem b755c33174 vout: spu: move clock into channels
This pave the way to multiple subtitles: each registered spu channel has now
its own clock.

And fixes OSD subpictures date being messed up by the decoder clock.

Fixes #22273
2019-06-11 07:47:24 +02:00
Thomas Guillem 9d592a58e4 vout: spu: rework channel registration
Every registered channels need to be unregistered. The first 3 OSD channels
don't need to be unregistered since they are automatically registered.

sput_t now use a vector of struct spu_channel to keep its channels. This struct
will contain parameters specific to a channel like the clock/delay/rate.

The channel_id is now a ssize_t, -1 being invalid, 0, 1, 2 being the OSD
channels, and [3; SSIZE_MAX] being registered spu channels.

ES_OUT_VOUT_FLUSH_OVERLAY is renamed to ES_OUT_VOUT_DEL_OVERLAY since this
control is only used to delete an overlay.

Refs #22273
2019-06-11 07:47:24 +02:00
Rémi Denis-Courmont e3270f2ae4 objects: merge vlc_object_t and vlc_common_members
This should fix historical aliasing issues.
2019-04-14 22:24:33 +03:00
Thomas Guillem 81eaadbadd vout: rework spu_Render()
Add rate (unused for now) and specify that render_osd_date is actually
vlc_tick_now().
2019-03-11 10:18:37 +01:00
Steve Lhomme 5363279805 remove the $Id$ in the source code 2019-01-17 12:21:18 +01:00
Steve Lhomme ba2d739a19 video_output: allow the display to scale the SPU
Don't do it for text based subpictures so they are rendered at the proper
resolution.
2018-11-26 08:55:27 +01:00
Steve Lhomme ff56c92a5e rename mtime_t to vlc_tick_t
Keep a copy of vlc_tick_tfor backward compatibility.
2018-06-22 13:19:24 +02:00
Rémi Denis-Courmont c3dea95c4a Expand VLC_COMMON_MEMBERS
This is now a one-liner. Expansion helps readability/high-lighting.
2017-12-11 18:55:12 +02:00
Victorien Le Couviour--Tuffet bbbcbfc08c vout_subpictures: add sub filter/source proxy callbacks
This allows to trigger the sub filters/sources callbacks from the vout, just
like the video-filter proxy.
2017-07-01 18:24:18 +02:00
Rémi Denis-Courmont b83c41ccdd Do not include <vlc_spu.h> in <vlc_vout_osd.h> 2015-06-24 00:35:22 +03:00
Rémi Denis-Courmont aee51fec5a include: add/fix more Doxygen groups 2015-06-14 23:25:38 +03:00
Rémi Denis-Courmont c0fe1cb985 include: move spu under vout in Doxygen 2015-06-14 19:14:44 +03:00
Jean-Baptiste Kempf 36ab287e77 LGPL
Re-license almost all of libVLC and libVLCcore to LGPLv2.1+

This move was authorized by the developers, either:
 - by e-mail,
 - by vote at the VideoLAN Dev Days 2011,
 - on the license website,
 - in a contract, oral or written.
No objection was raised, so far.

The developers agreeing are:
  Justus Piater
  Alexis Ballier
  Alexander Bethke
  Mohammed Adnène Trojette
  Alex Converse
  Alexey Sokolov
  Alexis de Lattre
  Andre Pang
  Anthony Loiseau
  Cyril Deguet
  André Weber
  Boris Dorès
  Brieuc Jeunhomme
  Benjamin Drung
  Hugo Beauzée-Luyssen
  Benoit Steiner
  Benjamin Pracht
  Bernie Purcell
  Przemyslaw Fiala
  Arnaud de Bossoreille de Ribou
  Brad Smith
  Nick Briggs
  Christopher Rath
  Christophe Courtaut
  Christopher Mueller
  Clement Chesnin
  Andres Krapf
  Damien Fouilleul
  David Flynn
  Sebastien Zwickert
  Antoine Cellerier
  Jérôme Decoodt
  Jérome Decoodt
  Dylan Yudaken
  Eduard Babayan
  Eugenio Jarosiewicz
  Elliot Murphy
  Eric Petit
  Erwan Tulou
  Etienne Membrives
  Ludovic Fauvet
  Fabio Ritrovato
  Tobias Güntner
  Jakub Wieczorek
  Frédéric Crozat
  Francois Cartegnie
  Laurent Aimar
  Florian G. Pflug
  Felix Paul Kühne
  Frank Enderle
  Rafaël Carré
  Simon Latapie
  Gildas Bazin
  Geoffroy Couprie
  Julien / Gellule
  Gildas Bazin
  Arnaud Schauly
  Toralf Niebuhr
  Vicente Jimenez Aguilar
  Derk-Jan Hartman
  Henri Fallon
  Ilkka Ollakka
  Olivier Teulière
  Rémi Duraffort
  Jakob Leben
  Jean-Baptiste Kempf
  Jean-Paul Saman
  Jean-Philippe Grimaldi
  Jean-François Massol
  Gaël Hendryckx
  Jakob Leben
  Jean-Marc Dressler
  Jai Menon
  Johan Bilien
  Johann Ransay
  Joris van Rooij
  JP Dinger
  Jean-Philippe André
  Adrien Grand
  Juha Jeronen
  Juho Vähä-Herttua
  Kaarlo Raiha
  Kaarlo Raiha
  Kamil Baldyga
  Keary Griffin
  Ken Self
  KO Myung-Hun
  Pierre Ynard
  Filippo Carone
  Loïc Minier
  Luca Barbato
  Lucas C. Villa Real
  Lukas Durfina
  Adrien Maglo
  Marc Ariberti
  Mark Lee
  Mark Moriarty
  Martin Storsjö
  Christophe Massiot
  Michel Kaempf
  Marian Ďurkovič
  Mirsal Ennaime
  Carlo Calabrò
  Damien Lucas
  Naohiro Koriyama
  Basos G
  Pierre Baillet
  Vincent Penquerc'h
  Olivier Aubert
  Pankaj Yadav
  Paul Corke
  Pierre d'Herbemont
  Philippe Morin
  Antoine Lejeune
  Michael Ploujnikov
  Jean-Marc Dressler
  Michael Hanselmann
  Rafaël Carré
  Ramiro Polla
  Rémi Denis-Courmont
  Renaud Dartus
  Richard Shepherd
  Faustino Osuna
  Arnaud Vallat
  Rob Jonson
  Robert Jedrzejczyk
  Steve Lhomme
  Rocky Bernstein
  Romain Goyet
  Rov Juvano
  Sam Hocevar
  Martin T. H. Sandsmark
  Sebastian Birk
  Sébastien Escudier
  Vincent Seguin
  Fabio Ritrovato
  Sigmund Augdal Helberg
  Casian Andrei
  Srikanth Raju
  Hannes Domani
  Stéphane Borel
  Stephan Krempel
  Stephan Assmus
  Tony Castley
  Pavlov Konstantin
  Eric Petit
  Tanguy Krotoff
  Dennis van Amerongen
  Michel Lespinasse
  Can Wu
  Xavier Marchesini
  Sébastien Toque
  Christophe Mutricy
  Yoann Peronneau
  Yohann Martineau
  Yuval Tze
  Scott Caudle
  Clément Stenac

It is possible, that some minor piece of code was badly tracked, for
some reasons (SVN, mainly) or that some small developers did not answer.
However, as an "œuvre collective", defined as in "CPI 113-2 alinéa 3",
and seeing "Cour. Cass. 17 Mai 1978", and seeing that the editor and
the very vast majority of developers have agreed (> 99.99% of the code,
> 99% of developers), we are fine here.
2011-11-27 22:54:33 +01:00
Rémi Denis-Courmont 6f258887aa Replace VLC_EXPORT macro with a simple prefix, VLC_API
This should help Doxygen parse VLC headers, and generally makes headers
easier to read. LibVLC already uses a similar approach.
2011-05-07 18:43:51 +03:00
Laurent Aimar c26db46d1e No functionnal changes (vout).
K&R and removed variables prefixe.
2011-04-28 23:22:15 +02:00
Yuval Tze 6b546060eb New sub-filter support add new "sub filter" capability for processing subpictures add new "sub-filter" parameter / configuration string add new filter chain to the spu and apply it on every new subpicture
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2011-04-20 11:48:22 +03:00
Yuval Tze 9d86e0b645 Refactor: rename "sub-filter" to "sub-source" this includes capability, functions, constants, user messages and command line parameter.
Signed-off-by: Rémi Denis-Courmont <remi@remlab.net>
2011-04-20 11:48:21 +03:00
Laurent Aimar 623941a741 Extended spu_Render to accept a list of supported chroma for blending. 2011-01-09 22:44:12 +01:00
Laurent Aimar 96b231723d Renamed spu_DisplaySubpicture into spu_PutSubpicture. 2011-01-09 22:44:11 +01:00
Laurent Aimar 8e47c597af Reworked the way subtitles are rendered on video.
I have merged spu_RenderSubpictures and spu_SortSubpictures and removed the
blending from spu_RenderSubpictures. No functionnal changes except maybe
a bit for the transcode plugin.
2011-01-09 22:44:11 +01:00
Laurent Aimar 37a27cc644 Moved spu_Attach definition to the core. 2010-05-21 21:27:18 +02:00
Laurent Aimar 5a6ee7961b Moved "sub-filter" from spu_t to vout_thread_t. 2010-05-18 23:10:29 +02:00
Laurent Aimar 776b826403 Cleaned up a bit spu_t API. 2010-05-04 22:25:34 +02:00
Laurent Aimar 5ba9cf2726 Splitted out spu_t and related functions to its own header. 2010-05-04 22:25:33 +02:00
Clément Stenac d3fe7f2879 A bit of headers cleanup
* Headers in include must contain the structures and prototypes needed
  by the plugins and should be named vlc_*.
* Headers in include/vlc must contain the structures and prototypes
  needed by external libvlc clients

* Moved and renamed some things in headers. 
   - Removed vlc_cpu.h, vlc_error.h (merged in vlc_common)
   - Removed snapshot.h (merged in vlc_vout.h)
   - Removed vlc_spu.h (merged in vlc_osd.h)
   - Removed intf_eject.h and vlc_interaction.h (merged in vlc_interface)
   - Moved all internal headers to src
   - Merged vlc_video.h and video_output.h and move private things to src
   - Removed vlc/intf.h, vlc/aout.h, vlc/vout.h, vlc/decoder.h and vlc/input.h
     (meta headers for use in modules, and often implying too large 
     dependencies)
* Removed some useless dependencies
* Unexported a bunch of functions and structures used only in src/
  (--> Still some work here)
* Finally made input_thread_t and input_source_t (mostly) private. 
  Added input_GetItem to fetch the input_item of an input_thread
* Cleaned up deprecated entries in vlc_symbols.h and bumped up symbol 
  prefix

This commit has a 99% probability of breaking the build, 0.1% of killing
your cat and 0% of getting you hot chicks.
2006-11-26 14:20:34 +00:00
Antoine Cellerier 72d2a5b460 subpicture_t now has a b_pausable attribute. When set to VLC_TRUE (default value is VLC_FALSE), this will keep displaying the subpicture_t when the parent input is paused. This means that subtitles should now be paused when clicking on pause. (refs #29) 2006-09-02 17:03:36 +00:00
Antoine Cellerier 2cb472dba0 FSF address change. 2006-01-12 23:10:04 +00:00
Rémi Denis-Courmont fe087a3828 Make Zorglub less unhappy 2005-07-09 06:17:09 +00:00
Rémi Denis-Courmont 85b29bdc28 Copyright fixes
(da big courmischage)
2005-07-08 18:12:44 +00:00
Gildas Bazin d05dfdc4a9 * modules/access/dvdnav.c, src/video_output/vout_subpictures.c: Use the proper palette for DVD menus. 2005-06-05 17:03:02 +00:00
Christophe Massiot ae42e9e71b * src/video_output/vout_subpictures.c: New function spu_MakeRegion which
reuses a given picture_t without allocating a new one.
* modules/video_output/picture.c: New --picture-height and width options
  to do the scaling in the vout thread. Misc bug corrections.
* modules/video_filter/mosaic.c: Less overhead.
* modules/codec/ffmpeg/video_filter.c: Do the scaling before the conversion
  in case the original size is bigger than the destination.
2005-03-07 19:28:52 +00:00
Gildas Bazin aec298abc6 * ../include/vlc_spu.h: fixed typo that was triggering a segfault with --enable-memory-optimize. 2005-03-04 11:13:42 +00:00
Gildas Bazin c6b7377987 * src/video_output/vout_subpictures.c: support for subpictures filters.
* src/libvlc.h: new --sub-filter config option + added a new subpictures category that regroups all the subpictures options.
2004-09-17 09:11:50 +00:00
Gildas Bazin 28ed0fc961 * ALL: separation of the SPU engine from the VOUT.
* modules/stream_out/transcode.c: re-use the SPU engine.
* src/video_output/vout_subpictures.c: support for resizing subpictures.
2004-09-15 15:50:54 +00:00