IDirectXVideoMemoryConfiguration
| 166 | |
| 167 | // IDirectXVideoMemoryConfiguration |
| 168 | STDMETHODIMP CVideoRendererInputPin::GetAvailableSurfaceTypeByIndex(DWORD dwTypeIndex, DXVA2_SurfaceType *pdwType) |
| 169 | { |
| 170 | if (dwTypeIndex == 0) { |
| 171 | *pdwType = DXVA2_SurfaceType_DecoderRenderTarget; |
| 172 | return S_OK; |
| 173 | } else { |
| 174 | return MF_E_NO_MORE_TYPES; |
| 175 | } |
| 176 | } |
| 177 | |
| 178 | STDMETHODIMP CVideoRendererInputPin::SetSurfaceType(DXVA2_SurfaceType dwType) |
| 179 | { |
nothing calls this directly
no outgoing calls
no test coverage detected