xine-lib 1.2.13-20230125hg15249
|
#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"
#include "group_games.h"
Data Structures | |
struct | vmd_frame_t |
struct | demux_vmd_t |
Macros | |
#define | LOG_MODULE "demux_vmd" |
#define | LOG_VERBOSE |
#define | VMD_HEADER_SIZE 0x330 |
#define | BYTES_PER_FRAME_RECORD 16 |
Functions | |
static int | open_vmd_file (demux_vmd_t *this) |
static int | demux_vmd_send_chunk (demux_plugin_t *this_gen) |
static void | demux_vmd_send_headers (demux_plugin_t *this_gen) |
static int | demux_vmd_seek (demux_plugin_t *this_gen, off_t start_pos, int start_time, int playing) |
static int | demux_vmd_get_status (demux_plugin_t *this_gen) |
static int | demux_vmd_get_stream_length (demux_plugin_t *this_gen) |
static uint32_t | demux_vmd_get_capabilities (demux_plugin_t *this_gen) |
static int | demux_vmd_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) |
void * | demux_vmd_init_plugin (xine_t *xine, const void *data) |
#define BYTES_PER_FRAME_RECORD 16 |
Referenced by demux_vmd_send_chunk(), and open_vmd_file().
#define LOG_MODULE "demux_vmd" |
#define LOG_VERBOSE |
#define VMD_HEADER_SIZE 0x330 |
Referenced by demux_vmd_send_headers(), and open_vmd_file().
|
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().
void * demux_vmd_init_plugin | ( | xine_t * | xine, |
const void * | data ) |
References demux_plugin_s::dispose, N_, NULL, open_plugin(), and demux_class_s::open_plugin.
|
static |
References DEMUX_OK.
Referenced by open_plugin().
|
static |
References BUF_AUDIO_VMD, BUF_FLAG_FRAME_END, BUF_VIDEO_VMD, BYTES_PER_FRAME_RECORD, buf_element_s::content, buf_element_s::decoder_flags, DEMUX_FINISHED, buf_element_s::extra_info, vmd_frame_t::frame_offset, vmd_frame_t::frame_record, vmd_frame_t::frame_size, buf_element_s::free_buffer, input(), extra_info_s::input_normpos, extra_info_s::input_time, vmd_frame_t::is_audio_frame, buf_element_s::max_size, NULL, buf_element_s::pts, vmd_frame_t::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_AUDIO_VMD, BUF_FLAG_FRAME_END, BUF_FLAG_FRAMERATE, BUF_FLAG_HEADER, BUF_FLAG_STDHEADER, BUF_VIDEO_VMD, buf_element_s::content, buf_element_s::decoder_flags, buf_element_s::decoder_info, DEMUX_OK, buf_element_s::size, buf_element_s::type, VMD_HEADER_SIZE, XINE_STREAM_INFO_AUDIO_BITS, XINE_STREAM_INFO_AUDIO_CHANNELS, XINE_STREAM_INFO_AUDIO_SAMPLERATE, 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 xine_stream_s::content_detection_method, default_demux_plugin_dispose, DEMUX_FINISHED, demux_vmd_get_capabilities(), demux_vmd_get_optional_data(), demux_vmd_get_status(), demux_vmd_get_stream_length(), demux_vmd_seek(), demux_vmd_send_chunk(), demux_vmd_send_headers(), input(), METHOD_BY_CONTENT, METHOD_BY_MRL, METHOD_EXPLICIT, NULL, open_vmd_file(), and input_plugin_s::seek.
Referenced by demux_vmd_init_plugin().
|
static |
References _x_demux_read_header(), _X_LE_16, _X_LE_32, BYTES_PER_FRAME_RECORD, input(), and VMD_HEADER_SIZE.
Referenced by open_plugin().