This documentation is automatically generated from the openFrameworks source code using doxygen and refers to the most recent release, version 0.12.0.
DirectShowVideo Class Reference
Inheritance diagram for DirectShowVideo:

Public Member Functions | |
DirectShowVideo () | |
~DirectShowVideo () | |
void | tearDown () |
void | clearValues () |
STDMETHODIMP_ (ULONG) AddRef() | |
STDMETHODIMP_ (ULONG) Release() | |
STDMETHODIMP | QueryInterface (REFIID riid, void **ppvObject) |
STDMETHODIMP | SampleCB (double Time, IMediaSample *pSample) |
STDMETHODIMP | BufferCB (double Time, BYTE *pBuffer, long BufferLen) |
bool | loadMovie (of::filesystem::path path, ofPixelFormat format) |
void | update () |
bool | isLoaded () |
void | setVolume (float volPct) |
float | getVolume () |
double | getDurationInSeconds () |
double | getCurrentTimeInSeconds () |
void | setPosition (float pct) |
float | getPosition () |
void | setSpeed (float speed) |
double | getSpeed () |
bool | needsRBSwap (ofPixelFormat srcFormat, ofPixelFormat dstFormat) |
void | processPixels (ofPixels &src, ofPixels &dst) |
void | play () |
void | stop () |
void | setPaused (bool bPaused) |
void | updatePlayState () |
bool | isPlaying () |
bool | isPaused () |
bool | isLooping () |
void | setLoop (bool loop) |
bool | isMovieDone () |
float | getWidth () |
float | getHeight () |
bool | isFrameNew () |
void | nextFrame () |
void | preFrame () |
void | setAproximateFrameF (float frameF) |
void | setAproximateFrame (int frame) |
int | getCurrentFrameNo () |
int | getAproximateNoFrames () |
ofPixels & | getPixels () |
Protected Attributes | |
HRESULT | hr |
IGraphBuilder * | m_pGraph |
IMediaControl * | m_pControl |
IMediaEvent * | m_pEvent |
IMediaSeeking * | m_pSeek |
IMediaPosition * | m_pPosition |
IBasicAudio * | m_pAudio |
ISampleGrabber * | m_pGrabber |
IBaseFilter * | m_pSourceFile |
IBaseFilter * | m_pGrabberF |
IBasicVideo * | m_pBasicVideo |
IBaseFilter * | m_pNullRenderer |
REFERENCE_TIME | timeNow |
LONGLONG | lPositionInSecs |
LONGLONG | lDurationInNanoSecs |
LONGLONG | lTotalDuration |
REFERENCE_TIME | rtNew |
long | lPosition |
long | lvolume |
long | evCode |
long | width |
long | height |
double | averageTimePerFrame |
bool | bFrameNew |
bool | bNewPixels |
bool | bVideoOpened |
bool | bPlaying |
bool | bPaused |
bool | bLoop |
bool | bEndReached |
double | movieRate |
int | curMovieFrame |
int | frameCount |
CRITICAL_SECTION | critSection |
std::unique_ptr< IMediaSample, std::function< void(IMediaSample *)> > | backSample |
std::unique_ptr< IMediaSample, std::function< void(IMediaSample *)> > | middleSample |
ofPixels | pixels |
ofPixelFormat | pixelFormat |
Constructor & Destructor Documentation
◆ DirectShowVideo()
|
inline |
◆ ~DirectShowVideo()
|
inline |
Member Function Documentation
◆ BufferCB()
|
inline |
◆ clearValues()
|
inline |
◆ getAproximateNoFrames()
|
inline |
◆ getCurrentFrameNo()
|
inline |
◆ getCurrentTimeInSeconds()
|
inline |
◆ getDurationInSeconds()
|
inline |
◆ getHeight()
|
inline |
◆ getPixels()
|
inline |
◆ getPosition()
|
inline |
◆ getSpeed()
|
inline |
◆ getVolume()
|
inline |
◆ getWidth()
|
inline |
◆ isFrameNew()
|
inline |
◆ isLoaded()
|
inline |
◆ isLooping()
|
inline |
◆ isMovieDone()
|
inline |
◆ isPaused()
|
inline |
◆ isPlaying()
|
inline |
◆ loadMovie()
|
inline |
◆ needsRBSwap()
|
inline |
◆ nextFrame()
|
inline |
◆ play()
|
inline |
◆ preFrame()
|
inline |
◆ processPixels()
◆ QueryInterface()
|
inline |
◆ SampleCB()
|
inline |
◆ setAproximateFrame()
|
inline |
◆ setAproximateFrameF()
|
inline |
◆ setLoop()
|
inline |
◆ setPaused()
|
inline |
◆ setPosition()
|
inline |
◆ setSpeed()
|
inline |
◆ setVolume()
|
inline |
◆ STDMETHODIMP_() [1/2]
|
inline |
◆ STDMETHODIMP_() [2/2]
|
inline |
◆ stop()
|
inline |
◆ tearDown()
|
inline |
◆ update()
|
inline |
◆ updatePlayState()
|
inline |
Member Data Documentation
◆ averageTimePerFrame
|
protected |
◆ backSample
|
protected |
◆ bEndReached
|
protected |
◆ bFrameNew
|
protected |
◆ bLoop
|
protected |
◆ bNewPixels
|
protected |
◆ bPaused
|
protected |
◆ bPlaying
|
protected |
◆ bVideoOpened
|
protected |
◆ critSection
|
protected |
◆ curMovieFrame
|
protected |
◆ evCode
|
protected |
◆ frameCount
|
protected |
◆ height
|
protected |
◆ hr
|
protected |
◆ lDurationInNanoSecs
|
protected |
◆ lPosition
|
protected |
◆ lPositionInSecs
|
protected |
◆ lTotalDuration
|
protected |
◆ lvolume
|
protected |
◆ m_pAudio
|
protected |
◆ m_pBasicVideo
|
protected |
◆ m_pControl
|
protected |
◆ m_pEvent
|
protected |
◆ m_pGrabber
|
protected |
◆ m_pGrabberF
|
protected |
◆ m_pGraph
|
protected |
◆ m_pNullRenderer
|
protected |
◆ m_pPosition
|
protected |
◆ m_pSeek
|
protected |
◆ m_pSourceFile
|
protected |
◆ middleSample
|
protected |
◆ movieRate
|
protected |
◆ pixelFormat
|
protected |
◆ pixels
|
protected |
◆ rtNew
|
protected |
◆ timeNow
|
protected |
◆ width
|
protected |
The documentation for this class was generated from the following file:
- /Users/icq4ever/Desktop/oF0120/libs/openFrameworks/video/ofDirectShowPlayer.cpp