#include <c4d_basebitmap.h>
The movie loader class is used to read movie streams.
Public Member Functions | |
IMAGERESULT | Open (const Filename &fn) |
void | Close () |
BaseBitmap * | Read (Int32 new_frame_idx=-1, Int32 *_result=nullptr) |
Int32 | GetInfo (Float *_fps) |
Private Member Functions | |
MovieLoader () | |
~MovieLoader () | |
void | InitData () |
void | FreeData () |
Private Attributes | |
BitmapLoaderPlugin * | plugin |
BitmapLoaderAnimatedData | plugin_data |
BaseBitmap * | bm |
Bool | is_movie |
Int32 | frame_cnt |
Float | fps |
Int32 | frame_idx |
IMAGERESULT | result |
Alloc/Free | |
static MovieLoader * | Alloc () |
static void | Free (MovieLoader *&ml) |
|
private |
|
private |
|
private |
|
private |
|
static |
|
static |
IMAGERESULT Open | ( | const Filename & | fn | ) |
Opens a movie file.
[in] | fn | The filename of the movie clip to open. |
void Close | ( | ) |
Close the loaded movie file.
BaseBitmap* Read | ( | Int32 | new_frame_idx = -1 , |
Int32 * | _result = nullptr |
||
) |
Reads a frame of the loaded movie clip.
[in] | new_frame_idx | The frame number of the frame to be read. |
[out] | _result | The result. Assigned one of these values: IMAGERESULT |
Gets information about the movie's frame count and frames per second.
[out] | _fps | Assigned the frames per second. |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |