FFmpeg
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
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 got_start
 
int got_data
 1 if the stream got some data (non-initial packets), 0 otherwise
 
int nb_header
 set to the number of parsed headers
 
voidprivate
 

Detailed Description

Definition at line 61 of file oggdec.h.

Field Documentation

uint8_t* ogg_stream::buf
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().

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::pstart
unsigned int ogg_stream::psize
unsigned int ogg_stream::pflags
unsigned int ogg_stream::pduration
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::granule
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::lastpts
int64_t ogg_stream::lastdts
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().

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().

int ogg_stream::flags
struct ogg_codec* ogg_stream::codec
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::nsegs
int ogg_stream::segp
uint8_t ogg_stream::segments[255]

Definition at line 80 of file oggdec.h.

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

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::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().

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().

int ogg_stream::got_start

Definition at line 84 of file oggdec.h.

Referenced by ogg_get_length().

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::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().

void* ogg_stream::private

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