oggdec.h File Reference
#include "avformat.h"
#include "metadata.h"
Include dependency graph for oggdec.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ogg_codec
 Copyright (C) 2005 Michael Ahlberg, Måns Rullgård. More...
 
struct  ogg_stream
 
struct  ogg_state
 
struct  ogg
 

Macros

#define OGG_FLAG_CONT   1
 
#define OGG_FLAG_BOS   2
 
#define OGG_FLAG_EOS   4
 
#define OGG_NOGRANULE_VALUE   (-1ull)
 

Functions

int ff_vorbis_comment (AVFormatContext *ms, AVDictionary **m, const uint8_t *buf, int size)
 
static int ogg_find_stream (struct ogg *ogg, int serial)
 
static uint64_t ogg_gptopts (AVFormatContext *s, int i, uint64_t gp, int64_t *dts)
 

Variables

const struct ogg_codec ff_celt_codec
 
const struct ogg_codec ff_dirac_codec
 
const struct ogg_codec ff_flac_codec
 
const struct ogg_codec ff_ogm_audio_codec
 
const struct ogg_codec ff_ogm_old_codec
 
const struct ogg_codec ff_ogm_text_codec
 
const struct ogg_codec ff_ogm_video_codec
 
const struct ogg_codec ff_old_dirac_codec
 
const struct ogg_codec ff_old_flac_codec
 
const struct ogg_codec ff_opus_codec
 
const struct ogg_codec ff_skeleton_codec
 
const struct ogg_codec ff_speex_codec
 
const struct ogg_codec ff_theora_codec
 
const struct ogg_codec ff_vorbis_codec
 

Macro Definition Documentation

#define OGG_FLAG_BOS   2

Definition at line 108 of file oggdec.h.

Referenced by ogg_read_page(), and opus_header().

#define OGG_FLAG_CONT   1

Definition at line 107 of file oggdec.h.

Referenced by ogg_read_page().

#define OGG_FLAG_EOS   4

Definition at line 109 of file oggdec.h.

Referenced by opus_packet(), speex_packet(), theora_packet(), and vorbis_packet().

#define OGG_NOGRANULE_VALUE   (-1ull)

Definition at line 111 of file oggdec.h.

Referenced by ogg_new_stream(), ogg_read_header(), and skeleton_header().

Function Documentation

int ff_vorbis_comment ( AVFormatContext ms,
AVDictionary **  m,
const uint8_t buf,
int  size 
)
static int ogg_find_stream ( struct ogg ogg,
int  serial 
)
inlinestatic

Definition at line 131 of file oggdec.h.

Referenced by ogg_read_page(), and skeleton_header().

static uint64_t ogg_gptopts ( AVFormatContext s,
int  i,
uint64_t  gp,
int64_t *  dts 
)
inlinestatic

Definition at line 143 of file oggdec.h.

Referenced by ogg_calc_pts(), ogg_get_length(), and ogg_read_header().

Variable Documentation

const struct ogg_codec ff_celt_codec

Definition at line 92 of file oggparsecelt.c.

Referenced by celt_header().

const struct ogg_codec ff_dirac_codec

Definition at line 101 of file oggparsedirac.c.

const struct ogg_codec ff_flac_codec

Definition at line 88 of file oggparseflac.c.

const struct ogg_codec ff_ogm_audio_codec

Definition at line 177 of file oggparseogm.c.

const struct ogg_codec ff_ogm_old_codec

Definition at line 195 of file oggparseogm.c.

const struct ogg_codec ff_ogm_text_codec

Definition at line 186 of file oggparseogm.c.

const struct ogg_codec ff_ogm_video_codec

Definition at line 168 of file oggparseogm.c.

const struct ogg_codec ff_old_dirac_codec

Definition at line 110 of file oggparsedirac.c.

const struct ogg_codec ff_old_flac_codec

Definition at line 95 of file oggparseflac.c.

const struct ogg_codec ff_opus_codec

Definition at line 129 of file oggparseopus.c.

const struct ogg_codec ff_skeleton_codec

Definition at line 90 of file oggparseskeleton.c.

const struct ogg_codec ff_speex_codec

Definition at line 133 of file oggparsespeex.c.

const struct ogg_codec ff_theora_codec

Definition at line 199 of file oggparsetheora.c.

const struct ogg_codec ff_vorbis_codec

Definition at line 385 of file oggparsevorbis.c.