Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
IScreenshotSurface Class Reference

#include <IScreenshotSurface.h>

Inheritance diagram for IScreenshotSurface:
CScreenshotSurfaceGL CScreenshotSurfaceGLES CScreenshotSurfaceWindows

Public Member Functions

virtual ~IScreenshotSurface ()=default
 
virtual bool Capture ()
 
virtual void CaptureVideo (bool blendToBuffer)
 
int GetWidth () const
 
int GetHeight () const
 
int GetStride () const
 
unsigned char * GetBuffer () const
 
void ReleaseBuffer ()
 

Protected Attributes

int m_width {0}
 
int m_height {0}
 
int m_stride {0}
 
unsigned char * m_buffer {nullptr}
 

Constructor & Destructor Documentation

◆ ~IScreenshotSurface()

virtual IScreenshotSurface::~IScreenshotSurface ( )
virtualdefault

Member Function Documentation

◆ Capture()

virtual bool IScreenshotSurface::Capture ( )
inlinevirtual

◆ CaptureVideo()

virtual void IScreenshotSurface::CaptureVideo ( bool blendToBuffer)
inlinevirtual

◆ GetBuffer()

unsigned char * IScreenshotSurface::GetBuffer ( ) const
inline

◆ GetHeight()

int IScreenshotSurface::GetHeight ( ) const
inline

◆ GetStride()

int IScreenshotSurface::GetStride ( ) const
inline

◆ GetWidth()

int IScreenshotSurface::GetWidth ( ) const
inline

◆ ReleaseBuffer()

void IScreenshotSurface::ReleaseBuffer ( )
inline

Member Data Documentation

◆ m_buffer

unsigned char* IScreenshotSurface::m_buffer {nullptr}
protected

◆ m_height

int IScreenshotSurface::m_height {0}
protected

◆ m_stride

int IScreenshotSurface::m_stride {0}
protected

◆ m_width

int IScreenshotSurface::m_width {0}
protected

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