os::MediaPacket_s Struct Reference
[The Syllable Media API]

Media Packet. More...

List of all members.

Public Attributes

uint32 nStream
 
Description:
Stream the packet belongs to.

uint64 nTimeStamp
 
Description:
Timestamp of the packet.

uint8 * pBuffer [4]
 
Description:
Buffer which contains the media data.

uint32 nSize [4]
 
Description:
Size of the buffers.

void * pPrivate
 
Description:
Private data allocated by the MediaInput class.


Detailed Description

Description:
The Media Packet structure describes one packet of media data. It is used for communication between the inputs/outputs and the codecs. A packet is for example created by calling the ReadPacket() method of the MediaInput class.
Author:
Arno Klenke


Member Data Documentation

uint32 os::MediaPacket_s::nStream

uint64 os::MediaPacket_s::nTimeStamp

uint8* os::MediaPacket_s::pBuffer[4]

Audio data will only use one buffer, but at least raw video data will probably need more.

uint32 os::MediaPacket_s::nSize[4]

For raw video data this will be the linesize.

void* os::MediaPacket_s::pPrivate


Generated on Sat May 9 22:49:21 2009 for Syllable Media API by  doxygen 1.5.1