xine-lib 1.2.12
|
#include <sys/types.h>
#include <xine/attributes.h>
#include <xine/os_types.h>
#include <xine/xineutils.h>
#include <xine/buffer.h>
Go to the source code of this file.
Data Structures | |
struct | input_class_s |
struct | input_plugin_s |
Typedefs | |
typedef struct input_class_s | input_class_t |
typedef struct input_plugin_s | input_plugin_t |
typedef struct xine_nbc_st | xine_nbc_t |
Functions | |
xine_nbc_t * | xine_nbc_init (xine_stream_t *stream) |
int64_t | xine_nbc_get_pos_pts (xine_nbc_t *nbc) |
void | xine_nbc_close (xine_nbc_t *nbc) |
#define default_input_class_dispose (void (*) (input_class_t *this_gen))free |
#define INPUT_CAP_AUDIOLANG 0x00000008 |
#define INPUT_CAP_BLOCK 0x00000002 |
#define INPUT_CAP_CHAPTERS 0x00000080 |
#define INPUT_CAP_CLONE 0x00000400 |
#define INPUT_CAP_LIVE 0x00008000 |
#define INPUT_CAP_NEW_MRL 0x00004000 |
#define INPUT_CAP_NO_CACHE 0x00000200 |
#define INPUT_CAP_NOCAP 0x00000000 |
#define INPUT_CAP_PREVIEW 0x00000040 |
#define INPUT_CAP_RIP_FORBIDDEN 0x00000100 |
#define INPUT_CAP_SEEKABLE 0x00000001 |
#define INPUT_CAP_SIZED_PREVIEW 0x00001000 |
#define INPUT_CAP_SLOW_SEEKABLE 0x00000800 |
#define INPUT_CAP_SPULANG 0x00000010 |
#define INPUT_CAP_TIME_SEEKABLE 0x00002000 |
#define INPUT_IS_SEEKABLE | ( | input | ) | (((input)->get_capabilities(input) & INPUT_CAP_SEEKABLE) != 0) |
#define INPUT_IS_SLOW_SEEKABLE | ( | input | ) | (((input)->get_capabilities(input) & (INPUT_CAP_SEEKABLE | INPUT_CAP_SLOW_SEEKABLE)) != 0) |
#define INPUT_OPTIONAL_DATA_AUDIOLANG 2 |
#define INPUT_OPTIONAL_DATA_CLONE 11 |
#define INPUT_OPTIONAL_DATA_DEMUX_MIME_TYPE 9 |
#define INPUT_OPTIONAL_DATA_DEMUXER 10 |
#define INPUT_OPTIONAL_DATA_DURATION 13 |
#define INPUT_OPTIONAL_DATA_FRAGLIST 15 |
#define INPUT_OPTIONAL_DATA_MIME_TYPE 8 |
#define INPUT_OPTIONAL_DATA_NEW_MRL 14 |
#define INPUT_OPTIONAL_DATA_PREVIEW 7 |
#define INPUT_OPTIONAL_DATA_PTSOFFS 17 |
#define INPUT_OPTIONAL_DATA_REWIND 18 |
#define INPUT_OPTIONAL_DATA_SIDE 16 |
#define INPUT_OPTIONAL_DATA_SIZED_PREVIEW 12 |
#define INPUT_OPTIONAL_DATA_SPULANG 3 |
#define INPUT_OPTIONAL_SUCCESS 1 |
#define INPUT_OPTIONAL_UNSUPPORTED 0 |
#define INPUT_PLUGIN_IFACE_VERSION 18 |
#define MAX_MRL_ENTRIES 255 |
#define MAX_PREVIEW_SIZE 4096 |
#define mrl_cda (1 << 5) |
#define MRL_DUPLICATE | ( | s, | |
d | |||
) |
#define mrl_dvd (1 << 0) |
#define mrl_file (1 << 6) |
#define mrl_file_backup (1 << 15) |
#define mrl_file_blockdev (1 << 10) |
#define mrl_file_chardev (1 << 8) |
#define mrl_file_directory (1 << 9) |
#define mrl_file_exec (1 << 14) |
#define mrl_file_fifo (1 << 7) |
#define mrl_file_hidden (1 << 16) |
#define mrl_file_normal (1 << 11) |
#define mrl_file_sock (1 << 13) |
#define mrl_file_symlink (1 << 12) |
#define mrl_net (1 << 2) |
#define mrl_rtp (1 << 3) |
#define mrl_stdin (1 << 4) |
#define mrl_unknown (0 << 0) |
#define mrl_vcd (1 << 1) |
#define MRL_ZERO | ( | m | ) |
#define MRLS_DUPLICATE | ( | s, | |
d | |||
) |
typedef struct input_class_s input_class_t |
typedef struct input_plugin_s input_plugin_t |
typedef struct xine_nbc_st xine_nbc_t |
void xine_nbc_close | ( | xine_nbc_t * | nbc | ) |
References xine_stream_private_st::counter, xine_stream_private_st::lock, xine_stream_private_st::nbc, nbc_alloc_cb(), nbc_get_cb(), nbc_put_cb(), xine_stream_private_st::nbc_refs, NULL, xine_stream_private_st::refs, fifo_buffer_s::unregister_alloc_cb, fifo_buffer_s::unregister_get_cb, fifo_buffer_s::unregister_put_cb, xine_refs_sub(), XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by hls_input_dispose(), and xine_nbc_event().
int64_t xine_nbc_get_pos_pts | ( | xine_nbc_t * | nbc | ) |
Referenced by hls_live_start(), and hls_live_wait().
xine_nbc_t * xine_nbc_init | ( | xine_stream_t * | stream | ) |
References _x_get_fine_speed(), xine_stream_s::audio_fifo, BUF_AUDIO_BASE, BUF_VIDEO_BASE, xine_s::config, xine_stream_private_st::counter, DEFAULT_HIGH_WATER_MARK, xine_stream_private_st::lock, config_values_s::lookup_entry, lprintf, xine_stream_private_st::nbc, nbc_alloc_cb(), nbc_get_cb(), nbc_put_cb(), xine_stream_private_st::nbc_refs, nbc_stats_reset(), NULL, cfg_entry_s::num_default, xine_stream_private_st::refs, xine_stream_private_st::s, xine_stream_private_st::side_streams, xine_stream_s::video_fifo, xine_stream_s::xine, xine_refs_add(), XINE_VERBOSITY_DEBUG, and xprintf.
Referenced by hls_input_get_instance().