xine-lib 1.2.11
|
#include <stdio.h>
#include <fcntl.h>
#include <unistd.h>
#include <string.h>
#include <stdlib.h>
#include <ctype.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"
Data Structures | |
struct | demux_ac3_t |
Macros | |
#define | LOG_MODULE "demux_ac3" |
#define | LOG_VERBOSE |
#define | DATA_TAG 0x61746164 |
Functions | |
static int | open_ac3_file (demux_ac3_t *this) |
static int | demux_ac3_send_chunk (demux_plugin_t *this_gen) |
static void | demux_ac3_send_headers (demux_plugin_t *this_gen) |
static int | demux_ac3_seek (demux_plugin_t *this_gen, off_t start_pos, int start_time, int playing) |
static int | demux_ac3_get_status (demux_plugin_t *this_gen) |
static int | demux_ac3_get_stream_length (demux_plugin_t *this_gen) |
static uint32_t | demux_ac3_get_capabilities (demux_plugin_t *this_gen) |
static int | demux_ac3_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_ac3_init_plugin (xine_t *xine, const void *data) |
#define DATA_TAG 0x61746164 |
#define LOG_MODULE "demux_ac3" |
#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_ac3_init_plugin | ( | xine_t * | xine, |
const void * | data | ||
) |
References N_, NULL, open_plugin(), and demux_class_s::open_plugin.
|
static |
References _x_demux_flush_engine(), DEMUX_OK, input(), and INPUT_IS_SEEKABLE.
Referenced by open_plugin().
|
static |
References _x_demux_control_newpts(), BUF_FLAG_FRAME_END, BUF_FLAG_SEEK, buf_type, 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, NULL, buf_element_s::pts, buf_element_s::size, and buf_element_s::type.
Referenced by open_plugin().
|
static |
|
static |
References _x_demux_read_header(), _x_formattag_to_buf_audio(), _X_LE_32, _x_waveformatex_le2me(), BUF_AUDIO_A52, BUF_AUDIO_DNET, BUF_AUDIO_LPCM_LE, buf_type, buf_element_s::content, DATA_TAG, buf_element_s::free_buffer, input(), INPUT_IS_SEEKABLE, lprintf, MAX_PREVIEW_SIZE, xine_waveformatex::nChannels, xine_waveformatex::nSamplesPerSec, NULL, buf_element_s::size, xine_waveformatex::wBitsPerSample, and xine_waveformatex::wFormatTag.
Referenced by open_plugin().
|
static |
References xine_stream_s::content_detection_method, default_demux_plugin_dispose, demux_ac3_get_capabilities(), demux_ac3_get_optional_data(), demux_ac3_get_status(), demux_ac3_get_stream_length(), demux_ac3_seek(), demux_ac3_send_chunk(), demux_ac3_send_headers(), DEMUX_FINISHED, input(), METHOD_BY_CONTENT, METHOD_BY_MRL, METHOD_EXPLICIT, NULL, and open_ac3_file().
Referenced by demux_ac3_init_plugin().