Critical Link MityCam SoC Firmware
1.0
Critical Link MityCam SoC Firmware
|
Utility class for building image patterns for simulation, etc. More...
#include <ImageGenerator.h>
Public Member Functions | |
tcImageGenerator (const ROI &arROI=ROI(0, 0, 1920, 1080)) | |
~tcImageGenerator () | |
int | setROI (const ROI &arROI) |
int | setPixelFormat (uint32_t anFormat) |
int | setScaler (float scale) |
uint32_t | getScaler (void) const |
int | setTestPattern (teTestPattern aePattern) |
teTestPattern | getTestPattern (void) |
int | genImage (void *apBuffer, uint32_t anBufLen) const |
Protected Types | |
typedef int(tcImageGenerator::* | MFP) (void *apBuffer) const |
Protected Member Functions | |
int | GenZeros (void *apBuffer) const |
int | GenXGrad (void *apBuffer) const |
int | GenYGrad (void *apBuffer) const |
Protected Attributes | |
ROI | mcROI |
our ROI More... | |
uint32_t | mnFormat |
See RegisterFile.h. More... | |
float | mnScaler |
reset to 1.0 if format is changed. More... | |
teTestPattern | meTestPattern |
std::map< teTestPattern, MFP > | mcGenMap |
see CameraTypes.h More... | |
Utility class for building image patterns for simulation, etc.
|
protected |
tcImageGenerator::~tcImageGenerator | ( | ) |
int tcImageGenerator::genImage | ( | void * | apBuffer, |
uint32_t | anBufLen | ||
) | const |
|
protected |
|
protected |
|
protected |
|
inline |
|
inline |
int tcImageGenerator::setPixelFormat | ( | uint32_t | anFormat | ) |
int tcImageGenerator::setROI | ( | const ROI & | arROI | ) |
int tcImageGenerator::setScaler | ( | float | scale | ) |
|
inline |
|
protected |
see CameraTypes.h
|
protected |
our ROI
|
protected |
|
protected |
See RegisterFile.h.
|
protected |
reset to 1.0 if format is changed.