xine-lib 1.2.11
|
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <xine/xine_internal.h>
#include <xine/xineutils.h>
#include <xine/compat.h>
#include <xine/demux.h>
#include "bswap.h"
Data Structures | |
struct | demux_fli_t |
Macros | |
#define | FLI_HEADER_SIZE 128 |
#define | FLI_HEADER_SIZE_MC 12 /* header size for Magic Carpet game FLIs */ |
#define | FLI_FILE_MAGIC_1 0xAF11 |
#define | FLI_FILE_MAGIC_2 0xAF12 |
#define | FLI_FILE_MAGIC_3 0xAF13 /* for internal use only */ |
#define | FLI_CHUNK_MAGIC_1 0xF1FA |
#define | FLI_CHUNK_MAGIC_2 0xF5FA |
#define | FLI_MC_PTS_INC 6000 /* pts increment for Magic Carpet game FLIs */ |
Functions | |
static int | open_fli_file (demux_fli_t *this) |
static int | demux_fli_send_chunk (demux_plugin_t *this_gen) |
static void | demux_fli_send_headers (demux_plugin_t *this_gen) |
static int | demux_fli_seek (demux_plugin_t *this_gen, off_t start_pos, int start_time, int playing) |
static int | demux_fli_get_status (demux_plugin_t *this_gen) |
static int | demux_fli_get_stream_length (demux_plugin_t *this_gen) |
static uint32_t | demux_fli_get_capabilities (demux_plugin_t *this_gen) |
static int | demux_fli_get_optional_data (demux_plugin_t *this_gen, void *data, int data_type) |
static demux_plugin_t * | open_plugin (demux_class_t *class_gen, xine_stream_t *stream, input_plugin_t *input) |
static void * | init_plugin (xine_t *xine, const void *data) |
Variables | |
static const demuxer_info_t | demux_info_fli |
const plugin_info_t xine_plugin_info[] | EXPORTED |
#define FLI_CHUNK_MAGIC_1 0xF1FA |
#define FLI_CHUNK_MAGIC_2 0xF5FA |
#define FLI_FILE_MAGIC_1 0xAF11 |
#define FLI_FILE_MAGIC_2 0xAF12 |
#define FLI_FILE_MAGIC_3 0xAF13 /* for internal use only */ |
#define FLI_HEADER_SIZE 128 |
#define FLI_HEADER_SIZE_MC 12 /* header size for Magic Carpet game FLIs */ |
#define FLI_MC_PTS_INC 6000 /* pts increment for Magic Carpet game FLIs */ |
|
static |
References DEMUX_CAP_NOCAP.
Referenced by open_plugin().
|
static |
References DEMUX_OPTIONAL_UNSUPPORTED.
Referenced by open_plugin().
|
static |
Referenced by open_plugin().
|
static |
Referenced by open_plugin().
|
static |
References _x_demux_control_newpts(), DEMUX_OK, and input().
Referenced by open_plugin().
|
static |
References _X_LE_16, _X_LE_32, BUF_FLAG_FRAME_END, BUF_VIDEO_FLI, buf_element_s::content, buf_element_s::decoder_flags, DEMUX_FINISHED, buf_element_s::extra_info, FLI_CHUNK_MAGIC_1, FLI_CHUNK_MAGIC_2, buf_element_s::free_buffer, input(), extra_info_s::input_normpos, extra_info_s::input_time, buf_element_s::max_size, NULL, buf_element_s::pts, buf_element_s::size, and buf_element_s::type.
Referenced by open_plugin().
|
static |
References _x_demux_control_start(), _x_stream_info_set(), BUF_FLAG_FRAME_END, BUF_FLAG_FRAMERATE, BUF_FLAG_HEADER, BUF_FLAG_STDHEADER, BUF_VIDEO_FLI, buf_element_s::content, buf_element_s::decoder_flags, buf_element_s::decoder_info, DEMUX_OK, buf_element_s::size, buf_element_s::type, XINE_STREAM_INFO_FRAME_DURATION, XINE_STREAM_INFO_HAS_AUDIO, XINE_STREAM_INFO_HAS_VIDEO, XINE_STREAM_INFO_VIDEO_HEIGHT, and XINE_STREAM_INFO_VIDEO_WIDTH.
Referenced by open_plugin().
|
static |
References N_, NULL, open_plugin(), and demux_class_s::open_plugin.
|
static |
References _x_demux_read_header(), _X_LE_16, _X_LE_32, FLI_CHUNK_MAGIC_1, FLI_FILE_MAGIC_1, FLI_FILE_MAGIC_2, FLI_FILE_MAGIC_3, FLI_HEADER_SIZE, FLI_HEADER_SIZE_MC, FLI_MC_PTS_INC, input(), and INPUT_IS_SEEKABLE.
Referenced by open_plugin().
|
static |
References xine_stream_s::content_detection_method, default_demux_plugin_dispose, DEMUX_FINISHED, demux_fli_get_capabilities(), demux_fli_get_optional_data(), demux_fli_get_status(), demux_fli_get_stream_length(), demux_fli_seek(), demux_fli_send_chunk(), demux_fli_send_headers(), input(), METHOD_BY_CONTENT, METHOD_BY_MRL, METHOD_EXPLICIT, NULL, and open_fli_file().
Referenced by init_plugin().
|
static |
const plugin_info_t xine_plugin_info [] EXPORTED |