Public Methods | |
CMotion2DVideo_Mpeg2 () | |
~CMotion2DVideo_Mpeg2 () | |
int | getWidth () |
int | getHeight () |
int | getChannels () |
int | openStream (const char *filename) |
int | initStream (int i=0) |
int | closeStream () |
int | getFrame (unsigned char **bitmap) |
unsigned long | getFrameNumber () |
int | skipFrame () |
void | free () |
|
Mpeg2 decoder constructor. |
|
Mpeg2 decoder destructor. |
|
Close an Mpeg2 video stream. |
|
Free allocated memory for the decoder. |
|
Return the number of channels of the images; one channel for grey level images, and tree channels for color images. |
|
Get a decoded frame from the Mpeg2 video stream.
|
|
Get the current frame number in the Mpeg2 video stream. |
|
Return the decoded image height. |
|
Return the decoded image width. |
|
Initialize the Mpeg2 video decoder. |
|
Open an Mpeg2 video stream.
|
|
Skip the next frame in the Mpeg2 video stream. |