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/demux.h>
#include <xine/buffer.h>
#include "bswap.h"
#include "group_audio.h"
#include "id3.h"
Data Structures | |
struct | demux_mpc_t |
Macros | |
#define | LOG_MODULE "demux_mpc" |
#define | LOG_VERBOSE |
#define | HEADER_SIZE 32 |
Functions | |
static int | open_mpc_file (demux_mpc_t *this) |
static int | demux_mpc_send_chunk (demux_plugin_t *this_gen) |
static void | demux_mpc_send_headers (demux_plugin_t *this_gen) |
static int | demux_mpc_seek (demux_plugin_t *this_gen, off_t start_pos, int start_time, int playing) |
static int | demux_mpc_get_status (demux_plugin_t *this_gen) |
static int | demux_mpc_get_stream_length (demux_plugin_t *this_gen) |
static uint32_t | demux_mpc_get_capabilities (demux_plugin_t *this_gen) |
static int | demux_mpc_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_mpc_init_plugin (xine_t *xine, const void *data) |
#define HEADER_SIZE 32 |
#define LOG_MODULE "demux_mpc" |
#define LOG_VERBOSE |
|
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_mpc_init_plugin | ( | xine_t * | xine, |
const void * | data | ||
) |
References N_, NULL, open_plugin(), and demux_class_s::open_plugin.
|
static |
References _x_demux_control_newpts(), and DEMUX_OK.
Referenced by open_plugin().
|
static |
References _, _X_LE_32, BUF_AUDIO_MPC, BUF_FLAG_FRAME_END, buf_element_s::content, buf_element_s::decoder_flags, DEMUX_FINISHED, buf_element_s::extra_info, buf_element_s::free_buffer, input(), extra_info_s::input_normpos, extra_info_s::input_time, lprintf, buf_element_s::max_size, NULL, buf_element_s::pts, buf_element_s::size, extra_info_s::total_time, buf_element_s::type, XINE_VERBOSITY_LOG, and xprintf.
Referenced by open_plugin().
|
static |
|
static |
References _X_BE_32, _X_BE_32_synchsafe(), _x_demux_read_header(), _X_LE_32, _X_ME_32, _x_stream_info_set(), HEADER_SIZE, id3v2_istag(), input(), INPUT_IS_SEEKABLE, lprintf, XINE_STREAM_INFO_AUDIO_FOURCC, and XINE_STREAM_INFO_HAS_AUDIO.
Referenced by open_plugin().
|
static |
References xine_stream_s::content_detection_method, default_demux_plugin_dispose, DEMUX_FINISHED, demux_mpc_get_capabilities(), demux_mpc_get_optional_data(), demux_mpc_get_status(), demux_mpc_get_stream_length(), demux_mpc_seek(), demux_mpc_send_chunk(), demux_mpc_send_headers(), input(), METHOD_BY_CONTENT, METHOD_BY_MRL, METHOD_EXPLICIT, NULL, and open_mpc_file().
Referenced by demux_mpc_init_plugin().