![]() |
Kodi Documentation
18.0
Kodi is an open source media player and entertainment hub.
|
Kodi's render capture. More...
Classes | |
class | XBMCAddon::xbmc::RenderCapture |
Functions | |
XBMCAddon::xbmc::RenderCapture::getWidth () | |
| |
XBMCAddon::xbmc::RenderCapture::getHeight () | |
| |
XBMCAddon::xbmc::RenderCapture::getAspectRatio () | |
| |
XBMCAddon::xbmc::RenderCapture::getImageFormat () | |
| |
XBMCAddon::xbmc::RenderCapture::getImage (...) | |
| |
XBMCAddon::xbmc::RenderCapture::capture (...) | |
| |
bool | XBMCAddon::xbmc::RenderCapture::GetPixels (unsigned int msec) |
| |
Kodi's render capture.
Class: RenderCapture()
|
inline |
Function: capture(width, height)
Issue capture request.
width | Width capture image should be rendered to height Height capture image should should be rendered to |
XBMCAddon::xbmc::RenderCapture::getAspectRatio | ( | ) |
Function: getAspectRatio()
Get aspect ratio of currently displayed video.
XBMCAddon::xbmc::RenderCapture::getHeight | ( | ) |
Function: getHeight()
Get height
To get height of captured image as set during RenderCapture.capture(). Returns 0 prior to calling capture.
|
inline |
Function: getImage([msecs])
Returns captured image as a bytearray.
msecs | [opt] Milliseconds to wait. Waits 1000ms if not specified |
|
inline |
Function: getImageFormat()
Get image format
|
inline |
Function: getCaptureState()
Function: waitForCaptureStateChangeEvent()
XBMCAddon::xbmc::RenderCapture::getWidth | ( | ) |
Function: getWidth()
Get width
To get width of captured image as set during RenderCapture.capture(). Returns 0 prior to calling capture.