FFmpeg
Functions | Variables
oggparsedirac.c File Reference
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
#include "libavcodec/dirac.h"
#include "avformat.h"
#include "internal.h"
#include "oggdec.h"

Go to the source code of this file.

Functions

static int dirac_header (AVFormatContext *s, int idx)
 
static uint64_t dirac_gptopts (AVFormatContext *s, int idx, uint64_t granule, int64_t *dts_out)
 
static int old_dirac_header (AVFormatContext *s, int idx)
 
static uint64_t old_dirac_gptopts (AVFormatContext *s, int idx, uint64_t gp, int64_t *dts)
 

Variables

const struct ogg_codec ff_dirac_codec
 
const struct ogg_codec ff_old_dirac_codec
 

Function Documentation

◆ dirac_header()

static int dirac_header ( AVFormatContext s,
int  idx 
)
static

Definition at line 28 of file oggparsedirac.c.

◆ dirac_gptopts()

static uint64_t dirac_gptopts ( AVFormatContext s,
int  idx,
uint64_t  granule,
int64_t dts_out 
)
static

Definition at line 66 of file oggparsedirac.c.

◆ old_dirac_header()

static int old_dirac_header ( AVFormatContext s,
int  idx 
)
static

Definition at line 86 of file oggparsedirac.c.

◆ old_dirac_gptopts()

static uint64_t old_dirac_gptopts ( AVFormatContext s,
int  idx,
uint64_t  gp,
int64_t dts 
)
static

Definition at line 102 of file oggparsedirac.c.

Variable Documentation

◆ ff_dirac_codec

const struct ogg_codec ff_dirac_codec
Initial value:
= {
.magic = "BBCD\0",
.magicsize = 5,
.header = dirac_header,
.gptopts = dirac_gptopts,
.granule_is_start = 1,
.nb_header = 1,
}

Definition at line 116 of file oggparsedirac.c.

◆ ff_old_dirac_codec

const struct ogg_codec ff_old_dirac_codec
Initial value:
= {
.magic = "KW-DIRAC",
.magicsize = 8,
.header = old_dirac_header,
.gptopts = old_dirac_gptopts,
.granule_is_start = 1,
.nb_header = 1,
}

Definition at line 125 of file oggparsedirac.c.

old_dirac_gptopts
static uint64_t old_dirac_gptopts(AVFormatContext *s, int idx, uint64_t gp, int64_t *dts)
Definition: oggparsedirac.c:102
dirac_gptopts
static uint64_t dirac_gptopts(AVFormatContext *s, int idx, uint64_t granule, int64_t *dts_out)
Definition: oggparsedirac.c:66
old_dirac_header
static int old_dirac_header(AVFormatContext *s, int idx)
Definition: oggparsedirac.c:86
dirac_header
static int dirac_header(AVFormatContext *s, int idx)
Definition: oggparsedirac.c:28