|
| CircularBuffer (unsigned int memorySizeMB) |
|
unsigned | GetMemorySizeMB () const |
|
bool | Initialize (unsigned channels, unsigned int xSize, unsigned int ySize, unsigned int pixDepth) |
|
unsigned long | GetSize () const |
|
unsigned long | GetFreeSize () const |
|
unsigned long | GetRemainingImageCount () const |
|
unsigned int | Width () const |
|
unsigned int | Height () const |
|
unsigned int | Depth () const |
|
bool | InsertImage (const unsigned char *pixArray, unsigned int width, unsigned int height, unsigned int byteDepth, const Metadata *pMd) throw (CMMError) |
|
bool | InsertMultiChannel (const unsigned char *pixArray, unsigned int numChannels, unsigned int width, unsigned int height, unsigned int byteDepth, const Metadata *pMd) throw (CMMError) |
|
bool | InsertImage (const unsigned char *pixArray, unsigned int width, unsigned int height, unsigned int byteDepth, unsigned int nComponents, const Metadata *pMd) throw (CMMError) |
|
bool | InsertMultiChannel (const unsigned char *pixArray, unsigned int numChannels, unsigned int width, unsigned int height, unsigned int byteDepth, unsigned int nComponents, const Metadata *pMd) throw (CMMError) |
|
const unsigned char * | GetTopImage () const |
|
const unsigned char * | GetNextImage () |
|
const mm::ImgBuffer * | GetTopImageBuffer (unsigned channel) const |
|
const mm::ImgBuffer * | GetNthFromTopImageBuffer (unsigned long n) const |
|
const mm::ImgBuffer * | GetNthFromTopImageBuffer (long n, unsigned channel) const |
|
const mm::ImgBuffer * | GetNextImageBuffer (unsigned channel) |
|
void | Clear () |
|
bool | Overflow () |
|
|
MMThreadLock | g_bufferLock |
|
MMThreadLock | g_insertLock |
|
◆ InsertImage() [1/2]
bool CircularBuffer::InsertImage |
( |
const unsigned char * |
pixArray, |
|
|
unsigned int |
width, |
|
|
unsigned int |
height, |
|
|
unsigned int |
byteDepth, |
|
|
const Metadata * |
pMd |
|
) |
| |
throw | ( | CMMError |
| ) | | |
Inserts a single image in the buffer.
◆ InsertImage() [2/2]
bool CircularBuffer::InsertImage |
( |
const unsigned char * |
pixArray, |
|
|
unsigned int |
width, |
|
|
unsigned int |
height, |
|
|
unsigned int |
byteDepth, |
|
|
unsigned int |
nComponents, |
|
|
const Metadata * |
pMd |
|
) |
| |
throw | ( | CMMError |
| ) | | |
Inserts a single image, possibly with multiple components, in the buffer.
◆ InsertMultiChannel() [1/2]
bool CircularBuffer::InsertMultiChannel |
( |
const unsigned char * |
pixArray, |
|
|
unsigned int |
numChannels, |
|
|
unsigned int |
width, |
|
|
unsigned int |
height, |
|
|
unsigned int |
byteDepth, |
|
|
const Metadata * |
pMd |
|
) |
| |
throw | ( | CMMError |
| ) | | |
Inserts a single image, possibly with multiple channels, but with 1 component, in the buffer.
◆ InsertMultiChannel() [2/2]
bool CircularBuffer::InsertMultiChannel |
( |
const unsigned char * |
pixArray, |
|
|
unsigned int |
numChannels, |
|
|
unsigned int |
width, |
|
|
unsigned int |
height, |
|
|
unsigned int |
byteDepth, |
|
|
unsigned int |
nComponents, |
|
|
const Metadata * |
pMd |
|
) |
| |
throw | ( | CMMError |
| ) | | |
Inserts a multi-channel frame in the buffer.
The documentation for this class was generated from the following files: