xine-lib 1.2.11
|
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <xine/xine_internal.h>
#include "xine_private.h"
Data Structures | |
struct | rip_input_plugin_t |
Macros | |
#define | LOG_MODULE "input_rip" |
#define | LOG_VERBOSE |
#define | CLR_FAIL "\x1b[1;31m" |
#define | CLR_RST "\x1b[0;39m" |
#define | fseeko fseek |
#define | SCRATCH_SIZE 1024 |
#define | MAX_TARGET_LEN 256 |
#define | MAX_TARGET_LEN_SUFFIXED (MAX_TARGET_LEN + 16) |
#define | SEEK_TIMEOUT 2.5 |
Functions | |
static off_t | min_off (off_t a, off_t b) |
static off_t | rip_plugin_read (input_plugin_t *this_gen, void *buf_gen, off_t len) |
static int | rip_plugin_open (input_plugin_t *this_gen) |
static uint32_t | rip_plugin_get_capabilities (input_plugin_t *this_gen) |
static buf_element_t * | rip_plugin_read_block (input_plugin_t *this_gen, fifo_buffer_t *fifo, off_t todo) |
static off_t | rip_seek_original (rip_input_plugin_t *this, off_t reqpos) |
static off_t | rip_plugin_seek (input_plugin_t *this_gen, off_t offset, int origin) |
static off_t | rip_plugin_seek_time (input_plugin_t *this_gen, int time_offset, int origin) |
static off_t | rip_plugin_get_current_pos (input_plugin_t *this_gen) |
static int | rip_plugin_get_current_time (input_plugin_t *this_gen) |
static off_t | rip_plugin_get_length (input_plugin_t *this_gen) |
static uint32_t | rip_plugin_get_blocksize (input_plugin_t *this_gen) |
static const char * | rip_plugin_get_mrl (input_plugin_t *this_gen) |
static int | rip_plugin_get_optional_data (input_plugin_t *this_gen, void *data, int data_type) |
static void | rip_plugin_dispose (input_plugin_t *this_gen) |
static int | dir_file_concat (char *target, size_t maxlen, const char *dir, const char *name) |
input_plugin_t * | _x_rip_plugin_get_instance (xine_stream_t *stream, const char *filename) |
#define CLR_FAIL "\x1b[1;31m" |
#define CLR_RST "\x1b[0;39m" |
#define fseeko fseek |
#define LOG_MODULE "input_rip" |
#define LOG_VERBOSE |
#define MAX_TARGET_LEN 256 |
#define MAX_TARGET_LEN_SUFFIXED (MAX_TARGET_LEN + 16) |
#define SCRATCH_SIZE 1024 |
#define SEEK_TIMEOUT 2.5 |
input_plugin_t * _x_rip_plugin_get_instance | ( | xine_stream_t * | stream, |
const char * | filename | ||
) |
References _, _x_message(), buf_element_s::content, dir_file_concat(), buf_element_s::free_buffer, input_plugin_s::get_blocksize, input_plugin_s::get_capabilities, INPUT_CAP_BLOCK, INPUT_CAP_RIP_FORBIDDEN, INPUT_CAP_SEEKABLE, input_plugin_s::input_class, xine_stream_s::input_plugin, lprintf, MAX_PREVIEW_SIZE, MAX_TARGET_LEN, MAX_TARGET_LEN_SUFFIXED, mode(), NULL, input_plugin_s::read, input_plugin_s::read_block, rip_plugin_dispose(), rip_plugin_get_blocksize(), rip_plugin_get_capabilities(), rip_plugin_get_current_pos(), rip_plugin_get_current_time(), rip_plugin_get_length(), rip_plugin_get_mrl(), rip_plugin_get_optional_data(), rip_plugin_open(), rip_plugin_read(), rip_plugin_read_block(), rip_plugin_seek(), rip_plugin_seek_time(), S_ISFIFO, xine_s::save_path, buf_element_s::size, xine_stream_s::video_fifo, xine_stream_s::xine, xine_log(), XINE_LOG_MSG, and XINE_MSG_SECURITY.
Referenced by open_internal().
|
static |
References name.
Referenced by _x_rip_plugin_get_instance().
|
static |
Referenced by rip_plugin_read(), and rip_plugin_read_block().
|
static |
References _x_free_input_plugin(), _x_freep(), and lprintf.
Referenced by _x_rip_plugin_get_instance().
|
static |
References input_plugin_s::get_blocksize.
Referenced by _x_rip_plugin_get_instance().
|
static |
References input_plugin_s::get_capabilities, INPUT_CAP_PREVIEW, and INPUT_CAP_SEEKABLE.
Referenced by _x_rip_plugin_get_instance().
|
static |
References CLR_FAIL, CLR_RST, input_plugin_s::get_current_pos, and lprintf.
Referenced by _x_rip_plugin_get_instance().
|
static |
References input_plugin_s::get_current_time.
Referenced by _x_rip_plugin_get_instance().
|
static |
References input_plugin_s::get_length.
Referenced by _x_rip_plugin_get_instance().
|
static |
References input_plugin_s::get_mrl.
Referenced by _x_rip_plugin_get_instance().
|
static |
References INPUT_OPTIONAL_DATA_PREVIEW, and lprintf.
Referenced by _x_rip_plugin_get_instance().
|
static |
References _, xine_log(), and XINE_LOG_MSG.
Referenced by _x_rip_plugin_get_instance().
|
static |
References _, CLR_FAIL, CLR_RST, lprintf, min_off(), xine_log(), and XINE_LOG_MSG.
Referenced by _x_rip_plugin_get_instance(), and rip_plugin_seek().
|
static |
References _, BUF_DEMUX_BLOCK, fifo_buffer_s::buffer_pool_alloc, CLR_FAIL, CLR_RST, buf_element_s::content, lprintf, buf_element_s::mem, min_off(), NULL, buf_element_s::size, buf_element_s::type, xine_log(), and XINE_LOG_MSG.
Referenced by _x_rip_plugin_get_instance(), and rip_plugin_seek().
|
static |
References _, buf_element_s::free_buffer, fseeko, input_plugin_s::get_blocksize, input_plugin_s::get_capabilities, INPUT_CAP_BLOCK, lprintf, NULL, rip_plugin_read(), rip_plugin_read_block(), rip_seek_original(), SCRATCH_SIZE, SEEK_TIMEOUT, xine_log(), XINE_LOG_MSG, and xine_monotonic_clock().
Referenced by _x_rip_plugin_get_instance().
|
static |
References lprintf.
Referenced by _x_rip_plugin_get_instance().
|
static |
References _, CLR_FAIL, CLR_RST, lprintf, xine_log(), and XINE_LOG_MSG.
Referenced by rip_plugin_seek().