xine-lib  1.2.10
real_common.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2000-2018 the xine project
3  *
4  * This file is part of xine, a free video player.
5  *
6  * xine is free software; you can redistribute it and/or modify
7  * it under the terms of the GNU General Public License as published by
8  * the Free Software Foundation; either version 2 of the License, or
9  * (at your option) any later version.
10  *
11  * xine is distributed in the hope that it will be useful,
12  * but WITHOUT ANY WARRANTY; without even the implied warranty of
13  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14  * GNU General Public License for more details.
15  *
16  * You should have received a copy of the GNU General Public License
17  * along with this program; if not, write to the Free Software
18  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110, USA
19  *
20  * Common function for the thin layer to use Real binary-only codecs in xine
21  */
22 
23 #ifndef __REAL_COMMON_H__
24 #define __REAL_COMMON_H__
25 
26 #include <xine/xine_internal.h>
27 
28 /*
29  * some fake functions to make real codecs happy
30  * These are, on current date (20070316) needed only for Alpha
31  * codecs.
32  * As they are far from being proper replacements, define them only there
33  * until new codecs are available there too.
34  */
35 #ifdef __alpha__
36 
37 void *__builtin_new(size_t size);
38 void __builtin_delete (void *foo);
39 void *__builtin_vec_new(size_t size) EXPORTED;
40 void __builtin_vec_delete(void *mem) EXPORTED;
41 void __pure_virtual(void) EXPORTED;
42 
43 #endif
44 
45 #ifndef HAVE___ENVIRON
46 # ifdef HAVE__ENVIRON
47  char **__environ __attribute__((weak, alias("_environ")));
48 # elif defined(HAVE_ENVIRON)
49  char **__environ __attribute__((weak, alias("environ")));
50 # else
51  char **fake__environ = { NULL };
52  char **__environ __attribute__((weak, alias("fake__environ")));
53 # endif
54 #endif
55 
56 #ifndef HAVE_STDERR
57 # ifdef HAVE___STDERRP
58 # undef stderr
59 FILE *stderr __attribute__((weak, alias("__stderrp")));
60 # else
61 # error Your stderr alias is not supported, please report to xine developers.
62 # endif
63 #endif
64 
65 #ifndef HAVE____BRK_ADDR
66 void ___brk_addr(void) EXPORTED;
67 #endif
68 
69 #ifndef HAVE___CTYPE_B
70 void __ctype_b(void) EXPORTED;
71 #endif
72 
73 void _x_real_codecs_init(xine_t *const xine);
74 void *_x_real_codec_open(xine_stream_t *const stream, const char *const path,
75  const char *const codec_name,
76  const char *const codec_alternate);
77 
79 void *init_realvdec (xine_t *xine, const void *data);
80 
82 void *init_realadec (xine_t *xine, const void *data);
83 
84 #endif
xine_s
Definition: xine_internal.h:80
XINE_PARAM_VO_ASPECT_RATIO
#define XINE_PARAM_VO_ASPECT_RATIO
Definition: xine.h:376
XINE_EVENT_INPUT_NUMBER_6
#define XINE_EVENT_INPUT_NUMBER_6
Definition: xine.h:1857
xine_stream_s::xine
xine_t * xine
Definition: xine_internal.h:126
vcdplayer_s::origin_lsn
lsn_t origin_lsn
Definition: vcdplayer.h:171
vcdio_seek
off_t vcdio_seek(vcdplayer_t *p_vcdplayer, off_t offset, int origin)
Definition: vcdio.c:197
input_plugin_s::input_class
input_class_t * input_class
Definition: input_plugin.h:225
vcd_default_dev_changed_cb
static void vcd_default_dev_changed_cb(void *this_gen, xine_cfg_entry_t *entry)
Definition: xineplug_inp_vcd.c:1882
OL
#define OL
vcd_class_dispose
static void vcd_class_dispose(input_class_t *this_gen)
Definition: xineplug_inp_vcd.c:1568
vcd_input_class_s::ip
vcd_input_plugin_t * ip
Definition: xineplug_inp_vcd.c:109
INPUT_OPTIONAL_SUCCESS
#define INPUT_OPTIONAL_SUCCESS
Definition: input_plugin.h:364
xine_stream_s
Definition: xine_internal.h:123
vcd_input_class_s::input_class
input_class_t input_class
Definition: xineplug_inp_vcd.c:105
vcdplayer_s::return_entry
uint16_t return_entry
Definition: vcdplayer.h:163
UL64
#define UL64
vcd_input_plugin_s::event_queue
xine_event_queue_t * event_queue
Definition: xineplug_inp_vcd.c:150
xine_ui_data_t::str_len
int str_len
Definition: xine.h:1949
vcd_input_class_t
Definition: input_vcd.c:80
vcdplayer_s::i_tracks
track_t i_tracks
Definition: vcdplayer.h:185
vcdplayer.h
vcd_input_class_s::mrl_entry_offset
int mrl_entry_offset
Definition: xineplug_inp_vcd.c:124
MRL_PREFIX
#define MRL_PREFIX
Definition: xineplug_inp_vcd.c:48
xine_spu_button_t
Definition: xine.h:2125
xineutils.h
VCDPLAYER_SLIDER_LENGTH_AUTO
@ VCDPLAYER_SLIDER_LENGTH_AUTO
Definition: vcdplayer.h:73
vcd_free_mrls
static void vcd_free_mrls(vcd_input_class_t *class)
Definition: xineplug_inp_vcd.c:219
vcd_comment_format_changed_cb
static void vcd_comment_format_changed_cb(void *this_gen, xine_cfg_entry_t *entry)
Definition: xineplug_inp_vcd.c:1884
vcd_class_get_dir
static xine_mrl_t ** vcd_class_get_dir(input_class_t *this_gen, const char *filename, int *num_files)
Definition: xineplug_inp_vcd.c:953
cdio_log_handler
static void cdio_log_handler(cdio_log_level_t level, const char message[])
Definition: xineplug_inp_vcd.c:1535
PLUGIN_MUST_PRELOAD
#define PLUGIN_MUST_PRELOAD
Definition: xine_plugin.h:46
vcd_class_eject_media
static int vcd_class_eject_media(input_class_t *this_gen)
Definition: xineplug_inp_vcd.c:1028
vcdplayer_s::track
vcdplayer_play_item_info_t * track
Definition: vcdplayer.h:196
VCDPLAYER_SLIDER_LENGTH_TRACK
@ VCDPLAYER_SLIDER_LENGTH_TRACK
Definition: vcdplayer.h:74
init_realadec
void * init_realadec(xine_t *xine, const void *data)
Definition: xine_real_audio_decoder.c:501
uninit_log_handler
static void uninit_log_handler(vcd_log_level_t level, const char message[])
Definition: xineplug_inp_vcd.c:1551
vcd_input_class_s::xine
xine_t * xine
Definition: xineplug_inp_vcd.c:106
vcdplayer_format_str
char * vcdplayer_format_str(vcdplayer_t *p_vcdplayer, const char format_str[])
Definition: vcdplayer.c:150
fake__environ
char ** fake__environ
Definition: real_common.h:51
vcdio.h
XINE_EVENT_INPUT_NEXT
#define XINE_EVENT_INPUT_NEXT
Definition: xine.h:1846
VCD_NUM_CALLBACK
#define VCD_NUM_CALLBACK(fn_name, var)
Definition: xineplug_inp_vcd.c:1859
vcd_input_class_s::wrap_next_prev
bool wrap_next_prev
Definition: xineplug_inp_vcd.c:134
xine_event_t
Definition: xine.h:1923
vcd_plugin_read
static off_t vcd_plugin_read(input_plugin_t *this_gen, void *vbuf, const off_t nlen)
Definition: xineplug_inp_vcd.c:704
vcdplayer_s::i_lid
int i_lid
Definition: vcdplayer.h:141
send_mouse_enter_leave_event
static void send_mouse_enter_leave_event(bluray_input_plugin_t *this, int direction)
Definition: input_bluray.c:930
vcd_input_plugin_s::b_mouse_in
bool b_mouse_in
Definition: xineplug_inp_vcd.c:169
vcd_init
static void * vcd_init(xine_t *xine, const void *data)
Definition: xineplug_inp_vcd.c:1892
vcd_input_plugin_s::v_config
vcd_config_t v_config
Definition: xineplug_inp_vcd.c:160
XINE_EVENT_INPUT_NUMBER_8
#define XINE_EVENT_INPUT_NUMBER_8
Definition: xine.h:1859
config_values_s::register_filename
char *(* register_filename)(config_values_t *self, const char *key, const char *def_value, int req_type, const char *description, const char *help, int exp_level, xine_config_cb_t changed_cb, void *cb_data)
Definition: configfile.h:115
vcd_input_class_s::inuse
int inuse
Definition: xineplug_inp_vcd.c:110
VCD_ENUM_CALLBACK
#define VCD_ENUM_CALLBACK(fn_name, enum_type, var)
Definition: xineplug_inp_vcd.c:1866
PLUGIN_AUDIO_DECODER
#define PLUGIN_AUDIO_DECODER
Definition: xine_plugin.h:32
xine_event_t::stream
xine_stream_t * stream
Definition: xine.h:1924
VCDPLAYER_SLIDER_LENGTH_ENTRY
@ VCDPLAYER_SLIDER_LENGTH_ENTRY
Definition: vcdplayer.h:75
vcd_input_plugin_t::stream
xine_stream_t * stream
Definition: input_vcd.c:114
vcd_input_class_s::mrl_track_offset
int mrl_track_offset
Definition: xineplug_inp_vcd.c:123
vcd_input_class_s::vcd_device
char * vcd_device
Definition: xineplug_inp_vcd.c:115
vcdplayer_s::play_item
vcdinfo_itemid_t play_item
Definition: vcdplayer.h:148
_x_meta_info_set
void _x_meta_info_set(xine_stream_t *s, int info, const char *str)
Definition: info_helper.c:321
config_values_s::register_enum
int(* register_enum)(config_values_t *self, const char *key, int def_value, char **values, const char *description, const char *help, int exp_level, xine_config_cb_t changed_cb, void *cb_data)
Definition: configfile.h:135
xine_event_new_queue
xine_event_queue_t * xine_event_new_queue(xine_stream_t *s)
Definition: events.c:330
XINE_PARAM_VO_DEINTERLACE
#define XINE_PARAM_VO_DEINTERLACE
Definition: xine.h:375
input_class_s
Definition: input_plugin.h:38
vcd_handle_events
static bool vcd_handle_events(vcd_input_plugin_t *this)
Definition: xineplug_inp_vcd.c:1095
xine_set_param
void xine_set_param(xine_stream_t *s, int param, int value)
Definition: xine_interface.c:361
MRL_PREFIX_LEN
#define MRL_PREFIX_LEN
Definition: xineplug_inp_vcd.c:49
vcdplayer_s::next_entry
uint16_t next_entry
Definition: vcdplayer.h:159
XINE_EVENT_INPUT_DOWN
#define XINE_EVENT_INPUT_DOWN
Definition: xine.h:1842
vcd_plugin_get_length
static off_t vcd_plugin_get_length(input_plugin_t *this_gen)
Definition: xineplug_inp_vcd.c:860
MAX_DIR_ENTRIES
#define MAX_DIR_ENTRIES
Definition: xineplug_inp_vcd.c:1424
fifo_buffer_s::buffer_pool_alloc
buf_element_t *(* buffer_pool_alloc)(fifo_buffer_t *self)
Definition: buffer.h:617
xine_event_get
xine_event_t * xine_event_get(xine_event_queue_t *queue)
Definition: events.c:56
vcd_config_s
Definition: xineplug_inp_vcd.c:96
_x_message
int _x_message(xine_stream_t *stream, int type,...)
Definition: xine_interface.c:1000
INPUT_DBG_EXT
#define INPUT_DBG_EXT
Definition: vcdplayer.h:55
_x_get_spu_channel
int _x_get_spu_channel(xine_stream_t *stream)
Definition: xine.c:3295
config_values_s::register_string
char *(* register_string)(config_values_t *self, const char *key, const char *def_value, const char *description, const char *help, int exp_level, xine_config_cb_t changed_cb, void *cb_data)
Definition: configfile.h:106
msg_print
#define msg_print(class, fmt, args...)
Definition: xineplug_inp_vcd.c:185
XINE_CONFIG_STRING_IS_DIRECTORY_NAME
#define XINE_CONFIG_STRING_IS_DIRECTORY_NAME
Definition: xine.h:1626
INPUT_CAP_BLOCK
#define INPUT_CAP_BLOCK
Definition: input_plugin.h:260
field
static int field
Definition: spudec.c:733
vcdplayer_slider_length_t
vcdplayer_slider_length_t
Definition: vcdplayer.h:72
STILL_INDEFINITE_WAIT
#define STILL_INDEFINITE_WAIT
Definition: vcdplayer.h:96
init_realvdec
void * init_realvdec(xine_t *xine, const void *data)
Definition: xine_real_video_decoder.c:527
vcd_config_t
struct vcd_config_s vcd_config_t
PLUGIN_INPUT
#define PLUGIN_INPUT
Definition: xine_plugin.h:30
vcd_plugin_get_mrl
static const char * vcd_plugin_get_mrl(input_plugin_t *this_gen)
Definition: xineplug_inp_vcd.c:1058
lprintf
#define lprintf(...)
Definition: xineutils.h:620
_x_real_codec_open
void * _x_real_codec_open(xine_stream_t *const stream, const char *const path, const char *const codec_name, const char *const codec_alternate)
Definition: real_common.c:158
BUF_DEMUX_BLOCK
#define BUF_DEMUX_BLOCK
Definition: xineplug_inp_vcd.c:82
xine_get_param
int xine_get_param(xine_stream_t *s, int param)
Definition: xine_interface.c:567
config_values_s::register_num
int(* register_num)(config_values_t *self, const char *key, int def_value, const char *description, const char *help, int exp_level, xine_config_cb_t changed_cb, void *cb_data)
Definition: configfile.h:145
vcdplayer_s::max_y
uint16_t max_y
Definition: vcdplayer.h:176
XINE_EVENT_INPUT_BUTTON_FORCE
#define XINE_EVENT_INPUT_BUTTON_FORCE
Definition: xine.h:1850
XINE_EVENT_INPUT_MENU2
#define XINE_EVENT_INPUT_MENU2
Definition: xine.h:1835
vcd_config_s::title_format
char * title_format
Definition: xineplug_inp_vcd.c:98
vcdplayer_s::show_rejected
bool show_rejected
Definition: vcdplayer.h:215
vcd_input_class_s::mrl_play_offset
int mrl_play_offset
Definition: xineplug_inp_vcd.c:125
__ctype_b
void __ctype_b(void)
Definition: real_common.c:68
_x_get_audio_channel
int _x_get_audio_channel(xine_stream_t *s)
Definition: audio_decoder.c:603
vcd_flush_buffers
static void vcd_flush_buffers(void *user_data)
Definition: xineplug_inp_vcd.c:691
vcdplayer_s::i_segments
segnum_t i_segments
Definition: vcdplayer.h:190
vcdplayer_play
void vcdplayer_play(vcdplayer_t *p_vcdplayer, vcdinfo_itemid_t itemid)
Definition: vcdplayer.c:657
user_data
static void user_data(vdpau_mpeg4_decoder_t *this_gen, uint8_t *buffer, int len)
Definition: vdpau_mpeg4.c:695
READ_END
@ READ_END
Definition: vcdplayer.h:227
vcd_input_plugin_s::mrl
char * mrl
Definition: xineplug_inp_vcd.c:161
xine_mrl_s
Definition: xine.h:1107
XINE_FORMAT_PRINTF
static int XINE_FORMAT_PRINTF(3, 4)
Definition: xineplug_inp_vcd.c:197
INPUT_DBG_PBC
#define INPUT_DBG_PBC
Definition: vcdplayer.h:58
real_common.h
vcd_plugin_dispose
static void vcd_plugin_dispose(input_plugin_t *this_gen)
Definition: xineplug_inp_vcd.c:1494
XINE_CONFIG_STRING_IS_DEVICE_NAME
#define XINE_CONFIG_STRING_IS_DEVICE_NAME
Definition: xine.h:1625
OL64
#define OL64
XINE_STREAM_INFO_VIDEO_HAS_STILL
#define XINE_STREAM_INFO_VIDEO_HAS_STILL
Definition: xine.h:1028
vcd_input_class_s::v_config
vcd_config_t v_config
Definition: xineplug_inp_vcd.c:112
XINE_EVENT_INPUT_NUMBER_3
#define XINE_EVENT_INPUT_NUMBER_3
Definition: xine.h:1854
stream_info_assign
#define stream_info_assign(field, stream, info)
Definition: xineplug_inp_vcd.c:271
NULL
NULL
Definition: xine_plugin.c:78
__attribute__
char **__environ __attribute__((weak, alias("fake__environ")))
xine_event_send
void xine_event_send(xine_stream_t *s, const xine_event_t *event)
Definition: events.c:194
vcd_input_class_t::filelist
char ** filelist
Definition: input_vcd.c:90
vcdplayer_send_button_update
void vcdplayer_send_button_update(vcdplayer_t *p_vcdplayer, const int mode)
Definition: vcdplayer.c:979
xine_vlog
void xine_vlog(xine_t *this_gen, int buf, const char *format, va_list args)
Definition: xine.c:3362
__ctype_b
void __ctype_b(void) EXPORTED
Definition: real_common.c:68
XINE_VERBOSITY_LOG
#define XINE_VERBOSITY_LOG
Definition: xine.h:425
old_get_length
static off_t old_get_length
Definition: xineplug_inp_vcd.c:855
fifo_buffer_s
Definition: buffer.h:581
vcd_input_plugin_s::player
vcdplayer_t player
Definition: xineplug_inp_vcd.c:172
vcd_plugin_read_block
static buf_element_t * vcd_plugin_read_block(input_plugin_t *this_gen, fifo_buffer_t *fifo, const off_t i_len)
Definition: xineplug_inp_vcd.c:745
vcd_input_class_s::slider_length
vcdplayer_slider_length_t slider_length
Definition: xineplug_inp_vcd.c:138
vcd_close
static void vcd_close(vcd_input_class_t *class)
Definition: xineplug_inp_vcd.c:1010
vcd_set_meta_info
static void vcd_set_meta_info(vcd_input_plugin_t *this)
Definition: xineplug_inp_vcd.c:275
XINE_META_INFO_ALBUM
#define XINE_META_INFO_ALBUM
Definition: xine.h:1066
READ_BLOCK
@ READ_BLOCK
Definition: vcdplayer.h:224
INPUT_CAP_SEEKABLE
#define INPUT_CAP_SEEKABLE
Definition: input_plugin.h:250
xine_ui_data_t::str
char str[256]
Definition: xine.h:1950
vcdplayer_s::entry
vcdplayer_play_item_info_t * entry
Definition: vcdplayer.h:198
vcd_set_aspect_ratio
static void vcd_set_aspect_ratio(void *user_data, int i_aspect_ratio)
Definition: xineplug_inp_vcd.c:306
vcd_parse_mrl
static bool vcd_parse_mrl(vcd_input_class_t *class, const char *default_vcd_device, const char *mrl, char *device_str, vcdinfo_itemid_t *itemid, vcdplayer_autoplay_t auto_type, bool *used_default)
Definition: xineplug_inp_vcd.c:547
decoder_info_t
Definition: xine_plugin.h:77
xine_s::config
config_values_t * config
Definition: xine_internal.h:82
vcd_input_plugin_s::i_old_still
int i_old_still
Definition: xineplug_inp_vcd.c:153
XINE_VERSION_CODE
#define XINE_VERSION_CODE
Definition: xine_internal.h:57
XINE_EVENT_INPUT_NUMBER_2
#define XINE_EVENT_INPUT_NUMBER_2
Definition: xine.h:1853
XINE_EVENT_INPUT_MENU1
#define XINE_EVENT_INPUT_MENU1
Definition: xine.h:1834
xine_event_t::data
void * data
Definition: xine.h:1926
vcd_input_class_s::config
config_values_t * config
Definition: xineplug_inp_vcd.c:107
_
#define _(String)
Definition: vcdplayer.h:39
INPUT_CAP_SPULANG
#define INPUT_CAP_SPULANG
Definition: input_plugin.h:273
vcd_class_get_autoplay_list
static const char *const * vcd_class_get_autoplay_list(input_class_t *this_gen, int *num_files)
Definition: xineplug_inp_vcd.c:1437
vcdplayer_s::i_lsn
lsn_t i_lsn
Definition: vcdplayer.h:166
input_plugin_s
Definition: input_plugin.h:90
vcdplayer_s::vcd
vcdinfo_obj_t * vcd
Definition: vcdplayer.h:103
vcd_input_plugin_s::i_old_deinterlace
int i_old_deinterlace
Definition: xineplug_inp_vcd.c:156
config_values_s
Definition: configfile.h:83
vcd_input_plugin_s
Definition: xineplug_inp_vcd.c:143
vcd_class_get_instance
static input_plugin_t * vcd_class_get_instance(input_class_t *class_gen, xine_stream_t *stream, const char *mrl)
Definition: xineplug_inp_vcd.c:1704
vcd_title_format_changed_cb
static void vcd_title_format_changed_cb(void *this_gen, xine_cfg_entry_t *entry)
Definition: xineplug_inp_vcd.c:1883
input_class_s::get_instance
input_plugin_t *(* get_instance)(input_class_t *this_gen, xine_stream_t *stream, const char *mrl)
Definition: input_plugin.h:44
XINE_EVENT_UI_SET_TITLE
#define XINE_EVENT_UI_SET_TITLE
Definition: xine.h:1816
READ_ERROR
@ READ_ERROR
Definition: vcdplayer.h:226
vcd_get_default_device
static bool vcd_get_default_device(vcd_input_class_t *class, bool log_msg_if_fail)
Definition: xineplug_inp_vcd.c:239
vcd_show_rejected_cb
static void vcd_show_rejected_cb(void *this_gen, xine_cfg_entry_t *entry)
Definition: xineplug_inp_vcd.c:1885
XINE_EVENT_INPUT_SELECT
#define XINE_EVENT_INPUT_SELECT
Definition: xine.h:1845
vcdplayer_s::b_opened
bool b_opened
Definition: vcdplayer.h:182
vcdplayer_read
vcdplayer_read_status_t vcdplayer_read(vcdplayer_t *p_vcdplayer, uint8_t *p_buf, const off_t i_len)
Definition: vcdplayer.c:901
vcd_config_s::comment_format
char * comment_format
Definition: xineplug_inp_vcd.c:99
xine_event_queue_s
Definition: xine_internal.h:107
XINE_EVENT_INPUT_MOUSE_MOVE
#define XINE_EVENT_INPUT_MOUSE_MOVE
Definition: xine.h:1833
input_plugin.h
INPUT_CAP_CHAPTERS
#define INPUT_CAP_CHAPTERS
Definition: input_plugin.h:298
XINE_META_INFO_ARTIST
#define XINE_META_INFO_ARTIST
Definition: xine.h:1064
XINE_EVENT_INPUT_LEFT
#define XINE_EVENT_INPUT_LEFT
Definition: xine.h:1843
vcd_input_class_s::mrls
xine_mrl_t ** mrls
Definition: xineplug_inp_vcd.c:113
vcdplayer_s::i_entries
unsigned int i_entries
Definition: vcdplayer.h:191
vcd_input_class_t
struct vcd_input_class_s vcd_input_class_t
FREE_AND_NULL
#define FREE_AND_NULL(ptr)
Definition: xineplug_inp_vcd.c:1007
XINE_EVENT_INPUT_NUMBER_1
#define XINE_EVENT_INPUT_NUMBER_1
Definition: xine.h:1852
XINE_EVENT_INPUT_PREVIOUS
#define XINE_EVENT_INPUT_PREVIOUS
Definition: xine.h:1847
MAX_DEVICE_LEN
#define MAX_DEVICE_LEN
Definition: xineplug_inp_vcd.c:50
vcd_debug_cb
static void vcd_debug_cb(void *this_gen, xine_cfg_entry_t *entry)
Definition: xineplug_inp_vcd.c:1889
PLUGIN_VIDEO_DECODER
#define PLUGIN_VIDEO_DECODER
Definition: xine_plugin.h:33
XINE_EVENT_INPUT_NUMBER_5
#define XINE_EVENT_INPUT_NUMBER_5
Definition: xine.h:1856
buf_element_s
Definition: buffer.h:337
UL
#define UL
vcd_input_plugin_s::i_mouse_button
int32_t i_mouse_button
Definition: xineplug_inp_vcd.c:163
old_slider_length
static vcdplayer_slider_length_t old_slider_length
Definition: xineplug_inp_vcd.c:856
vcd_input_class_s::num_mrls
int num_mrls
Definition: xineplug_inp_vcd.c:114
RETURN_NOOP_BUF
#define RETURN_NOOP_BUF
Definition: xineplug_inp_vcd.c:723
vcd_default_autoplay_cb
static void vcd_default_autoplay_cb(void *this_gen, xine_cfg_entry_t *entry)
Definition: xineplug_inp_vcd.c:1888
XINE_VERBOSITY_DEBUG
#define XINE_VERBOSITY_DEBUG
Definition: xine.h:426
STILL_READING
#define STILL_READING
Definition: vcdplayer.h:99
vcd_input_class_s::show_rejected
bool show_rejected
Definition: xineplug_inp_vcd.c:136
INPUT_OPTIONAL_DATA_SPULANG
#define INPUT_OPTIONAL_DATA_SPULANG
Definition: input_plugin.h:367
vcd_input_class_s::vcdplayer_debug
unsigned int vcdplayer_debug
Definition: xineplug_inp_vcd.c:140
XINE_MSG_LIBRARY_LOAD_ERROR
#define XINE_MSG_LIBRARY_LOAD_ERROR
Definition: xine.h:2199
INPUT_CAP_PREVIEW
#define INPUT_CAP_PREVIEW
Definition: input_plugin.h:287
O
#define O
vcd_input_plugin_s::pause_end_time
time_t pause_end_time
Definition: xineplug_inp_vcd.c:152
XINE_EVENT_INPUT_NUMBER_10_ADD
#define XINE_EVENT_INPUT_NUMBER_10_ADD
Definition: xine.h:1861
config_values_s::xine
xine_t * xine
Definition: configfile.h:255
XINE_META_INFO_COMMENT
#define XINE_META_INFO_COMMENT
Definition: xine.h:1063
READ_STILL_FRAME
@ READ_STILL_FRAME
Definition: vcdplayer.h:225
XINE_EVENT_INPUT_MENU3
#define XINE_EVENT_INPUT_MENU3
Definition: xine.h:1836
input_class_s::identifier
const char * identifier
short human readable identifier for this plugin class
Definition: input_plugin.h:49
debug_fn
int(* debug_fn)(void *user_data, unsigned int mask, const char *fmt,...)
Definition: vcdplayer.h:90
dbg_print
#define dbg_print(class, mask, fmt, args...)
Definition: xineplug_inp_vcd.c:188
EXPORTED
#define EXPORTED
Definition: configure.h:72
vcd_plugin_get_capabilities
static uint32_t vcd_plugin_get_capabilities(input_plugin_t *this_gen)
Definition: xineplug_inp_vcd.c:667
INPUT_CAP_AUDIOLANG
#define INPUT_CAP_AUDIOLANG
Definition: input_plugin.h:272
vcdplayer_s::max_x
uint16_t max_x
Definition: vcdplayer.h:175
buf_element_s::mem
unsigned char * mem
Definition: buffer.h:340
vcd_get_optional_data
static int vcd_get_optional_data(input_plugin_t *this_gen, void *data, int data_type)
Definition: xineplug_inp_vcd.c:1366
INPUT_DBG_EVENT
#define INPUT_DBG_EVENT
Definition: vcdplayer.h:53
xine_cfg_entry_s
Definition: xine.h:1632
XINE_EVENT_INPUT_NUMBER_4
#define XINE_EVENT_INPUT_NUMBER_4
Definition: xine.h:1855
vcdplayer_pbc_is_on
bool vcdplayer_pbc_is_on(const vcdplayer_t *p_vcdplayer)
Definition: vcdplayer.c:69
XINE_EVENT_SPU_BUTTON
#define XINE_EVENT_SPU_BUTTON
Definition: xine.h:1824
_x_real_codec_open
void * _x_real_codec_open(xine_stream_t *const stream, const char *const path, const char *const codec_name, const char *const codec_alternate)
Definition: real_common.c:158
vcd_slider_length_cb
static void vcd_slider_length_cb(void *this_gen, xine_cfg_entry_t *entry)
Definition: xineplug_inp_vcd.c:1887
XINE_META_INFO_GENRE
#define XINE_META_INFO_GENRE
Definition: xine.h:1065
EXPORTED
const plugin_info_t xine_plugin_info[] EXPORTED
Definition: real_common.c:193
config_values_s::unregister_callback
void(* unregister_callback)(config_values_t *self, const char *key)
Definition: configfile.h:191
XINE_EVENT_INPUT_NUMBER_0
#define XINE_EVENT_INPUT_NUMBER_0
Definition: xine.h:1851
vcd_input_plugin_t
Definition: input_vcd.c:108
dec_info_realaudio
const decoder_info_t dec_info_realaudio
Definition: real_common.h:81
xine_ui_data_t
Definition: xine.h:1947
vcd_plugin_get_blocksize
static uint32_t vcd_plugin_get_blocksize(input_plugin_t *this_gen)
Definition: xineplug_inp_vcd.c:937
XINE_EVENT_INPUT_RIGHT
#define XINE_EVENT_INPUT_RIGHT
Definition: xine.h:1844
INPUT_DBG_STILL
#define INPUT_DBG_STILL
Definition: vcdplayer.h:62
vcd_add_mrl_slot
static void vcd_add_mrl_slot(vcd_input_class_t *class, const char *mrl, off_t size, unsigned int *i)
Definition: xineplug_inp_vcd.c:319
XINE_EVENT_INPUT_NUMBER_7
#define XINE_EVENT_INPUT_NUMBER_7
Definition: xine.h:1858
xine_spu_button_t::direction
int direction
Definition: xine.h:2126
xine_input_data_t::button
uint8_t button
Definition: xine.h:1940
buf_element_s::content
unsigned char * content
Definition: buffer.h:341
gl_default_vcd_log_handler
static vcd_log_handler_t gl_default_vcd_log_handler
Definition: xineplug_inp_vcd.c:1512
_x_real_codecs_init
void _x_real_codecs_init(xine_t *const xine)
Definition: real_common.c:71
XINE_ANON_STREAM
#define XINE_ANON_STREAM
Definition: xine_internal.h:173
PLUGIN_NONE
#define PLUGIN_NONE
Definition: xine_plugin.h:29
INPUT_OPTIONAL_UNSUPPORTED
#define INPUT_OPTIONAL_UNSUPPORTED
Definition: input_plugin.h:363
xine_input_data_t::x
uint16_t x
Definition: xine.h:1941
vcd_log_handler
static void vcd_log_handler(vcd_log_level_t level, const char message[])
Definition: xineplug_inp_vcd.c:1518
xine_internal.h
xine_input_data_t
Definition: xine.h:1938
vcdplayer_play_item_info_t::size
size_t size
Definition: vcdplayer.h:87
vcdplayer_s::slider_length
vcdplayer_slider_length_t slider_length
Definition: vcdplayer.h:218
vcdplayer_autoplay_t
vcdplayer_autoplay_t
Definition: vcdplayer.h:78
vcd_input_class_s::autoadvance
bool autoadvance
Definition: xineplug_inp_vcd.c:132
vcd_update_title_display
static void vcd_update_title_display(void *user_data)
Definition: xineplug_inp_vcd.c:1605
vcd_input_plugin_s::player_device
char * player_device
Definition: xineplug_inp_vcd.c:173
vcdplayer_s::prev_entry
uint16_t prev_entry
Definition: vcdplayer.h:161
XINE_EVENT_INPUT_UP
#define XINE_EVENT_INPUT_UP
Definition: xine.h:1841
SHORT_PLUGIN_NAME
#define SHORT_PLUGIN_NAME
Definition: xineplug_inp_vcd.c:47
_x_mrl_unescape
void _x_mrl_unescape(char *mrl)
Definition: xine.c:1381
config.h
vcdplayer_s::i_lids
lid_t i_lids
Definition: vcdplayer.h:192
vcdio_close
int vcdio_close(vcdplayer_t *p_vcdplayer)
Definition: vcdio.c:73
xine_event_t::type
int type
Definition: xine.h:1929
xine_input_data_t::y
uint16_t y
Definition: xine.h:1941
vcd_input_plugin_s::stream
xine_stream_t * stream
Definition: xineplug_inp_vcd.c:149
vcd_input_class_s
Definition: xineplug_inp_vcd.c:104
vcd_input_class_s::default_autoplay
vcdplayer_autoplay_t default_autoplay
Definition: xineplug_inp_vcd.c:129
INPUT_DBG_META
#define INPUT_DBG_META
Definition: vcdplayer.h:52
gl_default_cdio_log_handler
static cdio_log_handler_t gl_default_cdio_log_handler
Definition: xineplug_inp_vcd.c:1513
XINE_EVENT_INPUT_MOUSE_BUTTON
#define XINE_EVENT_INPUT_MOUSE_BUTTON
Definition: xine.h:1832
buf_element_s::type
uint32_t type
Definition: buffer.h:362
vcdplayer_s
Definition: vcdplayer.h:101
vcd_build_mrl_list
static bool vcd_build_mrl_list(vcd_input_class_t *class, char *vcd_device)
Definition: xineplug_inp_vcd.c:376
vcd_plugin_seek
static off_t vcd_plugin_seek(input_plugin_t *this_gen, off_t offset, int origin)
Definition: xineplug_inp_vcd.c:839
vcd_force_redisplay
static void vcd_force_redisplay(void *user_data)
Definition: xineplug_inp_vcd.c:292
xine_event_t::data_length
int data_length
Definition: xine.h:1927
vcdio_open
bool vcdio_open(vcdplayer_t *p_vcdplayer, char *intended_vcd_device)
Definition: vcdio.c:93
___brk_addr
void ___brk_addr(void)
Definition: real_common.c:64
XINE_EVENT_INPUT_NUMBER_9
#define XINE_EVENT_INPUT_NUMBER_9
Definition: xine.h:1860
_x_real_codecs_init
void _x_real_codecs_init(xine_t *const xine)
Definition: real_common.c:71
autoplay2itemtype
static const vcdinfo_item_enum_t autoplay2itemtype[]
Definition: xineplug_inp_vcd.c:89
___brk_addr
void ___brk_addr(void) EXPORTED
Definition: real_common.c:64
dec_info_realvideo
const decoder_info_t dec_info_realvideo
Definition: real_common.h:78
xine_spu_button_t::button
int32_t button
Definition: xine.h:2127
meta_info_assign
static void meta_info_assign(vcd_input_plugin_t *this, int field, xine_stream_t *stream, const char *info)
Definition: xineplug_inp_vcd.c:264
INPUT_OPTIONAL_DATA_AUDIOLANG
#define INPUT_OPTIONAL_DATA_AUDIOLANG
Definition: input_plugin.h:366
INPUT_DBG_CALL
#define INPUT_DBG_CALL
Definition: vcdplayer.h:56
vcd_plugin_get_current_pos
static off_t vcd_plugin_get_current_pos(input_plugin_t *this_gen)
Definition: xineplug_inp_vcd.c:926
vcdplayer_s::i_still
int i_still
Definition: vcdplayer.h:136
mrl_vcd
#define mrl_vcd
Definition: input_plugin.h:399
_x_demux_flush_engine
void _x_demux_flush_engine(xine_stream_t *s)
Definition: demux.c:61
LOG_MODULE
#define LOG_MODULE
Definition: real_common.c:23
error_print
#define error_print(class, fmt, args...)
Definition: xineplug_inp_vcd.c:193
SLEEP_AND_HANDLE_EVENTS
#define SLEEP_AND_HANDLE_EVENTS
Definition: xineplug_inp_vcd.c:731
vcd_plugin_open
static int vcd_plugin_open(input_plugin_t *this_gen)
Definition: xineplug_inp_vcd.c:1675
_x_asprintf
char * _x_asprintf(const char *format,...)
Definition: utils.c:783
plugin_info_t
Definition: xine_plugin.h:55
vcdplayer_s::end_lsn
lsn_t end_lsn
Definition: vcdplayer.h:167
VCDPLAYER_AUTOPLAY_PBC
@ VCDPLAYER_AUTOPLAY_PBC
Definition: vcdplayer.h:82
xprintf
#define xprintf(xine, verbose,...)
Definition: xineutils.h:664
VCD_STR_CALLBACK
#define VCD_STR_CALLBACK(fn_name, var)
Definition: xineplug_inp_vcd.c:1873
INPUT_DBG_MRL
#define INPUT_DBG_MRL
Definition: vcdplayer.h:54
vcd_input_class_s::mrl_segment_offset
int mrl_segment_offset
Definition: xineplug_inp_vcd.c:126
vcd_get_mrl_type_offset
static int vcd_get_mrl_type_offset(vcd_input_plugin_t *inp, vcdinfo_item_enum_t type, int *size)
Definition: xineplug_inp_vcd.c:347
vcdplayer_s::segment
vcdplayer_play_item_info_t * segment
Definition: vcdplayer.h:197
vcd_input_plugin_s::input_plugin
input_plugin_t input_plugin
Definition: xineplug_inp_vcd.c:144
N_
#define N_(String)
Definition: xineintl.h:47
vcd_autoadvance_cb
static void vcd_autoadvance_cb(void *this_gen, xine_cfg_entry_t *entry)
Definition: xineplug_inp_vcd.c:1886
old_play_item
static vcdinfo_itemid_t old_play_item
Definition: xineplug_inp_vcd.c:853
XINE_META_INFO_TITLE
#define XINE_META_INFO_TITLE
Definition: xine.h:1062
config_values_s::register_bool
int(* register_bool)(config_values_t *self, const char *key, int def_value, const char *description, const char *help, int exp_level, xine_config_cb_t changed_cb, void *cb_data)
Definition: configfile.h:154