Public Member Functions | |
MediaOutput () | |
virtual String | GetIdentifier () |
Identifier. | |
virtual uint32 | GetPhysicalType () |
Physical type. | |
virtual View * | GetConfigurationView () |
Configuration view. | |
virtual bool | FileNameRequired () |
Filename required. | |
virtual status_t | Open (String zFileName) |
Open output. | |
virtual void | Close () |
Close the output. | |
virtual void | Clear () |
Clear the output. | |
virtual uint32 | GetOutputFormatCount () |
Format Count. | |
virtual MediaFormat_s | GetOutputFormat (uint32 nIndex) |
Return one supported format. | |
virtual uint32 | GetSupportedStreamCount () |
Supported stream count. | |
virtual status_t | AddStream (String zName, MediaFormat_s sFormat) |
Add one stream. | |
virtual View * | GetVideoView (uint32 nStream) |
Return a view with the video. | |
virtual void | UpdateView (uint32 nStream) |
Update video view. | |
virtual status_t | WritePacket (uint32 nStream, MediaPacket_s *psPacket) |
Write media data. | |
virtual uint64 | GetDelay (bool bNonSharedOnly=false) |
Delay. | |
virtual uint64 | GetBufferSize (bool bNonSharedOnly=false) |
Returns the size of the buffer. | |
Protected Member Functions | |
virtual | ~MediaOutput () |
MediaOutput::~MediaOutput | ( | ) | [protected, virtual] |
MediaOutput::MediaOutput | ( | ) |
String MediaOutput::GetIdentifier | ( | ) | [virtual] |
uint32 MediaOutput::GetPhysicalType | ( | ) | [virtual] |
View * MediaOutput::GetConfigurationView | ( | ) | [virtual] |
bool MediaOutput::FileNameRequired | ( | ) | [virtual] |
status_t MediaOutput::Open | ( | String | zFileName | ) | [virtual] |
zFileName | - Filename or identifier of the output if FileNameRequired() returns true. |
void MediaOutput::Close | ( | ) | [virtual] |
void MediaOutput::Clear | ( | ) | [virtual] |
uint32 MediaOutput::GetOutputFormatCount | ( | ) | [virtual] |
MediaFormat_s MediaOutput::GetOutputFormat | ( | uint32 | nIndex | ) | [virtual] |
nIndex | - Index of the format. |
uint32 MediaOutput::GetSupportedStreamCount | ( | ) | [virtual] |
status_t MediaOutput::AddStream | ( | String | zName, | |
MediaFormat_s | sFormat | |||
) | [virtual] |
zName | - Name of the stream. | |
sFormat | - Requested format. |
View * MediaOutput::GetVideoView | ( | uint32 | nStream | ) | [virtual] |
nStream | - Stream index. |
void MediaOutput::UpdateView | ( | uint32 | nStream | ) | [virtual] |
nStream | - Stream index. |
status_t MediaOutput::WritePacket | ( | uint32 | nStream, | |
MediaPacket_s * | psPacket | |||
) | [virtual] |
nStream | - Stream index. | |
psPacket | - Media packet with the data. |
uint64 MediaOutput::GetDelay | ( | bool | bNonSharedOnly = false |
) | [virtual] |
bNonSharedOnly | - If the output has shared and non-shared buffers then true will return the delay of the non-shared buffer only. Otherwise the complete delay will be returned. |
uint64 MediaOutput::GetBufferSize | ( | bool | bNonSharedOnly = false |
) | [virtual] |
bNonSharedOnly | - If the output has shared and non-shared buffers then true will return the buffer size of the non-shared buffer only. Otherwise the complete buffer size will be returned. |