xine-lib 1.2.13-20230125hg15249
Data Structures | Macros | Functions | Variables
demux_dts.c File Reference
#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_topen_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 []
 

Macro Definition Documentation

◆ DATA_TAG

#define DATA_TAG   0x61746164

Referenced by open_dts_file().

◆ LOG_MODULE

#define LOG_MODULE   "demux_dts"

Referenced by open_dts_file().

◆ LOG_VERBOSE

#define LOG_VERBOSE

Function Documentation

◆ demux_dts_get_capabilities()

static uint32_t demux_dts_get_capabilities ( demux_plugin_t * this_gen)
static

References DEMUX_CAP_NOCAP.

Referenced by open_plugin().

◆ demux_dts_get_optional_data()

static int demux_dts_get_optional_data ( demux_plugin_t * this_gen,
void * data,
int data_type )
static

References DEMUX_OPTIONAL_UNSUPPORTED.

Referenced by open_plugin().

◆ demux_dts_get_status()

static int demux_dts_get_status ( demux_plugin_t * this_gen)
static

Referenced by open_plugin().

◆ demux_dts_get_stream_length()

static int demux_dts_get_stream_length ( demux_plugin_t * this_gen)
static

References input(), and lprintf.

Referenced by demux_dts_seek(), and open_plugin().

◆ demux_dts_init_plugin()

void * demux_dts_init_plugin ( xine_t * xine,
const void * data )

◆ demux_dts_seek()

static int demux_dts_seek ( demux_plugin_t * this_gen,
off_t start_pos,
int start_time,
int playing )
static

◆ demux_dts_send_chunk()

static int demux_dts_send_chunk ( demux_plugin_t * this_gen)
static

◆ demux_dts_send_headers()

static void demux_dts_send_headers ( demux_plugin_t * this_gen)
static

◆ open_dts_file()

static int open_dts_file ( demux_dts_t * this)
static

◆ open_plugin()

static demux_plugin_t * open_plugin ( demux_class_t * class_gen,
xine_stream_t * stream,
input_plugin_t * input )
static

Variable Documentation

◆ dts_sample_rates

const int dts_sample_rates[]
static
Initial value:
=
{
0, 8000, 16000, 32000, 0, 0, 11025, 22050, 44100, 0, 0,
12000, 24000, 48000, 96000, 192000
}

Referenced by open_dts_file().