FFmpeg
Functions | Variables
dtsdec.c File Reference
#include "libavutil/crc.h"
#include "libavcodec/bytestream.h"
#include "libavcodec/dca.h"
#include "libavcodec/dca_syncwords.h"
#include "libavcodec/get_bits.h"
#include "avformat.h"
#include "demux.h"
#include "rawdec.h"

Go to the source code of this file.

Functions

static int dts_probe (const AVProbeData *p)
 

Variables

const FFInputFormat ff_dts_demuxer
 

Function Documentation

◆ dts_probe()

static int dts_probe ( const AVProbeData p)
static

Definition at line 33 of file dtsdec.c.

Variable Documentation

◆ ff_dts_demuxer

const FFInputFormat ff_dts_demuxer
Initial value:
= {
.p.name = "dts",
.p.long_name = NULL_IF_CONFIG_SMALL("raw DTS"),
.p.flags = AVFMT_GENERIC_INDEX,
.p.extensions = "dts",
.p.priv_class = &ff_raw_demuxer_class,
.read_probe = dts_probe,
.read_header = ff_raw_audio_read_header,
.raw_codec_id = AV_CODEC_ID_DTS,
.priv_data_size = sizeof(FFRawDemuxerContext),
}

Definition at line 136 of file dtsdec.c.

dts_probe
static int dts_probe(const AVProbeData *p)
Definition: dtsdec.c:33
FFRawDemuxerContext
Definition: rawdec.h:37
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
ff_raw_read_partial_packet
int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawdec.c:33
ff_raw_demuxer_class
const AVClass ff_raw_demuxer_class
Definition: rawdec.c:141
ff_raw_audio_read_header
int ff_raw_audio_read_header(AVFormatContext *s)
Definition: rawdec.c:54
NULL_IF_CONFIG_SMALL
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition: internal.h:106
AV_CODEC_ID_DTS
@ AV_CODEC_ID_DTS
Definition: codec_id.h:444