AVbin  Version 10
Cross-platform audio/video media decoding library with long-term ABI support.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Fields
_AVbinPacket Struct Reference

#include <avbin.h>

Data Fields

size_t structure_size
 
AVbinTimestamp timestamp
 
uint32_t stream_index
 
uint8_t * data
 
size_t size
 

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.

Definition at line 358 of file avbin.h.

Field Documentation

uint8_t* data

Definition at line 376 of file avbin.h.

size_t size

Definition at line 377 of file avbin.h.

uint32_t stream_index

The stream this packet contains data for.

Definition at line 374 of file avbin.h.

size_t structure_size

Size of this structure, in bytes. This must be filled in by the application before passing to AVbin.

Definition at line 363 of file avbin.h.

AVbinTimestamp timestamp

The time at which this packet is to be played. This can be used to synchronise audio and video data.

Definition at line 369 of file avbin.h.


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