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 "rawdec.h"

Go to the source code of this file.

Functions

static int dts_probe (const AVProbeData *p)
 

Variables

AVInputFormat ff_dts_demuxer
 

Function Documentation

◆ dts_probe()

static int dts_probe ( const AVProbeData p)
static

Definition at line 32 of file dtsdec.c.

Variable Documentation

◆ ff_dts_demuxer

AVInputFormat ff_dts_demuxer
Initial value:
= {
.name = "dts",
.long_name = NULL_IF_CONFIG_SMALL("raw DTS"),
.read_probe = dts_probe,
.read_header = ff_raw_audio_read_header,
.extensions = "dts",
.raw_codec_id = AV_CODEC_ID_DTS,
.priv_data_size = sizeof(FFRawDemuxerContext),
.priv_class = &dts_demuxer_class,}

Definition at line 136 of file dtsdec.c.

dts_probe
static int dts_probe(const AVProbeData *p)
Definition: dtsdec.c:32
FFRawDemuxerContext
Definition: rawdec.h:37
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:463
ff_raw_read_partial_packet
int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawdec.c:35
ff_raw_audio_read_header
int ff_raw_audio_read_header(AVFormatContext *s)
Definition: rawdec.c:56
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:117
AV_CODEC_ID_DTS
@ AV_CODEC_ID_DTS
Definition: codec_id.h:428