svvitch
digital signage player
|
MediaFoundation動画再生コンテントクラス. More...
#include <MFContent.h>
Public Member Functions | |
MFContent (Renderer &renderer, int splitType) | |
virtual | ‾MFContent () |
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) |
描画 | |
Private Attributes | |
Poco::FastMutex | _lock |
bool | _finished |
IMFMediaSession * | _session |
MediaFoundation動画再生コンテントクラス.
Definition at line 16 of file MFContent.h.
MFContent::MFContent | ( | Renderer & | renderer, |
int | splitType | ||
) |
Definition at line 5 of file MFContent.cpp.
void MFContent::close | ( | ) | [virtual] |
ファイルをクローズします
Reimplemented from Content.
Definition at line 52 of file MFContent.cpp.
void MFContent::draw | ( | const DWORD & | frame | ) | [virtual] |
const bool MFContent::finished | ( | ) | [virtual] |
void MFContent::initialize | ( | ) | [virtual] |
初期化
Reimplemented from Content.
Definition at line 12 of file MFContent.cpp.
bool MFContent::open | ( | const MediaItemPtr | media, |
const int | offset = 0 |
||
) | [virtual] |
ファイルをオープンします
Reimplemented from Content.
Definition at line 19 of file MFContent.cpp.
void MFContent::play | ( | ) | [virtual] |
const bool MFContent::playing | ( | ) | const [virtual] |
void MFContent::process | ( | const DWORD & | frame | ) | [virtual] |
void MFContent::stop | ( | ) | [virtual] |
停止
Reimplemented from Content.
Definition at line 36 of file MFContent.cpp.
MFContent::‾MFContent | ( | ) | [virtual] |
bool MFContent::_finished [private] |
Definition at line 19 of file MFContent.h.
Poco::FastMutex MFContent::_lock [private] |
Definition at line 18 of file MFContent.h.
IMFMediaSession* MFContent::_session [private] |
Definition at line 20 of file MFContent.h.