#include <DAVEHDBuffer.h>
Class to manage buffers in D/AVE
◆ CDAVEHDBuffer()
| CDAVEHDBuffer::CDAVEHDBuffer |
( |
dhd_handle_t |
pkHandle, |
|
|
const dhd_enum_t & |
eFormat, |
|
|
const eC_UInt & |
uiWidth, |
|
|
const eC_UInt & |
uiHeight, |
|
|
const eC_UInt & |
uiBytesPerPixel |
|
) |
| |
constructor
- Parameters
-
| pkHandle | handle to dave-device |
| eFormat | pixel-format for buffer |
| uiWidth | width of buffer |
| uiHeight | height of buffer |
| uiBytesPerPixel | bpp for buffer |
◆ ~CDAVEHDBuffer()
| virtual CDAVEHDBuffer::~CDAVEHDBuffer |
( |
| ) |
|
|
virtual |
◆ Activate()
| void CDAVEHDBuffer::Activate |
( |
| ) |
|
◆ Download()
| eC_Bool CDAVEHDBuffer::Download |
( |
| ) |
|
download the data from dave to buffer
- Returns
- true if successful
◆ FillBuffer()
| void CDAVEHDBuffer::FillBuffer |
( |
const eC_UInt & |
uiColor | ) |
|
fill the buffer with desired color
- Parameters
-
◆ GetBuffer()
| dhd_buffer_t * CDAVEHDBuffer::GetBuffer |
( |
| ) |
|
get the internal buffer
- Returns
- buffer
◆ GetDestBuffer()
| eC_UByte * CDAVEHDBuffer::GetDestBuffer |
( |
| ) |
const |
get the destination buffer
- Returns
- buffer
◆ GetSize()
| eC_UInt CDAVEHDBuffer::GetSize |
( |
| ) |
const |
get the size in bytes for the buffer
- Returns
- size of buffer
◆ SetDestBuffer()
| void CDAVEHDBuffer::SetDestBuffer |
( |
eC_UByte * |
pkBuffer | ) |
|
set the destination buffer
- Parameters
-
| pkBuffer | destination buffer |
◆ Upload()
| eC_Bool CDAVEHDBuffer::Upload |
( |
| ) |
|
upload the data from buffer to dave
- Returns
- true if successful
The documentation for this class was generated from the following file: