Inheritance diagram for os::MediaInputStage:
Public Member Functions | |
MediaInputStage () | |
~MediaInputStage () | |
uint32 | GetPhysicalType () |
Physical type. | |
String | GetIdentifier () |
Identifier. | |
bool | IsStream () |
Stream. | |
uint32 | GetTrackCount () |
Number of tracks. | |
uint32 | SelectTrack (uint32 nTrack) |
Select one track. | |
String | GetTitle () |
Title of the file. | |
String | GetAuthor () |
Author of the file. | |
String | GetAlbum () |
Album. | |
String | GetComment () |
Comment. | |
uint64 | GetLength () |
Length of the file. | |
uint64 | GetCurrentPosition () |
Current position. | |
uint64 | Seek (uint64 nPosition) |
Seek. | |
uint32 | GetOutputCount () |
Number of outputs. | |
MediaFormat_s | GetOutputFormat (uint32 nOutput) |
Output format. | |
bool | HasInternalBuffer () |
Internal buffer. | |
int | NextPacketStream () |
Stream of the next available packet. | |
status_t | GetPacket (uint32 nOutput, MediaPacket_s *psPacket) |
Read one packet. | |
void | FreePacket (MediaPacket_s *psPacket) |
Frees one packet. | |
void | SetInput (MediaInput *pcInput) |
Assigns a media input object to the stage. | |
Static Public Member Functions | |
static MediaInputStage * | CreateStageForFile (String zFileName) |
Creates a stage object for a file. |
MediaInputStage::MediaInputStage | ( | ) |
MediaInputStage::~MediaInputStage | ( | ) |
uint32 MediaInputStage::GetPhysicalType | ( | ) | [virtual] |
String MediaInputStage::GetIdentifier | ( | ) | [virtual] |
bool MediaInputStage::IsStream | ( | ) |
uint32 MediaInputStage::GetTrackCount | ( | ) |
uint32 MediaInputStage::SelectTrack | ( | uint32 | nTrack | ) |
nTrack | - The track. |
String MediaInputStage::GetTitle | ( | ) |
String MediaInputStage::GetAuthor | ( | ) |
String MediaInputStage::GetAlbum | ( | ) |
String MediaInputStage::GetComment | ( | ) |
uint64 MediaInputStage::GetLength | ( | ) |
uint64 MediaInputStage::GetCurrentPosition | ( | ) |
uint64 MediaInputStage::Seek | ( | uint64 | nPosition | ) |
nPosition | - Position. |
uint32 MediaInputStage::GetOutputCount | ( | ) | [virtual] |
MediaFormat_s MediaInputStage::GetOutputFormat | ( | uint32 | nOutput | ) | [virtual] |
nOutput | - The output. |
Reimplemented from os::MediaStage.
bool MediaInputStage::HasInternalBuffer | ( | ) | [virtual] |
Reimplemented from os::MediaStage.
int MediaInputStage::NextPacketStream | ( | ) |
status_t MediaInputStage::GetPacket | ( | uint32 | nOutput, | |
MediaPacket_s * | psPacket | |||
) | [virtual] |
nOutput | - The output. | |
psPacket | - Pointer to a packet. |
Reimplemented from os::MediaStage.
void MediaInputStage::FreePacket | ( | MediaPacket_s * | psPacket | ) | [virtual] |
psPacket | - Pointer to a packet. |
Reimplemented from os::MediaStage.
void MediaInputStage::SetInput | ( | MediaInput * | pcInput | ) |
pcInput | - The object. |
MediaInputStage * MediaInputStage::CreateStageForFile | ( | String | zFileName | ) | [static] |
zFileName | - The filename. |