FFmpeg
Data Structures | Macros | Functions | Variables
dtshddec.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "libavutil/mem.h"
#include "libavcodec/dca.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"

Go to the source code of this file.

Data Structures

struct  DTSHDDemuxContext
 

Macros

#define AUPR_HDR   0x415550522D484452
 
#define AUPRINFO   0x41555052494E464F
 
#define BITSHVTB   0x4249545348565442
 
#define BLACKOUT   0x424C41434B4F5554
 
#define BRANCHPT   0x4252414E43485054
 
#define BUILDVER   0x4255494C44564552
 
#define CORESSMD   0x434F524553534D44
 
#define DTSHDHDR   0x4454534844484452
 
#define EXTSS_MD   0x45585453535f4d44
 
#define FILEINFO   0x46494C45494E464F
 
#define NAVI_TBL   0x4E4156492D54424C
 
#define STRMDATA   0x5354524D44415441
 
#define TIMECODE   0x54494D45434F4445
 

Functions

static int dtshd_probe (const AVProbeData *p)
 
static int dtshd_read_header (AVFormatContext *s)
 
static int raw_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const FFInputFormat ff_dtshd_demuxer
 

Macro Definition Documentation

◆ AUPR_HDR

#define AUPR_HDR   0x415550522D484452

Definition at line 30 of file dtshddec.c.

◆ AUPRINFO

#define AUPRINFO   0x41555052494E464F

Definition at line 31 of file dtshddec.c.

◆ BITSHVTB

#define BITSHVTB   0x4249545348565442

Definition at line 32 of file dtshddec.c.

◆ BLACKOUT

#define BLACKOUT   0x424C41434B4F5554

Definition at line 33 of file dtshddec.c.

◆ BRANCHPT

#define BRANCHPT   0x4252414E43485054

Definition at line 34 of file dtshddec.c.

◆ BUILDVER

#define BUILDVER   0x4255494C44564552

Definition at line 35 of file dtshddec.c.

◆ CORESSMD

#define CORESSMD   0x434F524553534D44

Definition at line 36 of file dtshddec.c.

◆ DTSHDHDR

#define DTSHDHDR   0x4454534844484452

Definition at line 37 of file dtshddec.c.

◆ EXTSS_MD

#define EXTSS_MD   0x45585453535f4d44

Definition at line 38 of file dtshddec.c.

◆ FILEINFO

#define FILEINFO   0x46494C45494E464F

Definition at line 39 of file dtshddec.c.

◆ NAVI_TBL

#define NAVI_TBL   0x4E4156492D54424C

Definition at line 40 of file dtshddec.c.

◆ STRMDATA

#define STRMDATA   0x5354524D44415441

Definition at line 41 of file dtshddec.c.

◆ TIMECODE

#define TIMECODE   0x54494D45434F4445

Definition at line 42 of file dtshddec.c.

Function Documentation

◆ dtshd_probe()

static int dtshd_probe ( const AVProbeData p)
static

Definition at line 48 of file dtshddec.c.

◆ dtshd_read_header()

static int dtshd_read_header ( AVFormatContext s)
static

Definition at line 55 of file dtshddec.c.

◆ raw_read_packet()

static int raw_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 147 of file dtshddec.c.

Variable Documentation

◆ ff_dtshd_demuxer

const FFInputFormat ff_dtshd_demuxer
Initial value:
= {
.p.name = "dtshd",
.p.long_name = NULL_IF_CONFIG_SMALL("raw DTS-HD"),
.p.flags = AVFMT_GENERIC_INDEX,
.p.extensions = "dtshd",
.priv_data_size = sizeof(DTSHDDemuxContext),
.raw_codec_id = AV_CODEC_ID_DTS,
}

Definition at line 167 of file dtshddec.c.

raw_read_packet
static int raw_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: dtshddec.c:147
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:480
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_read_callback.c:42
dtshd_probe
static int dtshd_probe(const AVProbeData *p)
Definition: dtshddec.c:48
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:540
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:94
AV_CODEC_ID_DTS
@ AV_CODEC_ID_DTS
Definition: codec_id.h:450
dtshd_read_header
static int dtshd_read_header(AVFormatContext *s)
Definition: dtshddec.c:55
DTSHDDemuxContext
Definition: dtshddec.c:44
read_probe
static int read_probe(const AVProbeData *p)
Definition: cdg.c:30