Main Page   Modules   Data Structures   Data Fields   Related Pages   Examples  

_vbi_dvb_demux Struct Reference


Data Fields

uint8_t pes_buffer [ALIGN(6+65536)]
uint8_t ts_buffer [ALIGN(TS_SYNC_SEARCH_LOOKAHEAD)]
vbi_sliced sliced [64]
struct wrap pes_wrap
struct wrap ts_wrap
struct frame frame
int64_t frame_pts
int64_t packet_pts
vbi_bool new_frame
vbi_bool ts_in_sync
const uint8_t* ts_frame_bp
unsigned int ts_frame_todo
uint8_t* ts_pes_bp
unsigned int ts_pes_todo
int ts_continuity
unsigned int ts_pid
demux_packet_fn* demux_packet
vbi_dvb_demux_cbcallback
void* user_data

Detailed Description

For internal use only.

Examples:

examples/rawout.c.


Field Documentation

uint8_t _vbi_dvb_demux::pes_buffer
 

PES wrap-around buffer. Must hold one PES packet, at most 6 + 65535 bytes (start_code[24], stream_id[8], PES_packet_length[16], max. PES_packet_length).

uint8_t _vbi_dvb_demux::ts_buffer
 

TS wrap-around buffer. Must hold one TS packet for sync_byte search (188 bytes), plus 9 bytes so we can safely examine the header of the contained PES packet.

vbi_sliced _vbi_dvb_demux::sliced
 

Output buffer for vbi_dvb_demux_demux().

struct wrap _vbi_dvb_demux::pes_wrap
 

Wrap-around state.

struct frame _vbi_dvb_demux::frame
 

Data unit demux state.

int64_t _vbi_dvb_demux::frame_pts
 

PTS of current frame.

int64_t _vbi_dvb_demux::packet_pts
 

PTS of current PES packet.

vbi_bool _vbi_dvb_demux::new_frame
 

A new frame commences in the current PES packet. We remember this for the next call and return, cannot reset immediately due to the coroutine design.

vbi_bool _vbi_dvb_demux::ts_in_sync
 

The TS demuxer synchonized in the last iteration. The next incomming byte should be a sync_byte.

const uint8_t * _vbi_dvb_demux::ts_frame_bp
 

Data units to be extracted from the pes_buffer.

uint8_t * _vbi_dvb_demux::ts_pes_bp
 

Payload to be copied from TS to pes_buffer.

int _vbi_dvb_demux::ts_continuity
 

Next expected transport_packet continuity_counter. Value may be greater than 15, so you must compare modulo 16. -1 if unknown.

unsigned int _vbi_dvb_demux::ts_pid
 

PID of VBI data to be filtered out of a TS.

demux_packet_fn * _vbi_dvb_demux::demux_packet
 

demux_pes_packet() or demux_ts_packet().

vbi_dvb_demux_cb * _vbi_dvb_demux::callback
 

For vbi_dvb_demux_demux().


Generated at Sun Sep 14 21:21:04 2008 for ZVBI Library by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001