84 bool Start(
bool,
int,
int,
int,
int,
int);
void SetData(uint8_t *result)
uint8_t * m_pResult
pointer to grabbed image
cRect m_rect
rect of the grabbed data
cGrabBuffer(void)=default
int m_size
size of grabbed data
struct cDrmBuffer * m_pBuf
pointer to original buffer
cDrmBuffer * GetDrmBuf(void)
int m_screenWidth
pixel screenwidth
int m_quality
quality of the jpeg image
uint8_t * m_grabbedImage
pointer to the finished grabbed image
int m_grabbedWidth
pixel width of the grabbed image
int m_screenHeight
pixel screenheight
bool m_isActive
true, if a grab process is currently running
int m_grabbedSize
data size of the grabbed image
bool m_isJpeg
true, if a jpeg image was requested
int m_grabbedHeight
pixel height of the grabbed image
cVideoRender * m_pRender
pointer to cVideoRender object
cSoftHdGrab(cVideoRender *render)
uint8_t * GetGrab(int *, int *, int *, int *, int *, Grabtype)
Convert the cloned drm buffer data to RGB(void, pip) or ARGB (osd) and return a pointer to the raw da...
bool Start(bool, int, int, int, int, int)
Start a grab in the video renderer.
void FreeDrmBuf(void)
Free the grabbed drm buffer.
void SetDrmBuf(cDrmBuffer *)
Set the grab buffer and the dimensions how it is presented on the screen.
bool ProcessGrab(void)
Start the conversion.
const char * GrabtypeToString(Grabtype t)