svvitch
digital signage player
|
キャプチャーコンテントクラス. More...
#include <CaptureContent.h>
Public Member Functions | |
CaptureContent (Renderer &renderer, int splitType) | |
コンストラクタ | |
‾CaptureContent () | |
デストラクタ | |
void | saveConfiguration () |
設定を保存します | |
void | initialize () |
初期化 | |
bool | open (const MediaItemPtr media, const int offset=0) |
ファイルをオープンします | |
void | play () |
再生 | |
void | stop () |
停止 | |
bool | useFastStop () |
再生終了時にすぐさま停止するかどうか | |
const bool | playing () const |
再生中かどうか | |
const bool | finished () |
終了したかどうか | |
void | close () |
クローズします | |
void | process (const DWORD &frame) |
描画以外の処理 | |
void | draw (const DWORD &frame) |
描画処理 | |
Private Attributes | |
Poco::FastMutex | _lock |
CaptureScenePtr | _scene |
float | _subtract |
int | _intervalDiff |
int | _intervalSmall |
LPD3DXEFFECT | _fx |
LPDIRECT3DTEXTURE9 | _small1 |
LPDIRECT3DTEXTURE9 | _small2 |
LPDIRECT3DTEXTURE9 | _diff |
LPDIRECT3DSURFACE9 | _diff2 |
LPDIRECT3DTEXTURE9 | _image |
int | _detectThreshold |
int | _diffCount |
bool | _detected |
int | _doShutter |
int | _viewPhoto |
bool | _finished |
bool | _playing |
PerformanceTimer | _playTimer |
DWORD | _statusFrame |
string | _status |
キャプチャーコンテントクラス.
CaptureScene からキャプチャー映像を取得し描画する Content クラスです。
Definition at line 24 of file CaptureContent.h.
CaptureContent::CaptureContent | ( | Renderer & | renderer, |
int | splitType | ||
) |
void CaptureContent::close | ( | ) | [virtual] |
クローズします
Reimplemented from Content.
Definition at line 132 of file CaptureContent.cpp.
void CaptureContent::draw | ( | const DWORD & | frame | ) | [virtual] |
描画処理
Reimplemented from Content.
Definition at line 187 of file CaptureContent.cpp.
const bool CaptureContent::finished | ( | ) | [virtual] |
void CaptureContent::initialize | ( | ) | [virtual] |
初期化
Reimplemented from Content.
Definition at line 46 of file CaptureContent.cpp.
bool CaptureContent::open | ( | const MediaItemPtr | media, |
const int | offset = 0 |
||
) | [virtual] |
ファイルをオープンします
cvcap-config.xmlをXMLConfigurationで読込み、設定値を設定します
subbg.fxを読込み背景差分のシェーダを生成します
必要なレンダーターゲットの生成を行います
Reimplemented from Content.
Definition at line 50 of file CaptureContent.cpp.
void CaptureContent::play | ( | ) | [virtual] |
再生
Reimplemented from Content.
Definition at line 111 of file CaptureContent.cpp.
const bool CaptureContent::playing | ( | ) | const [virtual] |
void CaptureContent::process | ( | const DWORD & | frame | ) | [virtual] |
描画以外の処理
Reimplemented from Content.
Definition at line 147 of file CaptureContent.cpp.
void CaptureContent::saveConfiguration | ( | ) |
設定を保存します
cvcap-config.xmlをXMLConfigurationで読込み、現在値を反映して保存します
Definition at line 25 of file CaptureContent.cpp.
void CaptureContent::stop | ( | ) | [virtual] |
停止
Reimplemented from Content.
Definition at line 116 of file CaptureContent.cpp.
bool CaptureContent::useFastStop | ( | ) | [virtual] |
CaptureContent::‾CaptureContent | ( | ) |
bool CaptureContent::_detected [private] |
Definition at line 44 of file CaptureContent.h.
int CaptureContent::_detectThreshold [private] |
Definition at line 41 of file CaptureContent.h.
LPDIRECT3DTEXTURE9 CaptureContent::_diff [private] |
Definition at line 38 of file CaptureContent.h.
LPDIRECT3DSURFACE9 CaptureContent::_diff2 [private] |
Definition at line 39 of file CaptureContent.h.
int CaptureContent::_diffCount [private] |
Definition at line 42 of file CaptureContent.h.
int CaptureContent::_doShutter [private] |
Definition at line 45 of file CaptureContent.h.
bool CaptureContent::_finished [private] |
Definition at line 48 of file CaptureContent.h.
LPD3DXEFFECT CaptureContent::_fx [private] |
Definition at line 35 of file CaptureContent.h.
LPDIRECT3DTEXTURE9 CaptureContent::_image [private] |
Definition at line 40 of file CaptureContent.h.
int CaptureContent::_intervalDiff [private] |
Definition at line 32 of file CaptureContent.h.
int CaptureContent::_intervalSmall [private] |
Definition at line 33 of file CaptureContent.h.
Poco::FastMutex CaptureContent::_lock [private] |
Definition at line 27 of file CaptureContent.h.
bool CaptureContent::_playing [private] |
Reimplemented from Content.
Definition at line 49 of file CaptureContent.h.
PerformanceTimer CaptureContent::_playTimer [private] |
Definition at line 50 of file CaptureContent.h.
CaptureScenePtr CaptureContent::_scene [private] |
Definition at line 29 of file CaptureContent.h.
LPDIRECT3DTEXTURE9 CaptureContent::_small1 [private] |
Definition at line 36 of file CaptureContent.h.
LPDIRECT3DTEXTURE9 CaptureContent::_small2 [private] |
Definition at line 37 of file CaptureContent.h.
string CaptureContent::_status [private] |
Definition at line 53 of file CaptureContent.h.
DWORD CaptureContent::_statusFrame [private] |
Definition at line 52 of file CaptureContent.h.
float CaptureContent::_subtract [private] |
Definition at line 31 of file CaptureContent.h.
int CaptureContent::_viewPhoto [private] |
Definition at line 46 of file CaptureContent.h.