FFmpeg
Loading...
Searching...
No Matches
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"
#include "avio_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 31 of file dtshddec.c.

Referenced by dtshd_read_header().

◆ AUPRINFO

#define AUPRINFO   0x41555052494E464F

Definition at line 32 of file dtshddec.c.

◆ BITSHVTB

#define BITSHVTB   0x4249545348565442

Definition at line 33 of file dtshddec.c.

◆ BLACKOUT

#define BLACKOUT   0x424C41434B4F5554

Definition at line 34 of file dtshddec.c.

◆ BRANCHPT

#define BRANCHPT   0x4252414E43485054

Definition at line 35 of file dtshddec.c.

◆ BUILDVER

#define BUILDVER   0x4255494C44564552

Definition at line 36 of file dtshddec.c.

◆ CORESSMD

#define CORESSMD   0x434F524553534D44

Definition at line 37 of file dtshddec.c.

◆ DTSHDHDR

#define DTSHDHDR   0x4454534844484452

Definition at line 38 of file dtshddec.c.

Referenced by dtshd_probe().

◆ EXTSS_MD

#define EXTSS_MD   0x45585453535f4d44

Definition at line 39 of file dtshddec.c.

◆ FILEINFO

#define FILEINFO   0x46494C45494E464F

Definition at line 40 of file dtshddec.c.

Referenced by dtshd_read_header().

◆ NAVI_TBL

#define NAVI_TBL   0x4E4156492D54424C

Definition at line 41 of file dtshddec.c.

◆ STRMDATA

#define STRMDATA   0x5354524D44415441

Definition at line 42 of file dtshddec.c.

Referenced by dtshd_read_header().

◆ TIMECODE

#define TIMECODE   0x54494D45434F4445

Definition at line 43 of file dtshddec.c.

Function Documentation

◆ dtshd_probe()

static int dtshd_probe ( const AVProbeData * p)
static

Definition at line 49 of file dtshddec.c.

◆ dtshd_read_header()

static int dtshd_read_header ( AVFormatContext * s)
static

Definition at line 56 of file dtshddec.c.

◆ raw_read_packet()

static int raw_read_packet ( AVFormatContext * s,
AVPacket * pkt )
static

Definition at line 158 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,
}
#define AVFMT_GENERIC_INDEX
Use generic index building code.
Definition avformat.h:499
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static int read_probe(const AVProbeData *p)
Definition cdg.c:30
static int raw_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition dtshddec.c:158
static int dtshd_read_header(AVFormatContext *s)
Definition dtshddec.c:56
static int dtshd_probe(const AVProbeData *p)
Definition dtshddec.c:49
static int read_header(FFV1Context *f, RangeCoder *c)
Definition ffv1dec.c:578
@ AV_CODEC_ID_DTS
Definition codec_id.h:457
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification.
Definition internal.h:88

Definition at line 178 of file dtshddec.c.