31 #ifndef VLC_LIBVLC_MEDIA_PLAYER_H
32 #define VLC_LIBVLC_MEDIA_PLAYER_H 1
49 typedef struct libvlc_media_player_t libvlc_media_player_t;
70 char *psz_description;
99 libvlc_marquee_Enable = 0,
102 libvlc_marquee_Opacity,
103 libvlc_marquee_Position,
104 libvlc_marquee_Refresh,
106 libvlc_marquee_Timeout,
116 libvlc_navigate_activate = 0,
118 libvlc_navigate_down,
119 libvlc_navigate_left,
120 libvlc_navigate_right
127 libvlc_position_disable=-1,
128 libvlc_position_center,
129 libvlc_position_left,
130 libvlc_position_right,
132 libvlc_position_top_left,
133 libvlc_position_top_right,
134 libvlc_position_bottom,
135 libvlc_position_bottom_left,
136 libvlc_position_bottom_right
185 libvlc_media_t *p_md );
260 typedef void *(*libvlc_video_lock_cb)(
void *opaque,
void **planes);
279 void *
const *planes);
320 unsigned *width,
unsigned *height,
371 unsigned width,
unsigned height,
503 unsigned count, int64_t pts);
542 float volume,
bool mute);
629 unsigned rate,
unsigned channels );
718 libvlc_media_player_t *p_mi,
int i_title );
862 LIBVLC_DEPRECATED LIBVLC_API
948 unsigned *px,
unsigned *py );
957 LIBVLC_DEPRECATED LIBVLC_API
967 LIBVLC_DEPRECATED LIBVLC_API
1213 const char *psz_filepath,
unsigned int i_width,
1214 unsigned int i_height );
1223 const char *psz_mode );
1254 unsigned option,
int i_val );
1264 unsigned option,
const char *psz_text );
1274 libvlc_logo_opacity,
1275 libvlc_logo_position
1298 unsigned option,
int value );
1309 unsigned option,
const char *psz_value );
1314 libvlc_adjust_Enable = 0,
1315 libvlc_adjust_Contrast,
1316 libvlc_adjust_Brightness,
1318 libvlc_adjust_Saturation,
1344 unsigned option,
int value );
1366 unsigned option,
float value );
1378 libvlc_AudioOutputDevice_Error = -1,
1379 libvlc_AudioOutputDevice_Mono = 1,
1380 libvlc_AudioOutputDevice_Stereo = 2,
1381 libvlc_AudioOutputDevice_2F2R = 4,
1382 libvlc_AudioOutputDevice_3F2R = 5,
1383 libvlc_AudioOutputDevice_5_1 = 6,
1384 libvlc_AudioOutputDevice_6_1 = 7,
1385 libvlc_AudioOutputDevice_7_1 = 8,
1386 libvlc_AudioOutputDevice_SPDIF = 10
1393 libvlc_AudioChannel_Error = -1,
1394 libvlc_AudioChannel_Stereo = 1,
1395 libvlc_AudioChannel_RStereo = 2,
1396 libvlc_AudioChannel_Left = 3,
1397 libvlc_AudioChannel_Right = 4,
1398 libvlc_AudioChannel_Dolbys = 5
1432 const char *psz_name );
1439 LIBVLC_DEPRECATED LIBVLC_API
1447 LIBVLC_DEPRECATED LIBVLC_API
1456 LIBVLC_DEPRECATED LIBVLC_API
1512 const char *psz_audio_output,
1513 const char *psz_device_id );
LIBVLC_API void libvlc_video_set_deinterlace(libvlc_media_player_t *p_mi, const char *psz_mode)
LIBVLC_API int libvlc_video_get_track(libvlc_media_player_t *p_mi)
Definition: libvlc_media_player.h:1269
LIBVLC_API int libvlc_audio_set_track(libvlc_media_player_t *p_mi, int i_track)
LIBVLC_DEPRECATED LIBVLC_API char * libvlc_audio_output_device_longname(libvlc_instance_t *, const char *, int)
libvlc_video_adjust_option_t
Definition: libvlc_media_player.h:1313
LIBVLC_API int libvlc_video_get_spu(libvlc_media_player_t *p_mi)
LIBVLC_API int libvlc_video_get_track_count(libvlc_media_player_t *p_mi)
LIBVLC_DEPRECATED LIBVLC_API void libvlc_audio_output_set_device_type(libvlc_media_player_t *, int)
LIBVLC_API void libvlc_video_set_scale(libvlc_media_player_t *p_mi, float f_factor)
struct libvlc_event_manager_t libvlc_event_manager_t
Definition: libvlc.h:282
LIBVLC_API void libvlc_audio_output_device_list_release(libvlc_audio_output_device_t *p_list)
LIBVLC_DEPRECATED LIBVLC_API int libvlc_audio_output_get_device_type(libvlc_media_player_t *p_mi)
Definition: libvlc_media_player.h:89
LIBVLC_API int libvlc_video_set_spu_delay(libvlc_media_player_t *p_mi, int64_t i_delay)
Definition: libvlc_media_player.h:55
LIBVLC_API void libvlc_video_set_aspect_ratio(libvlc_media_player_t *p_mi, const char *psz_aspect)
LIBVLC_API void libvlc_audio_set_mute(libvlc_media_player_t *p_mi, int status)
LIBVLC_API int libvlc_video_get_cursor(libvlc_media_player_t *p_mi, unsigned num, int *px, int *py)
LIBVLC_API char * libvlc_video_get_crop_geometry(libvlc_media_player_t *p_mi)
LIBVLC_DEPRECATED LIBVLC_API char * libvlc_audio_output_device_id(libvlc_instance_t *, const char *, int)
LIBVLC_API void libvlc_audio_output_device_set(libvlc_media_player_t *p_mi, const char *psz_audio_output, const char *psz_device_id)
LIBVLC_API void libvlc_toggle_fullscreen(libvlc_media_player_t *p_mi)
LIBVLC_API int libvlc_audio_get_volume(libvlc_media_player_t *p_mi)
LIBVLC_API 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)
LIBVLC_API void libvlc_video_set_logo_string(libvlc_media_player_t *p_mi, unsigned option, const char *psz_value)
LIBVLC_API int libvlc_audio_get_track_count(libvlc_media_player_t *p_mi)
LIBVLC_DEPRECATED LIBVLC_API int libvlc_video_get_width(libvlc_media_player_t *p_mi)
Definition: libvlc_media_player.h:67
LIBVLC_API libvlc_audio_output_t * libvlc_audio_output_list_get(libvlc_instance_t *p_instance)
LIBVLC_DEPRECATED LIBVLC_API int libvlc_audio_output_device_count(libvlc_instance_t *, const char *)
LIBVLC_DEPRECATED LIBVLC_API int libvlc_video_get_height(libvlc_media_player_t *p_mi)
LIBVLC_API int libvlc_audio_get_mute(libvlc_media_player_t *p_mi)
LIBVLC_API int64_t libvlc_audio_get_delay(libvlc_media_player_t *p_mi)
Definition: libvlc_media_player.h:78
LIBVLC_API void libvlc_video_set_adjust_float(libvlc_media_player_t *p_mi, unsigned option, float value)
LIBVLC_API int libvlc_video_set_subtitle_file(libvlc_media_player_t *p_mi, const char *psz_subtitle)
LIBVLC_API libvlc_track_description_t * libvlc_video_get_title_description(libvlc_media_player_t *p_mi)
LIBVLC_API int libvlc_audio_set_channel(libvlc_media_player_t *p_mi, int channel)
LIBVLC_API int64_t libvlc_video_get_spu_delay(libvlc_media_player_t *p_mi)
LIBVLC_API void libvlc_video_set_teletext(libvlc_media_player_t *p_mi, int i_page)
LIBVLC_API void libvlc_video_set_crop_geometry(libvlc_media_player_t *p_mi, const char *psz_geometry)
LIBVLC_API char * libvlc_video_get_marquee_string(libvlc_media_player_t *p_mi, unsigned option)
LIBVLC_API void libvlc_video_set_marquee_int(libvlc_media_player_t *p_mi, unsigned option, int i_val)
LIBVLC_API float libvlc_video_get_scale(libvlc_media_player_t *p_mi)
LIBVLC_API int libvlc_video_get_adjust_int(libvlc_media_player_t *p_mi, unsigned option)
LIBVLC_API int libvlc_video_get_logo_int(libvlc_media_player_t *p_mi, unsigned option)
LIBVLC_API int libvlc_audio_get_track(libvlc_media_player_t *p_mi)
LIBVLC_API int libvlc_video_get_teletext(libvlc_media_player_t *p_mi)
LIBVLC_API char * libvlc_video_get_aspect_ratio(libvlc_media_player_t *p_mi)
struct libvlc_audio_output_device_t * p_next
Definition: libvlc_media_player.h:80
LIBVLC_API libvlc_track_description_t * libvlc_video_get_track_description(libvlc_media_player_t *p_mi)
LIBVLC_API void libvlc_video_set_marquee_string(libvlc_media_player_t *p_mi, unsigned option, const char *psz_text)
char * psz_device
Definition: libvlc_media_player.h:81
LIBVLC_API void libvlc_toggle_teletext(libvlc_media_player_t *p_mi)
LIBVLC_API void libvlc_set_fullscreen(libvlc_media_player_t *p_mi, int b_fullscreen)
LIBVLC_API int libvlc_audio_output_set(libvlc_media_player_t *p_mi, const char *psz_name)
LIBVLC_API void libvlc_audio_toggle_mute(libvlc_media_player_t *p_mi)
libvlc_audio_output_device_types_t
Definition: libvlc_media_player.h:1377
char * psz_description
Definition: libvlc_media_player.h:82
LIBVLC_API int libvlc_video_set_spu(libvlc_media_player_t *p_mi, int i_spu)
LIBVLC_API void libvlc_video_set_key_input(libvlc_media_player_t *p_mi, unsigned on)
LIBVLC_API int libvlc_audio_set_delay(libvlc_media_player_t *p_mi, int64_t i_delay)
LIBVLC_API int libvlc_get_fullscreen(libvlc_media_player_t *p_mi)
LIBVLC_API void libvlc_video_set_mouse_input(libvlc_media_player_t *p_mi, unsigned on)
LIBVLC_API int libvlc_video_get_size(libvlc_media_player_t *p_mi, unsigned num, unsigned *px, unsigned *py)
LIBVLC_API int libvlc_video_set_track(libvlc_media_player_t *p_mi, int i_track)
LIBVLC_API int libvlc_video_get_marquee_int(libvlc_media_player_t *p_mi, unsigned option)
struct libvlc_instance_t libvlc_instance_t
Definition: libvlc_structures.h:44
LIBVLC_API void libvlc_video_set_adjust_int(libvlc_media_player_t *p_mi, unsigned option, int value)
LIBVLC_API float libvlc_video_get_adjust_float(libvlc_media_player_t *p_mi, unsigned option)
LIBVLC_API int libvlc_audio_set_volume(libvlc_media_player_t *p_mi, int i_volume)
LIBVLC_API libvlc_track_description_t * libvlc_video_get_spu_description(libvlc_media_player_t *p_mi)
LIBVLC_API libvlc_track_description_t * libvlc_audio_get_track_description(libvlc_media_player_t *p_mi)
LIBVLC_API void libvlc_video_set_logo_int(libvlc_media_player_t *p_mi, unsigned option, int value)
LIBVLC_API libvlc_audio_output_device_t * libvlc_audio_output_device_list_get(libvlc_instance_t *p_instance, const char *aout)
LIBVLC_API void libvlc_audio_output_list_release(libvlc_audio_output_t *p_list)
LIBVLC_API libvlc_track_description_t * libvlc_video_get_chapter_description(libvlc_media_player_t *p_mi, int i_title)
LIBVLC_API int libvlc_audio_get_channel(libvlc_media_player_t *p_mi)
libvlc_video_logo_option_t
Definition: libvlc_media_player.h:1267
LIBVLC_API int libvlc_video_get_spu_count(libvlc_media_player_t *p_mi)
libvlc_audio_output_channel_t
Definition: libvlc_media_player.h:1392