#include <VideoPlayer.h>
Inherits VideoStreamInterface.
Inherited by BinkVideoStream.
Public Member Functions | |
| virtual VideoStreamInterface * | next (void) |
| Returns next open stream. | |
| virtual void | update (void) |
| Update stream. | |
| virtual void | close (void) |
| Close and free stream. | |
| virtual Bool | isFrameReady (void) |
| Is the frame ready to be displayed. | |
| virtual void | frameDecompress (void) |
| Render current frame in to buffer. | |
| virtual void | frameRender (VideoBuffer *buffer) |
| Render current frame in to buffer. | |
| virtual void | frameNext (void) |
| Advance to next frame. | |
| virtual Int | frameIndex (void) |
| Returns zero based index of current frame. | |
| virtual Int | frameCount (void) |
| Returns the total number of frames in the stream. | |
| virtual void | frameGoto (Int index) |
| Go to the spcified frame index. | |
| virtual Int | height (void) |
| Return the height of the video. | |
| virtual Int | width (void) |
| Return the width of the video. | |
Protected Member Functions | |
| VideoStream () | |
| only VideoPlayer can create these | |
| virtual | ~VideoStream () |
Protected Member Functions inherited from VideoStreamInterface | |
| virtual | ~VideoStreamInterface () |
Protected Attributes | |
| VideoPlayer * | m_player |
| Video player we were created with. | |
| VideoStream * | m_next |
| Next open stream. | |
Friends | |
| class | VideoPlayer |
Definition at line 186 of file VideoPlayer.h.
|
protected |
only VideoPlayer can create these
Definition at line 376 of file VideoPlayer.cpp.
|
protectedvirtual |
Definition at line 387 of file VideoPlayer.cpp.
|
virtual |
Close and free stream.
Implements VideoStreamInterface.
Definition at line 419 of file VideoPlayer.cpp.
|
virtual |
Returns the total number of frames in the stream.
Implements VideoStreamInterface.
Reimplemented in BinkVideoStream.
Definition at line 473 of file VideoPlayer.cpp.
|
virtual |
Render current frame in to buffer.
Implements VideoStreamInterface.
Reimplemented in BinkVideoStream.
Definition at line 437 of file VideoPlayer.cpp.
|
virtual |
Go to the spcified frame index.
Implements VideoStreamInterface.
Reimplemented in BinkVideoStream.
Definition at line 482 of file VideoPlayer.cpp.
|
virtual |
Returns zero based index of current frame.
Implements VideoStreamInterface.
Reimplemented in BinkVideoStream.
Definition at line 464 of file VideoPlayer.cpp.
|
virtual |
Advance to next frame.
Implements VideoStreamInterface.
Reimplemented in BinkVideoStream.
Definition at line 455 of file VideoPlayer.cpp.
|
virtual |
Render current frame in to buffer.
Implements VideoStreamInterface.
Reimplemented in BinkVideoStream.
Definition at line 446 of file VideoPlayer.cpp.
|
virtual |
Return the height of the video.
Implements VideoStreamInterface.
Reimplemented in BinkVideoStream.
Definition at line 491 of file VideoPlayer.cpp.
|
virtual |
Is the frame ready to be displayed.
Implements VideoStreamInterface.
Reimplemented in BinkVideoStream.
Definition at line 428 of file VideoPlayer.cpp.
|
virtual |
Returns next open stream.
Implements VideoStreamInterface.
Definition at line 402 of file VideoPlayer.cpp.
|
virtual |
Update stream.
Implements VideoStreamInterface.
Reimplemented in BinkVideoStream.
Definition at line 411 of file VideoPlayer.cpp.
|
virtual |
Return the width of the video.
Implements VideoStreamInterface.
Reimplemented in BinkVideoStream.
Definition at line 500 of file VideoPlayer.cpp.
|
friend |
Definition at line 188 of file VideoPlayer.h.
|
protected |
Next open stream.
Definition at line 193 of file VideoPlayer.h.
|
protected |
Video player we were created with.
Definition at line 192 of file VideoPlayer.h.