ogg_stream Struct Reference

#include <oggdec.h>

Data Fields

uint8_tbuf
unsigned int bufsize
unsigned int bufpos
unsigned int pstart
unsigned int psize
unsigned int pflags
unsigned int pduration
uint32_t serial
uint64_t granule
uint64_t start_granule
int64_t lastpts
int64_t lastdts
int64_t sync_pos
 file offset of the first page needed to reconstruct the current packet
int64_t page_pos
 file offset of the current page
int flags
struct ogg_codeccodec
int header
int nsegs
int segp
uint8_t segments [255]
int incomplete
 whether we're expecting a continuation in the next page
int page_end
 current packet is the last one completed in the page
int keyframe_seek
int nb_header
 set to the number of parsed headers
voidprivate

Detailed Description

Definition at line 61 of file oggdec.h.

Field Documentation

unsigned int ogg_stream::bufpos

Definition at line 64 of file oggdec.h.

Referenced by ogg_new_buf(), ogg_packet(), ogg_read_page(), ogg_reset(), and ogg_save().

unsigned int ogg_stream::bufsize

Definition at line 63 of file oggdec.h.

Referenced by ogg_new_buf(), ogg_new_stream(), ogg_read_page(), and ogg_save().

struct ogg_codec* ogg_stream::codec
int ogg_stream::flags

Definition at line 76 of file oggdec.h.

Referenced by ogg_read_page(), opus_header(), opus_packet(), speex_packet(), and vorbis_packet().

uint64_t ogg_stream::granule
int ogg_stream::header

Definition at line 78 of file oggdec.h.

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

int ogg_stream::incomplete

whether we're expecting a continuation in the next page

Definition at line 81 of file oggdec.h.

Referenced by ogg_packet(), ogg_read_page(), and ogg_reset().

int ogg_stream::keyframe_seek

Definition at line 83 of file oggdec.h.

Referenced by ogg_read_packet(), ogg_read_seek(), and ogg_read_timestamp().

int64_t ogg_stream::lastdts

Definition at line 73 of file oggdec.h.

Referenced by ogg_calc_pts(), ogg_reset(), opus_packet(), speex_packet(), and vorbis_packet().

int64_t ogg_stream::lastpts
int ogg_stream::nb_header

set to the number of parsed headers

Definition at line 84 of file oggdec.h.

Referenced by ogg_get_headers(), and ogg_packet().

int ogg_stream::nsegs
int ogg_stream::page_end

current packet is the last one completed in the page

Definition at line 82 of file oggdec.h.

Referenced by ogg_calc_pts(), and ogg_packet().

int64_t ogg_stream::page_pos

file offset of the current page

Definition at line 75 of file oggdec.h.

Referenced by ogg_packet(), ogg_read_page(), and ogg_reset().

unsigned int ogg_stream::pduration
unsigned int ogg_stream::pflags
uint8_t ogg_stream::segments[255]

Definition at line 80 of file oggdec.h.

Referenced by ogg_packet(), ogg_page_packets(), ogg_read_page(), and vorbis_packet().

int ogg_stream::segp

Definition at line 79 of file oggdec.h.

Referenced by ogg_packet(), ogg_read_page(), ogg_reset(), speex_packet(), and vorbis_packet().

uint32_t ogg_stream::serial

Definition at line 69 of file oggdec.h.

Referenced by ogg_find_stream(), ogg_new_stream(), and ogg_read_page().

uint64_t ogg_stream::start_granule

Definition at line 71 of file oggdec.h.

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

int64_t ogg_stream::sync_pos

file offset of the first page needed to reconstruct the current packet

Definition at line 74 of file oggdec.h.

Referenced by ogg_packet(), ogg_read_page(), and ogg_reset().


The documentation for this struct was generated from the following file: