Mercurial > games > semicongine
comparison fuhtark_test/include/winapi/msptrmvc.h @ 1500:91c8c3b7cbf0
add: futhark tests for generating vulkan api
| author | sam <sam@basx.dev> |
|---|---|
| date | Wed, 26 Nov 2025 21:36:48 +0700 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 1499:1f58458b7ef7 | 1500:91c8c3b7cbf0 |
|---|---|
| 1 #ifndef _MSPTRMVC_H_ | |
| 2 #define _MSPTRMVC_H_ | |
| 3 | |
| 4 class CVideoCaptureTerminal : public CSingleFilterStaticTerminal { | |
| 5 public: | |
| 6 CVideoCaptureTerminal(); | |
| 7 virtual ~CVideoCaptureTerminal(); | |
| 8 public: | |
| 9 static HRESULT CreateTerminal(CComPtr<IMoniker> pMoniker,MSP_HANDLE htAddress,ITTerminal **ppTerm); | |
| 10 DECLARE_LOG_ADDREF_RELEASE(CVideoCaptureTerminal); | |
| 11 private: | |
| 12 virtual HRESULT AddFiltersToGraph(); | |
| 13 virtual LONG CountOfMediaTypes() { return 1; } | |
| 14 virtual DWORD GetSupportedMediaTypes(void) { return (DWORD) TAPIMEDIATYPE_VIDEO; } | |
| 15 HRESULT CreateFilters(); | |
| 16 HRESULT FindCapturePin(); | |
| 17 }; | |
| 18 | |
| 19 inline CVideoCaptureTerminal::CVideoCaptureTerminal() { | |
| 20 m_TerminalDirection = TD_CAPTURE; | |
| 21 m_TerminalType = TT_STATIC; | |
| 22 } | |
| 23 | |
| 24 #endif |
