iStreamFormat Struct Reference
Stream format. More...
#include <codec.h>
Inheritance diagram for iStreamFormat:

Public Methods | |
virtual void | GetCaps (csStreamFormatCap &caps)=0 |
Retrieve the decoder capabilities. | |
virtual iStreamIterator * | GetStreamIterator ()=0 |
Get an iterator to enumerate the streams. | |
virtual void | Select (iAudioStream *pAudio, iVideoStream *pVideo)=0 |
Choose a video and audio stream to be played when calling NextFrame. | |
virtual void | NextFrame ()=0 |
Call this in your main loop between BeginDraw and EndDraw. | |
virtual bool | Load (iFile *pVideoData)=0 |
Load the videodata from the following source. | |
virtual void | Unload ()=0 |
Unload this video. |
Detailed Description
Stream format.
Definition at line 138 of file codec.h.
Member Function Documentation
|
Retrieve the decoder capabilities.
|
|
Get an iterator to enumerate the streams.
|
|
Load the videodata from the following source.
|
|
Call this in your main loop between BeginDraw and EndDraw. This will decode the next frame from the video and draw it to the rectangle set in SetRect (). This is an convenience function only. You achieve the same results by calling this explicitly for the streams to play. |
|
Choose a video and audio stream to be played when calling NextFrame.
|
|
Unload this video. All streams become invalid. This is automatically called by Load (). Prior to the final DecRef of this plugin you have to call this yourself. |
The documentation for this struct was generated from the following file:
- ivideo/codec.h
Generated for Crystal Space by doxygen 1.2.18