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

const 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

const 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 = &ff_raw_demuxer_class,
}

Definition at line 135 of file dtsdec.c.

dts_probe
static int dts_probe(const AVProbeData *p)
Definition: dtsdec.c:32
FFRawDemuxerContext
Definition: rawdec.h:36
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:468
ff_raw_read_partial_packet
int ff_raw_read_partial_packet(AVFormatContext *s, AVPacket *pkt)
Definition: rawdec.c:34
ff_raw_demuxer_class
const AVClass ff_raw_demuxer_class
Definition: rawdec.c:142
ff_raw_audio_read_header
int ff_raw_audio_read_header(AVFormatContext *s)
Definition: rawdec.c:55
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:427