oggparsedirac.c File Reference
#include "libavcodec/get_bits.h"
#include "libavcodec/dirac.h"
#include "avformat.h"
#include "internal.h"
#include "oggdec.h"
Include dependency graph for oggparsedirac.c:

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

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

Definition at line 51 of file oggparsedirac.c.

static int dirac_header ( AVFormatContext s,
int  idx 
)
static

Definition at line 27 of file oggparsedirac.c.

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

Definition at line 87 of file oggparsedirac.c.

static int old_dirac_header ( AVFormatContext s,
int  idx 
)
static

Definition at line 71 of file oggparsedirac.c.

Variable Documentation

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,
}
static uint64_t dirac_gptopts(AVFormatContext *s, int idx, uint64_t granule, int64_t *dts_out)
Definition: oggparsedirac.c:51
static int dirac_header(AVFormatContext *s, int idx)
Definition: oggparsedirac.c:27

Definition at line 101 of file oggparsedirac.c.

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,
}
static uint64_t old_dirac_gptopts(AVFormatContext *s, int idx, uint64_t gp, int64_t *dts)
Definition: oggparsedirac.c:87
static int old_dirac_header(AVFormatContext *s, int idx)
Definition: oggparsedirac.c:71

Definition at line 110 of file oggparsedirac.c.