| kodi
    | 
Player process info. More...
#include <RPProcessInfo.h>


| Public Member Functions | |
| const std::string & | GetPlatformName () const | 
| Get the descriptive name of the platform.  More... | |
| std::string | GetRenderSystemName (IRenderBufferPool *renderBufferPool) const | 
| Get the descriptive name of the rendering system.  More... | |
| CRPBaseRenderer * | CreateRenderer (IRenderBufferPool *renderBufferPool, const CRenderSettings &renderSettings) | 
| Create a renderer.  More... | |
| void | SetDataCache (CDataCacheCore *cache) | 
| Set data cache. | |
| void | ResetInfo () | 
| Reset data cache info. | |
| Rendering functions | |
| { | |
| CRenderContext & | GetRenderContext () | 
| Get the context shared by the rendering system. | |
| CRenderBufferManager & | GetBufferManager () | 
| Get the buffer manager that owns the buffer pools. | |
| bool | HasScalingMethod (SCALINGMETHOD scalingMethod) const | 
| Check if a buffer pool supports the given scaling method. | |
| SCALINGMETHOD | GetDefaultScalingMethod () const | 
| Get the default scaling method for this rendering system. | |
| Player video info | |
| } { | |
| void | SetVideoPixelFormat (AVPixelFormat pixFormat) | 
| void | SetVideoDimensions (int width, int height) | 
| void | SetVideoFps (float fps) | 
| Player audio info | |
| } { | |
| void | SetAudioChannels (const std::string &channels) | 
| void | SetAudioSampleRate (int sampleRate) | 
| void | SetAudioBitsPerSample (int bitsPerSample) | 
| Static Public Member Functions | |
| static std::unique_ptr< CRPProcessInfo > | CreateInstance () | 
| static void | RegisterProcessControl (const CreateRPProcessControl &createFunc) | 
| static void | RegisterRendererFactory (IRendererFactory *factory) | 
| Player states | |
| { | |
| static CreateRPProcessControl | m_processControl = nullptr | 
| static std::vector< std::unique_ptr< IRendererFactory > > | m_rendererFactories | 
| static CCriticalSection | m_createSection | 
| const std::string | m_platformName | 
| CDataCacheCore * | m_dataCache = nullptr | 
| std::unique_ptr< CRenderBufferManager > | m_renderBufferManager | 
| void | SetSpeed (float speed) | 
| void | SetPlayTimes (time_t start, int64_t current, int64_t min, int64_t max) | 
| CRPProcessInfo (std::string platformName) | |
| }  More... | |
| static std::vector< SCALINGMETHOD > | GetScalingMethods () | 
| Get all scaling methods available to the rendering system. | |
Player process info.
| 
 | protected | 
| CRPBaseRenderer * CRPProcessInfo::CreateRenderer | ( | IRenderBufferPool * | renderBufferPool, | 
| const CRenderSettings & | renderSettings | ||
| ) | 
Create a renderer.
| renderBufferPool | The buffer pool used to return render buffers | 
| renderSettings | The settings for this renderer | 
| 
 | inline | 
Get the descriptive name of the platform.
| std::string CRPProcessInfo::GetRenderSystemName | ( | IRenderBufferPool * | renderBufferPool | ) | const | 
Get the descriptive name of the rendering system.
| renderBufferPool | A pool belonging to the rendering system | 
 1.8.13
 1.8.13