25 #ifndef AVFORMAT_OGGDEC_H
26 #define AVFORMAT_OGGDEC_H
102 #define OGG_FLAG_CONT 1
103 #define OGG_FLAG_BOS 2
104 #define OGG_FLAG_EOS 4
134 static inline uint64_t
int granule_is_start
1 if granule is the start time of the associated packet.
Copyright (C) 2005 Michael Ahlberg, Måns Rullgård.
const struct ogg_codec ff_celt_codec
const struct ogg_codec * codec
void(* cleanup)(AVFormatContext *s, int idx)
const struct ogg_codec ff_ogm_old_codec
int64_t sync_pos
file offset of the first page needed to reconstruct the current packet
const struct ogg_codec ff_ogm_video_codec
int64_t page_pos
file offset of the current page
int ff_vorbis_comment(AVFormatContext *ms, AVDictionary **m, const uint8_t *buf, int size)
const struct ogg_codec ff_skeleton_codec
int incomplete
whether we're expecting a continuation in the next page
int(* packet)(AVFormatContext *, int)
struct ogg_stream * streams
const struct ogg_codec ff_vorbis_codec
int page_end
current packet is the last one completed in the page
const struct ogg_codec ff_ogm_audio_codec
const struct ogg_codec ff_theora_codec
static int ogg_find_stream(struct ogg *ogg, int serial)
const struct ogg_codec ff_flac_codec
const struct ogg_codec ff_old_dirac_codec
static void(WINAPI *cond_broadcast)(pthread_cond_t *cond)
int nb_header
Number of expected headers.
const struct ogg_codec ff_old_flac_codec
const struct ogg_codec ff_dirac_codec
const struct ogg_codec ff_speex_codec
uint64_t(* gptopts)(AVFormatContext *, int, uint64_t, int64_t *dts)
Translate a granule into a timestamp.
const struct ogg_codec ff_ogm_text_codec
void * priv_data
Format private data.
struct ogg_stream streams[1]
int(* header)(AVFormatContext *, int)
Attempt to process a packet as a header.
static uint64_t ogg_gptopts(AVFormatContext *s, int i, uint64_t gp, int64_t *dts)
#define AV_NOPTS_VALUE
Undefined timestamp value.