FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
oggparsedirac.c File Reference
#include "libavcodec/get_bits.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

static int dirac_header ( AVFormatContext s,
int  idx 
)
static

Definition at line 27 of file oggparsedirac.c.

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

Definition at line 56 of file oggparsedirac.c.

static int old_dirac_header ( AVFormatContext s,
int  idx 
)
static

Definition at line 76 of file oggparsedirac.c.

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

Definition at line 92 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:56
static int dirac_header(AVFormatContext *s, int idx)
Definition: oggparsedirac.c:27

Definition at line 106 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:92
static int old_dirac_header(AVFormatContext *s, int idx)
Definition: oggparsedirac.c:76

Definition at line 115 of file oggparsedirac.c.