_AVbinPacket Struct Reference


Detailed Description

A single packet of stream data.

The structure size must be initialised before passing to avbin_read. The data will point to a block of memory allocated by AVbin -- you must not free it. The data will be valid until the next time you call avbin_read, or until the file is closed.


Data Fields

size_t structure_size
 Size of this structure, in bytes.
AVbinTimestamp timestamp
 The time at which this packet is to be played.
int stream_index
 The stream this packet contains data for.
uint8_t * data
size_t size


Field Documentation

size_t _AVbinPacket::structure_size

Size of this structure, in bytes.

This must be filled in by the application before passing to AVbin.

AVbinTimestamp _AVbinPacket::timestamp

The time at which this packet is to be played.

This can be used to synchronise audio and video data.

int _AVbinPacket::stream_index

The stream this packet contains data for.

uint8_t* _AVbinPacket::data

size_t _AVbinPacket::size


Generated on Thu Apr 17 23:51:44 2008 for AVbin by  doxygen 1.5.1