Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
tcImageGenerator Class Reference

Utility class for building image patterns for simulation, etc. More...

#include <ImageGenerator.h>

Collaboration diagram for tcImageGenerator:

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, MFPmcGenMap
 see CameraTypes.h More...
 

Detailed Description

Utility class for building image patterns for simulation, etc.

Member Typedef Documentation

◆ MFP

typedef int(tcImageGenerator::* tcImageGenerator::MFP) (void *apBuffer) const
protected

Constructor & Destructor Documentation

◆ tcImageGenerator()

tcImageGenerator::tcImageGenerator ( const ROI arROI = ROI(0, 0, 1920, 1080))

◆ ~tcImageGenerator()

tcImageGenerator::~tcImageGenerator ( )

Member Function Documentation

◆ genImage()

int tcImageGenerator::genImage ( void *  apBuffer,
uint32_t  anBufLen 
) const

◆ GenXGrad()

int tcImageGenerator::GenXGrad ( void *  apBuffer) const
protected

◆ GenYGrad()

int tcImageGenerator::GenYGrad ( void *  apBuffer) const
protected

◆ GenZeros()

int tcImageGenerator::GenZeros ( void *  apBuffer) const
protected

◆ getScaler()

uint32_t tcImageGenerator::getScaler ( void  ) const
inline

◆ getTestPattern()

teTestPattern tcImageGenerator::getTestPattern ( void  )
inline

◆ setPixelFormat()

int tcImageGenerator::setPixelFormat ( uint32_t  anFormat)

◆ setROI()

int tcImageGenerator::setROI ( const ROI arROI)

◆ setScaler()

int tcImageGenerator::setScaler ( float  scale)

◆ setTestPattern()

int tcImageGenerator::setTestPattern ( teTestPattern  aePattern)
inline

Member Data Documentation

◆ mcGenMap

std::map<teTestPattern, MFP> tcImageGenerator::mcGenMap
protected

◆ mcROI

ROI tcImageGenerator::mcROI
protected

our ROI

◆ meTestPattern

teTestPattern tcImageGenerator::meTestPattern
protected

◆ mnFormat

uint32_t tcImageGenerator::mnFormat
protected

◆ mnScaler

float tcImageGenerator::mnScaler
protected

reset to 1.0 if format is changed.


The documentation for this class was generated from the following files: