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

Media Format. More...

List of all members.

Public Attributes

int nType
 
Description:
MEDIA_TYPE_* flags.

String zName
 
Description:
Internal codec name.

bool bVBR
 
Description:
Whether the stream has a variable bitrate

int nBitRate
 
Description:
Bit rate of this stream.

int nSampleResolution
 
Description:
Audio only : The resolution of one sample.

int nSampleRate
 
Description:
Audio only : The sample rate of the stream.

int nChannels
 
Description:
Audio only : Number of audio channels.

bool bVFR
 
Description:
Whether the stream has a variable framerate

double vFrameRate
 
Description:
Video only : Framerate

int nWidth
 
Description:
Video only : Width of the video picture.

int nHeight
 
Description:
Video only : Height of the video picture.

color_space eColorSpace
 
Description:
Video only : Colorspace of the video picture.

void * pPrivate
 
Description:
Private data for communication between the input and the codec


Detailed Description

Description:
The Media Format structure describes the format of one stream. It can be allocated by calling the GetStreamFormat() method of the MediaInput class.
Note:
If one of the members is 0 then this information does not matter.
Author:
Arno Klenke


Member Data Documentation

int os::MediaFormat_s::nType

String os::MediaFormat_s::zName

bool os::MediaFormat_s::bVBR

int os::MediaFormat_s::nBitRate

int os::MediaFormat_s::nSampleResolution

int os::MediaFormat_s::nSampleRate

int os::MediaFormat_s::nChannels

bool os::MediaFormat_s::bVFR

double os::MediaFormat_s::vFrameRate

int os::MediaFormat_s::nWidth

int os::MediaFormat_s::nHeight

color_space os::MediaFormat_s::eColorSpace

void* os::MediaFormat_s::pPrivate


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