25 #ifndef AVFORMAT_OGGDEC_H 26 #define AVFORMAT_OGGDEC_H 110 #define OGG_FLAG_CONT 1 111 #define OGG_FLAG_BOS 2 112 #define OGG_FLAG_EOS 4 114 #define OGG_NOGRANULE_VALUE (-1ull) 151 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
int nb_header
set to the number of parsed headers
int(* packet)(AVFormatContext *, int)
const struct ogg_codec * codec
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
int(* header)(AVFormatContext *, int)
Attempt to process a packet as a header.
int64_t page_pos
file offset of the current page
int ff_vorbis_comment(AVFormatContext *ms, AVDictionary **m, const uint8_t *buf, int size, int parse_picture)
int end_trimming
set the number of packets to drop from the end
const struct ogg_codec ff_skeleton_codec
#define AV_LOG_ERROR
Something went wrong and cannot losslessly be recovered.
int ff_vorbis_stream_comment(AVFormatContext *as, AVStream *st, const uint8_t *buf, int size)
const struct ogg_codec ff_opus_codec
int incomplete
whether we're expecting a continuation in the next page
unsigned int new_metadata_size
struct ogg_stream * streams
const struct ogg_codec ff_vorbis_codec
const struct ogg_codec ff_vp8_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)
typedef void(RENAME(mix_any_func_type))
const struct ogg_codec ff_flac_codec
const struct ogg_codec ff_old_dirac_codec
int nb_header
Number of expected headers.
const struct ogg_codec ff_old_flac_codec
void(* cleanup)(AVFormatContext *s, int idx)
const struct ogg_codec ff_dirac_codec
const struct ogg_codec ff_speex_codec
int got_data
1 if the stream got some data (non-initial packets), 0 otherwise
const struct ogg_codec ff_ogm_text_codec
int64_t page_pos
file offset of the current page
void * priv_data
Format private data.
const struct ogg_codec ff_daala_codec
static uint64_t ogg_gptopts(AVFormatContext *s, int i, uint64_t gp, int64_t *dts)
#define AV_NOPTS_VALUE
Undefined timestamp value.
uint64_t(* gptopts)(AVFormatContext *, int, uint64_t, int64_t *dts)
Translate a granule into a timestamp.