FFmpeg  4.0
Data Structures | Macros | Functions | Variables
dtshddec.c File Reference
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "libavcodec/dca.h"
#include "avformat.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 (AVProbeData *p)
 
static int dtshd_read_header (AVFormatContext *s)
 
static int raw_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

AVInputFormat ff_dtshd_demuxer
 

Macro Definition Documentation

◆ AUPR_HDR

#define AUPR_HDR   0x415550522D484452

Definition at line 28 of file dtshddec.c.

Referenced by dtshd_read_header().

◆ AUPRINFO

#define AUPRINFO   0x41555052494E464F

Definition at line 29 of file dtshddec.c.

◆ BITSHVTB

#define BITSHVTB   0x4249545348565442

Definition at line 30 of file dtshddec.c.

◆ BLACKOUT

#define BLACKOUT   0x424C41434B4F5554

Definition at line 31 of file dtshddec.c.

◆ BRANCHPT

#define BRANCHPT   0x4252414E43485054

Definition at line 32 of file dtshddec.c.

◆ BUILDVER

#define BUILDVER   0x4255494C44564552

Definition at line 33 of file dtshddec.c.

◆ CORESSMD

#define CORESSMD   0x434F524553534D44

Definition at line 34 of file dtshddec.c.

◆ DTSHDHDR

#define DTSHDHDR   0x4454534844484452

Definition at line 35 of file dtshddec.c.

Referenced by dtshd_probe().

◆ EXTSS_MD

#define EXTSS_MD   0x45585453535f4d44

Definition at line 36 of file dtshddec.c.

◆ FILEINFO

#define FILEINFO   0x46494C45494E464F

Definition at line 37 of file dtshddec.c.

Referenced by dtshd_read_header().

◆ NAVI_TBL

#define NAVI_TBL   0x4E4156492D54424C

Definition at line 38 of file dtshddec.c.

◆ STRMDATA

#define STRMDATA   0x5354524D44415441

Definition at line 39 of file dtshddec.c.

Referenced by dtshd_read_header().

◆ TIMECODE

#define TIMECODE   0x54494D45434F4445

Definition at line 40 of file dtshddec.c.

Function Documentation

◆ dtshd_probe()

static int dtshd_probe ( AVProbeData p)
static

Definition at line 46 of file dtshddec.c.

◆ dtshd_read_header()

static int dtshd_read_header ( AVFormatContext s)
static

Definition at line 53 of file dtshddec.c.

◆ raw_read_packet()

static int raw_read_packet ( AVFormatContext s,
AVPacket pkt 
)
static

Definition at line 142 of file dtshddec.c.

Variable Documentation

◆ ff_dtshd_demuxer

AVInputFormat ff_dtshd_demuxer
Initial value:
= {
.name = "dtshd",
.long_name = NULL_IF_CONFIG_SMALL("raw DTS-HD"),
.priv_data_size = sizeof(DTSHDDemuxContext),
.extensions = "dtshd",
.raw_codec_id = AV_CODEC_ID_DTS,
}
static int flags
Definition: log.c:55
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
Definition: internal.h:186
static int read_probe(AVProbeData *pd)
Definition: jvdec.c:55
static int dtshd_read_header(AVFormatContext *s)
Definition: dtshddec.c:53
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:530
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
static int raw_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: dtshddec.c:142
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:470
static int dtshd_probe(AVProbeData *p)
Definition: dtshddec.c:46

Definition at line 162 of file dtshddec.c.