Guiliani  Version 2.5 revision 7293 (documentation build 13)
CDAVEHDBuffer Class Reference

#include <DAVEHDBuffer.h>

Public Member Functions

 CDAVEHDBuffer (dhd_handle_t pkHandle, const dhd_enum_t &eFormat, const eC_UInt &uiWidth, const eC_UInt &uiHeight, const eC_UInt &uiBytesPerPixel)
 
virtual ~CDAVEHDBuffer ()
 
void Activate ()
 
eC_Bool Download ()
 
void FillBuffer (const eC_UInt &uiColor)
 
dhd_buffer_t * GetBuffer ()
 
eC_UByte * GetDestBuffer () const
 
eC_UInt GetSize () const
 
void SetDestBuffer (eC_UByte *pkBuffer)
 
eC_Bool Upload ()
 

Detailed Description

Class to manage buffers in D/AVE

Constructor & Destructor Documentation

◆ 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
pkHandlehandle to dave-device
eFormatpixel-format for buffer
uiWidthwidth of buffer
uiHeightheight of buffer
uiBytesPerPixelbpp for buffer

◆ ~CDAVEHDBuffer()

virtual CDAVEHDBuffer::~CDAVEHDBuffer ( )
virtual

destructor

Member Function Documentation

◆ Activate()

void CDAVEHDBuffer::Activate ( )

activate buffer

◆ 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
uiColorcolor in AARRGGBB

◆ 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
pkBufferdestination 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: