Enumerations | Functions

vlc_vout_osd.h File Reference

Include dependency graph for vlc_vout_osd.h:

Go to the source code of this file.

Enumerations

enum  {
  OSD_PLAY_ICON = 1, OSD_PAUSE_ICON, OSD_SPEAKER_ICON, OSD_MUTE_ICON,
  OSD_HOR_SLIDER, OSD_VERT_SLIDER
}
 

OSD menu position and picture type defines.

More...

Functions

int vout_OSDEpg (vout_thread_t *, input_item_t *)
 Show EPG information about the current program of an input item.
void vout_OSDText (vout_thread_t *vout, int channel, int position, mtime_t duration, const char *text)
 Write an informative message if the OSD option is enabled.
void vout_OSDMessage (vout_thread_t *, int, const char *,...)
 Write an informative message at the default location, for the default duration and only if the OSD option is enabled.
void vout_OSDSlider (vout_thread_t *, int, int, short)
 Display a slider on the video output.
void vout_OSDIcon (vout_thread_t *, int, short)
 Display an Icon on the video output.

Enumeration Type Documentation

anonymous enum

OSD menu position and picture type defines.

Enumerator:
OSD_PLAY_ICON 
OSD_PAUSE_ICON 
OSD_SPEAKER_ICON 
OSD_MUTE_ICON 
OSD_HOR_SLIDER 
OSD_VERT_SLIDER 

Function Documentation

int vout_OSDEpg ( vout_thread_t vout,
input_item_t input 
)
void vout_OSDIcon ( vout_thread_t ,
int  ,
short   
)

Display an Icon on the video output.

Parameters:
p_this The object that called the function.
i_channel Subpicture channel
i_type Types are: OSD_PLAY_ICON, OSD_PAUSE_ICON, OSD_SPEAKER_ICON, OSD_MUTE_ICON

References OSDWidget().

void vout_OSDMessage ( vout_thread_t ,
int  ,
const char *  ,
  ... 
)

Write an informative message at the default location, for the default duration and only if the OSD option is enabled.

Parameters:
vout The vout on which the message will be displayed
channel Subpicture channel
format printf style formatting

Provided for convenience.

References SUBPICTURE_ALIGN_RIGHT, SUBPICTURE_ALIGN_TOP, va_end(), va_start(), vasprintf(), and vout_OSDText().

Referenced by VoutOsdSnapshot().

void vout_OSDSlider ( vout_thread_t ,
int  ,
int  ,
short   
)

Display a slider on the video output.

Parameters:
p_this The object that called the function.
i_channel Subpicture channel
i_postion Current position in the slider
i_type Types are: OSD_HOR_SLIDER and OSD_VERT_SLIDER.

References OSDWidget().

void vout_OSDText ( vout_thread_t vout,
int  channel,
int  position,
mtime_t  duration,
const char *  text 
)

Write an informative message if the OSD option is enabled.

Parameters:
vout The vout on which the message will be displayed
channel Subpicture channel
position Position of the text
duration Duration of the text being displayed
text Text to be displayed

References subpicture_t::b_absolute, subpicture_t::b_ephemer, subpicture_t::b_fade, subpicture_t::i_channel, subpicture_t::i_start, subpicture_t::i_stop, mdate(), subpicture_updater_sys_t::position, strdup(), SUBPICTURE_ALIGN_MASK, subpicture_New(), subpicture_updater_sys_t::text, var_InheritBool, and vout_PutSubpicture().

Referenced by ThreadDisplayOsdTitle(), and vout_OSDMessage().

 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines