FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
oggdec.h File Reference
#include "avformat.h"
#include "metadata.h"

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, int parse_picture)
 
int ff_vorbis_stream_comment (AVFormatContext *as, AVStream *st, 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
 
const struct ogg_codec ff_vp8_codec
 

Macro Definition Documentation

#define OGG_FLAG_CONT   1

Definition at line 110 of file oggdec.h.

Referenced by ogg_read_page().

#define OGG_FLAG_BOS   2

Definition at line 111 of file oggdec.h.

Referenced by ogg_read_page(), ogg_read_timestamp(), and opus_header().

#define OGG_FLAG_EOS   4
#define OGG_NOGRANULE_VALUE   (-1ull)

Definition at line 114 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,
int  parse_picture 
)
int ff_vorbis_stream_comment ( AVFormatContext as,
AVStream st,
const uint8_t buf,
int  size 
)
static int ogg_find_stream ( struct ogg ogg,
int  serial 
)
inlinestatic

Definition at line 139 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 151 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 85 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 111 of file oggparseflac.c.

const struct ogg_codec ff_ogm_audio_codec

Definition at line 191 of file oggparseogm.c.

const struct ogg_codec ff_ogm_old_codec

Definition at line 209 of file oggparseogm.c.

const struct ogg_codec ff_ogm_text_codec

Definition at line 200 of file oggparseogm.c.

const struct ogg_codec ff_ogm_video_codec

Definition at line 182 of file oggparseogm.c.

Referenced by ogg_read_timestamp().

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 118 of file oggparseflac.c.

const struct ogg_codec ff_opus_codec

Definition at line 175 of file oggparseopus.c.

const struct ogg_codec ff_skeleton_codec

Definition at line 96 of file oggparseskeleton.c.

const struct ogg_codec ff_speex_codec

Definition at line 132 of file oggparsespeex.c.

const struct ogg_codec ff_theora_codec

Definition at line 207 of file oggparsetheora.c.

const struct ogg_codec ff_vorbis_codec

Definition at line 491 of file oggparsevorbis.c.

const struct ogg_codec ff_vp8_codec

Definition at line 135 of file oggparsevp8.c.