|
| gcgVIDEOFILE () |
| Constructs a valid video file reader. The decodification actually starts with a call to openVideoFile(). More...
|
|
virtual | ~gcgVIDEOFILE () |
| Releases all video file resources by calling destroyVideo(). More...
|
|
virtual bool | destroyVideo () |
| Releases all resources of this video file object. More...
|
|
virtual bool | openVideoFile (const char *filename) |
| Opens the video file and makes it ready to be decoded. Initially points to the first frame in the video. More...
|
|
virtual long | getFrameCount () |
| Returns the total number of frames in the video file. More...
|
|
virtual long | getCurrentPosition () |
| Gets the current video position, i.e., the current frame number that can be read by a call to copyFrame(). If the last frame was read by a previous call to copyFrame(), it reports a warning (0x1E06A) and returns a negative value. Use setCurrentPosition() to get a valid position. More...
|
|
virtual bool | setCurrentPosition (long newposition) |
| Sets the current video position, i.e., points to the indicated frame number. More...
|
|
virtual bool | copyFrame (gcgIMAGE *dstimg) |
| Copies the current frame to a gcgIMAGE object. If successful, it automatically points to the next frame. If the last frame was already read, it reports a warning (0x1E06A) and returns false. Use setCurrentPosition() to read a valid frame. More...
|
|
| gcgVIDEO () |
| Constructs a valid but empty image. The image can be used as destiny image in any gcgIMAGE method or GCGlib function. More...
|
|
virtual | ~gcgVIDEO () |
| Releases all video resources by deleting the video handler. More...
|
|
void * | operator new (size_t size) |
| Defines a new operator to be used by instatiations of GCGlib classes instead the global one. More...
|
|
void * | operator new (size_t size, const std::nothrow_t &) throw () |
| Defines a new operator to be used by instantiations of GCGlib classes instead the global one. Returns a NULL pointer instead of throwing an exception if an error occurs. More...
|
|
void * | operator new[] (size_t size) |
| Defines a new operator to be used by GCGlib array allocations instead the global one. More...
|
|
void * | operator new[] (size_t size, const std::nothrow_t &) throw () |
| Defines a new operator to be used by vector allocations instead the global one. More...
|
|
void | operator delete (void *p) |
| Defines a delete operator to free instances of GCGlib classes instead the global one. It is designed to match the new operator. More...
|
|
void | operator delete (void *p, const std::nothrow_t &) throw () |
| Defines a delete operator to free instances of GCGlib classes instead the global one. It is designed to match the new operator. More...
|
|
void | operator delete[] (void *p) |
| Defines a delete operator to free instances of arrays for GCGlib classes instead the global one. It is designed to match the new[] operator. More...
|
|
void | operator delete[] (void *p, const std::nothrow_t &) throw () |
| Defines a delete operator to free instances of arrays for GCGlib classes instead the global one. It is designed to match the new[] operator. More...
|
|
Class for decode frames from a video file.
The gcgVIDEOFILE class is the main interface of GCGlib with video files. It uses platform specific objects and APIs. The frame decoding is assynchronous using frame indices. The video frames are provided by gcgIMAGE objects. Do not change any attributes unless you are absolutely sure about you are doing.
- Since
- 0.01.6