MCPcopy Create free account
hub / github.com/Aleksoid1978/VideoRenderer / Init

Method Init

Source/DX9VideoProcessor.cpp:663–678  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

661}
662
663HRESULT CDX9VideoProcessor::Init(const HWND hwnd, const bool displayHdrChanged, bool* pChangeDevice/* = nullptr*/)
664{
665 CheckPointer(m_pD3DEx, E_FAIL);
666
667 m_hWnd = hwnd;
668
669 m_bChangeDeviceThread = false;
670 m_evInit.Set();
671 WaitForSingleObject(m_evThreadFinishJob, INFINITE);
672
673 if (pChangeDevice) {
674 *pChangeDevice = m_bChangeDeviceThread;
675 }
676
677 return m_hrThread;
678}
679
680bool CDX9VideoProcessor::Initialized()
681{

Callers 1

ConfigureMethod · 0.45

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected