Data Structures | Functions

video.c File Reference

Include dependency graph for video.c:

Data Structures

struct  opt_t

Functions

static vout_thread_t ** GetVouts (libvlc_media_player_t *p_mi, size_t *n)
static vout_thread_tGetVout (libvlc_media_player_t *mp, size_t num)
void libvlc_set_fullscreen (libvlc_media_player_t *p_mi, int b_fullscreen)
 Enable or disable fullscreen.
int libvlc_get_fullscreen (libvlc_media_player_t *p_mi)
 Get current fullscreen status.
void libvlc_toggle_fullscreen (libvlc_media_player_t *p_mi)
 Toggle fullscreen status on non-embedded video outputs.
void libvlc_video_set_key_input (libvlc_media_player_t *p_mi, unsigned on)
 Enable or disable key press events handling, according to the LibVLC hotkeys configuration.
void libvlc_video_set_mouse_input (libvlc_media_player_t *p_mi, unsigned on)
 Enable or disable mouse click events handling.
int libvlc_video_take_snapshot (libvlc_media_player_t *p_mi, unsigned num, const char *psz_filepath, unsigned int i_width, unsigned int i_height)
 Take a snapshot of the current video window.
int libvlc_video_get_size (libvlc_media_player_t *p_mi, unsigned num, unsigned *restrict px, unsigned *restrict py)
int libvlc_video_get_height (libvlc_media_player_t *p_mi)
 Get current video height.
int libvlc_video_get_width (libvlc_media_player_t *p_mi)
 Get current video width.
int libvlc_video_get_cursor (libvlc_media_player_t *mp, unsigned num, int *restrict px, int *restrict py)
unsigned libvlc_media_player_has_vout (libvlc_media_player_t *p_mi)
 end bug
float libvlc_video_get_scale (libvlc_media_player_t *mp)
 Get the current video scaling factor.
void libvlc_video_set_scale (libvlc_media_player_t *p_mp, float f_scale)
 Set the video scaling factor.
char * libvlc_video_get_aspect_ratio (libvlc_media_player_t *p_mi)
 Get current video aspect ratio.
void libvlc_video_set_aspect_ratio (libvlc_media_player_t *p_mi, const char *psz_aspect)
 Set new video aspect ratio.
int libvlc_video_get_spu (libvlc_media_player_t *p_mi)
 Get current video subtitle.
int libvlc_video_get_spu_count (libvlc_media_player_t *p_mi)
 Get the number of available video subtitles.
libvlc_track_description_tlibvlc_video_get_spu_description (libvlc_media_player_t *p_mi)
 Get the description of available video subtitles.
int libvlc_video_set_spu (libvlc_media_player_t *p_mi, unsigned i_spu)
 Set new video subtitle.
int libvlc_video_set_subtitle_file (libvlc_media_player_t *p_mi, const char *psz_subtitle)
 Set new video subtitle file.
libvlc_track_description_tlibvlc_video_get_title_description (libvlc_media_player_t *p_mi)
 Get the description of available titles.
libvlc_track_description_tlibvlc_video_get_chapter_description (libvlc_media_player_t *p_mi, int i_title)
 Get the description of available chapters for specific title.
char * libvlc_video_get_crop_geometry (libvlc_media_player_t *p_mi)
 Get current crop filter geometry.
void libvlc_video_set_crop_geometry (libvlc_media_player_t *p_mi, const char *psz_geometry)
 Set new crop filter geometry.
int libvlc_video_get_teletext (libvlc_media_player_t *p_mi)
 Get current teletext page requested.
void libvlc_video_set_teletext (libvlc_media_player_t *p_mi, int i_page)
 Set new teletext page to retrieve.
void libvlc_toggle_teletext (libvlc_media_player_t *p_mi)
 Toggle teletext transparent status on video output.
int libvlc_video_get_track_count (libvlc_media_player_t *p_mi)
 Get number of available video tracks.
libvlc_track_description_tlibvlc_video_get_track_description (libvlc_media_player_t *p_mi)
 Get the description of available video tracks.
int libvlc_video_get_track (libvlc_media_player_t *p_mi)
 Get current video track.
int libvlc_video_set_track (libvlc_media_player_t *p_mi, int i_track)
 Set video track.
void libvlc_video_set_deinterlace (libvlc_media_player_t *p_mi, const char *psz_mode)
 Enable or disable deinterlace filter.
static vlc_object_tget_object (libvlc_media_player_t *p_mi, const char *name)
static void set_int (libvlc_media_player_t *p_mi, const char *restrict name, const opt_t *restrict opt, int value)
static int get_int (libvlc_media_player_t *p_mi, const char *restrict name, const opt_t *restrict opt)
static void set_float (libvlc_media_player_t *p_mi, const char *restrict name, const opt_t *restrict opt, float value)
static float get_float (libvlc_media_player_t *p_mi, const char *restrict name, const opt_t *restrict opt)
static void set_string (libvlc_media_player_t *p_mi, const char *restrict name, const opt_t *restrict opt, const char *restrict psz_value)
static char * get_string (libvlc_media_player_t *p_mi, const char *restrict name, const opt_t *restrict opt)
static const opt_tmarq_option_bynumber (unsigned option)
int libvlc_video_get_marquee_int (libvlc_media_player_t *p_mi, unsigned option)
 Get an integer marquee option value.
char * libvlc_video_get_marquee_string (libvlc_media_player_t *p_mi, unsigned option)
 Get a string marquee option value.
void libvlc_video_set_marquee_int (libvlc_media_player_t *p_mi, unsigned option, int value)
 Enable, disable or set an integer marquee option.
void libvlc_video_set_marquee_string (libvlc_media_player_t *p_mi, unsigned option, const char *value)
 Set a marquee string option.
static const opt_tlogo_option_bynumber (unsigned option)
void libvlc_video_set_logo_string (libvlc_media_player_t *p_mi, unsigned option, const char *psz_value)
 Set logo option as string.
void libvlc_video_set_logo_int (libvlc_media_player_t *p_mi, unsigned option, int value)
 Set logo option as integer.
int libvlc_video_get_logo_int (libvlc_media_player_t *p_mi, unsigned option)
 Get integer logo option.
static const opt_tadjust_option_bynumber (unsigned option)
void libvlc_video_set_adjust_int (libvlc_media_player_t *p_mi, unsigned option, int value)
 Set adjust option as integer.
int libvlc_video_get_adjust_int (libvlc_media_player_t *p_mi, unsigned option)
 Get integer adjust option.
void libvlc_video_set_adjust_float (libvlc_media_player_t *p_mi, unsigned option, float value)
 Set adjust option as float.
float libvlc_video_get_adjust_float (libvlc_media_player_t *p_mi, unsigned option)
 Get float adjust option.

Function Documentation

static const opt_t* adjust_option_bynumber ( unsigned  option  )  [static]
static float get_float ( libvlc_media_player_t p_mi,
const char *restrict  name,
const opt_t *restrict  opt 
) [static]
static int get_int ( libvlc_media_player_t p_mi,
const char *restrict  name,
const opt_t *restrict  opt 
) [static]
static vlc_object_t * get_object ( libvlc_media_player_t p_mi,
const char *  name 
) [static]
static char* get_string ( libvlc_media_player_t p_mi,
const char *restrict  name,
const opt_t *restrict  opt 
) [static]
static vout_thread_t* GetVout ( libvlc_media_player_t mp,
size_t  num 
) [static]
static vout_thread_t** GetVouts ( libvlc_media_player_t p_mi,
size_t *  n 
) [static]
int libvlc_video_get_cursor ( libvlc_media_player_t mp,
unsigned  num,
int *restrict  px,
int *restrict  py 
)
int libvlc_video_get_size ( libvlc_media_player_t p_mi,
unsigned  num,
unsigned *restrict  px,
unsigned *restrict  py 
)
static const opt_t* logo_option_bynumber ( unsigned  option  )  [static]
static const opt_t* marq_option_bynumber ( unsigned  option  )  [static]
static void set_float ( libvlc_media_player_t p_mi,
const char *restrict  name,
const opt_t *restrict  opt,
float  value 
) [static]
static void set_int ( libvlc_media_player_t p_mi,
const char *restrict  name,
const opt_t *restrict  opt,
int  value 
) [static]
static void set_string ( libvlc_media_player_t p_mi,
const char *restrict  name,
const opt_t *restrict  opt,
const char *restrict  psz_value 
) [static]
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines