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

Method SetRectangles

Source/D3D11VP.cpp:522–530  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

520}
521
522HRESULT CD3D11VP::SetRectangles(const RECT* pSrcRect, const RECT* pDstRect)
523{
524 CheckPointer(m_pVideoContext, E_ABORT);
525
526 m_pVideoContext->VideoProcessorSetStreamSourceRect(m_pVideoProcessor, 0, pSrcRect ? TRUE : FALSE, pSrcRect);
527 m_pVideoContext->VideoProcessorSetStreamDestRect(m_pVideoProcessor, 0, pDstRect ? TRUE : FALSE, pDstRect);
528
529 return S_OK;
530}
531
532void CD3D11VP::SetRotation(D3D11_VIDEO_PROCESSOR_ROTATION rotation)
533{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected