#include <VideoPlayer.h>
Inheritance diagram for Impala::Visualization::VideoPlayer:
Public Types | |
typedef Impala::Core::Stream::RgbDataSrcFactory | RgbDataSrcFactory |
typedef Impala::Core::Stream::RgbDataSrc | RgbDataSrc |
typedef Impala::Core::Array::Array2dVec3UInt8 | Array2dVec3UInt8 |
typedef OglGui::Window | Window |
Public Member Functions | |
VideoPlayer (int x, int y, int w, int h, strconst videoFileName="", strconst videoType="lavc") | |
VideoPlayer (Window *parent, int w, int h, strconst videoFileName="", strconst videoType="lavc") | |
VideoPlayer (Window *parent, int x, int y, int w, int h, strconst videoFileName="", strconst videoType="lavc") | |
void | SetVideoPlayerListener (VideoPlayerListener *listener, void *userData) |
void | SetVideoPlayerListener (VideoPlayerListener *listener, int userData) |
void | OpenVideo (strconst videoFileName, strconst videoType, int lastFrame=-1, int partitionInto=1, int partitionIndex=0) |
void | OpenVideo (RgbDataSrc *video, int lastFrame=-1, int partitionInto=1, int partitionIndex=0) |
int | FrameNr () |
int | LastFrame () |
void | Play () |
void | Stop () |
void | Reset () |
void | FFwd () |
void | FBwd () |
void | Rewind () |
void | NextFrame (int inc=1) |
void | GotoFrame (int frameNr) |
bool | Playing () |
bool | FFwding () |
bool | FBwding () |
OGLVIEW * | OglView () |
bool | GetLoopVideo () |
void | SetLoopVideo (bool value) |
void | FitViewToWindow (bool mode) |
bool | FitViewToWindow () |
void | ScaleImageToView (bool mode) |
bool | ScaleImageToView () |
void | NormalSpeed (bool mode) |
void | OwnRgbDataSrc (bool mode) |
RgbDataSrc * | DataSrc () |
void | ShowFrameNr (bool mode) |
bool | ShowFrameNr () |
void | MoveToFrame (int frameNr) |
int | GetMoveToFrame () |
void | StopMoveToFrame () |
void | HandleMoveToFrame () |
virtual void | InitDisplayFunc () |
virtual void | DisplayFunc () |
virtual void | KeyboardFunc (int c, int state) |
int | LastFrameNr () |
Static Public Member Functions | |
static RgbDataSrc * | Construct (String videoName, strconst videoType) |
Protected Member Functions | |
OGLIMAGE * | OglImageReadFrame (RgbDataSrc *src) |
void | ReadFrameIntoOglImage (RgbDataSrc *src, OGLIMAGE *oglIm, int incr=1) |
Static Protected Member Functions | |
static void * | OglImdataFunc (OGLIMAGE *oglIm) |
static void | OglImdataDestroyFunc (OGLIMAGE *oglIm) |
Private Member Functions | |
void | Init (int w, int h, strconst videoFileName, strconst videoType) |
Private Attributes | |
VideoPlayerListener * | mListener |
void * | mListenerData |
RgbDataSrc * | mRgbDataSrc |
bool | mOwnRgbDataSrc |
OGLVIEW * | mOglView |
double | mLastTime |
bool | mNewFrame |
bool | mLoopVideo |
int | mIncrement |
int | mMoveToFrameTarget |
int | mImW |
int | mImH |
int | mPower2W |
int | mPower2H |
bool | mPlaying |
bool | mNormalSpeed |
bool | mFitViewToWindow |
bool | mScaleImageToView |
bool | mShowFrameNr |
int | mStartFrame |
int | mEndFrame |
Timer * | mTimer |
ILOG_VAR_DEC |
Definition at line 29 of file VideoPlayer.h.