mvpmc.h File Reference

Global definitions for the mvpmc application. More...

Go to the source code of this file.

Data Structures

struct  osd_widget_t
 On-Screen-Display settings. More...
struct  video_callback_t
 Video playback callbacks. More...
struct  playlist_struct
 playlist item More...
struct  theme_attr_t
struct  theme_t
struct  osd_settings_t

Defines

#define VIDEO_BUFF_SIZE   (1024*96)
 video input buffer size
#define MAX_OSD_WIDGETS   8
#define LINE_SIZE   1024
#define VLC_VLM_PORT   "4212"
#define VLC_HTTP_PORT   "5212"
#define THEME_MAX   32
#define DEFAULT_THEME   "/usr/share/mvpmc/mvpmc_current_theme.xml"
#define MASTER_THEME   "/usr/share/mvpmc/theme.xml"
#define DEFAULT_FONT   "/etc/helvR10.fnt"
#define VIEWPORT_TOP   (viewport_edges[VIEWPORT_EDGE_TOP])
#define VIEWPORT_LEFT   (viewport_edges[VIEWPORT_EDGE_LEFT])
#define VIEWPORT_BOTTOM   (si.rows - viewport_edges[VIEWPORT_EDGE_BOTTOM])
#define VIEWPORT_RIGHT   (si.cols - viewport_edges[VIEWPORT_EDGE_RIGHT])

Typedefs

typedef playlist_struct playlist_t

Enumerations

enum  mvpmc_state_t {
  MVPMC_STATE_NONE = 1, MVPMC_STATE_MYTHTV, MVPMC_STATE_MYTHTV_SHUTDOWN, MVPMC_STATE_FILEBROWSER,
  MVPMC_STATE_FILEBROWSER_SHUTDOWN, MVPMC_STATE_REPLAYTV, MVPMC_STATE_REPLAYTV_SHUTDOWN, MVPMC_STATE_MCLIENT,
  MVPMC_STATE_MCLIENT_SHUTDOWN, MVPMC_STATE_HTTP, MVPMC_STATE_HTTP_SHUTDOWN, MVPMC_STATE_EMULATE,
  MVPMC_STATE_EMULATE_SHUTDOWN, MVPMC_STATE_WEATHER
}
 Portion of the mvpmc application which owns either the gui or the audio/video playback hardware. More...
enum  vid_osd_type_t {
  OSD_BITRATE = 1, OSD_CLOCK, OSD_DEMUX, OSD_PROGRESS,
  OSD_PROGRAM, OSD_TIMECODE
}
 On-Screen-Display options. More...
enum  playlist_menu_t { PL_SHUFFLE = 1, PL_REPEAT, PL_VOLUME }
 Playlist menu items. More...
enum  mvp_notify_t { MVP_READ_THREAD_IDLE = 1 }
 video stream client events More...
enum  vid_thumb_location_t { VID_THUMB_TOP_LEFT = 0, VID_THUMB_TOP_RIGHT = 1, VID_THUMB_BOTTOM_LEFT = 2, VID_THUMB_BOTTOM_RIGHT = 3 }
enum  widget_t { WIDGET_DIALOG, WIDGET_GRAPH, WIDGET_MENU, WIDGET_TEXT }
enum  vlc_command_type_t {
  VLC_CREATE_BROADCAST, VLC_CONTROL, VLC_PCTPOS, VLC_DESTROY,
  VLC_SEEK_PCT, VLC_SEEK_SEC
}
enum  { VIEWPORT_EDGE_TOP = 0, VIEWPORT_EDGE_LEFT = 1, VIEWPORT_EDGE_BOTTOM = 2, VIEWPORT_EDGE_RIGHT = 3 }
enum  {
  MM_EXIT, MM_MYTHTV, MM_FILESYSTEM, MM_ABOUT,
  MM_VNC, MM_SETTINGS, MM_REPLAYTV, MM_MCLIENT,
  MM_EMULATE, MM_WEATHER
}

Functions

void playlist_create (char **item, int n, char *cwd)
 Create a playlist.
void volume_key_callback (mvp_widget_t *widget, char key)
void timer_hide (mvp_widget_t *widget)
int video_init (void)
void audio_play (mvp_widget_t *)
void video_play (mvp_widget_t *)
void video_set_root (void)
void playlist_play (mvp_widget_t *)
void playlist_next ()
void playlist_randomize (void)
void timed_osd (int timeout)
int video_get_byterate (void)
int file_open (void)
int file_read (char *, int)
void display_bookmark_status_osd (int)
void enable_osd (void)
void disable_osd (void)
void back_to_guide_menu ()
int gui_init (char *, char *)
int mw_init (void)
int display_init (void)
void audio_clear (void)
void video_clear (void)
void playlist_clear (void)
void video_stop_play (void)
int fb_update (mvp_widget_t *)
int weather_update (mvp_widget_t *)
void video_callback (mvp_widget_t *, char)
void video_thumbnail (av_thumbnail_mode_t thumb_mode, vid_thumb_location_t loc)
void fb_program (mvp_widget_t *widget)
void fb_shuffle (int)
void re_exec (void)
void power_toggle (void)
int audio_switch_stream (mvp_widget_t *, int)
void video_switch_stream (mvp_widget_t *, int)
void add_audio_streams (mvp_widget_t *, mvpw_menu_item_attr_t *)
void add_video_streams (mvp_widget_t *, mvpw_menu_item_attr_t *)
void * av_sync_start (void *)
void * video_events_start (void *)
void * video_read_start (void *)
void * video_write_start (void *)
void * audio_write_start (void *)
void * display_thread (void *)
void * audio_start (void *arg)
void replaytv_back_to_mvp_main_menu (void)
int is_video (char *item)
int is_audio (char *item)
int is_image (char *item)
void gui_error (char *)
void gui_mesg (char *, char *)
void add_osd_widget (mvp_widget_t *widget, int type, int visible, void(*callback)(mvp_widget_t *))
static int set_osd_callback (int type, void(*callback)(mvp_widget_t *))
int a52_decode_data (uint8_t *start, uint8_t *end, int reset)
void screensaver_enable (void)
void screensaver_disable (void)
void empty_ac3 (void)
void gui_error_clear (void)
void playlist_prev (void)
void playlist_stop (void)
void subtitle_switch_stream (mvp_widget_t *, int)
void add_subtitle_streams (mvp_widget_t *, mvpw_menu_item_attr_t *)
void busy_start (void)
void busy_end (void)
void fb_start_thumbnail (void)
void fb_thruput (void)
int vlc_connect (FILE *outlog, const char *url, int ContentType, int VlcCommandType, char *VlcCommandArg, int offset)
int vlc_stop ()
int vlc_destroy ()
int vlc_cmd (char *cmd)
int vlc_get_pct_pos ()
int vlc_seek_pct (int pos)
int vlc_seek_pct_relative (int offset)
int vlc_seek_sec_relative (int offset)
void vlc_timecode (char *timecode)
int theme_parse (char *file)
void switch_hw_state (mvpmc_state_t new)
void switch_gui_state (mvpmc_state_t new)
void fb_exit (void)
void replaytv_exit (void)
void replaytv_atexit (void)
void start_thruput_test (void)
void end_thruput_test (void)
int fb_next_image (int offset)
void doexit (int sig)
void av_wss_update_aspect (av_wss_aspect_t aspect)
void av_wss_init ()
void av_wss_visible (int isVisible)
void av_wss_redraw ()

Variables

volatile video_callback_tvideo_functions
 Video playback functions for the current streaming method.
video_callback_t file_functions
 Video playback functions for playing files from the filesystem.
video_callback_t vlc_functions
 Video playback functions for playing files from the filesystem via VLC.
volatile int video_playing
 Is a video currently playing?
char * replaytv_server
 ReplayTV server hostname or IP address.
char * mvp_server
 Hauppauge server hostname or IP address.
mvp_widget_tfile_browser
 file browser
mvp_widget_troot
 root window
mvp_widget_tiw
 image viewer
mvp_widget_tpause_widget
 pause
mvp_widget_tmute_widget
 mute
mvp_widget_tffwd_widget
 fast forward
mvp_widget_tzoom_widget
 zoom
mvp_widget_tosd_widget
 On-Screen-Display.
mvp_widget_toffset_widget
 file percentage
mvp_widget_toffset_bar
 file percentage graph
mvp_widget_tbps_widget
 bits per second
mvp_widget_tspu_widget
 sub-picture
mvp_widget_tepisodes_widget
mvp_widget_tshows_widget
mvp_widget_tfreespace_widget
mvp_widget_tprogram_info_widget
mvp_widget_tmythtv_options
mvp_widget_tpopup_menu
mvp_widget_ttime_widget
mvp_widget_tclock_widget
mvp_widget_tdemux_video
mvp_widget_tdemux_audio
mvp_widget_tplaylist_widget
mvp_widget_tpl_menu
mvp_widget_tfb_program_widget
mvp_widget_tfb_progress
mvp_widget_tfb_offset_widget
mvp_widget_tfb_offset_bar
mvp_widget_tfb_name
mvp_widget_tfb_time
mvp_widget_tfb_size
mvp_widget_tvnc_widget
mvp_widget_tvolume_dialog
mvp_widget_tmclient_fullscreen
mvp_widget_tmclient_sub_softsqueeze
mvp_widget_tmclient_sub_image
mvp_widget_tmclient_sub_image_1_1
mvp_widget_tmclient_sub_image_1_2
mvp_widget_tmclient_sub_image_1_3
mvp_widget_tmclient_sub_image_2_1
mvp_widget_tmclient_sub_image_2_2
mvp_widget_tmclient_sub_image_2_3
mvp_widget_tmclient_sub_image_3_1
mvp_widget_tmclient_sub_image_3_2
mvp_widget_tmclient_sub_image_3_3
mvp_widget_tmclient_sub_alt_image_1_1
mvp_widget_tmclient_sub_alt_image_1_2
mvp_widget_tmclient_sub_alt_image_1_3
mvp_widget_tmclient_sub_alt_image_2_1
mvp_widget_tmclient_sub_alt_image_2_2
mvp_widget_tmclient_sub_alt_image_2_3
mvp_widget_tmclient_sub_alt_image_3_1
mvp_widget_tmclient_sub_alt_image_3_2
mvp_widget_tmclient_sub_alt_image_3_3
mvp_widget_tmclient_sub_alt_image_info
mvp_widget_tmclient_sub_alt_image
mvp_widget_tmclient_sub_progressbar
mvp_widget_tmclient_sub_volumebar
mvp_widget_tmclient_sub_browsebar
mvp_widget_tmclient_sub_localmenu
uint32_t root_color
int root_bright
int volume
char * current
char * current_hilite
playlist_tplaylist
int playlist_repeat
char * imagedir
int fontid
mvpw_screen_info_t si
int fd_audio
int fd_video
int fd
volatile int seeking
volatile int jumping
volatile int paused
volatile int audio_playing
volatile int audio_stop
volatile long long jump_target
int display_on
int display_on_alt
pthread_t video_write_thread
pthread_t audio_write_thread
pthread_t audio_thread
pthread_attr_t thread_attr
pthread_attr_t thread_attr_small
pthread_cond_t video_cond
pthread_cond_t mclient_cond
osd_widget_t osd_widgets []
volatile int screensaver_timeout
volatile int screensaver_default
char vnc_server [256]
int vnc_port
char compile_time []
char version_number []
char build_user []
char git_revision []
char git_diffs []
char * version
av_demux_mode_t demux_mode
demux_handle_thandle
int(* DEMUX_PUT )(demux_handle_t *, void *, int)
int(* DEMUX_WRITE_VIDEO )(demux_handle_t *, int)
int(* DEMUX_WRITE_AUDIO )(demux_handle_t *, int)
int(* DEMUX_JIT_WRITE_AUDIO )(demux_handle_t *, int, unsigned int, int, int *, int *)
av_passthru_t audio_output_mode
int using_vlc
int vlc_broadcast_enabled
char * vlc_server
theme_attr_t theme_attr []
int seek_osd_timeout
int pause_osd
theme_t theme_list []
osd_settings_t osd_settings
int mythtv_seek_amount
int mythtv_commskip
int mythtv_auto_commskip
int mythtv_disable_all_commskip
int mythtv_disable_commskip_osd
int mythtv_disable_bookmark_osd
int mythtv_check_tuner_type
mvpmc_state_t hw_state
mvpmc_state_t gui_state
char * screen_capture_file
mvp_widget_tct_text_box
mvp_widget_tsettings
int settings_disable
int reboot_disable
int filebrowser_disable
int startup_this_feature
unsigned short viewport_edges [4]
mvp_widget_tthruput_widget
int startup_selection
int mplayer_disable
int rfb_mode
int flicker
char * rtv_init_str
char * mclient_server
char * weather_location
char * weather_cmdline
char cwd []
int wireless


Detailed Description

Global definitions for the mvpmc application.

Definition in file mvpmc.h.


Define Documentation

#define DEFAULT_FONT   "/etc/helvR10.fnt"
 

Definition at line 522 of file mvpmc.h.

#define DEFAULT_THEME   "/usr/share/mvpmc/mvpmc_current_theme.xml"
 

Definition at line 519 of file mvpmc.h.

Referenced by add_theme_dir(), spawn_child(), tag_settings_themes(), themes_init(), and themes_select_callback().

#define LINE_SIZE   1024
 

Definition at line 474 of file mvpmc.h.

Referenced by http_main(), mplayer_helper_connect(), and vlc_connect().

#define MASTER_THEME   "/usr/share/mvpmc/theme.xml"
 

Definition at line 520 of file mvpmc.h.

Referenced by mvpmc_main().

#define MAX_OSD_WIDGETS   8
 

Definition at line 379 of file mvpmc.h.

Referenced by osd_widget_toggle(), and set_osd_callback().

#define THEME_MAX   32
 

Definition at line 518 of file mvpmc.h.

Referenced by add_theme_file(), main_menu_init(), mvpmc_main(), and themes_init().

#define VIDEO_BUFF_SIZE   (1024*96)
 

video input buffer size

Definition at line 27 of file mvpmc.h.

Referenced by replaytv_init().

#define VIEWPORT_BOTTOM   (si.rows - viewport_edges[VIEWPORT_EDGE_BOTTOM])
 

Definition at line 574 of file mvpmc.h.

Referenced by myth_browser_init(), and video_thumbnail().

#define VIEWPORT_LEFT   (viewport_edges[VIEWPORT_EDGE_LEFT])
 

Definition at line 573 of file mvpmc.h.

Referenced by file_browser_init(), myth_browser_init(), and video_thumbnail().

#define VIEWPORT_RIGHT   (si.cols - viewport_edges[VIEWPORT_EDGE_RIGHT])
 

Definition at line 575 of file mvpmc.h.

Referenced by file_browser_init(), myth_browser_init(), and video_thumbnail().

#define VIEWPORT_TOP   (viewport_edges[VIEWPORT_EDGE_TOP])
 

Definition at line 572 of file mvpmc.h.

Referenced by myth_browser_init(), and video_thumbnail().

#define VLC_HTTP_PORT   "5212"
 

Definition at line 478 of file mvpmc.h.

Referenced by http_main(), vlc_get_audio_transcode(), and vlc_get_video_transcode().

#define VLC_VLM_PORT   "4212"
 

Definition at line 477 of file mvpmc.h.

Referenced by mplayer_helper_connect(), and vlc_connect().


Typedef Documentation

typedef struct playlist_struct playlist_t
 

Definition at line 145 of file mvpmc.h.


Enumeration Type Documentation

anonymous enum
 

Enumerator:
VIEWPORT_EDGE_TOP 
VIEWPORT_EDGE_LEFT 
VIEWPORT_EDGE_BOTTOM 
VIEWPORT_EDGE_RIGHT 

Definition at line 562 of file mvpmc.h.

anonymous enum
 

Enumerator:
MM_EXIT 
MM_MYTHTV 
MM_FILESYSTEM 
MM_ABOUT 
MM_VNC 
MM_SETTINGS 
MM_REPLAYTV 
MM_MCLIENT 
MM_EMULATE 
MM_WEATHER 

Definition at line 581 of file mvpmc.h.

enum mvp_notify_t
 

video stream client events

Enumerator:
MVP_READ_THREAD_IDLE 

Definition at line 76 of file mvpmc.h.

enum mvpmc_state_t
 

Portion of the mvpmc application which owns either the gui or the audio/video playback hardware.

Note: shutdown state used when previous application requires delays when turning off.

Enumerator:
MVPMC_STATE_NONE  no state
MVPMC_STATE_MYTHTV  mythtv
MVPMC_STATE_MYTHTV_SHUTDOWN  mythtv shutdown
MVPMC_STATE_FILEBROWSER  filebrowser
MVPMC_STATE_FILEBROWSER_SHUTDOWN  filebrowser shutdown
MVPMC_STATE_REPLAYTV  replaytv
MVPMC_STATE_REPLAYTV_SHUTDOWN  replaytv shutdown
MVPMC_STATE_MCLIENT  slimserver mclient
MVPMC_STATE_MCLIENT_SHUTDOWN  slimserver mclient shutdown
MVPMC_STATE_HTTP  http
MVPMC_STATE_HTTP_SHUTDOWN  http shutdown
MVPMC_STATE_EMULATE  hauppauge emulation
MVPMC_STATE_EMULATE_SHUTDOWN  hauppauge emulation shutdown
MVPMC_STATE_WEATHER 

Definition at line 35 of file mvpmc.h.

enum playlist_menu_t
 

Playlist menu items.

Enumerator:
PL_SHUFFLE 
PL_REPEAT 
PL_VOLUME 

Definition at line 67 of file mvpmc.h.

enum vid_osd_type_t
 

On-Screen-Display options.

Enumerator:
OSD_BITRATE  bitrate
OSD_CLOCK  clock
OSD_DEMUX  audio/video demux graphs
OSD_PROGRESS  progress meter
OSD_PROGRAM  program description
OSD_TIMECODE  timecode

Definition at line 55 of file mvpmc.h.

enum vid_thumb_location_t
 

Enumerator:
VID_THUMB_TOP_LEFT 
VID_THUMB_TOP_RIGHT 
VID_THUMB_BOTTOM_LEFT 
VID_THUMB_BOTTOM_RIGHT 

Definition at line 330 of file mvpmc.h.

enum vlc_command_type_t
 

Enumerator:
VLC_CREATE_BROADCAST 
VLC_CONTROL 
VLC_PCTPOS 
VLC_DESTROY 
VLC_SEEK_PCT 
VLC_SEEK_SEC 

Definition at line 481 of file mvpmc.h.

enum widget_t
 

Enumerator:
WIDGET_DIALOG 
WIDGET_GRAPH 
WIDGET_MENU 
WIDGET_TEXT 

Definition at line 455 of file mvpmc.h.


Function Documentation

int a52_decode_data uint8_t *  start,
uint8_t *  end,
int  reset
 

Definition at line 1023 of file audio.c.

References a52_state, ac3_add(), ac3_flush(), ac3_freespace(), ao_convert(), av_set_pcm_param(), disable_adjust, disable_dynrng, error(), and gain.

Referenced by ac3_play(), and audio_write_start().

void add_audio_streams mvp_widget_t ,
mvpw_menu_item_attr_t
 

Definition at line 1155 of file video.c.

References attr, demux_get_attr(), handle, mvpw_clear_menu(), STREAM_AC3, STREAM_MPEG, and STREAM_PCM.

Referenced by popup_select_callback().

void add_osd_widget mvp_widget_t widget,
int  type,
int  visible,
void(*)(mvp_widget_t *)  callback
 

Definition at line 1427 of file gui.c.

References osd_widget_t::callback, osd_widgets, osd_widget_t::type, osd_widget_t::visible, and osd_widget_t::widget.

Referenced by mythtv_guide_menu_update(), mythtv_livetv_select(), mythtv_new_livetv_start(), mythtv_update(), osd_init(), replaytv_device_update(), and select_callback().

void add_subtitle_streams mvp_widget_t ,
mvpw_menu_item_attr_t
 

Definition at line 1216 of file video.c.

References attr, current, demux_get_attr(), demux_spu_get_id(), handle, item_attr, mvpw_add_menu_item(), mvpw_check_menu_item(), and mvpw_clear_menu().

Referenced by popup_select_callback().

void add_video_streams mvp_widget_t ,
mvpw_menu_item_attr_t
 

Definition at line 1190 of file video.c.

References attr, demux_get_attr(), handle, item_attr, mvpw_add_menu_item(), mvpw_clear_menu(), and STREAM_MPEG.

Referenced by popup_select_callback().

void audio_clear void   ) 
 

Definition at line 759 of file audio.c.

References AUDIO_FILE_UNKNOWN, audio_type, fb_progress, fd, HTTP_FILE_CLOSED, http_playing, mplayer_helper_connect(), mvpw_hide(), OGG_STATE_UNKNOWN, oggfile, OggStreamState, using_helper, using_vlc, vf, vlc_connect(), and VLC_DESTROY.

Referenced by audio_start(), fb_exit(), file_open(), mclient_loop_thread(), media_read_message(), mvp_server_start(), playlist_key_callback(), and select_callback().

void audio_play mvp_widget_t  ) 
 

void* audio_start void *  arg  ) 
 

Definition at line 1255 of file audio.c.

References afd, audio_clear(), audio_cond, audio_init(), audio_player(), audio_playing, audio_stop, av_get_audio_fd(), current, fb_progress, fd, HTTP_AUDIO_FILE_FLAC, HTTP_AUDIO_FILE_OGG, http_playing, HTTP_VIDEO_FILE_MPG, is_streaming(), mutex, mvpw_hide(), mvpw_show(), OGG_STATE_UNKNOWN, OggStreamState, playlist, playlist_next(), and sighandler().

int audio_switch_stream mvp_widget_t ,
int 
 

Definition at line 1241 of file video.c.

References attr, audio_output, AV_AUDIO_AC3, AV_AUDIO_MPEG, av_get_audio_fd(), av_set_audio_output(), demux_get_attr(), demux_set_audio_stream(), fd_audio, handle, mvpw_check_menu_item(), and STREAM_MPEG.

Referenced by audio_stream_select_callback(), control_start(), file_read(), and mvp_key_callback().

void* audio_write_start void *   ) 
 

Definition at line 1874 of file video.c.

References a52_decode_data(), ac3buf, ac3len, ac3more, attr, AUD_OUTPUT_PASSTHRU, AUDIO_MODE_AC3, AUDIO_MODE_ES, AUDIO_MODE_MPEG1_PES, AUDIO_MODE_MPEG2_PES, AUDIO_MODE_PCM, audio_output, audio_output_mode, audio_type, AV_AUDIO_MPEG, AV_AUDIO_PCM, av_pause_video(), av_set_audio_output(), av_set_audio_type(), demux_get_attr(), demux_get_audio(), DEMUX_JIT_WRITE_AUDIO, DEMUX_WRITE_AUDIO, empty_ac3(), fd_audio, get_cur_vid_stc(), handle, idle, jit_mode, jumping, mutex, mvpw_set_timer(), pause_widget, paused, pcm_decoded, running_replaytv, seeking, sighandler(), vi, video_cond, video_playing, video_unpause_timer_callback(), and write_threads_idle_sem.

void* av_sync_start void *   ) 
 

void av_wss_init  ) 
 

void av_wss_redraw  ) 
 

Definition at line 134 of file wss.c.

References wss_update_surface().

Referenced by HandleRDCMessage(), and video_thumbnail().

void av_wss_update_aspect av_wss_aspect_t  aspect  ) 
 

Definition at line 140 of file wss.c.

References av_get_tv_aspect(), AV_TV_ASPECT_16x9, WSS_ASPECT_FULL_16x9, WSS_ASPECT_FULL_4x3, WSS_ASPECT_UNKNOWN, wss_pal_elems, and wss_surface.

Referenced by fb_next_image(), http_play(), select_callback(), video_change_aspect(), and video_clear().

void av_wss_visible int  isVisible  ) 
 

Definition at line 67 of file wss.c.

References mvpw_destroy(), mvpw_hide(), wss_show_surface, and wss_surface.

Referenced by mvpmc_main().

void back_to_guide_menu  ) 
 

Definition at line 790 of file video.c.

References AV_THUMBNAIL_EIGTH, disable_osd(), display_on, fb_progress, ffwd_widget, file_browser, gui_state, mute_widget, MVPMC_STATE_EMULATE, MVPMC_STATE_EMULATE_SHUTDOWN, MVPMC_STATE_FILEBROWSER, MVPMC_STATE_FILEBROWSER_SHUTDOWN, MVPMC_STATE_HTTP, MVPMC_STATE_HTTP_SHUTDOWN, MVPMC_STATE_MCLIENT, MVPMC_STATE_MCLIENT_SHUTDOWN, MVPMC_STATE_MYTHTV, MVPMC_STATE_MYTHTV_SHUTDOWN, MVPMC_STATE_NONE, MVPMC_STATE_REPLAYTV, MVPMC_STATE_REPLAYTV_SHUTDOWN, MVPMC_STATE_WEATHER, mvpw_destroy(), mvpw_expose(), mvpw_focus(), mvpw_hide(), mvpw_set_timer(), mvpw_show(), mvpw_visible(), mythtv_browser, mythtv_channel, mythtv_date, mythtv_description, mythtv_livetv, mythtv_livetv_stop(), mythtv_logo, mythtv_main_menu, mythtv_menu, mythtv_show_widgets(), mythtv_state, MYTHTV_STATE_LIVETV, MYTHTV_STATE_MAIN, new_live_tv, osd_widget, pause_widget, playlist, playlist_widget, replaytv_back_from_video(), root, running_mythtv, running_replaytv, spu_widget, switch_gui_state(), VID_THUMB_BOTTOM_RIGHT, video_playing, video_thumbnail(), zoom_widget, and zoomed.

void busy_end void   ) 
 

Definition at line 8608 of file gui.c.

References busy, busy_mutex, busy_widget, and mvpw_hide().

Referenced by __change_channel(), commit_mythtv_delete_recorded(), fb_update(), mount_djmount(), myth_menu_select_callback(), mythtv_channel_set(), mythtv_delete_prog(), mythtv_livetv_select(), mythtv_livetv_stop(), mythtv_start_thumbnail(), mythtv_stop(), mythtv_update(), and select_callback().

void busy_start void   ) 
 

Definition at line 8595 of file gui.c.

References busy, busy_cond, and busy_mutex.

Referenced by __change_channel(), add_episodes(), commit_mythtv_delete_recorded(), fb_update(), livetv_select_callback(), mount_djmount(), myth_menu_select_callback(), mythtv_channel_set(), mythtv_delete_prog(), mythtv_guide_menu_update(), mythtv_livetv_select(), mythtv_livetv_stop(), mythtv_pending_filter(), mythtv_prog_finder_char_menu_right(), mythtv_prog_finder_title_menu_right(), mythtv_start_thumbnail(), mythtv_stop(), mythtv_update(), select_callback(), and update_weather().

void disable_osd void   ) 
 

Definition at line 638 of file video.c.

References OSD_BITRATE, OSD_CLOCK, OSD_DEMUX, OSD_PROGRAM, OSD_PROGRESS, OSD_TIMECODE, and set_osd_callback().

Referenced by back_to_guide_menu(), seek_disable_osd(), video_progress(), vlc_key(), and vlc_key_unpause().

void display_bookmark_status_osd int   ) 
 

Definition at line 728 of file video.c.

References display_on_alt, goto_bookmark_status(), mvpw_set_timer(), mythtv_osd_description, mythtv_osd_program, OSD_PROGRAM, OSD_PROGRESS, OSD_TIMECODE, seek_disable_osd(), set_bookmark_status(), set_bookmark_status_fail(), set_commbreak_status(), set_osd_callback(), set_seek_status(), video_progress(), and video_timecode().

Referenced by control_start(), and mythtv_video_key().

int display_init void   ) 
 

Definition at line 107 of file display.c.

References DISPLAY_MESG_SIZE, display_message, DISPLAY_NORMAL_INTERVAL, display_send(), display_struct, display_thread(), display_thread_handle, display_struct_type::Interval, and thread_attr_small.

void* display_thread void *   ) 
 

Definition at line 304 of file display.c.

References display_struct_type::Dimmer_Event, display_struct, errno, fromlen, myname, new_socket_descriptor, out_to_display, rc, SOCK_STREAM, socket_descriptor, and this_trys_errno.

Referenced by display_init().

void doexit int  sig  ) 
 

Definition at line 373 of file main.c.

References av_deactivate().

Referenced by mvp_config_radio(), and spawn_child().

void empty_ac3 void   ) 
 

Definition at line 795 of file audio.c.

References ac3_buf, ac3_end, ac3_head, ac3_size, and ac3_tail.

Referenced by audio_write_start(), and wav_play().

void enable_osd void   ) 
 

Definition at line 761 of file video.c.

References fb_program(), hw_state, MVPMC_STATE_FILEBROWSER, MVPMC_STATE_FILEBROWSER_SHUTDOWN, MVPMC_STATE_HTTP, MVPMC_STATE_HTTP_SHUTDOWN, MVPMC_STATE_MYTHTV, MVPMC_STATE_MYTHTV_SHUTDOWN, MVPMC_STATE_REPLAYTV, MVPMC_STATE_REPLAYTV_SHUTDOWN, mythtv_program(), OSD_BITRATE, OSD_CLOCK, OSD_DEMUX, OSD_PROGRAM, OSD_PROGRESS, OSD_TIMECODE, replaytv_osd_proginfo_update(), set_osd_callback(), video_bitrate(), video_clock(), video_demux(), video_progress(), and video_timecode().

Referenced by timed_osd(), vlc_key(), and vlc_key_pause().

void end_thruput_test void   ) 
 

Definition at line 2078 of file video.c.

References DEMUX_JIT_WRITE_AUDIO, demux_jit_write_audio(), DEMUX_WRITE_AUDIO, demux_write_audio(), DEMUX_WRITE_VIDEO, demux_write_video(), video_callback_t::halt_stream, MVPMC_STATE_NONE, mvpw_set_text_str(), switch_hw_state(), thruput, thruput_count, thruput_start, thruput_widget, and video_functions.

Referenced by thruput_key_callback().

void fb_exit void   ) 
 

Definition at line 507 of file fb.c.

References audio_clear(), audio_stop, audio_thread, av_stop(), current, fb_progress, mvpw_hide(), mvpw_visible(), playlist_clear(), playlist_widget, and video_clear().

Referenced by atexit_handler(), fb_key_callback(), mvp_config_radio(), playlist_key_callback(), and switch_hw_state().

int fb_next_image int  offset  ) 
 

Definition at line 616 of file fb.c.

References av_wss_update_aspect(), current, cwd, fb_next_image(), file_browser, is_image(), iw, loaded_offset, loaded_status, mvpw_get_menu_item(), mvpw_load_image_jpeg(), mvpw_set_image(), mvpw_show_image_jpeg(), and WSS_ASPECT_UNKNOWN.

Referenced by fb_next_image(), fb_prefetch(), iw_key_callback(), and select_callback().

void fb_program mvp_widget_t widget  ) 
 

Definition at line 499 of file fb.c.

Referenced by enable_osd().

void fb_shuffle int   ) 
 

Definition at line 527 of file fb.c.

References dir_count, file_browser, file_count, gui_error(), is_audio(), mvpw_get_menu_item(), mvpw_set_menu_title(), and playlist_widget.

Referenced by fb_menu_select_callback().

void fb_start_thumbnail void   ) 
 

Definition at line 341 of file fb.c.

References current_hilite, file_browser, and select_callback().

Referenced by fb_key_callback(), and mvp_config_radio().

void fb_thruput void   ) 
 

Definition at line 596 of file fb.c.

References current, current_hilite, cwd, demux_attr_reset(), demux_reset(), file_functions, handle, MVPMC_STATE_FILEBROWSER, switch_hw_state(), video_functions, and video_play().

Referenced by fb_menu_select_callback().

int fb_update mvp_widget_t  ) 
 

Definition at line 479 of file fb.c.

References add_dirs(), add_files(), busy_end(), busy_start(), cwd, fb, mount_djmount(), mvpw_clear_menu(), mvpw_expose(), mvpw_set_menu_title(), mvpw_show(), and root.

Referenced by main_select_callback(), and quickdir_change().

int file_open void   ) 
 

Definition at line 1447 of file video.c.

References ac3len, audio_checks, audio_clear(), audio_selected, audio_type, audio_write_thread, AV_AUDIO_MPEG, av_get_audio_fd(), av_play(), av_set_audio_output(), AV_THUMBNAIL_EIGTH, AV_THUMBNAIL_OFF, current, demux_attr_reset(), demux_reset(), demux_seek(), display_on, errno, fd, fd_audio, gui_state, handle, HTTP_FILE_CLOSED, http_playing, HTTP_VIDEO_FILE_MPG, jumping, MVPMC_STATE_EMULATE, pcm_decoded, seeking, ts_demux_reset(), tshandle, vid_event_discontinuity_possible(), video_cond, video_reopen, video_thumbnail(), video_write_thread, and zoomed.

int file_read char *  ,
int 
 

Definition at line 1426 of file video.c.

References audio_checks, audio_selected, audio_switch_stream(), fd, and running_mythtv.

void gui_error char *   ) 
 

Definition at line 8520 of file gui.c.

References gui_mesg().

Referenced by audio_init(), cli_parse_response(), cli_send_packet(), commit_mythtv_delete_recorded(), delete_show_from_guide(), event_start(), fb_menu_select_callback(), fb_shuffle(), main_select_callback(), mclient_loop_thread(), mythtv_livetv_menu(), mythtv_new_livetv(), mythtv_new_livetv_start(), mythtv_open(), mythtv_schedule_recording(), mythtv_shutdown(), mythtv_verify(), play_show(), rtv_device_hilite_callback(), rtv_get_guide(), rtv_show_popup_select_callback(), settings_select_callback(), thruput_test(), tvguide_menu_select_callback(), and wd_start().

void gui_error_clear void   ) 
 

Definition at line 8526 of file gui.c.

References mvpw_hide(), and warn_widget.

Referenced by wd_start().

int gui_init char *  ,
char * 
 

Definition at line 8765 of file gui.c.

References about_image, about_init(), attr, busy_init(), colortest_init(), demux_audio_graph_attr, demux_get_attr(), demux_video_graph_attr, display_message, emulate_image, exit_image, fb_image, file_browser_init(), filebrowser_disable, handle, image_init(), init_done, key_callback(), livetv_programs_init(), main_menu, main_menu_init(), main_select_callback(), mvpw_graph_attr_t::max, mclient_fullscreen_init(), mclient_image, mclient_init(), mclient_server, mclient_sub_alt_image_init(), mclient_sub_bar_init(), mclient_sub_image_init(), mclient_sub_localmenu_init(), mclient_sub_softsqueeze_init(), MM_ABOUT, MM_EMULATE, MM_FILESYSTEM, MM_MCLIENT, MM_MYTHTV, MM_REPLAYTV, MM_SETTINGS, MM_VNC, mvp_server, mvpmc_logo, mvpw_destroy(), mvpw_event_flush(), mvpw_expose(), mvpw_focus(), mvpw_hide(), mvpw_keystroke_callback(), mvpw_lower(), mvpw_menu_hilite_item(), mvpw_set_idle(), mvpw_set_text_str(), mvpw_show(), myth_browser_init(), mythtv_image, mythtv_server, osd_init(), playlist_init(), popup_init(), replaytv_browser_init(), replaytv_image, replaytv_server, root, screensaver_init(), settings_disable, settings_init(), setup_image, slow_to_connect_init(), splash, splash_graph, splash_title, startup_this_feature, themes_init(), thruput_init(), viewport_init(), vnc_server, warn_init(), and weather_init().

void gui_mesg char *  ,
char * 
 

Definition at line 8499 of file gui.c.

References key(), mvpw_event_flush(), mvpw_set_dialog_text(), mvpw_set_dialog_title(), mvpw_show(), and warn_widget.

Referenced by commit_mythtv_delete_previos_recorded(), gui_error(), mythtv_sched_option_2_key_callback(), mythtv_sched_option_3_key_callback(), mythtv_sched_option_4_key_callback(), mythtv_schedule_options_keymovement_callback(), schedule_recording_callback(), and settings_select_callback().

int is_audio char *  item  ) 
 

Definition at line 106 of file fb.c.

Referenced by fb_shuffle(), playlist_change(), and select_callback().

int is_image char *  item  ) 
 

Definition at line 90 of file fb.c.

Referenced by fb_next_image(), playlist_change(), and select_callback().

int is_video char *  item  ) 
 

Definition at line 74 of file fb.c.

Referenced by fb_menu_select_callback(), mvp_config_radio(), playlist_change(), and select_callback().

int mw_init void   ) 
 

Definition at line 8045 of file gui.c.

References mvpw_graph_attr_t::bg, mvpw_text_attr_t::bg, mvpw_graph_attr_t::border, mvpw_text_attr_t::border, mvpw_graph_attr_t::border_size, mvpw_text_attr_t::border_size, mvpw_screen_info_t::cols, compile_time, FONT_HEIGHT, FONT_WIDTH, MVPW_BLACK, mvpw_create_graph(), mvpw_create_text(), mvpw_event_flush(), mvpw_expose(), mvpw_get_root(), mvpw_get_screen_info(), mvpw_init(), mvpw_set_bg(), mvpw_set_graph_attr(), mvpw_set_graph_current(), mvpw_set_key(), mvpw_set_text_attr(), mvpw_set_text_str(), mvpw_show(), root, root_callback(), mvpw_screen_info_t::rows, si, splash, splash_attr, splash_graph, splash_graph_attr, splash_title, version, x, and y.

void playlist_clear void   ) 
 

Definition at line 533 of file playlist.c.

References free_playlist(), mvpw_check_menu_item(), pl_menu, PL_REPEAT, playlist_head, and playlist_repeat.

Referenced by fb_exit(), playlist_key_callback(), and select_callback().

void playlist_create char **  item,
int  n,
char *  cwd
 

Create a playlist.

Parameters:
item playlist item list
n number of items
cwd basename for files in the playlist

Definition at line 543 of file playlist.c.

References playlist_struct::filename, init_control, item_attr, mvp_widget_s::key, mutex, mvpw_add_menu_item(), mvpw_check_menu_item(), mvpw_clear_menu(), playlist_struct::next, pl_menu, PL_REPEAT, playlist_init(), playlist_repeat, playlist_widget, mvpw_menu_item_attr_t::select, and select_callback().

void playlist_next  ) 
 

Definition at line 506 of file playlist.c.

References playlist_struct::next, playlist, playlist_change(), playlist_head, and playlist_repeat.

Referenced by audio_start(), playlist_key_callback(), and video_read_start().

void playlist_play mvp_widget_t  ) 
 

Definition at line 406 of file playlist.c.

References playlist_idle().

Referenced by select_callback().

void playlist_prev void   ) 
 

Definition at line 518 of file playlist.c.

References playlist, playlist_change(), and playlist_struct::prev.

Referenced by playlist_key_callback().

void playlist_randomize void   ) 
 

Definition at line 587 of file playlist.c.

References mutex, mvpw_menu_get_hilite(), playlist_struct::next, playlist_head, and playlist_widget.

Referenced by pl_menu_select_callback().

void playlist_stop void   ) 
 

Definition at line 524 of file playlist.c.

References current, and playlist.

void power_toggle void   ) 
 

void re_exec void   ) 
 

Definition at line 1269 of file main.c.

Referenced by settings_av_aspect_callback().

void replaytv_atexit void   ) 
 

Definition at line 2459 of file replaytv.c.

References LOGTRC, RTV_DBGLOG, and rtv_halt_discovery_server().

Referenced by atexit_handler().

void replaytv_back_to_mvp_main_menu void   ) 
 

Definition at line 1581 of file gui.c.

References main_menu, mvpmc_logo, MVPMC_STATE_NONE, mvpw_focus(), mvpw_show(), replaytv_hide_device_menu(), replaytv_image, rtv_halt_discovery_server(), and switch_gui_state().

Referenced by rtv_device_menu_callback().

void replaytv_exit void   ) 
 

Definition at line 2451 of file replaytv.c.

References LOGTRC, and RTV_DBGLOG.

Referenced by switch_hw_state().

void screensaver_disable void   ) 
 

Definition at line 8432 of file gui.c.

References mvpw_set_screensaver(), and screensaver_enabled.

Referenced by fb_key_callback(), http_play(), iw_key_callback(), main_select_callback(), mythtv_fullscreen(), mythtv_key_callback(), mythtv_menu_callback(), play_show(), playlist_key_callback(), select_callback(), video_read_start(), video_thumbnail(), and vlc_key_unpause().

void screensaver_enable void   ) 
 

Definition at line 8421 of file gui.c.

References mvpw_set_screensaver(), screensaver, screensaver_enabled, screensaver_event(), and screensaver_timeout.

Referenced by fb_prefetch(), iw_key_callback(), mvp_emulation_end(), replaytv_device_update(), screensaver_init(), video_thumbnail(), vlc_key_pause(), and vnc_key_callback().

static int set_osd_callback int  type,
void(*)(mvp_widget_t *)  callback
[inline, static]
 

Definition at line 384 of file mvpmc.h.

References osd_widget_t::callback, MAX_OSD_WIDGETS, mvpw_hide(), mvpw_set_timer(), mvpw_show(), and osd_widgets.

Referenced by disable_osd(), display_bookmark_status_osd(), and enable_osd().

void start_thruput_test void   ) 
 

Definition at line 2060 of file video.c.

References DEMUX_JIT_WRITE_AUDIO, demux_jit_write_audio_nop(), DEMUX_WRITE_AUDIO, demux_write_audio_nop(), DEMUX_WRITE_VIDEO, demux_write_video_nop(), MVPMC_STATE_NONE, mvpw_focus(), mvpw_set_text_str(), mvpw_show(), switch_hw_state(), thruput, thruput_start, and thruput_widget.

Referenced by fb_menu_select_callback(), mythtv_popup_select_callback(), and thruput_test().

void subtitle_switch_stream mvp_widget_t ,
int 
 

Definition at line 1305 of file video.c.

References demux_spu_get_id(), demux_spu_set_id(), handle, and mvpw_check_menu_item().

Referenced by subtitle_stream_select_callback().

void switch_gui_state mvpmc_state_t  new  ) 
 

Definition at line 1324 of file main.c.

References cwd, web_config_t::fs_rtwin, gui_state, MVPMC_STATE_FILEBROWSER, MVPMC_STATE_REPLAYTV, web_config_t::rtwin, set_route(), thread_attr_small, unmount_djmount(), web_config, web_port, web_server, web_server_thread, and www_mvpmc_start().

Referenced by back_to_guide_menu(), colortest_callback(), fb_key_callback(), http_read_stream(), main_select_callback(), mclient_key_callback(), mvp_server_stop(), mythtv_menu_callback(), replaytv_back_to_mvp_main_menu(), and weather_key_callback().

void switch_hw_state mvpmc_state_t  new  ) 
 

Definition at line 1282 of file main.c.

References cwd, fb_exit(), hw_state, mclient_exit(), MVPMC_STATE_EMULATE, MVPMC_STATE_EMULATE_SHUTDOWN, MVPMC_STATE_FILEBROWSER, MVPMC_STATE_FILEBROWSER_SHUTDOWN, MVPMC_STATE_HTTP, MVPMC_STATE_HTTP_SHUTDOWN, MVPMC_STATE_MCLIENT, MVPMC_STATE_MCLIENT_SHUTDOWN, MVPMC_STATE_MYTHTV, MVPMC_STATE_MYTHTV_SHUTDOWN, MVPMC_STATE_NONE, MVPMC_STATE_REPLAYTV, MVPMC_STATE_REPLAYTV_SHUTDOWN, MVPMC_STATE_WEATHER, mythtv_exit(), replaytv_exit(), and unmount_djmount().

Referenced by end_thruput_test(), fb_thruput(), livetv_select_callback(), main_select_callback(), mclient_loop_thread(), mythtv_livetv_select(), mythtv_new_livetv(), mythtv_start_thumbnail(), mythtv_thruput(), play_show(), replaytv_device_update(), select_callback(), show_select_callback(), start_thruput_test(), and thruput_test().

int theme_parse char *  file  ) 
 

Definition at line 1146 of file theme.c.

References parser_data_t::cur, parser_data_t::cur_attr, parser_data_t::cur_type, parser_data_t::data, parser_data_t::depth, end(), parser_data_t::name, parser_data_t::p, start(), parser_data_t::theme_err, and value().

Referenced by mvpmc_main(), and tag_include().

void timed_osd int  timeout  ) 
 

Definition at line 1847 of file video.c.

References display_on, display_on_alt, enable_osd(), mvpw_set_timer(), root, and seek_disable_osd().

Referenced by vlc_key().

void timer_hide mvp_widget_t widget  ) 
 

Definition at line 1489 of file gui.c.

References mvpw_hide(), mvpw_set_timer(), and volume_dialog.

Referenced by fb_key_callback(), main_menu_callback(), and playlist_key_callback().

void video_callback mvp_widget_t ,
char 
 

Definition at line 893 of file video.c.

References video_callback_t::key, mvp_tvguide_callback(), showing_guide, state, video_functions, and video_playing.

Referenced by mythtv_key_callback(), mythtv_menu_callback(), and root_callback().

void video_clear void   ) 
 

Definition at line 327 of file video.c.

References audio_type, audio_write_thread, av_reset(), av_reset_stc(), av_stop(), av_video_blank(), av_wss_update_aspect(), fd, MVPW_BLACK, mvpw_set_bg(), root, TRC, video_cond, video_playing, video_write_thread, write_threads_idle_sem, and WSS_ASPECT_FULL_4x3.

Referenced by __change_channel(), fb_exit(), media_read_message(), mvp_server_start(), mythtv_channel_set(), mythtv_cleanup(), mythtv_delete_prog(), mythtv_livetv_stop(), mythtv_open(), mythtv_stop(), playlist_key_callback(), replaytv_back_from_video(), rtv_halt_stream(), select_callback(), and vlc_key_unpause().

void* video_events_start void *   ) 
 

Definition at line 1753 of file video.c.

References aspect_change_t::afd, aspect_change_t::aspect, VID_EVENT_ASPECT, vid_event_wait_next(), and video_change_aspect().

int video_get_byterate void   ) 
 

Definition at line 425 of file video.c.

References attr, demux_get_attr(), and handle.

Referenced by control_start().

int video_init void   ) 
 

Definition at line 264 of file video.c.

References write_threads_idle_sem.

void video_play mvp_widget_t  ) 
 

Definition at line 298 of file video.c.

References attr, av_set_tv_aspect(), config_t::av_tv_aspect, config, demux_get_attr(), demux_spu_get_id(), handle, mvpw_set_idle(), mvpw_set_timer(), paused, root, TRC, vi, video_change_aspect(), video_cond, video_playing, video_reopen, video_set_root(), video_subtitle_check(), and video_subtitle_display().

Referenced by __change_channel(), fb_thruput(), http_play(), media_read_message(), mythtv_channel_set(), mythtv_livetv_select(), mythtv_new_livetv_start(), mythtv_start_thumbnail(), mythtv_thruput(), play_show(), playlist_change(), select_callback(), show_select_callback(), and thruput_test().

void* video_read_start void *   ) 
 

Definition at line 1519 of file video.c.

References ac3len, attr, AUD_OUTPUT_PASSTHRU, AUD_OUTPUT_STEREO, AUDIO_MODE_AC3, AUDIO_MODE_PCM, audio_output, audio_output_mode, audio_type, AV_AUDIO_AC3, AV_AUDIO_MPEG, AV_AUDIO_PCM, av_get_state(), av_play(), av_reset(), av_reset_stc(), av_set_audio_output(), av_set_audio_type(), av_set_mute(), demux_get_attr(), DEMUX_PUT, demux_reset(), demux_seek(), do_seek(), errno, handle, inbuf_static, jump_target, jumping, mutex, MVP_READ_THREAD_IDLE, mvpw_hide(), video_callback_t::notify, video_callback_t::open, pause_widget, paused, pcm_decoded, playlist, playlist_next(), video_callback_t::read, video_callback_t::read_dynb, screensaver_disable(), video_callback_t::seek, seeking, state, sync_ac3_audio(), thruput_count, TRC, ts_demux_is_ts(), ts_demux_reset(), ts_demux_resync_count(), ts_demux_transform(), TS_MODE_NO, TS_MODE_UNKNOWN, TS_MODE_YES, tsbuf_static, tshandle, vi, vid_event_clear(), vid_event_discontinuity_possible(), video_cond, video_functions, video_playing, and video_reopen.

void video_set_root void   ) 
 

Definition at line 271 of file video.c.

References av_get_state(), ffwd_widget, mute_widget, MVPW_BLACK, mvpw_color_alpha, mvpw_set_bg(), mvpw_show(), MVPW_WHITE, pause_widget, root, root_bright, root_color, and state.

Referenced by fb_key_callback(), http_play(), mythtv_key_callback(), mythtv_menu_callback(), playlist_key_callback(), and video_play().

void video_stop_play void   ) 
 

Definition at line 356 of file video.c.

References video_playing.

Referenced by replaytv_back_from_video(), and rtv_halt_stream().

void video_switch_stream mvp_widget_t ,
int 
 

Definition at line 1282 of file video.c.

References attr, demux_get_attr(), demux_set_video_stream(), handle, and mvpw_check_menu_item().

Referenced by video_stream_select_callback().

void video_thumbnail av_thumbnail_mode_t  thumb_mode,
vid_thumb_location_t  loc
 

Definition at line 163 of file video.c.

References av_move(), av_thumbnail_height, AV_THUMBNAIL_OFF, av_thumbnail_width, av_wss_redraw(), gui_state, MVPMC_STATE_EMULATE, screensaver_disable(), screensaver_enable(), VIEWPORT_BOTTOM, VIEWPORT_LEFT, VIEWPORT_RIGHT, VIEWPORT_TOP, x, and y.

Referenced by back_to_guide_menu(), file_open(), http_play(), mvp_tvguide_video_topright(), mythtv_fullscreen(), mythtv_new_livetv_start(), mythtv_start_thumbnail(), show_select_callback(), and video_subtitle_check().

void* video_write_start void *   ) 
 

Definition at line 1799 of file video.c.

References DEMUX_WRITE_VIDEO, fd_video, handle, idle, jumping, mutex, seeking, sighandler(), video_cond, video_playing, and write_threads_idle_sem.

int vlc_cmd char *  cmd  ) 
 

Definition at line 779 of file vlc_control.c.

References vlc_connect(), and VLC_CONTROL.

Referenced by vlc_pause(), vlc_seek_pct(), and vlc_stop().

int vlc_connect FILE *  outlog,
const char *  url,
int  ContentType,
int  VlcCommandType,
char *  VlcCommandArg,
int  offset
 

Definition at line 178 of file vlc_control.c.

References config, current, fb_name, is_ISO(), LINE_SIZE, mvpw_set_text_str(), rc, SOCK_STREAM, config_t::vlc_aopts, vlc_broadcast_enabled, vlc_cachedstreamlength, vlc_cachedstreampos, vlc_cachedstreamtime, VLC_CONTROL, VLC_CREATE_BROADCAST, VLC_DESTROY, vlc_get_audio_transcode(), vlc_get_video_transcode(), VLC_LOG_FILE, VLC_LOG_STDOUT, VLC_PCTPOS, VLC_SEEK_PCT, VLC_SEEK_SEC, vlc_server, vlc_totalhours, vlc_totalminutes, vlc_totalseconds, and VLC_VLM_PORT.

Referenced by audio_clear(), http_main(), vlc_cmd(), vlc_destroy(), vlc_get_pct_pos(), vlc_seek_pct_relative(), and vlc_seek_sec_relative().

int vlc_destroy  ) 
 

Definition at line 765 of file vlc_control.c.

References vlc_connect(), and VLC_DESTROY.

int vlc_get_pct_pos  ) 
 

Definition at line 820 of file vlc_control.c.

References OSD_UPDATE_CALLS, vlc_cachedstreampos, vlc_connect(), and VLC_PCTPOS.

Referenced by vlc_stream_seek(), and vlc_timecode().

int vlc_seek_pct int  pos  ) 
 

Definition at line 738 of file vlc_control.c.

References vlc_cachedstreampos, and vlc_cmd().

Referenced by vlc_key().

int vlc_seek_pct_relative int  offset  ) 
 

Definition at line 793 of file vlc_control.c.

References vlc_connect(), and VLC_SEEK_PCT.

Referenced by vlc_key().

int vlc_seek_sec_relative int  offset  ) 
 

Definition at line 808 of file vlc_control.c.

References vlc_connect(), and VLC_SEEK_SEC.

Referenced by vlc_key().

int vlc_stop  ) 
 

Definition at line 757 of file vlc_control.c.

References vlc_cmd().

void vlc_timecode char *  timecode  ) 
 

Definition at line 1029 of file vlc_control.c.

References vlc_cachedstreamtime, vlc_get_pct_pos(), vlc_totalhours, vlc_totalminutes, and vlc_totalseconds.

Referenced by video_timecode().

void volume_key_callback mvp_widget_t widget,
char  key
 

Definition at line 3969 of file gui.c.

References av_set_volume(), config_t::bitmask, config, CONFIG_VOLUME, mvpw_hide(), MVPW_KEY_DOWN, MVPW_KEY_EXIT, MVPW_KEY_LEFT, MVPW_KEY_MENU, MVPW_KEY_RIGHT, MVPW_KEY_UP, MVPW_KEY_VOL_DOWN, MVPW_KEY_VOL_UP, mvpw_set_dialog_text(), mvpw_set_timer(), config_t::volume, volume, and volume_dialog.

Referenced by fb_key_callback(), main_menu_callback(), playlist_key_callback(), and popup_init().

int weather_update mvp_widget_t  ) 
 


Variable Documentation

av_passthru_t audio_output_mode
 

Definition at line 146 of file audio.c.

Referenced by audio_init(), audio_player(), audio_write_start(), mvpmc_main(), set_config(), settings_av_audio_callback(), settings_av_select_callback(), sync_ac3_audio(), and video_read_start().

volatile int audio_playing
 

Definition at line 148 of file audio.c.

Referenced by audio_start(), mvp_config_radio(), mvp_load_data(), playlist_key_callback(), and select_callback().

volatile int audio_stop
 

Definition at line 149 of file audio.c.

Referenced by audio_player(), audio_start(), fb_exit(), flac_play(), HandleRDCMessage(), http_main(), http_play(), http_read_stream(), iw_key_callback(), media_read_message(), ogg_setup(), playlist_key_callback(), select_callback(), and stream_decoder_write_callback_().

pthread_t audio_thread
 

Definition at line 202 of file main.c.

Referenced by fb_exit(), playlist_key_callback(), and select_callback().

pthread_t audio_write_thread
 

Definition at line 201 of file main.c.

mvp_widget_t* bps_widget
 

bits per second

Definition at line 1149 of file gui.c.

Referenced by osd_callback(), osd_init(), and video_bitrate().

char build_user[]
 

Definition at line 5 of file version.c.

Referenced by mvpmc_main().

mvp_widget_t* clock_widget
 

Definition at line 1174 of file gui.c.

Referenced by osd_init().

char compile_time[]
 

Definition at line 3 of file version.c.

Referenced by about_init(), mvp_load_data(), mvpmc_main(), and mw_init().

mvp_widget_t* ct_text_box
 

Definition at line 1114 of file gui.c.

Referenced by colortest_callback(), colortest_draw(), and video_subtitle_check().

char* current
 

Definition at line 57 of file fb.c.

Referenced by add_subtitle_streams(), audio_init(), audio_start(), client_stop(), cmyth_recorder_get_next_proginfo(), create_shoutcast_playlist(), fb_exit(), fb_next_image(), fb_thruput(), fetch_cover_image(), fetch_weather_image(), file_open(), flac_play(), get_weather_data(), HandleRDCMessage(), http_main(), http_play(), media_read_message(), mvp_config_radio(), mvp_key_callback(), mvp_load_data(), mythtv_new_livetv_start(), mythtv_start_thumbnail(), ogg_setup(), pauseFileAck(), playlist_change(), playlist_idle(), playlist_stop(), rfb_init(), rtv_parse_evt_file(), select_callback(), show_select_callback(), vlc_connect(), and write_data().

char* current_hilite
 

Definition at line 58 of file fb.c.

Referenced by fb_menu_select_callback(), fb_start_thumbnail(), fb_thruput(), hilite_callback(), and mvp_load_data().

char cwd[]
 

Definition at line 52 of file fb.c.

mvp_widget_t* demux_audio
 

Definition at line 1176 of file gui.c.

Referenced by osd_init(), and video_demux().

int(* DEMUX_JIT_WRITE_AUDIO)(demux_handle_t *, int, unsigned int, int, int *, int *)
 

Definition at line 215 of file main.c.

Referenced by audio_write_start(), end_thruput_test(), and start_thruput_test().

av_demux_mode_t demux_mode
 

Definition at line 210 of file main.c.

int(* DEMUX_PUT)(demux_handle_t *, void *, int)
 

Definition at line 212 of file main.c.

Referenced by video_read_start().

mvp_widget_t* demux_video
 

Definition at line 1175 of file gui.c.

Referenced by osd_init(), and video_demux().

int(* DEMUX_WRITE_AUDIO)(demux_handle_t *, int)
 

Definition at line 214 of file main.c.

Referenced by audio_write_start(), end_thruput_test(), and start_thruput_test().

int(* DEMUX_WRITE_VIDEO)(demux_handle_t *, int)
 

Definition at line 213 of file main.c.

Referenced by end_thruput_test(), start_thruput_test(), and video_write_start().

int display_on
 

Definition at line 96 of file video.c.

Referenced by back_to_guide_menu(), file_open(), goto_bookmark_status(), seek_disable_osd(), set_bookmark_status(), set_bookmark_status_fail(), set_commbreak_status(), set_seek_status(), timed_osd(), video_progress(), vlc_key(), vlc_key_pause(), and vlc_key_unpause().

int display_on_alt
 

Definition at line 96 of file video.c.

Referenced by display_bookmark_status_osd(), seek_disable_osd(), timed_osd(), vlc_key(), vlc_key_pause(), and vlc_key_unpause().

mvp_widget_t* episodes_widget
 

Definition at line 1155 of file gui.c.

Referenced by hilite_callback(), myth_browser_init(), mythtv_back(), mythtv_fullscreen(), mythtv_key_callback(), mythtv_menu_callback(), mythtv_show_widgets(), mythtv_shutdown(), and mythtv_update().

mvp_widget_t* fb_name
 

Definition at line 1184 of file gui.c.

Referenced by file_browser_init(), http_main(), http_play(), http_read_stream(), mplayer_helper_connect(), select_callback(), and vlc_connect().

mvp_widget_t* fb_offset_bar
 

Definition at line 1188 of file gui.c.

Referenced by content_osd_update(), fb_osd_update(), and file_browser_init().

mvp_widget_t* fb_offset_widget
 

Definition at line 1187 of file gui.c.

Referenced by content_osd_update(), fb_osd_update(), and file_browser_init().

mvp_widget_t* fb_program_widget
 

Definition at line 1172 of file gui.c.

Referenced by hilite_callback(), osd_init(), and select_callback().

mvp_widget_t* fb_progress
 

Definition at line 1183 of file gui.c.

Referenced by audio_clear(), audio_start(), back_to_guide_menu(), fb_exit(), fb_key_callback(), file_browser_init(), flac_play(), http_play(), mvp_config_radio(), playlist_key_callback(), and select_callback().

mvp_widget_t* fb_size
 

Definition at line 1186 of file gui.c.

Referenced by content_osd_update(), fb_osd_update(), and file_browser_init().

mvp_widget_t* fb_time
 

Definition at line 1185 of file gui.c.

Referenced by content_osd_update(), fb_osd_update(), and file_browser_init().

int fd
 

Definition at line 76 of file video.c.

int fd_audio
 

Definition at line 102 of file video.c.

int fd_video
 

Definition at line 102 of file video.c.

mvp_widget_t* ffwd_widget
 

fast forward

Definition at line 1144 of file gui.c.

Referenced by back_to_guide_menu(), osd_init(), seek_by(), seek_to(), video_progress(), video_set_root(), and vlc_key_pause().

mvp_widget_t* file_browser
 

file browser

Definition at line 1118 of file gui.c.

Referenced by back_to_guide_menu(), fb_menu_key_callback(), fb_next_image(), fb_shuffle(), fb_start_thumbnail(), file_browser_init(), http_play(), iw_key_callback(), main_select_callback(), mount_djmount(), mvp_config_radio(), playlist_key_callback(), and video_subtitle_check().

video_callback_t file_functions
 

Video playback functions for playing files from the filesystem.

Definition at line 121 of file video.c.

Referenced by fb_thruput(), livetv_select_callback(), mythtv_livetv_start(), mythtv_new_livetv_start(), mythtv_start_thumbnail(), mythtv_thruput(), select_callback(), and show_select_callback().

int filebrowser_disable
 

Definition at line 140 of file main.c.

Referenced by gui_init(), load_web_config(), main_menu_items(), and mvpmc_main().

int flicker
 

Definition at line 149 of file main.c.

int fontid
 

Definition at line 185 of file main.c.

Referenced by file_browser_init(), and tag_font().

mvp_widget_t* freespace_widget
 

Definition at line 1156 of file gui.c.

Referenced by hilite_callback(), myth_browser_init(), mythtv_back(), mythtv_fullscreen(), mythtv_key_callback(), mythtv_menu_callback(), mythtv_show_widgets(), mythtv_shutdown(), and mythtv_update().

char git_diffs[]
 

Definition at line 2 of file version.c.

Referenced by mvpmc_main().

char git_revision[]
 

Definition at line 1 of file version.c.

Referenced by mvpmc_main().

mvpmc_state_t gui_state
 

Definition at line 222 of file main.c.

Referenced by atexit_handler(), audio_init(), back_to_guide_menu(), fetch_cover_image(), fetch_weather_image(), file_open(), http_main(), http_read_stream(), main_select_callback(), mclient_key_callback(), mclient_localmenu_callback(), mclient_loop_thread(), mvp_config_radio(), mvp_load_data(), mythtv_browser_expose(), mythtv_shutdown(), parse_data(), screensaver_event(), screensaver_timer(), switch_gui_state(), update_weather(), video_subtitle_check(), video_thumbnail(), and wd_start().

demux_handle_t* handle
 

Definition at line 103 of file video.c.

mvpmc_state_t hw_state
 

Definition at line 221 of file main.c.

Referenced by atexit_handler(), enable_osd(), main_menu_callback(), mclient_exit(), mclient_loop_thread(), mythtv_shutdown(), switch_hw_state(), and wd_start().

char* imagedir
 

Definition at line 195 of file main.c.

mvp_widget_t* iw
 

image viewer

Definition at line 1019 of file gui.c.

Referenced by fb_key_callback(), fb_next_image(), http_play(), image_init(), playlist_change(), and select_callback().

volatile long long jump_target
 

Definition at line 82 of file video.c.

volatile int jumping
 

Definition at line 81 of file video.c.

Referenced by audio_write_start(), auto_select_audio(), control_start(), file_open(), HandleRDCMessage(), media_read_message(), mvp_file_read(), seek_to(), video_read_start(), video_write_start(), and vlc_key().

pthread_cond_t mclient_cond
 

Definition at line 76 of file mclient_mvpmc.c.

Referenced by main_select_callback().

mvp_widget_t* mclient_fullscreen
 

Definition at line 1069 of file gui.c.

Referenced by cli_parse_display(), cli_parse_playlist(), cli_read_data(), main_select_callback(), mclient_fullscreen_init(), mclient_key_callback(), mclient_sub_alt_image_init(), and mclient_sub_softsqueeze_init().

char* mclient_server
 

Definition at line 174 of file main.c.

Referenced by cli_get_cover_art(), cli_parse_response(), cli_send_packet(), gui_init(), load_web_config(), main_menu_items(), mclient_get_browser_cover_art(), mclient_local_init(), mclient_loop_thread(), mclient_select_callback(), mvpmc_main(), reset_web_config(), set_config(), and settings_ip_change_mclient().

mvp_widget_t* mclient_sub_alt_image
 

Definition at line 1081 of file gui.c.

Referenced by cli_get_cover_art(), main_select_callback(), mclient_get_browser_cover_art(), mclient_key_callback(), and mclient_sub_alt_image_init().

mvp_widget_t* mclient_sub_alt_image_1_1
 

Definition at line 1082 of file gui.c.

Referenced by mclient_browse_by_cover(), mclient_browse_by_cover_widget(), mclient_localmenu_hide_all_widgets(), and mclient_sub_image_init().

mvp_widget_t* mclient_sub_alt_image_1_2
 

Definition at line 1083 of file gui.c.

Referenced by mclient_browse_by_cover(), mclient_browse_by_cover_widget(), mclient_localmenu_hide_all_widgets(), and mclient_sub_image_init().

mvp_widget_t* mclient_sub_alt_image_1_3
 

Definition at line 1084 of file gui.c.

Referenced by mclient_browse_by_cover(), mclient_browse_by_cover_widget(), mclient_localmenu_hide_all_widgets(), and mclient_sub_image_init().

mvp_widget_t* mclient_sub_alt_image_2_1
 

Definition at line 1085 of file gui.c.

Referenced by mclient_browse_by_cover(), mclient_browse_by_cover_widget(), mclient_localmenu_hide_all_widgets(), and mclient_sub_image_init().

mvp_widget_t* mclient_sub_alt_image_2_2
 

Definition at line 1086 of file gui.c.

Referenced by mclient_browse_by_cover(), mclient_browse_by_cover_widget(), mclient_localmenu_hide_all_widgets(), and mclient_sub_image_init().

mvp_widget_t* mclient_sub_alt_image_2_3
 

Definition at line 1087 of file gui.c.

Referenced by mclient_browse_by_cover(), mclient_browse_by_cover_widget(), mclient_localmenu_hide_all_widgets(), and mclient_sub_image_init().

mvp_widget_t* mclient_sub_alt_image_3_1
 

Definition at line 1088 of file gui.c.

Referenced by mclient_localmenu_hide_all_widgets().

mvp_widget_t* mclient_sub_alt_image_3_2
 

Definition at line 1089 of file gui.c.

Referenced by mclient_localmenu_hide_all_widgets().

mvp_widget_t* mclient_sub_alt_image_3_3
 

Definition at line 1090 of file gui.c.

Referenced by mclient_localmenu_hide_all_widgets().

mvp_widget_t* mclient_sub_alt_image_info
 

Definition at line 1091 of file gui.c.

Referenced by mclient_browse_by_cover(), mclient_browse_by_cover_widget(), mclient_localmenu_hide_all_widgets(), and mclient_sub_image_init().

mvp_widget_t* mclient_sub_browsebar
 

Definition at line 1094 of file gui.c.

Referenced by mclient_browse_by_cover(), mclient_browse_by_cover_widget(), mclient_localmenu_hide_all_widgets(), and mclient_sub_bar_init().

mvp_widget_t* mclient_sub_image
 

Definition at line 1071 of file gui.c.

Referenced by cli_get_cover_art(), main_select_callback(), mclient_get_browser_cover_art(), mclient_key_callback(), and mclient_sub_image_init().

mvp_widget_t* mclient_sub_image_1_1
 

Definition at line 1072 of file gui.c.

Referenced by mclient_browse_by_cover(), mclient_browse_by_cover_widget(), mclient_localmenu_hide_all_widgets(), and mclient_sub_image_init().

mvp_widget_t* mclient_sub_image_1_2
 

Definition at line 1073 of file gui.c.

Referenced by mclient_browse_by_cover(), mclient_browse_by_cover_widget(), mclient_localmenu_hide_all_widgets(), and mclient_sub_image_init().

mvp_widget_t* mclient_sub_image_1_3
 

Definition at line 1074 of file gui.c.

Referenced by mclient_browse_by_cover(), mclient_browse_by_cover_widget(), mclient_localmenu_hide_all_widgets(), and mclient_sub_image_init().

mvp_widget_t* mclient_sub_image_2_1
 

Definition at line 1075 of file gui.c.

Referenced by mclient_browse_by_cover(), mclient_browse_by_cover_widget(), mclient_localmenu_hide_all_widgets(), and mclient_sub_image_init().

mvp_widget_t* mclient_sub_image_2_2
 

Definition at line 1076 of file gui.c.

Referenced by mclient_browse_by_cover(), mclient_browse_by_cover_widget(), mclient_localmenu_hide_all_widgets(), and mclient_sub_image_init().

mvp_widget_t* mclient_sub_image_2_3
 

Definition at line 1077 of file gui.c.

Referenced by mclient_browse_by_cover(), mclient_browse_by_cover_widget(), mclient_localmenu_hide_all_widgets(), and mclient_sub_image_init().

mvp_widget_t* mclient_sub_image_3_1
 

Definition at line 1078 of file gui.c.

Referenced by mclient_localmenu_hide_all_widgets().

mvp_widget_t* mclient_sub_image_3_2
 

Definition at line 1079 of file gui.c.

Referenced by mclient_localmenu_hide_all_widgets().

mvp_widget_t* mclient_sub_image_3_3
 

Definition at line 1080 of file gui.c.

Referenced by mclient_localmenu_hide_all_widgets().

mvp_widget_t* mclient_sub_localmenu
 

Definition at line 1095 of file gui.c.

Referenced by curses2ir(), mclient_localmenu_callback(), mclient_localmenu_hide_all_widgets(), and mclient_sub_localmenu_init().

mvp_widget_t* mclient_sub_progressbar
 

Definition at line 1092 of file gui.c.

Referenced by main_select_callback(), mclient_key_callback(), mclient_loop_thread(), and mclient_sub_bar_init().

mvp_widget_t* mclient_sub_softsqueeze
 

Definition at line 1070 of file gui.c.

Referenced by main_select_callback(), mclient_idle_callback(), mclient_key_callback(), and mclient_sub_softsqueeze_init().

mvp_widget_t* mclient_sub_volumebar
 

Definition at line 1093 of file gui.c.

Referenced by main_select_callback(), mclient_key_callback(), mclient_loop_thread(), and mclient_sub_bar_init().

int mplayer_disable
 

Definition at line 141 of file main.c.

mvp_widget_t* mute_widget
 

mute

Definition at line 1143 of file gui.c.

Referenced by back_to_guide_menu(), curses2ir(), fb_key_callback(), osd_init(), receive_volume_data(), video_progress(), video_set_root(), and vlc_key_unpause().

char* mvp_server
 

Hauppauge server hostname or IP address.

Definition at line 176 of file main.c.

Referenced by connect_to_servers(), gui_init(), load_web_config(), main_menu_items(), mvp_key_callback(), mvp_server_init(), mvpmc_main(), query_host_parameters(), and udp_broadcast().

int mythtv_auto_commskip
 

Definition at line 154 of file main.c.

Referenced by add_item(), control_start(), get_item(), mvpmc_main(), popup_init(), set_config(), and settings_mythtv_options_select_callback().

int mythtv_check_tuner_type
 

Definition at line 152 of file main.c.

Referenced by add_item(), get_item(), mythtv_new_livetv(), set_config(), and settings_mythtv_options_select_callback().

int mythtv_commskip
 

Definition at line 153 of file main.c.

Referenced by add_item(), get_item(), mvpmc_main(), mythtv_video_key(), popup_init(), set_config(), set_seek_status(), and settings_mythtv_options_select_callback().

int mythtv_disable_all_commskip
 

Definition at line 155 of file main.c.

Referenced by add_item(), get_item(), set_config(), and settings_mythtv_options_select_callback().

int mythtv_disable_bookmark_osd
 

Definition at line 157 of file main.c.

Referenced by add_item(), get_item(), mythtv_video_key(), set_config(), and settings_mythtv_options_select_callback().

int mythtv_disable_commskip_osd
 

Definition at line 156 of file main.c.

Referenced by add_item(), control_start(), get_item(), mythtv_video_key(), popup_init(), set_config(), and settings_mythtv_options_select_callback().

mvp_widget_t* mythtv_options
 

Definition at line 1126 of file gui.c.

Referenced by commit_mythtv_delete_previos_recorded(), commit_mythtv_delete_recorded(), myth_browser_init(), mythtv_delete_previous_recorded(), and mythtv_delete_recorded().

int mythtv_seek_amount
 

Definition at line 151 of file main.c.

Referenced by popup_init(), set_config(), and settings_mythtv_options_select_callback().

mvp_widget_t* offset_bar
 

file percentage graph

Definition at line 1148 of file gui.c.

Referenced by osd_callback(), osd_init(), and video_progress().

mvp_widget_t* offset_widget
 

file percentage

Definition at line 1147 of file gui.c.

Referenced by osd_callback(), osd_init(), and video_progress().

osd_settings_t osd_settings
 

Definition at line 1411 of file gui.c.

Referenced by mvpmc_main(), mythtv_guide_menu_update(), mythtv_livetv_select(), mythtv_new_livetv_start(), mythtv_update(), osd_init(), osd_select_callback(), popup_init(), replaytv_device_update(), select_callback(), set_config(), settings_init(), and tag_settings_osd().

mvp_widget_t* osd_widget
 

On-Screen-Display.

Definition at line 1146 of file gui.c.

Referenced by back_to_guide_menu(), and video_progress().

osd_widget_t osd_widgets[]
 

Definition at line 1410 of file gui.c.

Referenced by add_osd_widget(), osd_widget_toggle(), and set_osd_callback().

int pause_osd
 

Definition at line 119 of file video.c.

Referenced by playback_pause_select_callback(), set_config(), settings_init(), tag_settings_video(), vlc_key_pause(), and vlc_key_unpause().

mvp_widget_t* pause_widget
 

pause

Definition at line 1142 of file gui.c.

Referenced by audio_write_start(), back_to_guide_menu(), fb_key_callback(), osd_init(), video_progress(), video_read_start(), video_set_root(), vlc_key_pause(), and vlc_key_unpause().

volatile int paused
 

Definition at line 94 of file video.c.

Referenced by audio_write_start(), client_pause(), control_start(), fb_key_callback(), HandleRDCMessage(), media_read_message(), mvp_server_reset_state(), mvp_server_start(), mvp_timer_callback(), video_play(), video_read_start(), video_unpause_timer_callback(), vlc_key(), vlc_key_pause(), and vlc_key_unpause().

mvp_widget_t* pl_menu
 

Definition at line 1181 of file gui.c.

Referenced by playlist_clear(), playlist_create(), playlist_init(), and playlist_key_callback().

playlist_t* playlist
 

Definition at line 58 of file playlist.c.

Referenced by audio_init(), audio_start(), back_to_guide_menu(), free_playlist(), http_main(), mvp_config_radio(), mvp_load_data(), playlist_change(), playlist_idle(), playlist_next(), playlist_prev(), playlist_stop(), select_callback(), and video_read_start().

int playlist_repeat
 

Definition at line 60 of file playlist.c.

Referenced by pl_menu_select_callback(), playlist_clear(), playlist_create(), and playlist_next().

mvp_widget_t* playlist_widget
 

Definition at line 1180 of file gui.c.

Referenced by back_to_guide_menu(), build_playlist_from_file(), fb_exit(), fb_shuffle(), http_main(), http_play(), http_read_stream(), mvp_config_radio(), pl_menu_key_callback(), playlist_change(), playlist_create(), playlist_idle(), playlist_init(), playlist_randomize(), screensaver_event(), select_callback(), and video_subtitle_check().

mvp_widget_t* popup_menu
 

Definition at line 1159 of file gui.c.

Referenced by popup_init(), popup_key_callback(), and popup_select_callback().

mvp_widget_t* program_info_widget
 

Definition at line 1157 of file gui.c.

Referenced by commit_mythtv_delete_previos_recorded(), hilite_mythtv_delete_previous_recorded(), hilite_mythtv_delete_recorded(), hilite_prog_finder_time_callback(), hilite_schedule_recording_callback(), myth_browser_init(), mythtv_delete_recorded(), mythtv_key_callback(), mythtv_menu_callback(), mythtv_prog_finder_char_search_keymovement_callback(), mythtv_prog_finder_time_search_keymovement_callback(), mythtv_prog_finder_title_search_keymovement_callback(), mythtv_schedule_keymovement_callback(), mythtv_schedule_recording(), and mythtv_schedule_recording_delete().

int reboot_disable
 

Definition at line 138 of file main.c.

Referenced by load_web_config(), main_menu_items(), and mvpmc_main().

char* replaytv_server
 

ReplayTV server hostname or IP address.

Definition at line 173 of file main.c.

Referenced by gui_init(), load_web_config(), main_menu_items(), and mvpmc_main().

int rfb_mode
 

Definition at line 148 of file main.c.

mvp_widget_t* root
 

root window

Definition at line 1018 of file gui.c.

Referenced by __change_channel(), back_to_guide_menu(), bright_key_callback(), bright_select_callback(), capture_screenshot(), colortest_callback(), fb_key_callback(), fb_update(), gui_init(), http_play(), media_read_message(), mvp_server_start(), mvpw_get_root(), mvpw_init(), mvpw_reparent(), mw_init(), mythtv_channel_set(), mythtv_cleanup(), mythtv_delete_prog(), mythtv_fullscreen(), mythtv_guide_menu_update(), mythtv_key_callback(), mythtv_livetv_select(), mythtv_livetv_stop(), mythtv_menu_callback(), mythtv_new_livetv_start(), mythtv_open(), mythtv_prog_finder_char_menu_right(), mythtv_prog_finder_title_menu_right(), mythtv_shutdown(), mythtv_start_thumbnail(), mythtv_stop(), mythtv_thruput(), mythtv_update(), play_show(), playlist_change(), playlist_key_callback(), popup_key_callback(), replaytv_device_update(), rtv_parse_evt_file(), run_colortest(), seek_disable_osd(), select_callback(), show_select_callback(), timed_osd(), tvguide_conflict_dialog_key_callback(), tvguide_menu_key_callback(), tvguide_menu_select_callback(), update_weather(), video_clear(), video_play(), video_set_root(), video_subtitle_check(), video_subtitle_display(), vlc_key(), and vlc_key_unpause().

int root_bright
 

Definition at line 1016 of file gui.c.

Referenced by bright_key_callback(), bright_select_callback(), mvpmc_main(), popup_init(), set_config(), and video_set_root().

uint32_t root_color
 

Definition at line 1015 of file gui.c.

Referenced by bright_key_callback(), bright_select_callback(), SetDisplayState(), and video_set_root().

char* rtv_init_str
 

Definition at line 191 of file main.c.

Referenced by load_web_config(), and mvpmc_main().

char* screen_capture_file
 

Definition at line 236 of file main.c.

Referenced by capture_screenshot(), key_callback(), load_web_config(), and mvpmc_main().

volatile int screensaver_default
 

Definition at line 1210 of file gui.c.

Referenced by mvpmc_main(), and tag_settings_screensaver().

volatile int screensaver_timeout
 

Definition at line 1209 of file gui.c.

Referenced by add_item(), get_item(), mvpmc_main(), screensaver_enable(), set_config(), settings_screensaver_key_callback(), settings_select_callback(), and tag_settings_screensaver().

int seek_osd_timeout
 

Definition at line 118 of file video.c.

Referenced by playback_select_callback(), set_config(), settings_playback_osd_key_callback(), tag_settings_video(), and vlc_key().

volatile int seeking
 

Definition at line 80 of file video.c.

Referenced by audio_write_start(), control_start(), do_seek(), file_open(), video_read_start(), and video_write_start().

mvp_widget_t* settings
 

Definition at line 1033 of file gui.c.

Referenced by colortest_callback(), HandleRDCMessage(), main_select_callback(), run_colortest(), settings_init(), settings_item_key_callback(), settings_screensaver_key_callback(), settings_startup_key_callback(), settings_weather_key_callback(), settings_wireless_key_callback(), themes_key_callback(), video_subtitle_check(), and viewport_key_callback().

int settings_disable
 

Definition at line 137 of file main.c.

Referenced by gui_init(), load_web_config(), main_menu_items(), and mvpmc_main().

mvp_widget_t* shows_widget
 

Definition at line 1154 of file gui.c.

Referenced by hilite_callback(), myth_browser_init(), mythtv_back(), mythtv_fullscreen(), mythtv_key_callback(), mythtv_menu_callback(), mythtv_show_widgets(), mythtv_shutdown(), and mythtv_update().

mvpw_screen_info_t si
 

Definition at line 1242 of file gui.c.

Referenced by about_init(), busy_init(), colortest_init(), file_browser_init(), HandleRDCMessage(), image_init(), main_select_callback(), mclient_fullscreen_init(), mclient_init(), mclient_sub_alt_image_init(), mclient_sub_bar_init(), mclient_sub_image_init(), mclient_sub_localmenu_init(), mclient_sub_softsqueeze_init(), mvp_server_init(), mvp_tvguide_init(), mvpw_create_surface(), mvpw_get_screen_info(), mvpw_init(), mw_init(), myFormatSetup(), myth_browser_init(), osd_init(), playlist_init(), popup_init(), rfb_init(), screensaver_init(), screensaver_timer(), settings_init(), slow_to_connect_init(), themes_init(), thruput_init(), viewport_init(), viewport_key_callback(), vlc_get_video_transcode(), warn_init(), and weather_init().

mvp_widget_t* spu_widget
 

sub-picture

Definition at line 1151 of file gui.c.

Referenced by back_to_guide_menu(), and video_subtitle_display().

int startup_selection
 

Definition at line 1424 of file gui.c.

Referenced by set_config(), settings_startup_key_callback(), and startup_select_callback().

int startup_this_feature
 

Definition at line 168 of file main.c.

Referenced by gui_init(), load_web_config(), mvp_server_init(), mvpmc_main(), and settings_init().

theme_attr_t theme_attr[]
 

Definition at line 863 of file gui.c.

Referenced by tag_widget_color(), tag_widget_font(), and tag_widget_style().

theme_t theme_list[]
 

Definition at line 45 of file theme.c.

Referenced by add_theme_file(), main_menu_init(), mvpmc_main(), themes_init(), and themes_select_callback().

pthread_attr_t thread_attr
 

Definition at line 203 of file main.c.

Referenced by rtv_discover().

pthread_attr_t thread_attr_small
 

Definition at line 203 of file main.c.

Referenced by busy_init(), display_init(), music_client(), mvp_server_register(), mvp_tvguide_start(), mythtv_init(), and switch_gui_state().

mvp_widget_t* thruput_widget
 

Definition at line 1152 of file gui.c.

Referenced by end_thruput_test(), start_thruput_test(), and thruput_init().

mvp_widget_t* time_widget
 

Definition at line 1150 of file gui.c.

Referenced by osd_init(), and video_timecode().

int using_vlc
 

Definition at line 76 of file audio.c.

Referenced by audio_clear(), http_main(), and video_timecode().

char* version
 

Definition at line 88 of file main.c.

Referenced by about_init(), mvpmc_main(), and mw_init().

char version_number[]
 

Definition at line 4 of file version.c.

Referenced by mvpmc_main().

pthread_cond_t video_cond
 

Definition at line 73 of file video.c.

Referenced by audio_write_start(), file_open(), seek_to(), video_clear(), video_play(), video_read_start(), video_write_start(), and vlc_key().

volatile video_callback_t* video_functions
 

Video playback functions for the current streaming method.

Definition at line 146 of file video.c.

Referenced by display_progress(), do_seek(), end_thruput_test(), fb_thruput(), in_commbreak(), livetv_select_callback(), media_read_message(), mythtv_livetv_start(), mythtv_new_livetv_start(), mythtv_start_thumbnail(), mythtv_thruput(), mythtv_video_key(), osd_callback(), rtv_update_show_browser(), seek_by(), seek_to(), select_callback(), show_select_callback(), video_callback(), video_progress(), video_read_start(), and vlc_key().

volatile int video_playing
 

Is a video currently playing?

Definition at line 113 of file video.c.

Referenced by audio_write_start(), back_to_guide_menu(), fb_key_callback(), mythtv_key_callback(), mythtv_menu_callback(), playlist_key_callback(), video_callback(), video_clear(), video_play(), video_read_start(), video_stop_play(), and video_write_start().

pthread_t video_write_thread
 

Definition at line 200 of file main.c.

unsigned short viewport_edges[4]
 

Definition at line 1226 of file gui.c.

Referenced by file_browser_init(), livetv_programs_init(), mclient_fullscreen_init(), mclient_sub_alt_image_init(), mclient_sub_bar_init(), mclient_sub_image_init(), myth_browser_init(), osd_init(), playlist_init(), popup_init(), set_config(), and viewport_key_callback().

int vlc_broadcast_enabled
 

Definition at line 90 of file vlc_control.c.

Referenced by select_callback(), vlc_connect(), and vlc_key_unpause().

video_callback_t vlc_functions
 

Video playback functions for playing files from the filesystem via VLC.

Definition at line 135 of file vlc_control.c.

Referenced by select_callback().

char* vlc_server
 

Definition at line 175 of file main.c.

int vnc_port
 

Definition at line 181 of file main.c.

Referenced by load_web_config(), main_select_callback(), and mvpmc_main().

char vnc_server[256]
 

Definition at line 180 of file main.c.

Referenced by gui_init(), load_web_config(), main_menu_items(), main_select_callback(), and mvpmc_main().

mvp_widget_t* vnc_widget
 

Definition at line 1190 of file gui.c.

int volume
 

Definition at line 1017 of file gui.c.

Referenced by add_item(), av_get_volume(), fb_menu_select_callback(), get_item(), mvp_server_start(), pl_menu_select_callback(), popup_init(), popup_select_callback(), receive_volume_data(), set_config(), and volume_key_callback().

mvp_widget_t* volume_dialog
 

Definition at line 1166 of file gui.c.

Referenced by fb_key_callback(), fb_menu_select_callback(), main_menu_callback(), pl_menu_select_callback(), playlist_key_callback(), popup_init(), popup_select_callback(), timer_hide(), and volume_key_callback().

char* weather_cmdline
 

Definition at line 178 of file main.c.

Referenced by mvpmc_main(), settings_init(), settings_select_callback(), settings_weather_region_key_callback(), and weather_select_callback().

char* weather_location
 

Definition at line 177 of file main.c.

Referenced by add_item(), get_item(), main_menu_items(), mvpmc_main(), set_config(), settings_select_callback(), settings_weather_callback(), settings_weather_region_key_callback(), update_weather(), and weather_select_callback().

int wireless
 

Definition at line 150 of file main.c.

mvp_widget_t* zoom_widget
 

zoom

Definition at line 1145 of file gui.c.

Referenced by back_to_guide_menu(), osd_init(), and video_progress().


Generated on Fri Sep 10 03:13:29 2010 for mvpmc by  doxygen 1.4.6