ogg_stream Struct Reference

#include <oggdec.h>

Collaboration diagram for ogg_stream:
Collaboration graph

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 More...
 
int64_t page_pos
 file offset of the current page More...
 
int flags
 
const 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 More...
 
int page_end
 current packet is the last one completed in the page More...
 
int keyframe_seek
 
int got_start
 
int got_data
 1 if the stream got some data (non-initial packets), 0 otherwise More...
 
int nb_header
 set to the number of parsed headers More...
 
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(), ogg_replace_stream(), and ogg_save().

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

1 if the stream got some data (non-initial packets), 0 otherwise

Definition at line 85 of file oggdec.h.

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

int ogg_stream::got_start

Definition at line 84 of file oggdec.h.

Referenced by ogg_get_length().

int ogg_stream::header

Definition at line 78 of file oggdec.h.

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

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
int64_t ogg_stream::lastpts
int ogg_stream::nb_header

set to the number of parsed headers

Definition at line 86 of file oggdec.h.

Referenced by ogg_packet(), and ogg_read_header().

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
uint8_t ogg_stream::segments[255]
int ogg_stream::segp
uint32_t ogg_stream::serial

Definition at line 69 of file oggdec.h.

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

uint64_t ogg_stream::start_granule

Definition at line 71 of file oggdec.h.

Referenced by ogg_new_stream(), ogg_read_header(), 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: