| 176 | } |
| 177 | |
| 178 | STDMETHODIMP 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 |
| 186 | STDMETHODIMP CVideoRendererInputPin::ActivateD3D11Decoding(ID3D11Device *pDevice, ID3D11DeviceContext *pContext, HANDLE hMutex, UINT nFlags) |
nothing calls this directly
no outgoing calls
no test coverage detected