Kodi Documentation  18.0
Kodi is an open source media player and entertainment hub.
XBMCAddon::xbmc::RenderCapture Class Reference

#include <RenderCapture.h>

Inheritance diagram for XBMCAddon::xbmc::RenderCapture:
XBMCAddon::AddonClass CCriticalSection XbmcThreads::CountingLockable< XbmcThreads::CRecursiveMutex >

Public Member Functions

 RenderCapture ()
 
 ~RenderCapture () override
 
 getWidth ()
 

Function: getWidth()


Get width More...

 
 getHeight ()
 

Function: getHeight()


Get height More...

 
 getAspectRatio ()
 

Function: getAspectRatio()


Get aspect ratio of currently displayed video. More...

 
 getImageFormat ()
 

Function: getImageFormat()


Get image format More...

 
 getImage (...)
 

Function: getImage([msecs])


Returns captured image as a bytearray. More...

 
 capture (...)
 

Function: capture(width, height)


Issue capture request. More...

 
bool GetPixels (unsigned int msec)
 

Function: getCaptureState()


More...
 
- Public Member Functions inherited from XBMCAddon::AddonClass
 AddonClass ()
 
virtual ~AddonClass ()
 
const char * GetClassname () const
 
LanguageHookGetLanguageHook ()
 
bool isDeallocating ()
 
void Release () const
 
void Acquire () const
 
- Public Member Functions inherited from XbmcThreads::CountingLockable< XbmcThreads::CRecursiveMutex >
 CountingLockable ()=default
 
void lock ()
 
bool try_lock ()
 
void unlock ()
 
unsigned int exit (unsigned int leave=0)
 
void restore (unsigned int restoreCount)
 
XbmcThreads::CRecursiveMutex & get_underlying ()
 

Additional Inherited Members

- Static Public Member Functions inherited from XBMCAddon::AddonClass
static short getNumAddonClasses ()
 
- Protected Member Functions inherited from XBMCAddon::AddonClass
virtual void deallocating ()
 
- Static Protected Member Functions inherited from XBMCAddon::AddonClass
static short getNextClassIndex ()
 
- Protected Attributes inherited from XBMCAddon::AddonClass
LanguageHooklanguageHook
 
- Protected Attributes inherited from XbmcThreads::CountingLockable< XbmcThreads::CRecursiveMutex >
XbmcThreads::CRecursiveMutex mutex
 
unsigned int count
 

Constructor & Destructor Documentation

§ RenderCapture()

XBMCAddon::xbmc::RenderCapture::RenderCapture ( )
inline

§ ~RenderCapture()

XBMCAddon::xbmc::RenderCapture::~RenderCapture ( )
inlineoverride

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