xine-lib 1.2.13-20230125hg15249
|
#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 |
Referenced by _x_rip_plugin_get_instance(), bluray_plugin_get_capabilities(), dvd_plugin_get_capabilities(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), pvr_plugin_get_capabilities(), rip_plugin_seek(), v4l2_input_get_capabilities(), vcd_plugin_get_capabilities(), and vcd_plugin_get_capabilities().
#define INPUT_CAP_CHAPTERS 0x00000080 |
#define INPUT_CAP_CLONE 0x00000400 |
Referenced by cache_plugin_get_optional_data(), file_input_get_capabilities(), and real_parse_headers().
#define INPUT_CAP_LIVE 0x00008000 |
#define INPUT_CAP_NEW_MRL 0x00004000 |
#define INPUT_CAP_NO_CACHE 0x00000200 |
Referenced by open_internal(), stdin_plugin_get_capabilities(), and vdr_plugin_get_capabilities().
#define INPUT_CAP_NOCAP 0x00000000 |
Referenced by _x_input_get_capabilities_none().
#define INPUT_CAP_PREVIEW 0x00000040 |
Referenced by _ftp_get_capabilities(), _x_demux_read_stream_header(), _x_input_get_capabilities_preview(), _x_rip_plugin_get_instance(), crypto_plugin_get_capabilities(), demux_mpeg_pes_send_headers(), hls_input_get_capabilities(), http_plugin_get_capabilities(), input_avio_get_capabilities(), mpd_input_get_capabilities(), pnm_plugin_get_capabilities(), real_parse_headers(), rip_plugin_get_capabilities(), rtsp_plugin_get_capabilities(), stdin_plugin_get_capabilities(), vcd_plugin_get_capabilities(), vdr_plugin_get_capabilities(), and xine_parse_id3v2_tag().
#define INPUT_CAP_RIP_FORBIDDEN 0x00000100 |
#define INPUT_CAP_SEEKABLE 0x00000001 |
Referenced by _x_demux_read_stream_header(), _x_input_get_capabilities_seekable(), _x_rip_plugin_get_instance(), bluray_plugin_get_capabilities(), cdda_plugin_get_capabilities(), demux_aac_seek(), demux_asf_seek(), demux_asf_send_headers(), demux_mpeg_block_seek(), demux_mpeg_block_send_headers(), demux_mpeg_pes_seek(), demux_mpeg_pes_send_headers(), demux_mpgaudio_seek(), demux_qt_seek(), demux_real_seek(), demux_real_send_headers(), demux_ts_seek(), demux_wav_seek(), dvd_plugin_get_capabilities(), file_input_get_capabilities(), fragment_scan(), get_io_context(), get_stream_length(), gnomevfs_plugin_get_capabilities(), hls_input_get_capabilities(), hls_input_open_item(), input_avformat_get_capabilities(), input_avio_get_capabilities(), load_moov_atom(), mpd_input_get_capabilities(), mpd_input_seek(), open_demux_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), play_internal(), pvr_plugin_get_capabilities(), rip_plugin_get_capabilities(), smb_plugin_get_capabilities(), vcd_plugin_get_capabilities(), vcd_plugin_get_capabilities(), xine_get_stream_info(), and xine_query_stream_info().
#define INPUT_CAP_SIZED_PREVIEW 0x00001000 |
Referenced by _ftp_get_capabilities(), _x_demux_read_stream_header(), _x_rip_plugin_get_instance(), crypto_plugin_get_capabilities(), hls_input_get_capabilities(), http_plugin_get_capabilities(), mpd_input_get_capabilities(), rip_plugin_get_capabilities(), stdin_plugin_get_capabilities(), and xine_parse_id3v2_tag().
#define INPUT_CAP_SLOW_SEEKABLE 0x00000800 |
Referenced by _ftp_get_capabilities(), demux_aac_seek(), demux_qt_seek(), demux_ts_seek(), demux_wav_seek(), hls_input_get_capabilities(), hls_input_open_item(), http_plugin_get_capabilities(), load_moov_atom(), mpd_input_get_capabilities(), mpd_input_seek(), play_internal(), xine_get_stream_info(), and xine_query_stream_info().
#define INPUT_CAP_SPULANG 0x00000010 |
#define INPUT_CAP_TIME_SEEKABLE 0x00002000 |
#define INPUT_IS_SEEKABLE | ( | input | ) | (((input)->get_capabilities(input) & INPUT_CAP_SEEKABLE) != 0) |
Referenced by demux_ac3_seek(), demux_aiff_seek(), demux_cdda_send_headers(), demux_dts_seek(), demux_film_seek(), demux_flv_seek(), demux_iff_seek(), demux_mpeg_elem_seek(), demux_mpeg_elem_send_headers(), demux_mpeg_resync(), demux_mpeg_seek(), demux_mpgaudio_send_headers(), demux_mve_seek(), demux_ogg_seek(), demux_ra_seek(), demux_raw_dv_seek(), demux_raw_dv_send_headers(), demux_snd_seek(), demux_vc1_es_seek(), demux_voc_seek(), demux_yuv4mpeg2_seek(), mymng_open_stream(), open_ac3_file(), open_dts_file(), open_fli_file(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_plugin(), open_wv_file(), open_yuv4mpeg2_file(), real_parse_headers(), vo_frame_draw(), and xine_input_can_seek().
#define INPUT_IS_SLOW_SEEKABLE | ( | input | ) | (((input)->get_capabilities(input) & (INPUT_CAP_SEEKABLE | INPUT_CAP_SLOW_SEEKABLE)) != 0) |
#define INPUT_OPTIONAL_DATA_AUDIOLANG 2 |
Referenced by _get_audio_lang(), dvd_plugin_get_optional_data(), get_optional_data_impl(), and vcd_get_optional_data().
#define INPUT_OPTIONAL_DATA_CLONE 11 |
#define INPUT_OPTIONAL_DATA_DEMUX_MIME_TYPE 9 |
Referenced by _x_find_demux_plugin(), and http_plugin_get_optional_data().
#define INPUT_OPTIONAL_DATA_DEMUXER 10 |
#define INPUT_OPTIONAL_DATA_DURATION 13 |
Referenced by demux_ts_seek(), get_optional_data_impl(), hls_input_get_optional_data(), and mpd_input_get_optional_data().
#define INPUT_OPTIONAL_DATA_FRAGLIST 15 |
#define INPUT_OPTIONAL_DATA_MIME_TYPE 8 |
Referenced by _x_find_demux_plugin(), and http_plugin_get_optional_data().
#define INPUT_OPTIONAL_DATA_NEW_MRL 14 |
#define INPUT_OPTIONAL_DATA_NEW_PREVIEW 19 |
Referenced by http_plugin_get_optional_data(), and xine_parse_id3v2_tag().
#define INPUT_OPTIONAL_DATA_PREVIEW 7 |
Referenced by _ftp_get_optional_data(), _get_optional_data(), _x_demux_read_stream_header(), crypto_plugin_get_optional_data(), demux_mpeg_pes_send_headers(), hls_input_get_optional_data(), http_plugin_get_optional_data(), input_avio_get_optional_data(), load_moov_atom(), mms_plugin_get_optional_data(), mpd_input_get_optional_data(), net_plugin_get_optional_data(), open_plugin(), pnm_plugin_get_optional_data(), real_parse_headers(), rip_plugin_get_optional_data(), rtp_plugin_get_optional_data(), rtsp_plugin_get_optional_data(), stdin_plugin_get_optional_data(), and vdr_plugin_get_optional_data().
#define INPUT_OPTIONAL_DATA_PTSOFFS 17 |
#define INPUT_OPTIONAL_DATA_REWIND 18 |
Referenced by hls_input_get_optional_data(), mpd_input_get_optional_data(), and open_internal().
#define INPUT_OPTIONAL_DATA_SIDE 16 |
Referenced by hls_input_get_optional_data(), mpd_input_get_optional_data(), and xine_open().
#define INPUT_OPTIONAL_DATA_SIZED_PREVIEW 12 |
#define INPUT_OPTIONAL_DATA_SPULANG 3 |
Referenced by _get_spu_lang(), dvd_plugin_get_optional_data(), get_optional_data_impl(), and vcd_get_optional_data().
#define INPUT_OPTIONAL_SUCCESS 1 |
Referenced by _get_audio_lang(), _get_spu_lang(), _x_rip_plugin_get_instance(), cache_plugin_get_optional_data(), demux_qt_load_fragment_index(), demux_ts_seek(), dvb_plugin_get_optional_data(), dvd_plugin_get_optional_data(), file_input_get_optional_data(), get_audio_lang(), get_format_context(), get_io_context(), get_optional_data_impl(), get_spu_lang(), hls_input_get_optional_data(), hls_input_switch_mrl(), http_plugin_get_optional_data(), input_avformat_get_optional_data(), input_avio_get_optional_data(), mpd_input_get_optional_data(), mpd_input_switch_mrl(), real_parse_headers(), vcd_get_optional_data(), xine_open(), and xine_parse_id3v2_tag().
#define INPUT_OPTIONAL_UNSUPPORTED 0 |
Referenced by _ftp_get_optional_data(), _get_optional_data(), _x_find_demux_plugin(), _x_input_default_get_optional_data(), bluray_plugin_get_optional_data(), cache_plugin_get_optional_data(), crypto_plugin_get_optional_data(), dvb_plugin_get_optional_data(), dvd_plugin_get_optional_data(), file_input_get_optional_data(), get_audio_lang(), get_optional_data_impl(), get_spu_lang(), gnomevfs_plugin_get_optional_data(), hls_input_get_optional_data(), http_plugin_get_optional_data(), input_avformat_get_optional_data(), input_avio_get_optional_data(), mms_plugin_get_optional_data(), mpd_input_get_optional_data(), net_plugin_get_optional_data(), open_plugin(), pnm_plugin_get_optional_data(), pvr_plugin_get_optional_data(), rip_plugin_get_optional_data(), rtp_plugin_get_optional_data(), rtsp_plugin_get_optional_data(), smb_plugin_get_optional_data(), stdin_plugin_get_optional_data(), v4l2_input_get_optional_data(), v4l_plugin_get_optional_data(), vcd_get_optional_data(), vcd_plugin_get_optional_data(), vdr_plugin_get_optional_data(), and xine_parse_id3v2_tag().
#define INPUT_PLUGIN_IFACE_VERSION 18 |
#define MAX_MRL_ENTRIES 255 |
#define MAX_PREVIEW_SIZE 4096 |
Referenced by _x_demux_read_stream_header(), _x_rip_plugin_get_instance(), crypto_plugin_get_optional_data(), detect_by_content(), detect_mpgaudio_file(), hls_input_get_optional_data(), input_avio_open(), load_moov_atom(), mms_plugin_get_optional_data(), mpd_input_get_optional_data(), net_plugin_open(), open_ac3_file(), open_dts_file(), open_plugin(), pnm_plugin_get_optional_data(), probe_aac_file(), real_parse_headers(), rtp_plugin_get_optional_data(), rtsp_plugin_get_optional_data(), and stdin_plugin_open().
#define mrl_cda (1 << 5) |
#define MRL_DUPLICATE | ( | s, | |
d ) |
#define mrl_dvd (1 << 0) |
Referenced by bluray_class_get_dir().
#define mrl_file (1 << 6) |
#define mrl_file_backup (1 << 15) |
Referenced by file_input_get_file_type().
#define mrl_file_blockdev (1 << 10) |
Referenced by _get_files(), and file_input_get_file_type().
#define mrl_file_chardev (1 << 8) |
Referenced by _get_files(), and file_input_get_file_type().
#define mrl_file_directory (1 << 9) |
#define mrl_file_exec (1 << 14) |
Referenced by file_input_get_file_type().
#define mrl_file_fifo (1 << 7) |
Referenced by file_input_get_file_type().
#define mrl_file_hidden (1 << 16) |
#define mrl_file_normal (1 << 11) |
Referenced by _get_files(), _get_files(), _read_dir(), file_input_get_file_type(), smb_class_get_dir(), and test_class_get_dir().
#define mrl_file_sock (1 << 13) |
Referenced by file_input_get_file_type().
#define mrl_file_symlink (1 << 12) |
Referenced by _get_files(), file_input_class_get_dir(), and file_input_get_file_type().
#define mrl_net (1 << 2) |
Referenced by _get_exports(), _get_files(), _get_files(), _get_servers(), _read_dir(), and _x_input_get_default_server_mrls().
#define mrl_rtp (1 << 3) |
#define mrl_stdin (1 << 4) |
#define mrl_unknown (0 << 0) |
Referenced by file_input_get_file_type().
#define mrl_vcd (1 << 1) |
Referenced by vcd_add_mrl_slot(), and vcd_class_get_dir().
#define MRL_ZERO | ( | m | ) |
Referenced by _x_input_free_mrls(), file_input_class_dispose(), file_input_class_get_dir(), smb_class_dispose(), and smb_class_get_dir().
#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(), http_plugin_dispose(), mpd_input_dispose(), stdin_plugin_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_get_side(), hls_input_get_instance(), http_class_get_instance(), mpd_get_side(), mpd_input_get_instance(), and stdin_class_get_instance().