2000-02-13 05:31:35 +01:00
|
|
|
/*****************************************************************************
|
2011-12-14 00:29:36 +01:00
|
|
|
* vlc_vout.h: common video definitions
|
2000-02-13 05:31:35 +01:00
|
|
|
*****************************************************************************
|
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 21:44:15 +01:00
|
|
|
* Copyright (C) 1999 - 2008 VLC authors and VideoLAN
|
2000-03-03 08:03:34 +01:00
|
|
|
*
|
2000-08-24 00:15:28 +02:00
|
|
|
* Authors: Vincent Seguin <seguin@via.ecp.fr>
|
2006-11-26 15:20:34 +01:00
|
|
|
* Samuel Hocevar <sam@via.ecp.fr>
|
|
|
|
* Olivier Aubert <oaubert 47 videolan d07 org>
|
2000-03-03 08:03:34 +01:00
|
|
|
*
|
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 21:44:15 +01:00
|
|
|
* This program is free software; you can redistribute it and/or modify it
|
|
|
|
* under the terms of the GNU Lesser General Public License as published by
|
|
|
|
* the Free Software Foundation; either version 2.1 of the License, or
|
2000-03-03 08:03:34 +01:00
|
|
|
* (at your option) any later version.
|
2004-01-25 19:17:08 +01:00
|
|
|
*
|
2000-03-03 08:03:34 +01:00
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
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 21:44:15 +01:00
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Lesser General Public License for more details.
|
2000-03-03 08:03:34 +01:00
|
|
|
*
|
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 21:44:15 +01:00
|
|
|
* You should have received a copy of the GNU Lesser General Public License
|
|
|
|
* along with this program; if not, write to the Free Software Foundation,
|
|
|
|
* Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
|
2000-03-03 08:03:34 +01:00
|
|
|
*****************************************************************************/
|
2006-12-03 14:48:21 +01:00
|
|
|
|
2008-08-11 18:13:10 +02:00
|
|
|
#ifndef VLC_VOUT_H_
|
|
|
|
#define VLC_VOUT_H_ 1
|
2003-10-08 23:01:07 +02:00
|
|
|
|
2015-06-24 19:13:40 +02:00
|
|
|
#include <vlc_es.h>
|
2009-05-16 19:23:34 +02:00
|
|
|
#include <vlc_picture.h>
|
|
|
|
#include <vlc_subpicture.h>
|
2009-03-07 22:56:09 +01:00
|
|
|
|
2005-08-27 18:40:23 +02:00
|
|
|
/**
|
2015-06-14 22:25:38 +02:00
|
|
|
* \defgroup output Output
|
2018-02-11 20:55:42 +01:00
|
|
|
* \ingroup vlc
|
2015-06-14 18:00:16 +02:00
|
|
|
* \defgroup video_output Video output
|
2015-06-14 22:25:38 +02:00
|
|
|
* \ingroup output
|
2015-06-14 18:00:16 +02:00
|
|
|
* Video rendering, output and window management
|
|
|
|
*
|
2006-11-26 15:20:34 +01:00
|
|
|
* This module describes the programming interface for video output threads.
|
|
|
|
* It includes functions allowing to open a new thread, send pictures to a
|
|
|
|
* thread, and destroy a previously opened video output thread.
|
|
|
|
* @{
|
2015-06-14 18:00:16 +02:00
|
|
|
* \file
|
|
|
|
* Video output thread interface
|
2005-08-27 18:40:23 +02:00
|
|
|
*/
|
|
|
|
|
2008-09-28 10:21:00 +02:00
|
|
|
/**
|
2011-06-11 21:34:23 +02:00
|
|
|
* Video output thread private structure
|
2008-09-28 10:21:00 +02:00
|
|
|
*/
|
|
|
|
typedef struct vout_thread_sys_t vout_thread_sys_t;
|
|
|
|
|
2005-08-27 18:40:23 +02:00
|
|
|
/**
|
2006-11-26 15:20:34 +01:00
|
|
|
* Video output thread descriptor
|
2005-08-27 18:40:23 +02:00
|
|
|
*
|
2008-05-29 18:34:36 +02:00
|
|
|
* Any independent video output device, such as an X11 window or a GGI device,
|
2006-11-26 15:20:34 +01:00
|
|
|
* is represented by a video output thread, and described using the following
|
|
|
|
* structure.
|
2005-08-27 18:40:23 +02:00
|
|
|
*/
|
2010-05-21 20:27:25 +02:00
|
|
|
struct vout_thread_t {
|
2019-04-14 21:09:02 +02:00
|
|
|
struct vlc_object_t obj;
|
2005-08-27 18:40:23 +02:00
|
|
|
|
2008-09-28 10:21:00 +02:00
|
|
|
/* Private vout_thread data */
|
|
|
|
vout_thread_sys_t *p;
|
2006-11-26 15:20:34 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
/* Alignment flags */
|
|
|
|
#define VOUT_ALIGN_LEFT 0x0001
|
|
|
|
#define VOUT_ALIGN_RIGHT 0x0002
|
|
|
|
#define VOUT_ALIGN_HMASK 0x0003
|
|
|
|
#define VOUT_ALIGN_TOP 0x0004
|
|
|
|
#define VOUT_ALIGN_BOTTOM 0x0008
|
|
|
|
#define VOUT_ALIGN_VMASK 0x000C
|
|
|
|
|
|
|
|
/*****************************************************************************
|
|
|
|
* Prototypes
|
|
|
|
*****************************************************************************/
|
2008-07-17 19:53:47 +02:00
|
|
|
|
2019-01-18 22:07:47 +01:00
|
|
|
/**
|
|
|
|
* Destroys a vout.
|
|
|
|
*
|
|
|
|
* This function closes and releases a vout created by vout_Request().
|
|
|
|
*
|
|
|
|
* \param vout the vout to close
|
|
|
|
*/
|
|
|
|
VLC_API void vout_Close(vout_thread_t *vout);
|
|
|
|
|
2009-03-08 13:36:29 +01:00
|
|
|
/**
|
|
|
|
* This function will handle a snapshot request.
|
|
|
|
*
|
|
|
|
* pp_image, pp_picture and p_fmt can be NULL otherwise they will be
|
|
|
|
* set with returned value in case of success.
|
|
|
|
*
|
|
|
|
* pp_image will hold an encoded picture in psz_format format.
|
|
|
|
*
|
2017-07-13 14:50:35 +02:00
|
|
|
* p_fmt can be NULL otherwise it will be set with the format used for the
|
|
|
|
* picture before encoding.
|
|
|
|
*
|
2009-03-08 13:36:29 +01:00
|
|
|
* i_timeout specifies the time the function will wait for a snapshot to be
|
|
|
|
* available.
|
|
|
|
*
|
|
|
|
*/
|
2011-05-07 13:06:21 +02:00
|
|
|
VLC_API int vout_GetSnapshot( vout_thread_t *p_vout,
|
|
|
|
block_t **pp_image, picture_t **pp_picture,
|
|
|
|
video_format_t *p_fmt,
|
2018-06-22 13:19:24 +02:00
|
|
|
const char *psz_format, vlc_tick_t i_timeout );
|
2009-03-08 13:36:29 +01:00
|
|
|
|
2008-07-17 19:53:47 +02:00
|
|
|
/* */
|
2011-05-07 13:06:21 +02:00
|
|
|
VLC_API picture_t * vout_GetPicture( vout_thread_t * );
|
|
|
|
VLC_API void vout_PutPicture( vout_thread_t *, picture_t * );
|
2010-04-23 23:18:56 +02:00
|
|
|
|
2017-06-23 12:33:37 +02:00
|
|
|
/* Subpictures channels ID */
|
2018-11-08 13:04:58 +01:00
|
|
|
#define VOUT_SPU_CHANNEL_INVALID (-1) /* Always fails in comparison */
|
2017-06-23 12:33:37 +02:00
|
|
|
#define VOUT_SPU_CHANNEL_OSD 1 /* OSD channel is automatically cleared */
|
2018-11-07 16:50:31 +01:00
|
|
|
#define VOUT_SPU_CHANNEL_OSD_HSLIDER 2
|
|
|
|
#define VOUT_SPU_CHANNEL_OSD_VSLIDER 3
|
2017-06-23 12:33:37 +02:00
|
|
|
#define VOUT_SPU_CHANNEL_AVAIL_FIRST 8 /* Registerable channels from this offset */
|
|
|
|
|
2010-05-10 22:38:49 +02:00
|
|
|
/* */
|
2011-05-07 13:06:21 +02:00
|
|
|
VLC_API void vout_PutSubpicture( vout_thread_t *, subpicture_t * );
|
|
|
|
VLC_API int vout_RegisterSubpictureChannel( vout_thread_t * );
|
|
|
|
VLC_API void vout_FlushSubpictureChannel( vout_thread_t *, int );
|
2019-03-07 15:53:53 +01:00
|
|
|
/**
|
|
|
|
* This function will ensure that all ready/displayed pictures have at most
|
|
|
|
* the provided date.
|
|
|
|
*/
|
|
|
|
VLC_API void vout_Flush( vout_thread_t *p_vout, vlc_tick_t i_date );
|
|
|
|
|
|
|
|
/**
|
|
|
|
* Empty all the pending pictures in the vout
|
|
|
|
*/
|
|
|
|
#define vout_FlushAll( vout ) vout_Flush( vout, VLC_TICK_INVALID )
|
2010-05-10 22:38:49 +02:00
|
|
|
|
2003-10-04 17:51:22 +02:00
|
|
|
/**@}*/
|
2003-10-08 23:01:07 +02:00
|
|
|
|
2018-04-26 11:33:01 +02:00
|
|
|
#endif /* _VLC_VOUT_H */
|