|
vdr-plugin-softhddevice-drm-gles 1.5.9-20e15de
|
cGrabBuffer - Grab buffer class More...
#include <grab.h>
Public Member Functions | |
| cGrabBuffer (void)=default | |
| void | FreeDrmBuf (void) |
| Free the grab buffer. | |
| void | SetDrmBuf (cDrmBuffer *) |
| Set the grab buffer and the dimensions how it is presented on the screen. | |
| void | SetData (uint8_t *result) |
| void | SetSize (int size) |
| int | GetX (void) |
| int | GetY (void) |
| int | GetWidth (void) |
| int | GetHeight (void) |
| uint8_t * | GetData (void) |
| int | GetSize (void) |
| cDrmBuffer * | GetDrmBuf (void) |
Private Attributes | |
| uint8_t * | m_pResult = nullptr |
| pointer to grabbed image | |
| struct cDrmBuffer * | m_pBuf = nullptr |
| pointer to original buffer | |
| int | m_size = 0 |
| size of grabbed data | |
| cRect | m_rect |
| rect of the grabbed data | |
cGrabBuffer - Grab buffer class
Class to hold the data for a grabbed buffer. The grab is triggered by VDR/ cSoftHdDevice, data is set by the renderer and composed by cSoftHdDevice again.
|
default |
| void cGrabBuffer::FreeDrmBuf | ( | void | ) |
Free the grab buffer.
Definition at line 293 of file grab.cpp.
References L_GRAB, LOGDEBUG2, m_pBuf, cDrmBuffer::NumPlanes(), cDrmBuffer::Plane(), and cDrmBuffer::Size().
Referenced by cVideoRender::ClearGrabBuffers(), and cSoftHdGrab::GetGrab().
|
inline |
|
inline |
Definition at line 70 of file grab.h.
References m_pBuf.
Referenced by cVideoRender::ClearGrabBuffers(), and cSoftHdGrab::GetGrab().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| void cGrabBuffer::SetDrmBuf | ( | cDrmBuffer * | buf | ) |
Set the grab buffer and the dimensions how it is presented on the screen.
Definition at line 312 of file grab.cpp.
References cDrmBuffer::GetScreenRect(), m_pBuf, and m_rect.
Referenced by cVideoRender::CreateGrabBuffers().
|
inline |
|
private |
pointer to original buffer
Definition at line 73 of file grab.h.
Referenced by FreeDrmBuf(), GetDrmBuf(), and SetDrmBuf().
|
private |
|
private |
rect of the grabbed data
Definition at line 75 of file grab.h.
Referenced by GetHeight(), GetWidth(), GetX(), GetY(), and SetDrmBuf().
|
private |