FFmpeg
Loading...
Searching...
No Matches
OGGStreamContext Struct Reference

#include <muxer.h>

Data Fields

unsigned page_counter
 
uint8_t * header [3]
 
int header_len [3]
 
const OGGMuxerMapping * mapping
 
void * priv_data
 state of the mapping
 
unsigned granule_shift
 Granule layout, set by the mapping.
 
int64_t granule_delta_mask
 
int64_t granule_key_mask
 bits all clear on keyframes, 0 when no granule marks one
 
int packet_granule_offset
 added to the end timestamp of a packet without packet_granule
 
int eos
 
unsigned page_count
 number of page buffered
 
OGGPage page
 current page
 
unsigned serial_num
 serial number
 
int64_t last_granule
 last packet granule
 
int packet_seen
 true when packets have been submitted
 

Detailed Description

Definition at line 45 of file muxer.h.

Field Documentation

◆ page_counter

unsigned OGGStreamContext::page_counter

Definition at line 46 of file muxer.h.

Referenced by ogg_write_page().

◆ header

◆ header_len

◆ mapping

const OGGMuxerMapping* OGGStreamContext::mapping

Definition at line 49 of file muxer.h.

Referenced by ogg_check_new_link(), ogg_init(), and ogg_write_packet_internal().

◆ priv_data

void* OGGStreamContext::priv_data

state of the mapping

Definition at line 50 of file muxer.h.

Referenced by ogg_cleanup_stream(), ogg_init(), theora_init(), and theora_packet_granule().

◆ granule_shift

unsigned OGGStreamContext::granule_shift

Granule layout, set by the mapping.

The timestamp of a granule is its high part, above granule_shift bits, plus its granule_delta_mask bits.

Definition at line 55 of file muxer.h.

Referenced by ogg_granule_to_timestamp(), theora_init(), theora_packet_granule(), and vp8_init().

◆ granule_delta_mask

int64_t OGGStreamContext::granule_delta_mask

Definition at line 56 of file muxer.h.

Referenced by ogg_granule_to_timestamp(), and theora_init().

◆ granule_key_mask

int64_t OGGStreamContext::granule_key_mask

bits all clear on keyframes, 0 when no granule marks one

Definition at line 57 of file muxer.h.

Referenced by ogg_key_granule(), theora_init(), and vp8_init().

◆ packet_granule_offset

int OGGStreamContext::packet_granule_offset

added to the end timestamp of a packet without packet_granule

Definition at line 58 of file muxer.h.

Referenced by ogg_write_packet_internal(), and opus_init().

◆ eos

int OGGStreamContext::eos

Definition at line 59 of file muxer.h.

◆ page_count

unsigned OGGStreamContext::page_count

number of page buffered

Definition at line 60 of file muxer.h.

Referenced by ogg_buffer_page(), ogg_write_page(), and ogg_write_pages().

◆ page

◆ serial_num

unsigned OGGStreamContext::serial_num

serial number

Definition at line 62 of file muxer.h.

Referenced by ogg_init(), ogg_serial_in_use(), and ogg_write_page().

◆ last_granule

int64_t OGGStreamContext::last_granule

last packet granule

Definition at line 63 of file muxer.h.

Referenced by ogg_buffer_data(), ogg_write_packet_internal(), and vp8_packet_granule().

◆ packet_seen

int OGGStreamContext::packet_seen

true when packets have been submitted

Definition at line 64 of file muxer.h.

Referenced by ogg_check_new_link(), and ogg_write_packet_internal().


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