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

Method SetColorSpaceNew

Source/D3D11VP.cpp:683–689  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

681}
682
683void CD3D11VP::SetColorSpaceNew(DXGI_COLOR_SPACE_TYPE cstype_input, DXGI_COLOR_SPACE_TYPE cstype_output)
684{
685 ASSERT(m_pVideoContext1 && m_pVideoProcessor);
686
687 m_pVideoContext1->VideoProcessorSetStreamColorSpace1(m_pVideoProcessor, 0, cstype_input);
688 m_pVideoContext1->VideoProcessorSetOutputColorSpace1(m_pVideoProcessor, cstype_output);
689}
690
691void CD3D11VP::SetColorSpaceOld(const DXVA2_ExtendedFormat exFmt)
692{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected