|
xine-lib
1.2.9
|
Declaration of internal, private functions for xine-lib. More...
Go to the source code of this file.
Macros | |
| #define | INTERNAL |
| #define | XINE_DISABLE_DEPRECATION_WARNINGS |
| #define | XINE_ENABLE_DEPRECATION_WARNINGS |
| #define | xine_rwlock_t pthread_mutex_t |
| #define | xine_rwlock_init_default(l) pthread_mutex_init (l, NULL) |
| #define | xine_rwlock_rdlock(l) pthread_mutex_lock (l) |
| #define | xine_rwlock_tryrdlock(l) pthread_mutex_trylock (l) |
| #define | xine_rwlock_timedrdlock(l, t) pthread_mutex_timedlock (l, t) |
| #define | xine_rwlock_wrlock(l) pthread_mutex_lock (l) |
| #define | xine_rwlock_trywrlock(l) pthread_mutex_trylock (l) |
| #define | xine_rwlock_timedwrlock(l, t) pthread_mutex_timedlock (l, t) |
| #define | xine_rwlock_unlock(l) pthread_mutex_unlock (l) |
| #define | xine_rwlock_destroy(l) pthread_mutex_destroy (l) |
Declaration of internal, private functions for xine-lib.
These functions should not be used by neither plugins nor frontends.
| #define INTERNAL |
| #define XINE_DISABLE_DEPRECATION_WARNINGS |
Referenced by _x_demux_send_mrl_reference().
| #define XINE_ENABLE_DEPRECATION_WARNINGS |
Referenced by _x_demux_send_mrl_reference().
| #define xine_rwlock_destroy | ( | l | ) | pthread_mutex_destroy (l) |
Referenced by unixscr_exit().
| #define xine_rwlock_init_default | ( | l | ) | pthread_mutex_init (l, NULL) |
Referenced by unixscr_init().
| #define xine_rwlock_rdlock | ( | l | ) | pthread_mutex_lock (l) |
Referenced by unixscr_get_current().
| #define xine_rwlock_t pthread_mutex_t |
| #define xine_rwlock_timedrdlock | ( | l, | |
| t | |||
| ) | pthread_mutex_timedlock (l, t) |
| #define xine_rwlock_timedwrlock | ( | l, | |
| t | |||
| ) | pthread_mutex_timedlock (l, t) |
| #define xine_rwlock_tryrdlock | ( | l | ) | pthread_mutex_trylock (l) |
| #define xine_rwlock_trywrlock | ( | l | ) | pthread_mutex_trylock (l) |
| #define xine_rwlock_unlock | ( | l | ) | pthread_mutex_unlock (l) |
Referenced by unixscr_adjust(), unixscr_get_current(), unixscr_set_speed(), and unixscr_start().
| #define xine_rwlock_wrlock | ( | l | ) | pthread_mutex_lock (l) |
Referenced by unixscr_adjust(), unixscr_set_speed(), and unixscr_start().
| int _x_audio_decoder_init | ( | xine_stream_t * | stream | ) |
References _, _x_dummy_fifo_buffer_new(), _x_fifo_buffer_new(), xine_stream_s::audio_channel_auto, audio_decoder_loop(), xine_stream_s::audio_fifo, xine_stream_s::audio_out, xine_s::config, NULL, config_values_s::register_num, SCHED_OTHER, xine_stream_s::xine, XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by xine_stream_new().
| void _x_audio_decoder_shutdown | ( | xine_stream_t * | stream | ) |
References xine_stream_s::audio_fifo, BUF_CONTROL_QUIT, fifo_buffer_s::buffer_pool_alloc, fifo_buffer_s::dispose, NULL, fifo_buffer_s::put, and buf_element_s::type.
Referenced by xine_dispose(), and xine_stream_new().
| input_plugin_t* _x_cache_plugin_get_instance | ( | xine_stream_t * | stream | ) |
References _, cache_plugin_dispose(), cache_plugin_get_blocksize(), cache_plugin_get_capabilities(), cache_plugin_get_current_pos(), cache_plugin_get_current_time(), cache_plugin_get_length(), cache_plugin_get_mrl(), cache_plugin_get_optional_data(), cache_plugin_open(), cache_plugin_read(), cache_plugin_read_block(), cache_plugin_seek(), cache_plugin_seek_time(), DEFAULT_BUFFER_SIZE, input_plugin_s::get_mrl, input_plugin_s::input_class, xine_stream_s::input_plugin, LOG_MODULE, lprintf, NULL, xine_stream_s::xine, xine_log(), and XINE_LOG_MSG.
Referenced by open_internal().
| demux_plugin_t* _x_find_demux_plugin | ( | xine_stream_t * | stream, |
| input_plugin_t * | input | ||
| ) |
References _, _x_abort, xine_s::demux_strategy, input(), METHOD_BY_CONTENT, METHOD_BY_MRL, NULL, probe_demux(), xine_stream_s::xine, XINE_DEMUX_CONTENT_STRATEGY, XINE_DEMUX_DEFAULT_STRATEGY, XINE_DEMUX_EXTENSION_STRATEGY, XINE_DEMUX_REVERT_STRATEGY, XINE_VERBOSITY_LOG, and xprintf.
Referenced by open_internal().
| demux_plugin_t* _x_find_demux_plugin_by_name | ( | xine_stream_t * | stream, |
| const char * | name, | ||
| input_plugin_t * | input | ||
| ) |
References _load_plugin_class(), _x_demux_check_extension(), xine_stream_s::content_detection_method, plugin_info_t::id, inc_node_ref(), plugin_node_t::info, input(), plugin_catalog_s::lock, METHOD_BY_MRL, METHOD_EXPLICIT, name, demux_plugin_s::node, NULL, open_plugin(), xine_s::plugin_catalog, plugin_node_t::plugin_class, PLUGIN_DEMUX, plugin_catalog_s::plugin_lists, xine_stream_s::xine, xine_sarray_get(), and xine_sarray_size().
Referenced by open_internal().
| demux_plugin_t* _x_find_demux_plugin_last_probe | ( | xine_stream_t * | stream, |
| const char * | last_demux_name, | ||
| input_plugin_t * | input | ||
| ) |
References _, _load_plugin_class(), _x_demux_check_extension(), xine_stream_s::content_detection_method, plugin_info_t::id, inc_node_ref(), plugin_node_t::info, input(), plugin_catalog_s::lock, lprintf, METHOD_BY_CONTENT, METHOD_BY_MRL, demux_plugin_s::node, NULL, open_plugin(), xine_s::plugin_catalog, plugin_node_t::plugin_class, PLUGIN_DEMUX, plugin_catalog_s::plugin_lists, xine_stream_s::xine, xine_sarray_get(), xine_sarray_size(), XINE_VERBOSITY_DEBUG, XINE_VERBOSITY_LOG, and xprintf.
Referenced by open_internal().
| input_plugin_t* _x_find_input_plugin | ( | xine_stream_t * | stream, |
| const char * | mrl | ||
| ) |
| void _x_free_audio_driver | ( | xine_t * | xine, |
| ao_driver_t ** | driver | ||
| ) |
References dec_node_ref(), ao_driver_s::exit, plugin_catalog_s::lock, ao_driver_s::node, NULL, and xine_s::plugin_catalog.
| void _x_free_demux_plugin | ( | xine_stream_t * | stream, |
| demux_plugin_t * | demux | ||
| ) |
References dec_node_ref(), demux_plugin_s::dispose, plugin_catalog_s::lock, demux_plugin_s::node, xine_s::plugin_catalog, and xine_stream_s::xine.
Referenced by close_internal(), and open_internal().
| void _x_free_input_plugin | ( | xine_stream_t * | stream, |
| input_plugin_t * | input | ||
| ) |
References dec_node_ref(), input(), plugin_catalog_s::lock, xine_s::plugin_catalog, and xine_stream_s::xine.
Referenced by cache_plugin_dispose(), close_internal(), open_internal(), and rip_plugin_dispose().
| void _x_free_video_driver | ( | xine_t * | xine, |
| vo_driver_t ** | driver | ||
| ) |
References dec_node_ref(), plugin_catalog_s::lock, NULL, and xine_s::plugin_catalog.
Referenced by vo_exit().
| input_plugin_t* _x_rip_plugin_get_instance | ( | xine_stream_t * | stream, |
| const char * | filename | ||
| ) |
References _, _x_message(), buf_element_s::content, dir_file_concat(), buf_element_s::free_buffer, input_plugin_s::get_blocksize, input_plugin_s::get_capabilities, INPUT_CAP_BLOCK, INPUT_CAP_RIP_FORBIDDEN, INPUT_CAP_SEEKABLE, input_plugin_s::input_class, xine_stream_s::input_plugin, lprintf, MAX_PREVIEW_SIZE, MAX_TARGET_LEN, mode(), NULL, input_plugin_s::read, input_plugin_s::read_block, rip_plugin_dispose(), rip_plugin_get_blocksize(), rip_plugin_get_capabilities(), rip_plugin_get_current_pos(), rip_plugin_get_current_time(), rip_plugin_get_length(), rip_plugin_get_mrl(), rip_plugin_get_optional_data(), rip_plugin_open(), rip_plugin_read(), rip_plugin_read_block(), rip_plugin_seek(), rip_plugin_seek_time(), S_ISFIFO, xine_s::save_path, buf_element_s::size, xine_stream_s::video_fifo, xine_stream_s::xine, xine_log(), XINE_LOG_MSG, and XINE_MSG_SECURITY.
Referenced by open_internal().
| int _x_set_file_close_on_exec | ( | int | fd | ) |
Make file descriptors and sockets uninheritable.
Referenced by xine_create_cloexec(), and xine_open_cloexec().
| int _x_set_socket_close_on_exec | ( | int | s | ) |
Referenced by manager_loop(), and xine_socket_cloexec().
| int _x_video_decoder_init | ( | xine_stream_t * | stream | ) |
| void _x_video_decoder_shutdown | ( | xine_stream_t * | stream | ) |
References BUF_CONTROL_QUIT, fifo_buffer_s::buffer_pool_alloc, fifo_buffer_s::dispose, lprintf, NULL, fifo_buffer_s::put, buf_element_s::type, and xine_stream_s::video_fifo.
Referenced by xine_dispose(), and xine_stream_new().
| void xine_probe_fast_memcpy | ( | xine_t * | xine | ) |
Benchmark available memcpy methods.
References _, xine_s::config, NULL, config_values_s::register_enum, update_fast_memcpy(), config_values_s::update_num, and xine_fast_memcpy.
Referenced by xine_init().
1.8.14