xine-lib 1.2.13-20230125hg15249
|
#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_dts_t |
Macros | |
#define | LOG_MODULE "demux_dts" |
#define | LOG_VERBOSE |
#define | DATA_TAG 0x61746164 |
Functions | |
static int | open_dts_file (demux_dts_t *this) |
static int | demux_dts_send_chunk (demux_plugin_t *this_gen) |
static void | demux_dts_send_headers (demux_plugin_t *this_gen) |
static int | demux_dts_get_stream_length (demux_plugin_t *this_gen) |
static int | demux_dts_seek (demux_plugin_t *this_gen, off_t start_pos, int start_time, int playing) |
static int | demux_dts_get_status (demux_plugin_t *this_gen) |
static uint32_t | demux_dts_get_capabilities (demux_plugin_t *this_gen) |
static int | demux_dts_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_dts_init_plugin (xine_t *xine, const void *data) |
Variables | |
static const int | dts_sample_rates [] |
#define DATA_TAG 0x61746164 |
Referenced by open_dts_file().
#define LOG_MODULE "demux_dts" |
Referenced by open_dts_file().
#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 |
References input(), and lprintf.
Referenced by demux_dts_seek(), and open_plugin().
void * demux_dts_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 _x_demux_flush_engine(), demux_dts_get_stream_length(), DEMUX_OK, input(), and INPUT_IS_SEEKABLE.
Referenced by open_plugin().
|
static |
References _x_demux_control_newpts(), BUF_AUDIO_DTS, BUF_FLAG_FRAME_END, BUF_FLAG_SEEK, 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_LPCM_LE, buf_element_s::content, DATA_TAG, dts_sample_rates, buf_element_s::free_buffer, input(), INPUT_IS_SEEKABLE, LOG_MODULE, lprintf, MAX_PREVIEW_SIZE, xine_waveformatex::nChannels, xine_waveformatex::nSamplesPerSec, buf_element_s::size, xine_waveformatex::wBitsPerSample, xine_waveformatex::wFormatTag, xine_fast_memcpy, XINE_VERBOSITY_LOG, and xprintf.
Referenced by open_plugin().
|
static |
References xine_stream_s::content_detection_method, default_demux_plugin_dispose, demux_dts_get_capabilities(), demux_dts_get_optional_data(), demux_dts_get_status(), demux_dts_get_stream_length(), demux_dts_seek(), demux_dts_send_chunk(), demux_dts_send_headers(), DEMUX_FINISHED, input(), METHOD_BY_CONTENT, METHOD_BY_MRL, METHOD_EXPLICIT, NULL, open_dts_file(), and input_plugin_s::seek.
Referenced by demux_dts_init_plugin().
|
static |
Referenced by open_dts_file().