FFmpeg
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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 (const AVProbeData *p)
 
static int dtshd_read_header (AVFormatContext *s)
 
static int raw_read_packet (AVFormatContext *s, AVPacket *pkt)
 

Variables

const AVInputFormat ff_dtshd_demuxer
 

Macro Definition Documentation

◆ AUPR_HDR

#define AUPR_HDR   0x415550522D484452

Definition at line 28 of file dtshddec.c.

◆ 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.

◆ 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.

◆ 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.

◆ TIMECODE

#define TIMECODE   0x54494D45434F4445

Definition at line 40 of file dtshddec.c.

Function Documentation

◆ dtshd_probe()

static int dtshd_probe ( const 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

const 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,
}

Definition at line 162 of file dtshddec.c.

raw_read_packet
static int raw_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition: dtshddec.c:142
AVFMT_GENERIC_INDEX
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition: avformat.h:476
dtshd_probe
static int dtshd_probe(const AVProbeData *p)
Definition: dtshddec.c:46
read_header
static int read_header(FFV1Context *f)
Definition: ffv1dec.c:527
read_probe
static int read_probe(const AVProbeData *pd)
Definition: jvdec.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
dtshd_read_header
static int dtshd_read_header(AVFormatContext *s)
Definition: dtshddec.c:53
read_packet
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
Definition: avio_reading.c:42
DTSHDDemuxContext
Definition: dtshddec.c:42
flags
#define flags(name, subs,...)
Definition: cbs_av1.c:561