xine-lib 1.2.11
Macros | Functions
input_helper.h File Reference
#include <errno.h>
#include <sys/types.h>
#include <xine/attributes.h>
#include <xine/xine_internal.h>
#include <xine/xineutils.h>

Go to the source code of this file.

Macros

#define MAX_SKIP_BYTES   (10*1024*1024)
 

Functions

void _x_input_free_mrls (xine_mrl_t ***p)
 
xine_mrl_t ** _x_input_alloc_mrls (size_t n)
 
xine_mrl_t ** _x_input_realloc_mrls (xine_mrl_t ***p, size_t n)
 
void _x_input_sort_mrls (xine_mrl_t **mrls, ssize_t cnt)
 
void _x_input_register_show_hidden_files (config_values_t *config)
 
int _x_input_get_show_hidden_files (config_values_t *config)
 
void _x_input_register_default_servers (config_values_t *config)
 
xine_mrl_t ** _x_input_get_default_server_mrls (config_values_t *config, const char *type, int *nFiles)
 
buf_element_t_x_input_default_read_block (input_plugin_t *this_gen, fifo_buffer_t *fifo, off_t todo)
 
static uint32_t _x_input_get_capabilities_preview (input_plugin_t *this_gen)
 
static uint32_t _x_input_get_capabilities_seekable (input_plugin_t *this_gen)
 
static uint32_t _x_input_get_capabilities_none (input_plugin_t *this_gen)
 
static uint32_t _x_input_default_get_blocksize (input_plugin_t *this_gen)
 
static off_t _x_input_default_get_length (input_plugin_t *this_gen)
 
static int _x_input_default_get_optional_data (input_plugin_t *this_gen, void *data, int data_type)
 
static off_t _x_input_translate_seek (off_t offset, int origin, off_t curpos, off_t length)
 
static int _x_input_read_skip (input_plugin_t *input, off_t bytes)
 
static off_t _x_input_seek_preview (input_plugin_t *input, off_t offset, int origin, off_t *curpos, off_t length, off_t preview_size)
 

Macro Definition Documentation

◆ MAX_SKIP_BYTES

#define MAX_SKIP_BYTES   (10*1024*1024)

Function Documentation

◆ _x_input_alloc_mrls()

xine_mrl_t ** _x_input_alloc_mrls ( size_t  n)

◆ _x_input_default_get_blocksize()

static uint32_t _x_input_default_get_blocksize ( input_plugin_t this_gen)
inlinestatic

◆ _x_input_default_get_length()

static off_t _x_input_default_get_length ( input_plugin_t this_gen)
inlinestatic

◆ _x_input_default_get_optional_data()

static int _x_input_default_get_optional_data ( input_plugin_t this_gen,
void *  data,
int  data_type 
)
inlinestatic

◆ _x_input_default_read_block()

buf_element_t * _x_input_default_read_block ( input_plugin_t this_gen,
fifo_buffer_t fifo,
off_t  todo 
)

◆ _x_input_free_mrls()

void _x_input_free_mrls ( xine_mrl_t ***  p)

◆ _x_input_get_capabilities_none()

static uint32_t _x_input_get_capabilities_none ( input_plugin_t this_gen)
inlinestatic

References INPUT_CAP_NOCAP.

Referenced by dvb_class_get_instance().

◆ _x_input_get_capabilities_preview()

static uint32_t _x_input_get_capabilities_preview ( input_plugin_t this_gen)
inlinestatic

◆ _x_input_get_capabilities_seekable()

static uint32_t _x_input_get_capabilities_seekable ( input_plugin_t this_gen)
inlinestatic

◆ _x_input_get_default_server_mrls()

xine_mrl_t ** _x_input_get_default_server_mrls ( config_values_t config,
const char *  type,
int *  nFiles 
)

◆ _x_input_get_show_hidden_files()

int _x_input_get_show_hidden_files ( config_values_t config)

◆ _x_input_read_skip()

static int _x_input_read_skip ( input_plugin_t input,
off_t  bytes 
)
inlinestatic

References _x_assert, input(), and MAX_SKIP_BYTES.

Referenced by _x_input_seek_preview().

◆ _x_input_realloc_mrls()

xine_mrl_t ** _x_input_realloc_mrls ( xine_mrl_t ***  p,
size_t  n 
)

References _x_input_alloc_mrls(), and NULL.

Referenced by _get_files(), _get_servers(), and _read_dir().

◆ _x_input_register_default_servers()

void _x_input_register_default_servers ( config_values_t config)

◆ _x_input_register_show_hidden_files()

void _x_input_register_show_hidden_files ( config_values_t config)

◆ _x_input_seek_preview()

static off_t _x_input_seek_preview ( input_plugin_t input,
off_t  offset,
int  origin,
off_t *  curpos,
off_t  length,
off_t  preview_size 
)
inlinestatic

◆ _x_input_sort_mrls()

void _x_input_sort_mrls ( xine_mrl_t **  mrls,
ssize_t  cnt 
)

◆ _x_input_translate_seek()

static off_t _x_input_translate_seek ( off_t  offset,
int  origin,
off_t  curpos,
off_t  length 
)
inlinestatic