FFmpeg
Data Fields
ogg_stream Struct Reference

#include <oggdec.h>

Data Fields

uint8_t * buf
 
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...
 
int start_trimming
 set the number of packets to drop from the start More...
 
int end_trimming
 set the number of packets to drop from the end More...
 
uint8_t * new_metadata
 
size_t new_metadata_size
 
void * private
 

Detailed Description

Definition at line 60 of file oggdec.h.

Field Documentation

◆ buf

uint8_t* ogg_stream::buf

◆ bufsize

unsigned int ogg_stream::bufsize

Definition at line 62 of file oggdec.h.

Referenced by buf_realloc(), ogg_new_stream(), and ogg_save().

◆ bufpos

unsigned int ogg_stream::bufpos

Definition at line 63 of file oggdec.h.

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

◆ pstart

unsigned int ogg_stream::pstart

◆ psize

unsigned int ogg_stream::psize

◆ pflags

unsigned int ogg_stream::pflags

◆ pduration

unsigned int ogg_stream::pduration

◆ serial

uint32_t ogg_stream::serial

Definition at line 68 of file oggdec.h.

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

◆ granule

uint64_t ogg_stream::granule

◆ start_granule

uint64_t ogg_stream::start_granule

Definition at line 70 of file oggdec.h.

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

◆ lastpts

int64_t ogg_stream::lastpts

◆ lastdts

int64_t ogg_stream::lastdts

◆ sync_pos

int64_t ogg_stream::sync_pos

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

Definition at line 73 of file oggdec.h.

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

◆ page_pos

int64_t ogg_stream::page_pos

file offset of the current page

Definition at line 74 of file oggdec.h.

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

◆ flags

int ogg_stream::flags

◆ codec

const struct ogg_codec* ogg_stream::codec

◆ header

int ogg_stream::header

Definition at line 77 of file oggdec.h.

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

◆ nsegs

int ogg_stream::nsegs

◆ segp

int ogg_stream::segp

◆ segments

uint8_t ogg_stream::segments[255]

◆ incomplete

int ogg_stream::incomplete

whether we're expecting a continuation in the next page

Definition at line 80 of file oggdec.h.

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

◆ page_end

int ogg_stream::page_end

current packet is the last one completed in the page

Definition at line 81 of file oggdec.h.

Referenced by ogg_calc_pts(), and ogg_packet().

◆ keyframe_seek

int ogg_stream::keyframe_seek

Definition at line 82 of file oggdec.h.

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

◆ got_start

int ogg_stream::got_start

Definition at line 83 of file oggdec.h.

Referenced by ogg_get_length().

◆ got_data

int ogg_stream::got_data

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

Definition at line 84 of file oggdec.h.

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

◆ nb_header

int ogg_stream::nb_header

set to the number of parsed headers

Definition at line 85 of file oggdec.h.

Referenced by ogg_packet(), and ogg_read_header().

◆ start_trimming

int ogg_stream::start_trimming

set the number of packets to drop from the start

Definition at line 86 of file oggdec.h.

Referenced by ogg_read_packet(), ogg_replace_stream(), ogg_reset(), and opus_header().

◆ end_trimming

int ogg_stream::end_trimming

set the number of packets to drop from the end

Definition at line 87 of file oggdec.h.

Referenced by ogg_read_packet(), ogg_replace_stream(), ogg_reset(), opus_packet(), and vorbis_packet().

◆ new_metadata

uint8_t* ogg_stream::new_metadata

◆ new_metadata_size

size_t ogg_stream::new_metadata_size

Definition at line 89 of file oggdec.h.

Referenced by ogg_read_packet(), ogg_reset(), ogg_save(), and vorbis_update_metadata().

◆ private

void* ogg_stream::private

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