Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-gpu
Commits
021bda3e
Commit
021bda3e
authored
May 04, 2010
by
Laurent Aimar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Splitted out specific vout osd functions to its own header.
parent
5ba9cf27
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
89 additions
and
47 deletions
+89
-47
include/vlc_osd.h
include/vlc_osd.h
+1
-47
include/vlc_vout_osd.h
include/vlc_vout_osd.h
+87
-0
src/Makefile.am
src/Makefile.am
+1
-0
No files found.
include/vlc_osd.h
View file @
021bda3e
...
@@ -32,6 +32,7 @@
...
@@ -32,6 +32,7 @@
#include <vlc_vout.h>
#include <vlc_vout.h>
#include <vlc_spu.h>
#include <vlc_spu.h>
#include <vlc_vout_osd.h>
# ifdef __cplusplus
# ifdef __cplusplus
extern
"C"
{
extern
"C"
{
...
@@ -119,17 +120,6 @@ extern "C" {
...
@@ -119,17 +120,6 @@ extern "C" {
*
*
*/
*/
/**
* OSD menu position and picture type defines
*/
#define OSD_HOR_SLIDER 1
#define OSD_VERT_SLIDER 2
#define OSD_PLAY_ICON 1
#define OSD_PAUSE_ICON 2
#define OSD_SPEAKER_ICON 3
#define OSD_MUTE_ICON 4
/**
/**
* OSD menu button states
* OSD menu button states
*
*
...
@@ -469,42 +459,6 @@ VLC_EXPORT( int, osd_Icon, ( vlc_object_t *, spu_t *, int, int, int, int, int, s
...
@@ -469,42 +459,6 @@ VLC_EXPORT( int, osd_Icon, ( vlc_object_t *, spu_t *, int, int, int, int, int, s
/** @} */
/** @} */
/**********************************************************************
* Vout text and widget overlays
**********************************************************************/
VLC_EXPORT
(
int
,
vout_OSDEpg
,
(
vout_thread_t
*
,
input_item_t
*
)
);
/**
* Write an informative message at the default location,
* for the default duration and only if the OSD option is enabled.
* \param p_caller The object that called the function.
* \param i_channel Subpicture channel
* \param psz_format printf style formatting
**/
VLC_EXPORT
(
void
,
vout_OSDMessage
,
(
vlc_object_t
*
,
int
,
const
char
*
,
...
)
LIBVLC_FORMAT
(
3
,
4
)
);
#define vout_OSDMessage( obj, chan, ...) \
vout_OSDMessage( VLC_OBJECT(obj), chan, __VA_ARGS__ )
/**
* Display a slider on the video output.
* \param p_this The object that called the function.
* \param i_channel Subpicture channel
* \param i_postion Current position in the slider
* \param i_type Types are: OSD_HOR_SLIDER and OSD_VERT_SLIDER.
* @see vlc_osd.h
*/
VLC_EXPORT
(
void
,
vout_OSDSlider
,
(
vlc_object_t
*
,
int
,
int
,
short
)
);
/**
* Display an Icon on the video output.
* \param p_this The object that called the function.
* \param i_channel Subpicture channel
* \param i_type Types are: OSD_PLAY_ICON, OSD_PAUSE_ICON, OSD_SPEAKER_ICON, OSD_MUTE_ICON
* @see vlc_osd.h
*/
VLC_EXPORT
(
void
,
vout_OSDIcon
,
(
vlc_object_t
*
,
int
,
short
)
);
# ifdef __cplusplus
# ifdef __cplusplus
}
}
# endif
# endif
...
...
include/vlc_vout_osd.h
0 → 100644
View file @
021bda3e
/*****************************************************************************
* vlc_vout_osd.h: vout OSD
*****************************************************************************
* Copyright (C) 1999-2010 the VideoLAN team
* Copyright (C) 2004-2005 M2X
* $Id$
*
* Authors: Jean-Paul Saman <jpsaman #_at_# m2x dot nl>
* Gildas Bazin <gbazin@videolan.org>
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 2 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU 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.
*****************************************************************************/
#ifndef VLC_VOUT_OSD_H
#define VLC_VOUT_OSD_H 1
#include <vlc_spu.h>
#ifdef __cplusplus
extern
"C"
{
#endif
/**
* OSD menu position and picture type defines
*/
#define OSD_HOR_SLIDER 1
#define OSD_VERT_SLIDER 2
#define OSD_PLAY_ICON 1
#define OSD_PAUSE_ICON 2
#define OSD_SPEAKER_ICON 3
#define OSD_MUTE_ICON 4
/**********************************************************************
* Vout text and widget overlays
**********************************************************************/
VLC_EXPORT
(
int
,
vout_OSDEpg
,
(
vout_thread_t
*
,
input_item_t
*
)
);
/**
* Write an informative message at the default location,
* for the default duration and only if the OSD option is enabled.
* \param p_caller The object that called the function.
* \param i_channel Subpicture channel
* \param psz_format printf style formatting
**/
VLC_EXPORT
(
void
,
vout_OSDMessage
,
(
vlc_object_t
*
,
int
,
const
char
*
,
...
)
LIBVLC_FORMAT
(
3
,
4
)
);
#define vout_OSDMessage( obj, chan, ...) \
vout_OSDMessage( VLC_OBJECT(obj), chan, __VA_ARGS__ )
/**
* Display a slider on the video output.
* \param p_this The object that called the function.
* \param i_channel Subpicture channel
* \param i_postion Current position in the slider
* \param i_type Types are: OSD_HOR_SLIDER and OSD_VERT_SLIDER.
* @see vlc_osd.h
*/
VLC_EXPORT
(
void
,
vout_OSDSlider
,
(
vlc_object_t
*
,
int
,
int
,
short
)
);
/**
* Display an Icon on the video output.
* \param p_this The object that called the function.
* \param i_channel Subpicture channel
* \param i_type Types are: OSD_PLAY_ICON, OSD_PAUSE_ICON, OSD_SPEAKER_ICON, OSD_MUTE_ICON
* @see vlc_osd.h
*/
VLC_EXPORT
(
void
,
vout_OSDIcon
,
(
vlc_object_t
*
,
int
,
short
)
);
#ifdef __cplusplus
}
#endif
#endif
/* VLC_VOUT_OSD_H */
src/Makefile.am
View file @
021bda3e
...
@@ -104,6 +104,7 @@ pluginsinclude_HEADERS = \
...
@@ -104,6 +104,7 @@ pluginsinclude_HEADERS = \
../include/vlc_vout.h
\
../include/vlc_vout.h
\
../include/vlc_vout_display.h
\
../include/vlc_vout_display.h
\
../include/vlc_vout_opengl.h
\
../include/vlc_vout_opengl.h
\
../include/vlc_vout_osd.h
\
../include/vlc_vout_window.h
\
../include/vlc_vout_window.h
\
../include/vlc_xml.h
\
../include/vlc_xml.h
\
$(NULL)
$(NULL)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment