xine-lib  1.2.9
Macros | Functions
xine_private.h File Reference

Declaration of internal, private functions for xine-lib. More...

#include <config.h>
#include <xine/xine_internal.h>

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)
 

Functions

int _x_scan_plugins (xine_t *this)
 Load plugins into catalog. More...
 
void _x_dispose_plugins (xine_t *this)
 Dispose (shutdown) all currently loaded plugins. More...
 
void _x_free_video_driver (xine_t *xine, vo_driver_t **driver)
 
void _x_free_audio_driver (xine_t *xine, ao_driver_t **driver)
 
void xine_probe_fast_memcpy (xine_t *xine)
 Benchmark available memcpy methods. More...
 
int _x_set_file_close_on_exec (int fd)
 Make file descriptors and sockets uninheritable. More...
 
int _x_set_socket_close_on_exec (int s)
 
input_plugin_t_x_find_input_plugin (xine_stream_t *stream, const char *mrl)
 
demux_plugin_t_x_find_demux_plugin (xine_stream_t *stream, input_plugin_t *input)
 
demux_plugin_t_x_find_demux_plugin_by_name (xine_stream_t *stream, const char *name, input_plugin_t *input)
 
demux_plugin_t_x_find_demux_plugin_last_probe (xine_stream_t *stream, const char *last_demux_name, input_plugin_t *input)
 
input_plugin_t_x_rip_plugin_get_instance (xine_stream_t *stream, const char *filename)
 
input_plugin_t_x_cache_plugin_get_instance (xine_stream_t *stream)
 
void _x_free_input_plugin (xine_stream_t *stream, input_plugin_t *input)
 
void _x_free_demux_plugin (xine_stream_t *stream, demux_plugin_t *demux)
 
int _x_video_decoder_init (xine_stream_t *stream)
 
void _x_video_decoder_shutdown (xine_stream_t *stream)
 
int _x_audio_decoder_init (xine_stream_t *stream)
 
void _x_audio_decoder_shutdown (xine_stream_t *stream)
 

Detailed Description

Declaration of internal, private functions for xine-lib.

These functions should not be used by neither plugins nor frontends.

Macro Definition Documentation

◆ INTERNAL

#define INTERNAL

◆ XINE_DISABLE_DEPRECATION_WARNINGS

#define XINE_DISABLE_DEPRECATION_WARNINGS

◆ XINE_ENABLE_DEPRECATION_WARNINGS

#define XINE_ENABLE_DEPRECATION_WARNINGS

◆ xine_rwlock_destroy

#define xine_rwlock_destroy (   l)    pthread_mutex_destroy (l)

Referenced by unixscr_exit().

◆ xine_rwlock_init_default

#define xine_rwlock_init_default (   l)    pthread_mutex_init (l, NULL)

Referenced by unixscr_init().

◆ xine_rwlock_rdlock

#define xine_rwlock_rdlock (   l)    pthread_mutex_lock (l)

Referenced by unixscr_get_current().

◆ xine_rwlock_t

#define xine_rwlock_t   pthread_mutex_t

◆ xine_rwlock_timedrdlock

#define xine_rwlock_timedrdlock (   l,
 
)    pthread_mutex_timedlock (l, t)

◆ xine_rwlock_timedwrlock

#define xine_rwlock_timedwrlock (   l,
 
)    pthread_mutex_timedlock (l, t)

◆ xine_rwlock_tryrdlock

#define xine_rwlock_tryrdlock (   l)    pthread_mutex_trylock (l)

◆ xine_rwlock_trywrlock

#define xine_rwlock_trywrlock (   l)    pthread_mutex_trylock (l)

◆ xine_rwlock_unlock

#define xine_rwlock_unlock (   l)    pthread_mutex_unlock (l)

◆ xine_rwlock_wrlock

#define xine_rwlock_wrlock (   l)    pthread_mutex_lock (l)

Function Documentation

◆ _x_audio_decoder_init()

int _x_audio_decoder_init ( xine_stream_t stream)

◆ _x_audio_decoder_shutdown()

void _x_audio_decoder_shutdown ( xine_stream_t stream)

◆ _x_cache_plugin_get_instance()

input_plugin_t* _x_cache_plugin_get_instance ( xine_stream_t stream)

◆ _x_find_demux_plugin()

demux_plugin_t* _x_find_demux_plugin ( xine_stream_t stream,
input_plugin_t input 
)

◆ _x_find_demux_plugin_by_name()

demux_plugin_t* _x_find_demux_plugin_by_name ( xine_stream_t stream,
const char *  name,
input_plugin_t input 
)

◆ _x_find_demux_plugin_last_probe()

demux_plugin_t* _x_find_demux_plugin_last_probe ( xine_stream_t stream,
const char *  last_demux_name,
input_plugin_t input 
)

◆ _x_find_input_plugin()

input_plugin_t* _x_find_input_plugin ( xine_stream_t stream,
const char *  mrl 
)

◆ _x_free_audio_driver()

void _x_free_audio_driver ( xine_t xine,
ao_driver_t **  driver 
)

◆ _x_free_demux_plugin()

void _x_free_demux_plugin ( xine_stream_t stream,
demux_plugin_t demux 
)

◆ _x_free_input_plugin()

void _x_free_input_plugin ( xine_stream_t stream,
input_plugin_t input 
)

◆ _x_free_video_driver()

void _x_free_video_driver ( xine_t xine,
vo_driver_t **  driver 
)

◆ _x_rip_plugin_get_instance()

input_plugin_t* _x_rip_plugin_get_instance ( xine_stream_t stream,
const char *  filename 
)

◆ _x_set_file_close_on_exec()

int _x_set_file_close_on_exec ( int  fd)

Make file descriptors and sockets uninheritable.

Referenced by xine_create_cloexec(), and xine_open_cloexec().

◆ _x_set_socket_close_on_exec()

int _x_set_socket_close_on_exec ( int  s)

◆ _x_video_decoder_init()

int _x_video_decoder_init ( xine_stream_t stream)

◆ _x_video_decoder_shutdown()

void _x_video_decoder_shutdown ( xine_stream_t stream)

◆ xine_probe_fast_memcpy()

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().