|
svvitch
digital signage player
|
ビデオテクスチャアロケータクラス. More...
#include <VideoTextureAllocator.h>

Public Member Functions | |
| VideoTextureAllocator (Renderer &renderer) | |
| virtual | ‾VideoTextureAllocator () |
| LPDIRECT3DTEXTURE9 | getTexture () |
| テクスチャ取得 | |
| float | getDisplayAspectRatio () |
| virtual HRESULT STDMETHODCALLTYPE | InitializeDevice (DWORD_PTR userID, VMR9AllocationInfo *info, DWORD *buffers) |
| デバイスの初期化 | |
| virtual HRESULT STDMETHODCALLTYPE | TerminateDevice (DWORD_PTR userID) |
| デバイスの解放 | |
| virtual HRESULT STDMETHODCALLTYPE | GetSurface (DWORD_PTR userID, DWORD index, DWORD SurfaceFlags, LPDIRECT3DSURFACE9 *surface) |
| virtual HRESULT STDMETHODCALLTYPE | AdviseNotify (IVMRSurfaceAllocatorNotify9 *lpIVMRSurfAllocNotify) |
| virtual HRESULT STDMETHODCALLTYPE | StartPresenting (DWORD_PTR dwUserID) |
| ビデオの再生前 | |
| virtual HRESULT STDMETHODCALLTYPE | StopPresenting (DWORD_PTR dwUserID) |
| ビデオの停止直後 | |
| virtual HRESULT STDMETHODCALLTYPE | PresentImage (DWORD_PTR dwUserID, VMR9PresentationInfo *lpPresInfo) |
| HRESULT STDMETHODCALLTYPE | InitCompositionDevice (IUnknown *pD3DDevice) |
| HRESULT STDMETHODCALLTYPE | TermCompositionDevice (IUnknown *pD3DDevice) |
| HRESULT STDMETHODCALLTYPE | SetStreamMediaType (DWORD streamID, AM_MEDIA_TYPE *pmt, BOOL fTexture) |
| HRESULT STDMETHODCALLTYPE | CompositeImage (IUnknown *pD3DDevice, IDirect3DSurface9 *pddsRenderTarget, AM_MEDIA_TYPE *pmtRenderTarget, REFERENCE_TIME rtStart, REFERENCE_TIME rtEnd, D3DCOLOR dwClrBkGnd, VMR9VideoStreamInfo *pVideoStreamInfo, UINT cStreams) |
| HRESULT STDMETHODCALLTYPE | QueryInterface (REFIID riid, void **ppvObject) |
| ULONG STDMETHODCALLTYPE | AddRef () |
| ULONG STDMETHODCALLTYPE | Release () |
Private Attributes | |
| Poco::Logger & | _log |
| long | _refCount |
| Renderer & | _renderer |
| Poco::FastMutex | _lock |
| LPDIRECT3DTEXTURE9 | _texture |
| int | _w |
| int | _h |
| D3DFORMAT | _format |
| bool | _presenting |
| VideoTextureAllocator::VideoTextureAllocator | ( | Renderer & | renderer | ) |
Definition at line 5 of file VideoTextureAllocator.cpp.
| ULONG VideoTextureAllocator::AddRef | ( | ) |
Definition at line 299 of file VideoTextureAllocator.cpp.

| HRESULT VideoTextureAllocator::AdviseNotify | ( | IVMRSurfaceAllocatorNotify9 * | lpIVMRSurfAllocNotify | ) | [virtual] |
Definition at line 84 of file VideoTextureAllocator.cpp.


| HRESULT VideoTextureAllocator::CompositeImage | ( | IUnknown * | pD3DDevice, |
| IDirect3DSurface9 * | pddsRenderTarget, | ||
| AM_MEDIA_TYPE * | pmtRenderTarget, | ||
| REFERENCE_TIME | rtStart, | ||
| REFERENCE_TIME | rtEnd, | ||
| D3DCOLOR | dwClrBkGnd, | ||
| VMR9VideoStreamInfo * | pVideoStreamInfo, | ||
| UINT | cStreams | ||
| ) |
Definition at line 17 of file VideoTextureAllocator.cpp.

| HRESULT VideoTextureAllocator::GetSurface | ( | DWORD_PTR | userID, |
| DWORD | index, | ||
| DWORD | SurfaceFlags, | ||
| LPDIRECT3DSURFACE9 * | surface | ||
| ) | [virtual] |
Definition at line 56 of file VideoTextureAllocator.cpp.
| LPDIRECT3DTEXTURE9 VideoTextureAllocator::getTexture | ( | ) |
テクスチャ取得
Definition at line 13 of file VideoTextureAllocator.cpp.

| HRESULT VideoTextureAllocator::InitCompositionDevice | ( | IUnknown * | pD3DDevice | ) |
Definition at line 125 of file VideoTextureAllocator.cpp.
| HRESULT VideoTextureAllocator::InitializeDevice | ( | DWORD_PTR | userID, |
| VMR9AllocationInfo * | info, | ||
| DWORD * | buffers | ||
| ) | [virtual] |
デバイスの初期化
Definition at line 24 of file VideoTextureAllocator.cpp.

| HRESULT VideoTextureAllocator::PresentImage | ( | DWORD_PTR | dwUserID, |
| VMR9PresentationInfo * | lpPresInfo | ||
| ) | [virtual] |
Definition at line 112 of file VideoTextureAllocator.cpp.
| HRESULT VideoTextureAllocator::QueryInterface | ( | REFIID | riid, |
| void ** | ppvObject | ||
| ) |
| ULONG VideoTextureAllocator::Release | ( | ) |
Definition at line 303 of file VideoTextureAllocator.cpp.
| HRESULT VideoTextureAllocator::SetStreamMediaType | ( | DWORD | streamID, |
| AM_MEDIA_TYPE * | pmt, | ||
| BOOL | fTexture | ||
| ) |
| HRESULT VideoTextureAllocator::StartPresenting | ( | DWORD_PTR | dwUserID | ) | [virtual] |
ビデオの再生前
Definition at line 100 of file VideoTextureAllocator.cpp.
| HRESULT VideoTextureAllocator::StopPresenting | ( | DWORD_PTR | dwUserID | ) | [virtual] |
ビデオの停止直後
Definition at line 106 of file VideoTextureAllocator.cpp.
| HRESULT VideoTextureAllocator::TermCompositionDevice | ( | IUnknown * | pD3DDevice | ) |
Definition at line 130 of file VideoTextureAllocator.cpp.
| HRESULT VideoTextureAllocator::TerminateDevice | ( | DWORD_PTR | userID | ) | [virtual] |
デバイスの解放
Definition at line 49 of file VideoTextureAllocator.cpp.
| VideoTextureAllocator::‾VideoTextureAllocator | ( | ) | [virtual] |
Definition at line 10 of file VideoTextureAllocator.cpp.
D3DFORMAT VideoTextureAllocator::_format [private] |
Definition at line 25 of file VideoTextureAllocator.h.
int VideoTextureAllocator::_h [private] |
Definition at line 24 of file VideoTextureAllocator.h.
Poco::FastMutex VideoTextureAllocator::_lock [private] |
Definition at line 21 of file VideoTextureAllocator.h.
Poco::Logger& VideoTextureAllocator::_log [private] |
Definition at line 18 of file VideoTextureAllocator.h.
bool VideoTextureAllocator::_presenting [private] |
Definition at line 26 of file VideoTextureAllocator.h.
long VideoTextureAllocator::_refCount [private] |
Definition at line 19 of file VideoTextureAllocator.h.
Renderer& VideoTextureAllocator::_renderer [private] |
Definition at line 20 of file VideoTextureAllocator.h.
LPDIRECT3DTEXTURE9 VideoTextureAllocator::_texture [private] |
Definition at line 22 of file VideoTextureAllocator.h.
int VideoTextureAllocator::_w [private] |
Definition at line 23 of file VideoTextureAllocator.h.