Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
TestRPStreamHandoff Class Reference
Inheritance diagram for TestRPStreamHandoff:

Protected Member Functions

 TestRPStreamHandoff ()
 
StreamPtr OpenHardware ()
 
StreamPtr OpenSoftware (AVPixelFormat format=AV_PIX_FMT_BGR0)
 
CTestBuffer * PublishSoftware (IRetroPlayerStream &stream, VideoRotation rotation)
 
void PublishHardware (IRetroPlayerStream &stream, VideoRotation rotation)
 
void ExpectConfigured (bool configured)
 

Protected Attributes

std::shared_ptr< CTestPool > m_hwPool = std::make_shared<CTestPool>()
 
std::shared_ptr< CTestPool > m_swPool = std::make_shared<CTestPool>()
 
CScopedRendererFactories::CRegistration m_factories {{m_hwPool, m_swPool}}
 
CPlaybackTestEnvironment m_environment
 
std::unique_ptr< CRPStreamManager > m_session
 

Constructor & Destructor Documentation

◆ TestRPStreamHandoff()

TestRPStreamHandoff::TestRPStreamHandoff ( )
inlineprotected

Member Function Documentation

◆ ExpectConfigured()

void TestRPStreamHandoff::ExpectConfigured ( bool configured)
inlineprotected

◆ OpenHardware()

StreamPtr TestRPStreamHandoff::OpenHardware ( )
inlineprotected

◆ OpenSoftware()

StreamPtr TestRPStreamHandoff::OpenSoftware ( AVPixelFormat format = AV_PIX_FMT_BGR0)
inlineprotected

◆ PublishHardware()

void TestRPStreamHandoff::PublishHardware ( IRetroPlayerStream & stream,
VideoRotation rotation )
inlineprotected

◆ PublishSoftware()

CTestBuffer * TestRPStreamHandoff::PublishSoftware ( IRetroPlayerStream & stream,
VideoRotation rotation )
inlineprotected

Member Data Documentation

◆ m_environment

CPlaybackTestEnvironment TestRPStreamHandoff::m_environment
protected

◆ m_factories

CScopedRendererFactories::CRegistration TestRPStreamHandoff::m_factories {{m_hwPool, m_swPool}}
protected

◆ m_hwPool

std::shared_ptr<CTestPool> TestRPStreamHandoff::m_hwPool = std::make_shared<CTestPool>()
protected

◆ m_session

std::unique_ptr<CRPStreamManager> TestRPStreamHandoff::m_session
protected
Initial value:
=
std::make_unique<CRPStreamManager>(m_environment.Renderer(), m_environment.ProcessInfo())
CRPRenderManager & Renderer()
Definition PlaybackTestEnvironment.h:60
CRPProcessInfo & ProcessInfo()
Definition PlaybackTestEnvironment.h:61
CPlaybackTestEnvironment m_environment
Definition TestRPRenderManager.cpp:848

◆ m_swPool

std::shared_ptr<CTestPool> TestRPStreamHandoff::m_swPool = std::make_shared<CTestPool>()
protected

The documentation for this class was generated from the following file: