The image as initially captured from the camera is placed into a DtVideoFrameBuffer.
More...
Protected Member Functions |
| void | resizeImageBuffer (int sizeInBytes) |
| | deletes the current buffer and creates a new buffer with the requested size
|
| void | resizeMetadataBuffer (int sizeInBytes) |
| | deletes the current buffer and creates a new buffer with the requested size
|
Detailed Description
The image as initially captured from the camera is placed into a DtVideoFrameBuffer.
Instances of DtVideoFrameBuffer are placed on a queue for further processing by the process image task elements.
Member Enumeration Documentation
Enumerate the compression types.
- Enumerator:
-
Constructor & Destructor Documentation
| makVrv::DtVideoFrameBuffer::DtVideoFrameBuffer |
( |
int |
imgBufferSize = 0, |
|
|
int |
metadataBufferSize = 0 |
|
) |
| |
| makVrv::DtVideoFrameBuffer::~DtVideoFrameBuffer |
( |
| ) |
|
Member Function Documentation
| unsigned char* makVrv::DtVideoFrameBuffer::imageData |
( |
| ) |
const |
| void makVrv::DtVideoFrameBuffer::setImageData |
( |
unsigned char * |
imageData, |
|
|
int |
imageDataSize |
|
) |
| |
Set the pixel data. This class creates a copy of the passed in image data.
| int makVrv::DtVideoFrameBuffer::imageSize |
( |
| ) |
const |
Get the number of bytes (may not be the size of the data in the buffer)
| DataFormat makVrv::DtVideoFrameBuffer::type |
( |
| ) |
const |
Get how the data is compressed, if at all.
| void makVrv::DtVideoFrameBuffer::setType |
( |
DataFormat |
type | ) |
|
Set how the data is compressed, if at all.
| int makVrv::DtVideoFrameBuffer::y |
( |
| ) |
const |
| void makVrv::DtVideoFrameBuffer::setY |
( |
int |
y | ) |
|
| int makVrv::DtVideoFrameBuffer::x |
( |
| ) |
const |
| void makVrv::DtVideoFrameBuffer::setX |
( |
int |
x | ) |
|
| int makVrv::DtVideoFrameBuffer::rowInBytes |
( |
| ) |
const |
Get the row size, in bytes.
| void makVrv::DtVideoFrameBuffer::setRowInBytes |
( |
int |
rowInBytes | ) |
|
Set the row size, in bytes.
| int makVrv::DtVideoFrameBuffer::bpp |
( |
| ) |
const |
| void makVrv::DtVideoFrameBuffer::setBpp |
( |
int |
bpp | ) |
|
| int makVrv::DtVideoFrameBuffer::format |
( |
| ) |
const |
Get the openGL image format.
| void makVrv::DtVideoFrameBuffer::setFormat |
( |
int |
format | ) |
|
Wet the openGL image format.
| unsigned char* makVrv::DtVideoFrameBuffer::metadata |
( |
| ) |
const |
| void makVrv::DtVideoFrameBuffer::setMetadata |
( |
unsigned char * |
metadata, |
|
|
int |
metadataSize |
|
) |
| |
| int makVrv::DtVideoFrameBuffer::metadataSize |
( |
| ) |
const |
Get the metadata size in bytes.
| void makVrv::DtVideoFrameBuffer::resizeImageBuffer |
( |
int |
sizeInBytes | ) |
|
|
protected |
deletes the current buffer and creates a new buffer with the requested size
| void makVrv::DtVideoFrameBuffer::resizeMetadataBuffer |
( |
int |
sizeInBytes | ) |
|
|
protected |
deletes the current buffer and creates a new buffer with the requested size
Member Data Documentation
| unsigned char* makVrv::DtVideoFrameBuffer::myImageBuffer |
|
protected |
| int makVrv::DtVideoFrameBuffer::myImageSize |
|
protected |
| int makVrv::DtVideoFrameBuffer::myImageBufferSize |
|
protected |
| int makVrv::DtVideoFrameBuffer::myY |
|
protected |
| int makVrv::DtVideoFrameBuffer::myX |
|
protected |
| int makVrv::DtVideoFrameBuffer::myRowInBytes |
|
protected |
| int makVrv::DtVideoFrameBuffer::myBpp |
|
protected |
| int makVrv::DtVideoFrameBuffer::myFormat |
|
protected |
| unsigned char* makVrv::DtVideoFrameBuffer::myMetadataBuffer |
|
protected |
| int makVrv::DtVideoFrameBuffer::myMetadataSize |
|
protected |
| int makVrv::DtVideoFrameBuffer::myMetadataBufferSize |
|
protected |
The documentation for this class was generated from the following file:
- /exports/nfedora7-1/nightly/docs/vrforcesDevelopment.vrf4-4-branch/include/vrvVideoStream/DtVideoFrameBuffer.h