osdmenu.c File Reference

Include dependency graph for osdmenu.c:


Data Structures

struct  filter_sys_t
 filter_sys_t: chroma method descriptor More...

Defines

#define OSD_FILE_TEXT   N_("Configuration file")
#define OSD_FILE_LONGTEXT
#define OSD_PATH_TEXT   N_("Path to OSD menu images")
#define OSD_PATH_LONGTEXT
#define POSX_TEXT   N_("X coordinate")
#define POSX_LONGTEXT   N_("You can move the OSD menu by left-clicking on it." )
#define POSY_TEXT   N_("Y coordinate")
#define POSY_LONGTEXT   N_("You can move the OSD menu by left-clicking on it." )
#define POS_TEXT   N_("Menu position")
#define POS_LONGTEXT
#define TIMEOUT_TEXT   N_("Menu timeout")
#define TIMEOUT_LONGTEXT
#define OSD_UPDATE_TEXT   N_("Menu update interval" )
#define OSD_UPDATE_LONGTEXT
#define OSD_ALPHA_TEXT   N_("Alpha transparency value (default 255)")
#define OSD_ALPHA_LONGTEXT
#define OSD_CFG   "osdmenu-"
#define OSD_DEFAULT_CFG   "share/osdmenu/default.cfg"
#define OSD_UPDATE_MIN   0
#define OSD_UPDATE_DEFAULT   300
#define OSD_UPDATE_MAX   1000
#define ARRAY_SIZE(x)   (sizeof(x) / sizeof((x)[0]))

Functions

static int CreateFilter (vlc_object_t *)
static void DestroyFilter (vlc_object_t *)
static subpicture_tFilter (filter_t *, mtime_t)
static int OSDMenuUpdateEvent (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *)
static int OSDMenuVisibleEvent (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *)
static int OSDMenuCallback (vlc_object_t *, char const *, vlc_value_t, vlc_value_t, void *)
static int MouseEvent (filter_t *, const vlc_mouse_t *, const vlc_mouse_t *, const video_format_t *)
int vlc_entry__main (module_t *p_module)
const char * vlc_entry_license__main (void)
static subpicture_region_tcreate_picture_region (filter_t *p_filter, subpicture_t *p_spu, int i_width, int i_height, picture_t *p_pic)

Variables

static const int pi_pos_values [] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 }
static const char *const ppsz_pos_descriptions []

Define Documentation

#define ARRAY_SIZE (  )     (sizeof(x) / sizeof((x)[0]))

#define OSD_ALPHA_LONGTEXT

Value:

N_( \
    "The transparency of the OSD menu can be changed by giving a value " \
    "between 0 and 255. A lower value specifies more transparency a higher " \
    "means less transparency. The default is being not transparent " \
    "(value 255) the minimum is fully transparent (value 0)." )

#define OSD_ALPHA_TEXT   N_("Alpha transparency value (default 255)")

#define OSD_CFG   "osdmenu-"

#define OSD_DEFAULT_CFG   "share/osdmenu/default.cfg"

#define OSD_FILE_LONGTEXT

Value:

N_( \
    "Configuration file for the OSD Menu." )

#define OSD_FILE_TEXT   N_("Configuration file")

#define OSD_PATH_LONGTEXT

Value:

N_( \
    "Path to the OSD menu images. This will override the path defined in the " \
    "OSD configuration file." )

#define OSD_PATH_TEXT   N_("Path to OSD menu images")

#define OSD_UPDATE_DEFAULT   300

#define OSD_UPDATE_LONGTEXT

Value:

N_( \
    "The default is to update the OSD menu picture every 200 ms. Shorten the" \
    " update time for environments that experience transmissions errors. " \
    "Be careful with this option as encoding OSD menu pictures is very " \
    "computing intensive. The range is 0 - 1000 ms." )

#define OSD_UPDATE_MAX   1000

#define OSD_UPDATE_MIN   0

#define OSD_UPDATE_TEXT   N_("Menu update interval" )

#define POS_LONGTEXT

Value:

N_( \
  "You can enforce the OSD menu position on the video " \
  "(0=center, 1=left, 2=right, 4=top, 8=bottom, you can " \
  "also use combinations of these values, eg. 6 = top-right).")

#define POS_TEXT   N_("Menu position")

#define POSX_LONGTEXT   N_("You can move the OSD menu by left-clicking on it." )

#define POSX_TEXT   N_("X coordinate")

#define POSY_LONGTEXT   N_("You can move the OSD menu by left-clicking on it." )

#define POSY_TEXT   N_("Y coordinate")

#define TIMEOUT_LONGTEXT

Value:

N_( \
    "OSD menu pictures get a default timeout of 15 seconds added to their " \
    "remaining time. This will ensure that they are at least the specified " \
    "time visible.")

#define TIMEOUT_TEXT   N_("Menu timeout")


Function Documentation

static subpicture_region_t* create_picture_region ( filter_t p_filter,
subpicture_t p_spu,
int  i_width,
int  i_height,
picture_t p_pic 
) [static]

static int CreateFilter ( vlc_object_t p_this  )  [static]

static void DestroyFilter ( vlc_object_t p_this  )  [static]

static subpicture_t * Filter ( filter_t p_filter,
mtime_t  i_date 
) [static]

static int MouseEvent ( filter_t p_filter,
const vlc_mouse_t p_old,
const vlc_mouse_t p_new,
const video_format_t p_fmt 
) [static]

static int OSDMenuCallback ( vlc_object_t p_this,
char const *  psz_var,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
) [static]

static int OSDMenuUpdateEvent ( vlc_object_t p_this,
char const *  psz_var,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
) [static]

static int OSDMenuVisibleEvent ( vlc_object_t p_this,
char const *  psz_var,
vlc_value_t  oldval,
vlc_value_t  newval,
void *  p_data 
) [static]

int vlc_entry__main ( module_t p_module  ) 

const char* vlc_entry_license__main ( void   ) 


Variable Documentation

const int pi_pos_values[] = { 0, 1, 2, 4, 8, 5, 6, 9, 10 } [static]

const char* const ppsz_pos_descriptions[] [static]

Initial value:

{ N_("Center"), N_("Left"), N_("Right"), N_("Top"), N_("Bottom"),
  N_("Top-Left"), N_("Top-Right"), N_("Bottom-Left"), N_("Bottom-Right") }


Generated on Tue May 25 08:05:31 2010 for VLC by  doxygen 1.5.6