|
xine-lib
1.2.9
|
#include <sys/types.h>#include <sys/stat.h>#include <sys/time.h>#include <fcntl.h>#include <string.h>#include <stdlib.h>#include <pthread.h>#include <stdarg.h>#include <stdio.h>#include <ctype.h>#include <unistd.h>#include <basedir.h>#include <xine/xine_internal.h>#include <xine/plugin_catalog.h>#include <xine/audio_out.h>#include <xine/video_out.h>#include <xine/demux.h>#include <xine/buffer.h>#include <xine/spu_decoder.h>#include <xine/input_plugin.h>#include <xine/metronom.h>#include <xine/configfile.h>#include <xine/osd.h>#include <xine/spu.h>#include <xine/xineutils.h>#include <xine/compat.h>#include "xine_private.h"Macros | |
| #define | LOG_MODULE "xine" |
| #define | LOG_VERBOSE |
| #define | XINE_ENABLE_EXPERIMENTAL_FEATURES |
| #define | METRONOM_INTERNAL |
| #define | METRONOM_CLOCK_INTERNAL |
| #define | RATIO_LIKE(a, b) ((b) - 1 <= (a) && (a) <= 1 + (b)) |
| #define | KF_BITS 10 |
| #define | KF_SIZE (1 << KF_BITS) |
| #define | KF_MASK (KF_SIZE - 1) |
Functions | |
| static void | mutex_cleanup (void *mutex) |
| void | _x_handle_stream_end (xine_stream_t *stream, int non_user) |
| void | _x_extra_info_reset (extra_info_t *extra_info) |
| void | _x_extra_info_merge (extra_info_t *dst, extra_info_t *src) |
| static int | ticket_acquire_internal (xine_ticket_t *this, int irrevocable, int nonblocking) |
| static int | ticket_acquire_nonblocking (xine_ticket_t *this, int irrevocable) |
| static void | ticket_acquire (xine_ticket_t *this, int irrevocable) |
| static void | ticket_release_internal (xine_ticket_t *this, int irrevocable) |
| static void | ticket_release_nonblocking (xine_ticket_t *this, int irrevocable) |
| static void | ticket_release (xine_ticket_t *this, int irrevocable) |
| static void | ticket_renew (xine_ticket_t *this, int irrevocable) |
| static void | ticket_issue (xine_ticket_t *this, int atomic) |
| static void | ticket_revoke (xine_ticket_t *this, int atomic) |
| static int | lock_timeout (pthread_mutex_t *mutex, int ms_timeout) |
| static int | ticket_lock_port_rewiring (xine_ticket_t *this, int ms_timeout) |
| static void | ticket_unlock_port_rewiring (xine_ticket_t *this) |
| static void | ticket_dispose (xine_ticket_t *this) |
| static xine_ticket_t * | ticket_init (void) |
| static void | set_speed_internal (xine_stream_t *stream, int speed) |
| static void | stop_internal (xine_stream_t *stream) |
| void | xine_stop (xine_stream_t *stream) |
| static void | close_internal (xine_stream_t *stream) |
| void | xine_close (xine_stream_t *stream) |
| static int | stream_rewire_audio (xine_post_out_t *output, void *data) |
| static int | stream_rewire_video (xine_post_out_t *output, void *data) |
| static void | xine_dispose_internal (xine_stream_t *stream) |
| xine_stream_t * | xine_stream_new (xine_t *this, xine_audio_port_t *ao, xine_video_port_t *vo) |
| void | _x_mrl_unescape (char *mrl) |
| char * | _x_mrl_remove_auth (const char *mrl_in) |
| void | _x_flush_events_queues (xine_stream_t *stream) |
| static int | _x_path_looks_like_mrl (const char *path) |
| static int | open_internal (xine_stream_t *stream, const char *mrl) |
| int | xine_open (xine_stream_t *stream, const char *mrl) |
| static void | wait_first_frame (xine_stream_t *stream) |
| static int | play_internal (xine_stream_t *stream, int start_pos, int start_time) |
| int | xine_play (xine_stream_t *stream, int start_pos, int start_time) |
| int | xine_eject (xine_stream_t *stream) |
| void | xine_dispose (xine_stream_t *stream) |
| void | xine_exit (xine_t *this) |
| xine_t * | xine_new (void) |
| void | xine_engine_set_param (xine_t *this, int param, int value) |
| int | xine_engine_get_param (xine_t *this, int param) |
| static void | config_demux_strategy_cb (void *this_gen, xine_cfg_entry_t *entry) |
| static void | config_save_cb (void *this_gen, xine_cfg_entry_t *entry) |
| void | xine_set_flags (xine_t *this, int flags) |
| void | xine_init (xine_t *this) |
| void | _x_select_spu_channel (xine_stream_t *stream, int channel) |
| static int | get_current_position (xine_stream_t *stream) |
| void | _x_get_current_info (xine_stream_t *stream, extra_info_t *extra_info, int size) |
| int | xine_get_status (xine_stream_t *stream) |
| void | _x_set_fine_speed (xine_stream_t *stream, int speed) |
| int | _x_get_fine_speed (xine_stream_t *stream) |
| void | _x_set_speed (xine_stream_t *stream, int speed) |
| int | _x_get_speed (xine_stream_t *stream) |
| static int | get_stream_length (xine_stream_t *stream) |
| int | xine_get_pos_length (xine_stream_t *stream, int *pos_stream, int *pos_time, int *length_time) |
| static int | _x_get_current_frame_data (xine_stream_t *stream, xine_current_frame_data_t *data, int flags, int img_size_unknown) |
| int | xine_get_current_frame_data (xine_stream_t *stream, xine_current_frame_data_t *data, int flags) |
| int | xine_get_current_frame_alloc (xine_stream_t *stream, int *width, int *height, int *ratio_code, int *format, uint8_t **img, int *img_size) |
| int | xine_get_current_frame_s (xine_stream_t *stream, int *width, int *height, int *ratio_code, int *format, uint8_t *img, int *img_size) |
| int | xine_get_current_frame (xine_stream_t *stream, int *width, int *height, int *ratio_code, int *format, uint8_t *img) |
| xine_grab_video_frame_t * | xine_new_grab_video_frame (xine_stream_t *stream) |
| int | xine_get_spu_lang (xine_stream_t *stream, int channel, char *lang) |
| int | xine_get_audio_lang (xine_stream_t *stream, int channel, char *lang) |
| int | _x_get_spu_channel (xine_stream_t *stream) |
| int | xine_get_log_section_count (xine_t *this) |
| const char *const * | xine_get_log_names (xine_t *this) |
| static void | check_log_alloc (xine_t *this, int buf) |
| void | xine_log (xine_t *this, int buf, const char *format,...) |
| void | xine_vlog (xine_t *this, int buf, const char *format, va_list args) |
| char *const * | xine_get_log (xine_t *this, int buf) |
| void | xine_register_log_cb (xine_t *this, xine_log_cb_t cb, void *user_data) |
| int | xine_get_error (xine_stream_t *stream) |
| int | xine_stream_master_slave (xine_stream_t *master, xine_stream_t *slave, int affection) |
| int | _x_query_buffer_usage (xine_stream_t *stream, int *num_video_buffers, int *num_audio_buffers, int *num_video_frames, int *num_audio_frames) |
| static void | _x_query_buffers_fix_data (xine_query_buffers_data_t *data) |
| int | _x_query_buffers (xine_stream_t *stream, xine_query_buffers_t *query) |
| int | _x_lock_port_rewiring (xine_t *xine, int ms_timeout) |
| void | _x_unlock_port_rewiring (xine_t *xine) |
| int | _x_lock_frontend (xine_stream_t *stream, int ms_to_time_out) |
| void | _x_unlock_frontend (xine_stream_t *stream) |
| int | _x_query_unprocessed_osd_events (xine_stream_t *stream) |
| int | _x_demux_seek (xine_stream_t *stream, off_t start_pos, int start_time, int playing) |
| int | _x_continue_stream_processing (xine_stream_t *stream) |
| void | _x_trigger_relaxed_frame_drop_mode (xine_stream_t *stream) |
| void | _x_reset_relaxed_frame_drop_mode (xine_stream_t *stream) |
| int | xine_keyframes_find (xine_stream_t *stream, xine_keyframes_entry_t *pos, int offs) |
| Query stream keyframe seek index. More... | |
| int | _x_keyframes_add (xine_stream_t *stream, xine_keyframes_entry_t *pos) |
| Register a stream keyframe to seek index. More... | |
| xine_keyframes_entry_t * | xine_keyframes_get (xine_stream_t *stream, int *size) |
| Get a private stream keyframe seek index copy, free () it when done. More... | |
| int | _x_keyframes_set (xine_stream_t *stream, xine_keyframes_entry_t *list, int size) |
| Register a list of stream keyframes. More... | |
Variables | |
| static const uint8_t | tab_parse [256] |
| #define KF_BITS 10 |
| #define KF_MASK (KF_SIZE - 1) |
Referenced by _x_keyframes_set().
| #define KF_SIZE (1 << KF_BITS) |
Referenced by _x_keyframes_add().
| #define LOG_MODULE "xine" |
| #define LOG_VERBOSE |
| #define METRONOM_CLOCK_INTERNAL |
| #define METRONOM_INTERNAL |
| #define RATIO_LIKE | ( | a, | |
| b | |||
| ) | ((b) - 1 <= (a) && (a) <= 1 + (b)) |
Referenced by _x_get_current_frame_data().
| #define XINE_ENABLE_EXPERIMENTAL_FEATURES |
| int _x_continue_stream_processing | ( | xine_stream_t * | stream | ) |
References XINE_STATUS_QUIT, and XINE_STATUS_STOP.
Referenced by vdr_audio_port_put_buffer(), vdr_plugin_read(), and vdr_video_draw().
| int _x_demux_seek | ( | xine_stream_t * | stream, |
| off_t | start_pos, | ||
| int | start_time, | ||
| int | playing | ||
| ) |
Referenced by vdr_execute_rpc_command().
| void _x_extra_info_merge | ( | extra_info_t * | dst, |
| extra_info_t * | src | ||
| ) |
References extra_info_s::frame_number, extra_info_s::input_normpos, extra_info_s::input_time, extra_info_s::invalid, extra_info_s::seek_count, and extra_info_s::vpts.
Referenced by _x_post_frame_copy_down(), _x_post_frame_copy_up(), _x_post_frame_u_turn(), ao_loop(), ao_put_buffer(), audio_decoder_loop(), deinterlace_build_output_field(), get_current_position(), next_frame(), overlay_and_display_frame(), stretch_process_fragment(), upmix_mono_port_put_buffer(), upmix_port_put_buffer(), vdr_audio_port_put_buffer(), video_decoder_loop(), and vo_frame_draw().
| void _x_extra_info_reset | ( | extra_info_t * | extra_info | ) |
| void _x_flush_events_queues | ( | xine_stream_t * | stream | ) |
|
static |
References vo_frame_s::base, vo_frame_s::crop_bottom, xine_current_frame_data_t::crop_bottom, vo_frame_s::crop_left, xine_current_frame_data_t::crop_left, vo_frame_s::crop_right, xine_current_frame_data_t::crop_right, vo_frame_s::crop_top, xine_current_frame_data_t::crop_top, vo_frame_s::format, xine_current_frame_data_t::format, vo_frame_s::free, xine_video_port_s::get_last_frame, vo_frame_s::height, xine_current_frame_data_t::height, xine_current_frame_data_t::img, xine_current_frame_data_t::img_size, xine_current_frame_data_t::interlaced, vo_frame_s::pitches, vo_frame_s::proc_provide_standard_frame_data, vo_frame_s::progressive_frame, vo_frame_s::ratio, xine_current_frame_data_t::ratio_code, RATIO_LIKE, vo_frame_s::top_field_first, xine_stream_s::video_out, vo_frame_s::width, xine_current_frame_data_t::width, xine_stream_s::xine, XINE_FRAME_DATA_ALLOCATE_IMG, XINE_IMGFMT_YUY2, XINE_IMGFMT_YV12, XINE_VERBOSITY_DEBUG, XINE_VO_ASPECT_4_3, XINE_VO_ASPECT_ANAMORPHIC, XINE_VO_ASPECT_DVB, XINE_VO_ASPECT_SQUARE, xprintf, yuy2_to_yuy2(), and yv12_to_yv12().
Referenced by xine_get_current_frame(), xine_get_current_frame_alloc(), xine_get_current_frame_data(), and xine_get_current_frame_s().
| void _x_get_current_info | ( | xine_stream_t * | stream, |
| extra_info_t * | extra_info, | ||
| int | size | ||
| ) |
Referenced by spudec_decode_data().
| int _x_get_fine_speed | ( | xine_stream_t * | stream | ) |
References xine_s::clock, metronom_clock_s::speed, and xine_stream_s::xine.
Referenced by _x_get_speed(), dvbspeed_put(), handle_libbluray_event(), xine_get_param(), and xine_set_param().
| int _x_get_speed | ( | xine_stream_t * | stream | ) |
| int _x_get_spu_channel | ( | xine_stream_t * | stream | ) |
References xine_stream_s::spu_channel_user.
Referenced by vcd_get_optional_data().
| void _x_handle_stream_end | ( | xine_stream_t * | stream, |
| int | non_user | ||
| ) |
References xine_event_send(), XINE_EVENT_UI_PLAYBACK_FINISHED, XINE_STATUS_QUIT, and XINE_STATUS_STOP.
Referenced by demux_loop().
| int _x_keyframes_add | ( | xine_stream_t * | stream, |
| xine_keyframes_entry_t * | pos | ||
| ) |
Register a stream keyframe to seek index.
| stream | The stream that index is for. |
| pos | The frame time AND normpos. |
References abs, KF_SIZE, xine_keyframes_entry_t::msecs, xine_stream_s::xine, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by read_flv_packet(), and vo_frame_draw().
| int _x_keyframes_set | ( | xine_stream_t * | stream, |
| xine_keyframes_entry_t * | list, | ||
| int | size | ||
| ) |
Register a list of stream keyframes.
| stream | The stream that index is for. |
| list | The array of entries to add. |
| size | The count of entries. |
References KF_MASK, NULL, xine_stream_s::xine, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by close_internal(), and parse_moov_atom().
| int _x_lock_frontend | ( | xine_stream_t * | stream, |
| int | ms_to_time_out | ||
| ) |
References lock_timeout().
Referenced by vdr_rpc_thread_loop().
| int _x_lock_port_rewiring | ( | xine_t * | xine, |
| int | ms_timeout | ||
| ) |
Referenced by vdr_rpc_thread_loop().
| char* _x_mrl_remove_auth | ( | const char * | mrl_in | ) |
Referenced by input_avformat_get_instance(), and input_avio_get_instance().
| void _x_mrl_unescape | ( | char * | mrl | ) |
|
inlinestatic |
References tab_parse.
Referenced by open_internal().
| int _x_query_buffer_usage | ( | xine_stream_t * | stream, |
| int * | num_video_buffers, | ||
| int * | num_audio_buffers, | ||
| int * | num_video_frames, | ||
| int * | num_audio_frames | ||
| ) |
References AO_PROP_BUFS_IN_FIFO, xine_stream_s::audio_fifo, xine_stream_s::audio_out, xine_audio_port_s::get_property, xine_video_port_s::get_property, fifo_buffer_s::size, xine_stream_s::video_fifo, xine_stream_s::video_out, VO_PROP_BUFS_IN_FIFO, and xine_stream_s::xine.
Referenced by fifos_wait(), vdr_execute_rpc_command(), vdr_video_draw(), and xxmc_display_frame().
| int _x_query_buffers | ( | xine_stream_t * | stream, |
| xine_query_buffers_t * | query | ||
| ) |
References _x_query_buffers_fix_data(), xine_query_buffers_t::ai, xine_query_buffers_t::ao, AO_PROP_BUFS_FREE, AO_PROP_BUFS_IN_FIFO, AO_PROP_BUFS_TOTAL, xine_stream_s::audio_fifo, xine_stream_s::audio_out, xine_query_buffers_data_t::avail, fifo_buffer_s::buffer_pool_capacity, xine_audio_port_s::get_property, xine_video_port_s::get_property, fifo_buffer_s::num_free, xine_query_buffers_data_t::ready, fifo_buffer_s::size, xine_query_buffers_data_t::total, xine_query_buffers_t::vi, xine_stream_s::video_fifo, xine_stream_s::video_out, xine_query_buffers_t::vo, VO_PROP_BUFS_FREE, VO_PROP_BUFS_IN_FIFO, VO_PROP_BUFS_TOTAL, and xine_stream_s::xine.
|
static |
References xine_query_buffers_data_t::avail, xine_query_buffers_data_t::ready, and xine_query_buffers_data_t::total.
Referenced by _x_query_buffers().
| int _x_query_unprocessed_osd_events | ( | xine_stream_t * | stream | ) |
| void _x_reset_relaxed_frame_drop_mode | ( | xine_stream_t * | stream | ) |
Referenced by vdr_execute_rpc_command().
| void _x_select_spu_channel | ( | xine_stream_t * | stream, |
| int | channel | ||
| ) |
References xine_video_port_s::enable_ovl, lprintf, xine_stream_s::spu_channel, xine_stream_s::spu_channel_auto, xine_stream_s::spu_channel_user, xine_stream_s::video_out, and xine_stream_s::xine.
Referenced by get_overlay(), and xine_set_param().
| void _x_set_fine_speed | ( | xine_stream_t * | stream, |
| int | speed | ||
| ) |
References set_speed_internal(), xine_stream_s::slave, xine_stream_s::xine, XINE_MASTER_SLAVE_SPEED, XINE_SPEED_PAUSE, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by _x_set_speed(), dvbspeed_close(), dvbspeed_get(), dvbspeed_put(), handle_libbluray_event(), and xine_set_param().
| void _x_set_speed | ( | xine_stream_t * | stream, |
| int | speed | ||
| ) |
| void _x_trigger_relaxed_frame_drop_mode | ( | xine_stream_t * | stream | ) |
Referenced by vdr_execute_rpc_command().
| void _x_unlock_frontend | ( | xine_stream_t * | stream | ) |
Referenced by vdr_rpc_thread_loop().
| void _x_unlock_port_rewiring | ( | xine_t * | xine | ) |
Referenced by vdr_rpc_thread_loop().
|
inlinestatic |
References _x_new_scratch_buffer().
Referenced by xine_log(), and xine_vlog().
|
static |
References _x_free_demux_plugin(), _x_free_input_plugin(), _x_keyframes_set(), AO_PROP_DISCARD_BUFFERS, xine_stream_s::audio_out, xine_stream_s::input_plugin, NULL, xine_audio_port_s::set_property, xine_video_port_s::set_property, xine_stream_s::slave, stop_internal(), xine_stream_s::video_out, VO_PROP_DISCARD_FRAMES, xine_stream_s::xine, xine_close(), xine_dispose(), and XINE_STREAM_INFO_MAX.
Referenced by open_internal(), and xine_close().
|
static |
References xine_cfg_entry_s::num_value.
Referenced by xine_init().
|
static |
References _, _x_message(), NULL, xine_cfg_entry_s::str_value, xine_get_homedir(), xine_list_front(), xine_list_get_value(), xine_log(), XINE_LOG_MSG, and XINE_MSG_SECURITY.
Referenced by xine_init().
|
static |
References _x_extra_info_merge(), _x_stream_info_get(), xine_stream_s::input_plugin, lprintf, and XINE_STREAM_INFO_HAS_VIDEO.
Referenced by xine_get_pos_length().
|
static |
Referenced by xine_get_pos_length().
|
static |
References NULL.
Referenced by _x_lock_frontend(), and ticket_lock_port_rewiring().
|
static |
Referenced by xine_close(), xine_eject(), xine_open(), xine_play(), and xine_stop().
|
static |
References _, _x_cache_plugin_get_instance(), _x_config_change_opt(), _x_demux_control_headers_done(), _x_demux_control_nop(), _x_extra_info_reset(), _x_find_demux_plugin(), _x_find_demux_plugin_by_name(), _x_find_demux_plugin_last_probe(), _x_find_input_plugin(), _x_flush_events_queues(), _x_free_demux_plugin(), _x_free_input_plugin(), _x_meta_info_set_utf8(), _x_mrl_unescape(), _x_path_looks_like_mrl(), _x_rip_plugin_get_instance(), _x_stream_info_set(), BUF_FLAG_END_STREAM, close_internal(), xine_s::config, DEMUX_FINISHED, DEMUX_OK, input_class_s::description, dgettext, input_class_s::eject_media, input_plugin_s::get_capabilities, input_plugin_s::get_optional_data, input_class_s::identifier, INPUT_CAP_NO_CACHE, input_plugin_s::input_class, INPUT_OPTIONAL_DATA_DEMUXER, xine_stream_s::input_plugin, key, lprintf, xine_stream_s::master, name, NULL, input_plugin_s::open, xine_stream_s::slave, tab_parse, input_class_s::text_domain, xine_stream_s::video_out, xine_stream_s::xine, xine_dispose(), XINE_ERROR_INPUT_FAILED, XINE_ERROR_MALFORMED_MRL, XINE_ERROR_NO_DEMUX_PLUGIN, XINE_ERROR_NO_INPUT_PLUGIN, xine_log(), XINE_LOG_MSG, XINE_MASTER_SLAVE_PLAY, XINE_MASTER_SLAVE_STOP, XINE_META_INFO_INPUT_PLUGIN, XINE_META_INFO_SYSTEMLAYER, xine_open(), XINE_PARAM_AUDIO_COMPR_LEVEL, XINE_PARAM_AUDIO_VOLUME, xine_set_param(), XINE_STATUS_IDLE, XINE_STATUS_STOP, XINE_STREAM_INFO_AUDIO_HANDLED, XINE_STREAM_INFO_IGNORE_AUDIO, XINE_STREAM_INFO_IGNORE_SPU, XINE_STREAM_INFO_IGNORE_VIDEO, XINE_STREAM_INFO_VIDEO_HANDLED, xine_stream_new(), XINE_TEXTDOMAIN, XINE_VERBOSITY_DEBUG, XINE_VERBOSITY_LOG, and xprintf.
Referenced by xine_open().
|
static |
References _, _x_action_lower(), _x_action_raise(), _x_demux_start_thread(), _x_extra_info_reset(), _x_get_speed(), AO_PROP_DISCARD_BUFFERS, xine_stream_s::audio_out, DEMUX_OK, DISC_GAPLESS, metronom_s::handle_audio_discontinuity, xine_stream_s::master, xine_stream_s::metronom, xine_audio_port_s::set_property, xine_video_port_s::set_property, set_speed_internal(), xine_stream_s::video_out, VO_PROP_DISCARD_FRAMES, wait_first_frame(), xine_stream_s::xine, XINE_ERROR_DEMUX_FAILED, XINE_ERROR_NO_DEMUX_PLUGIN, XINE_FINE_SPEED_NORMAL, xine_log(), XINE_LOG_MSG, XINE_SPEED_NORMAL, XINE_STATUS_PLAY, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by xine_play().
|
static |
References AO_PROP_CLOCK_SPEED, xine_stream_s::audio_out, xine_s::clock, mode(), xine_audio_port_s::set_property, metronom_clock_s::speed, xine_stream_s::xine, and XINE_SPEED_PAUSE.
Referenced by _x_set_fine_speed(), play_internal(), stop_internal(), stream_rewire_audio(), and stream_rewire_video().
|
static |
References _x_demux_control_end(), _x_demux_stop_thread(), lprintf, set_speed_internal(), XINE_FINE_SPEED_NORMAL, XINE_STATUS_IDLE, XINE_STATUS_QUIT, and XINE_STATUS_STOP.
Referenced by close_internal(), and xine_stop().
|
static |
References xine_stream_s::audio_out, bits, xine_audio_port_s::close, xine_post_out_s::data, mode(), set_speed_internal(), xine_audio_port_s::status, and xine_stream_s::xine.
Referenced by xine_stream_new().
|
static |
References xine_video_port_s::close, xine_post_out_s::data, height, set_speed_internal(), xine_video_port_s::status, xine_stream_s::video_out, width, and xine_stream_s::xine.
Referenced by xine_stream_new().
|
static |
References ticket_acquire_internal().
Referenced by ticket_init().
|
static |
Referenced by ticket_acquire(), and ticket_acquire_nonblocking().
|
static |
References ticket_acquire_internal().
Referenced by ticket_init().
|
static |
Referenced by ticket_init().
|
static |
References xine_ticket_s::acquire, NULL, xine_ticket_s::release, xine_ticket_s::renew, ticket_acquire(), ticket_acquire_nonblocking(), ticket_dispose(), ticket_issue(), ticket_lock_port_rewiring(), ticket_release(), ticket_release_nonblocking(), ticket_renew(), ticket_revoke(), and ticket_unlock_port_rewiring().
Referenced by xine_init().
|
static |
Referenced by ticket_init().
|
static |
References lock_timeout().
Referenced by ticket_init().
|
static |
References ticket_release_internal().
Referenced by ticket_init().
|
static |
References _x_assert, and lprintf.
Referenced by ticket_release(), and ticket_release_nonblocking().
|
static |
References ticket_release_internal().
Referenced by ticket_init().
|
static |
References _x_assert.
Referenced by ticket_init().
|
static |
Referenced by ticket_init().
|
static |
Referenced by ticket_init().
|
static |
References NULL.
Referenced by play_internal().
| void xine_close | ( | xine_stream_t * | stream | ) |
References close_internal(), mutex_cleanup(), XINE_STATUS_IDLE, and XINE_STATUS_QUIT.
Referenced by close_internal(), external_stream_stop(), and xine_dispose().
| void xine_dispose | ( | xine_stream_t * | stream | ) |
References _x_audio_decoder_shutdown(), _x_close_broadcaster(), _x_refcounter_dec(), _x_video_decoder_shutdown(), osd_renderer_s::close, xine_stream_s::master, NULL, xine_stream_s::osd_renderer, xine_stream_s::slave, xine_stream_s::xine, xine_close(), XINE_STATUS_QUIT, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by close_internal(), external_stream_stop(), open_internal(), and xine_exit().
|
static |
References _x_refcounter_dispose(), metronom_s::exit, lprintf, xine_stream_s::metronom, xine_s::streams, xine_s::streams_lock, xine_stream_s::xine, xine_list_delete(), xine_list_find(), and xine_list_remove().
Referenced by xine_stream_new().
| int xine_eject | ( | xine_stream_t * | stream | ) |
References input_plugin_s::input_class, xine_stream_s::input_plugin, mutex_cleanup(), and XINE_STATUS_STOP.
| int xine_engine_get_param | ( | xine_t * | this, |
| int | param | ||
| ) |
References lprintf, and XINE_ENGINE_PARAM_VERBOSITY.
| void xine_engine_set_param | ( | xine_t * | this, |
| int | param, | ||
| int | value | ||
| ) |
References lprintf, and XINE_ENGINE_PARAM_VERBOSITY.
| void xine_exit | ( | xine_t * | this | ) |
| int xine_get_audio_lang | ( | xine_stream_t * | stream, |
| int | channel, | ||
| char * | lang | ||
| ) |
| int xine_get_current_frame | ( | xine_stream_t * | stream, |
| int * | width, | ||
| int * | height, | ||
| int * | ratio_code, | ||
| int * | format, | ||
| uint8_t * | img | ||
| ) |
| int xine_get_current_frame_alloc | ( | xine_stream_t * | stream, |
| int * | width, | ||
| int * | height, | ||
| int * | ratio_code, | ||
| int * | format, | ||
| uint8_t ** | img, | ||
| int * | img_size | ||
| ) |
References _x_get_current_frame_data(), xine_current_frame_data_t::format, height, xine_current_frame_data_t::height, xine_current_frame_data_t::img, xine_current_frame_data_t::img_size, xine_current_frame_data_t::ratio_code, width, xine_current_frame_data_t::width, and XINE_FRAME_DATA_ALLOCATE_IMG.
| int xine_get_current_frame_data | ( | xine_stream_t * | stream, |
| xine_current_frame_data_t * | data, | ||
| int | flags | ||
| ) |
References _x_get_current_frame_data().
Referenced by vdr_execute_rpc_command().
| int xine_get_current_frame_s | ( | xine_stream_t * | stream, |
| int * | width, | ||
| int * | height, | ||
| int * | ratio_code, | ||
| int * | format, | ||
| uint8_t * | img, | ||
| int * | img_size | ||
| ) |
| int xine_get_error | ( | xine_stream_t * | stream | ) |
| char* const* xine_get_log | ( | xine_t * | this, |
| int | buf | ||
| ) |
References NULL, and XINE_LOG_NUM.
| const char* const* xine_get_log_names | ( | xine_t * | this | ) |
References _, NULL, XINE_LOG_MSG, XINE_LOG_NUM, XINE_LOG_PLUGIN, and XINE_LOG_TRACE.
| int xine_get_log_section_count | ( | xine_t * | this | ) |
References XINE_LOG_NUM.
| int xine_get_pos_length | ( | xine_stream_t * | stream, |
| int * | pos_stream, | ||
| int * | pos_time, | ||
| int * | length_time | ||
| ) |
References get_current_position(), and get_stream_length().
| int xine_get_spu_lang | ( | xine_stream_t * | stream, |
| int | channel, | ||
| char * | lang | ||
| ) |
| int xine_get_status | ( | xine_stream_t * | stream | ) |
Referenced by demux_unstick_ao_loop(), ff_audio_decode_data(), and spudec_decode_data().
| void xine_init | ( | xine_t * | this | ) |
References _, _x_metronom_clock_init(), _x_scan_plugins(), config_demux_strategy_cb(), config_save_cb(), init_yuv_conversion(), NULL, ticket_init(), XINE_CONFIG_SECURITY, XINE_CONFIG_STRING_IS_DIRECTORY_NAME, xine_get_homedir(), xine_list_new(), xine_probe_fast_memcpy(), XINE_PROFILE, XINE_VERBOSITY_LOG, and xprintf.
| int xine_keyframes_find | ( | xine_stream_t * | stream, |
| xine_keyframes_entry_t * | pos, | ||
| int | offs | ||
| ) |
Query stream keyframe seek index.
| stream | The stream that index is for. |
| pos | On call, the start time or normpos. On return, the found time and normpos. |
| offs | 0 gets nearest keyframe, other values step from exact given pos. |
References xine_keyframes_entry_t::msecs, xine_keyframes_entry_t::normpos, and XINE_ANON_STREAM.
| xine_keyframes_entry_t* xine_keyframes_get | ( | xine_stream_t * | stream, |
| int * | size | ||
| ) |
Get a private stream keyframe seek index copy, free () it when done.
| stream | The stream that index is for. |
| size | On return, the count of entries there are. |
References NULL, and XINE_ANON_STREAM.
| void xine_log | ( | xine_t * | this, |
| int | buf, | ||
| const char * | format, | ||
| ... | |||
| ) |
References check_log_alloc(), and SCRATCH_LINE_LEN_MAX.
Referenced by _cdda_cddb_socket_open(), _load_plugin_class(), _register_plugins_internal(), _unload_unref_plugins(), _x_cache_plugin_get_instance(), _x_demux_control_headers_done(), _x_io_select(), _x_rip_plugin_get_instance(), _x_use_proxy(), _x_video_decoder_init(), ao_alsa_open(), ao_dx2_close(), ao_dx2_control(), ao_dx2_exit(), ao_dx2_open(), asf_read_header(), audio_decoder_loop(), audio_error(), audio_fill(), AVI_init(), bitplane_decode_data(), buffer_service(), cache_plugin_open(), collect_plugins(), config_save_cb(), decode_vorbis_header(), demux_loop(), demux_mpeg_pes_parse_pack(), demux_mve_send_chunk(), file_input_open(), file_input_read_block(), get_answer(), get_chunk_header(), gnomevfs_plugin_open(), host_connect(), host_connect_attempt_ipv4(), host_connect_ipv4(), http_plugin_open(), http_plugin_read_int(), idx_grow(), lpcm_decode_data(), map_decoder_list(), mmsh_connect(), next_frame(), open_film_file(), open_internal(), open_mod_file(), open_mve_file(), open_plugin(), open_snd_file(), open_voc_file(), parse_pes_for_pts(), play_internal(), read_iff_chunk(), rip_plugin_open(), rip_plugin_read(), rip_plugin_read_block(), rip_plugin_seek(), rip_seek_original(), save_catalog(), video_decoder_loop(), video_out_loop(), vo_frame_draw(), vorbis_decode_data(), w32a_decode_data(), w32a_init_audio(), w32v_decode_data(), w32v_init_codec(), w32v_init_ds_dmo_codec(), xine_config_load(), and xio_rw_abort().
| xine_t* xine_new | ( | void | ) |
References _x_config_init(), bindtextdomain, NULL, XINE_LOCALEDIR, XINE_TEXTDOMAIN, and XINE_VERBOSITY_NONE.
| xine_grab_video_frame_t* xine_new_grab_video_frame | ( | xine_stream_t * | stream | ) |
| int xine_open | ( | xine_stream_t * | stream, |
| const char * | mrl | ||
| ) |
References lprintf, mutex_cleanup(), and open_internal().
Referenced by external_stream_play(), and open_internal().
| int xine_play | ( | xine_stream_t * | stream, |
| int | start_pos, | ||
| int | start_time | ||
| ) |
References mutex_cleanup(), play_internal(), xine_stream_s::slave, XINE_MASTER_SLAVE_PLAY, and xine_play().
Referenced by external_stream_play(), and xine_play().
| void xine_register_log_cb | ( | xine_t * | this, |
| xine_log_cb_t | cb, | ||
| void * | user_data | ||
| ) |
References user_data().
| void xine_set_flags | ( | xine_t * | this, |
| int | flags | ||
| ) |
| void xine_stop | ( | xine_stream_t * | stream | ) |
References AO_PROP_DISCARD_BUFFERS, xine_stream_s::audio_out, mutex_cleanup(), xine_audio_port_s::set_property, xine_video_port_s::set_property, xine_stream_s::slave, stop_internal(), xine_stream_s::video_out, VO_PROP_DISCARD_FRAMES, xine_stream_s::xine, XINE_MASTER_SLAVE_STOP, and xine_stop().
Referenced by external_stream_stop(), and xine_stop().
| int xine_stream_master_slave | ( | xine_stream_t * | master, |
| xine_stream_t * | slave, | ||
| int | affection | ||
| ) |
References xine_stream_s::master, and xine_stream_s::slave.
| xine_stream_t* xine_stream_new | ( | xine_t * | this, |
| xine_audio_port_t * | ao, | ||
| xine_video_port_t * | vo | ||
| ) |
References _x_audio_decoder_init(), _x_audio_decoder_shutdown(), _x_extra_info_reset(), _x_metronom_init(), _x_new_refcounter(), _x_osd_renderer_init(), _x_spu_misc_init(), _x_video_decoder_init(), _x_video_decoder_shutdown(), xine_stream_s::audio_channel_auto, xine_stream_s::audio_out, xine_video_port_s::driver, xine_stream_s::master, xine_stream_s::metronom, NULL, xine_stream_s::osd_renderer, xine_stream_s::slave, xine_stream_s::spu_channel, xine_stream_s::spu_channel_auto, xine_stream_s::spu_channel_letterbox, xine_stream_s::spu_channel_user, xine_stream_s::spu_decoder_plugin, xine_stream_s::spu_decoder_streamtype, stream_rewire_audio(), stream_rewire_video(), xine_stream_s::video_driver, xine_stream_s::video_out, xine_stream_s::xine, xine_dispose_internal(), xine_list_new(), xine_list_push_back(), XINE_POST_DATA_AUDIO, XINE_POST_DATA_VIDEO, XINE_STATUS_IDLE, XINE_STREAM_INFO_MAX, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by external_stream_play(), and open_internal().
| void xine_vlog | ( | xine_t * | this, |
| int | buf, | ||
| const char * | format, | ||
| va_list | args | ||
| ) |
References check_log_alloc().
Referenced by XINE_FORMAT_PRINTF().
|
static |
Referenced by _x_path_looks_like_mrl(), and open_internal().
1.8.14