svvitch
digital signage player
DSContent Class Reference

DirectShow動画再生コンテント. More...

#include <DSContent.h>

Inheritance diagram for DSContent:
Collaboration diagram for DSContent:

List of all members.

Public Member Functions

 DSContent (Renderer &renderer, int splitType)
virtual ‾DSContent ()
void initialize ()
 初期化
bool open (const MediaItemPtr media, const int offset=0)
 ファイルをオープンします
void play ()
 再生
void stop ()
 停止
const bool playing () const
 再生中かどうか
const bool finished ()
 終了したかどうか
void close ()
 ファイルをクローズします
void process (const DWORD &frame)
 1フレームに1度だけ処理される
void draw (const DWORD &frame)
 描画
int getPinCount (IBaseFilter *pFilter, PIN_DIRECTION PinDir)
bool getPin (IBaseFilter *pFilter, IPin **pPin, PIN_DIRECTION PinDir, int index=-1)
 フィルタの指定した方向の接続されていないピンを探して返します。
bool getInPin (IBaseFilter *pFilter, IPin **pPin, int index=-1)
bool getOutPin (IBaseFilter *pFilter, IPin **pPin, int index=-1)
int dumpFilter (IGraphBuilder *gb)
 グラフビルダのフィルタをダンプします。 (ビデオレンダラのような)ウィンドウフィルタがある場合は問題のある可能性があるので数を返します

Private Member Functions

void syncronizedPlay ()

Private Attributes

Poco::FastMutex _lock
IGraphBuilder * _gb
IBaseFilter * _vmr9
VideoTextureAllocatorPtr _allocator
DSVideoRendererPtr _vr
IMediaControl * _mc
IMediaSeeking * _ms
IMediaEvent * _me
bool _finished
ActiveMethod< void, void,
DSContent
activePlay

Detailed Description

DirectShow動画再生コンテント.

Definition at line 15 of file DSContent.h.


Constructor & Destructor Documentation

DSContent::DSContent ( Renderer renderer,
int  splitType 
)

Definition at line 5 of file DSContent.cpp.


Member Function Documentation

void DSContent::close ( ) [virtual]

ファイルをクローズします

Reimplemented from Content.

Definition at line 222 of file DSContent.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void DSContent::draw ( const DWORD &  frame) [virtual]

描画

Reimplemented from Content.

Definition at line 271 of file DSContent.cpp.

Here is the call graph for this function:

int DSContent::dumpFilter ( IGraphBuilder *  gb)

グラフビルダのフィルタをダンプします。 (ビデオレンダラのような)ウィンドウフィルタがある場合は問題のある可能性があるので数を返します

Definition at line 491 of file DSContent.cpp.

Here is the caller graph for this function:

const bool DSContent::finished ( ) [virtual]

終了したかどうか

Reimplemented from Content.

Definition at line 217 of file DSContent.cpp.

bool DSContent::getInPin ( IBaseFilter *  pFilter,
IPin **  pPin,
int  index = -1 
)

Definition at line 478 of file DSContent.cpp.

Here is the call graph for this function:

bool DSContent::getOutPin ( IBaseFilter *  pFilter,
IPin **  pPin,
int  index = -1 
)

Definition at line 483 of file DSContent.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool DSContent::getPin ( IBaseFilter *  pFilter,
IPin **  pPin,
PIN_DIRECTION  PinDir,
int  index = -1 
)

フィルタの指定した方向の接続されていないピンを探して返します。

Definition at line 450 of file DSContent.cpp.

Here is the caller graph for this function:

int DSContent::getPinCount ( IBaseFilter *  pFilter,
PIN_DIRECTION  PinDir 
)

Definition at line 432 of file DSContent.cpp.

void DSContent::initialize ( ) [virtual]

初期化

Reimplemented from Content.

Definition at line 15 of file DSContent.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

bool DSContent::open ( const MediaItemPtr  media,
const int  offset = 0 
) [virtual]

ファイルをオープンします

Reimplemented from Content.

Definition at line 20 of file DSContent.cpp.

Here is the call graph for this function:

Here is the caller graph for this function:

void DSContent::play ( ) [virtual]

再生

Reimplemented from Content.

Definition at line 189 of file DSContent.cpp.

const bool DSContent::playing ( ) const [virtual]

再生中かどうか

Reimplemented from Content.

Definition at line 213 of file DSContent.cpp.

void DSContent::process ( const DWORD &  frame) [virtual]

1フレームに1度だけ処理される

Reimplemented from Content.

Definition at line 234 of file DSContent.cpp.

Here is the call graph for this function:

void DSContent::stop ( ) [virtual]

停止

Reimplemented from Content.

Definition at line 203 of file DSContent.cpp.

Here is the caller graph for this function:

void DSContent::syncronizedPlay ( ) [private]

Definition at line 193 of file DSContent.cpp.

DSContent::‾DSContent ( ) [virtual]

Definition at line 11 of file DSContent.cpp.

Here is the call graph for this function:


Member Data Documentation

Definition at line 20 of file DSContent.h.

bool DSContent::_finished [private]

Definition at line 25 of file DSContent.h.

IGraphBuilder* DSContent::_gb [private]

Definition at line 18 of file DSContent.h.

Poco::FastMutex DSContent::_lock [private]

Definition at line 17 of file DSContent.h.

IMediaControl* DSContent::_mc [private]

Definition at line 22 of file DSContent.h.

IMediaEvent* DSContent::_me [private]

Definition at line 24 of file DSContent.h.

IMediaSeeking* DSContent::_ms [private]

Definition at line 23 of file DSContent.h.

IBaseFilter* DSContent::_vmr9 [private]

Definition at line 19 of file DSContent.h.

Definition at line 21 of file DSContent.h.

ActiveMethod<void, void, DSContent> DSContent::activePlay [private]

Definition at line 27 of file DSContent.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines