Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

Impala::Visualization::VideoPlayer Class Reference

#include <VideoPlayer.h>

Inheritance diagram for Impala::Visualization::VideoPlayer:

Inheritance graph
[legend]
Collaboration diagram for Impala::Visualization::VideoPlayer:

Collaboration graph
[legend]
List of all members.

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)
RgbDataSrcDataSrc ()
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 RgbDataSrcConstruct (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

VideoPlayerListenermListener
void * mListenerData
RgbDataSrcmRgbDataSrc
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
TimermTimer
 ILOG_VAR_DEC

Detailed Description

Definition at line 29 of file VideoPlayer.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 19 11:50:09 2010 for ImpalaSrc by  doxygen 1.5.1