84 bool Start(
bool,
int,
int,
int,
int,
int);
int m_outputSize
size of grabbed data
cGrabBuffer(const char *identifier)
const char * m_identifier
void SetOutputData(uint8_t *result)
uint8_t * GetOutputData(void)
void Clear(void)
Clear the grab buffer (input and output data)
uint8_t * m_pOutputData
pointer to grabbed image
void Set(cDrmBuffer *)
Set the grab buffer and the dimensions how it is presented on the screen.
void FreeInput(void)
Free the grab input buffer.
cRect m_outputRect
rect of the grabbed data
uint8_t * ConvertToRgb(int *)
Convert a grabbed buffer to rgb format image.
int GetOutputHeight(void)
void SetOutputSize(int size)
int m_screenWidth
pixel screenwidth
uint8_t * GetGrabbedOsdData(int *, int *, int *, int *, int *)
int m_quality
quality of the jpeg image
uint8_t * m_grabbedImage
pointer to the finished grabbed image
std::atomic< bool > m_active
true, if a grab process is currently running
int m_grabbedWidth
pixel width of the grabbed image
int m_screenHeight
pixel screenheight
uint8_t * GetGrabbedData(int *, int *, int *, int *, int *, cGrabBuffer *)
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.
uint8_t * GetGrabbedVideoData(int *, int *, int *, int *, int *)
uint8_t * GetGrabbedPipData(int *, int *, int *, int *, int *)
int m_grabbedSize
data size of the grabbed image
bool m_isJpeg
true, if a jpeg image was requested
bool ProcessGrab(void)
Start the conversion.
int m_grabbedHeight
pixel height of the grabbed image
cVideoRender * m_pRender
pointer to cVideoRender object
cSoftHdGrab(cVideoRender *render)
void Finish(void)
Clean up.