FFmpeg
Functions | Variables
oggparsedirac.c File Reference
#include "libavutil/imgutils.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/mem.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 29 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 67 of file oggparsedirac.c.

◆ old_dirac_header()

static int old_dirac_header ( AVFormatContext s,
int  idx 
)
static

Definition at line 87 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 103 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 117 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 126 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:103
dirac_gptopts
static uint64_t dirac_gptopts(AVFormatContext *s, int idx, uint64_t granule, int64_t *dts_out)
Definition: oggparsedirac.c:67
old_dirac_header
static int old_dirac_header(AVFormatContext *s, int idx)
Definition: oggparsedirac.c:87
dirac_header
static int dirac_header(AVFormatContext *s, int idx)
Definition: oggparsedirac.c:29