25 #ifndef AVFORMAT_OGGDEC_H
26 #define AVFORMAT_OGGDEC_H
108 #define OGG_FLAG_CONT 1
109 #define OGG_FLAG_BOS 2
110 #define OGG_FLAG_EOS 4
112 #define OGG_NOGRANULE_VALUE (-1ull)
143 static inline uint64_t
int granule_is_start
1 if granule is the start time of the associated packet.
struct ogg_codec ff_theora_codec
struct ogg_codec ff_ogm_audio_codec
Copyright (C) 2005 Michael Ahlberg, Måns Rullgård.
int nb_header
set to the number of parsed headers
struct ogg_codec ff_opus_codec
void(* cleanup)(AVFormatContext *s, int idx)
int64_t sync_pos
file offset of the first page needed to reconstruct the current packet
struct ogg_codec ff_ogm_video_codec
int64_t page_pos
file offset of the current page
int end_trimming
set the number of packets to drop from the end
int ff_vorbis_comment(AVFormatContext *ms, AVDictionary **m, const uint8_t *buf, int size)
void * priv_data
Format private data.
int incomplete
whether we're expecting a continuation in the next page
struct ogg_codec ff_skeleton_codec
struct ogg_codec ff_old_flac_codec
struct ogg_codec ff_ogm_text_codec
int(* packet)(AVFormatContext *, int)
struct ogg_stream * streams
int page_end
current packet is the last one completed in the page
struct ogg_codec ff_speex_codec
struct ogg_codec ff_vorbis_codec
static int ogg_find_stream(struct ogg *ogg, int serial)
typedef void(RENAME(mix_any_func_type))
struct ogg_codec ff_celt_codec
int nb_header
Number of expected headers.
struct ogg_codec ff_ogm_old_codec
uint64_t(* gptopts)(AVFormatContext *, int, uint64_t, int64_t *dts)
Translate a granule into a timestamp.
struct ogg_codec ff_old_dirac_codec
int got_data
1 if the stream got some data (non-initial packets), 0 otherwise
struct ogg_codec ff_flac_codec
int64_t page_pos
file offset of the current page
struct ogg_codec ff_dirac_codec
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.