xine-lib 1.2.11
Data Structures | Macros | Functions
input_cache.c File Reference
#include <xine/xine_internal.h>
#include "xine_private.h"

Data Structures

struct  cache_input_plugin_t
 

Macros

#define LOG_MODULE   "input_cache"
 
#define LOG_VERBOSE
 
#define DEFAULT_BUFFER_SIZE   8192
 

Functions

static off_t cache_plugin_read (input_plugin_t *this_gen, void *buf_gen, off_t len)
 
static int cache_plugin_open (input_plugin_t *this_gen)
 
static uint32_t cache_plugin_get_capabilities (input_plugin_t *this_gen)
 
static buf_element_tcache_plugin_read_block (input_plugin_t *this_gen, fifo_buffer_t *fifo, off_t todo)
 
static off_t cache_plugin_seek (input_plugin_t *this_gen, off_t offset, int origin)
 
static off_t cache_plugin_seek_time (input_plugin_t *this_gen, int time_offset, int origin)
 
static off_t cache_plugin_get_current_pos (input_plugin_t *this_gen)
 
static int cache_plugin_get_current_time (input_plugin_t *this_gen)
 
static off_t cache_plugin_get_length (input_plugin_t *this_gen)
 
static uint32_t cache_plugin_get_blocksize (input_plugin_t *this_gen)
 
static const char * cache_plugin_get_mrl (input_plugin_t *this_gen)
 
static void cache_plugin_dispose (input_plugin_t *this_gen)
 
static int cache_plugin_get_optional_data (input_plugin_t *this_gen, void *data, int data_type)
 
static input_plugin_tcache_plugin_new (xine_stream_t *stream, input_plugin_t *main_plugin)
 
input_plugin_t_x_cache_plugin_get_instance (xine_stream_t *stream)
 

Macro Definition Documentation

◆ DEFAULT_BUFFER_SIZE

#define DEFAULT_BUFFER_SIZE   8192

◆ LOG_MODULE

#define LOG_MODULE   "input_cache"

◆ LOG_VERBOSE

#define LOG_VERBOSE

Function Documentation

◆ _x_cache_plugin_get_instance()

input_plugin_t * _x_cache_plugin_get_instance ( xine_stream_t stream)

◆ cache_plugin_dispose()

static void cache_plugin_dispose ( input_plugin_t this_gen)
static

◆ cache_plugin_get_blocksize()

static uint32_t cache_plugin_get_blocksize ( input_plugin_t this_gen)
static

◆ cache_plugin_get_capabilities()

static uint32_t cache_plugin_get_capabilities ( input_plugin_t this_gen)
static

◆ cache_plugin_get_current_pos()

static off_t cache_plugin_get_current_pos ( input_plugin_t this_gen)
static

◆ cache_plugin_get_current_time()

static int cache_plugin_get_current_time ( input_plugin_t this_gen)
static

◆ cache_plugin_get_length()

static off_t cache_plugin_get_length ( input_plugin_t this_gen)
static

References input_plugin_s::get_length.

Referenced by cache_plugin_new().

◆ cache_plugin_get_mrl()

static const char * cache_plugin_get_mrl ( input_plugin_t this_gen)
static

References input_plugin_s::get_mrl.

Referenced by cache_plugin_new().

◆ cache_plugin_get_optional_data()

static int cache_plugin_get_optional_data ( input_plugin_t this_gen,
void *  data,
int  data_type 
)
static

◆ cache_plugin_new()

static input_plugin_t * cache_plugin_new ( xine_stream_t stream,
input_plugin_t main_plugin 
)
static

◆ cache_plugin_open()

static int cache_plugin_open ( input_plugin_t this_gen)
static

References _, LOG_MODULE, xine_log(), and XINE_LOG_MSG.

Referenced by cache_plugin_new().

◆ cache_plugin_read()

static off_t cache_plugin_read ( input_plugin_t this_gen,
void *  buf_gen,
off_t  len 
)
static

◆ cache_plugin_read_block()

static buf_element_t * cache_plugin_read_block ( input_plugin_t this_gen,
fifo_buffer_t fifo,
off_t  todo 
)
static

◆ cache_plugin_seek()

static off_t cache_plugin_seek ( input_plugin_t this_gen,
off_t  offset,
int  origin 
)
static

References lprintf.

Referenced by cache_plugin_new().

◆ cache_plugin_seek_time()

static off_t cache_plugin_seek_time ( input_plugin_t this_gen,
int  time_offset,
int  origin 
)
static

References lprintf.

Referenced by cache_plugin_new().