svvitch
digital signage player
|
DirectShow動画再生コンテント. More...
#include <DSContent.h>
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 |
DirectShow動画再生コンテント.
Definition at line 15 of file DSContent.h.
DSContent::DSContent | ( | Renderer & | renderer, |
int | splitType | ||
) |
Definition at line 5 of file DSContent.cpp.
void DSContent::close | ( | ) | [virtual] |
ファイルをクローズします
Reimplemented from Content.
Definition at line 222 of file DSContent.cpp.
void DSContent::draw | ( | const DWORD & | frame | ) | [virtual] |
描画
Reimplemented from Content.
Definition at line 271 of file DSContent.cpp.
int DSContent::dumpFilter | ( | IGraphBuilder * | gb | ) |
グラフビルダのフィルタをダンプします。 (ビデオレンダラのような)ウィンドウフィルタがある場合は問題のある可能性があるので数を返します
Definition at line 491 of file DSContent.cpp.
const bool DSContent::finished | ( | ) | [virtual] |
bool DSContent::getInPin | ( | IBaseFilter * | pFilter, |
IPin ** | pPin, | ||
int | index = -1 |
||
) |
bool DSContent::getOutPin | ( | IBaseFilter * | pFilter, |
IPin ** | pPin, | ||
int | index = -1 |
||
) |
Definition at line 483 of file DSContent.cpp.
bool DSContent::getPin | ( | IBaseFilter * | pFilter, |
IPin ** | pPin, | ||
PIN_DIRECTION | PinDir, | ||
int | index = -1 |
||
) |
フィルタの指定した方向の接続されていないピンを探して返します。
Definition at line 450 of file DSContent.cpp.
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.
bool DSContent::open | ( | const MediaItemPtr | media, |
const int | offset = 0 |
||
) | [virtual] |
ファイルをオープンします
Reimplemented from Content.
Definition at line 20 of file DSContent.cpp.
void DSContent::play | ( | ) | [virtual] |
const bool DSContent::playing | ( | ) | const [virtual] |
void DSContent::process | ( | const DWORD & | frame | ) | [virtual] |
1フレームに1度だけ処理される
Reimplemented from Content.
Definition at line 234 of file DSContent.cpp.
void DSContent::stop | ( | ) | [virtual] |
停止
Reimplemented from Content.
Definition at line 203 of file DSContent.cpp.
void DSContent::syncronizedPlay | ( | ) | [private] |
Definition at line 193 of file DSContent.cpp.
DSContent::‾DSContent | ( | ) | [virtual] |
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.
DSVideoRendererPtr DSContent::_vr [private] |
Definition at line 21 of file DSContent.h.
ActiveMethod<void, void, DSContent> DSContent::activePlay [private] |
Definition at line 27 of file DSContent.h.