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

Method SetSurfaceType

Source/VideoRendererInputPin.cpp:178–183  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

176}
177
178STDMETHODIMP CVideoRendererInputPin::SetSurfaceType(DXVA2_SurfaceType dwType)
179{
180 m_bDXVA = (dwType == DXVA2_SurfaceType_DecoderRenderTarget);
181 DLogIf(m_bDXVA, L"CVideoRendererInputPin::SetSurfaceType() : set surface type for DXVA2 decoder");
182 return S_OK;
183}
184
185// ID3D11DecoderConfiguration
186STDMETHODIMP CVideoRendererInputPin::ActivateD3D11Decoding(ID3D11Device *pDevice, ID3D11DeviceContext *pContext, HANDLE hMutex, UINT nFlags)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected