#include <BlackLevelGainCorrect.h>
The tcBlackLevelGainCorrect manages the blc_gain FPGA core from Critical Link.
◆ tePosition
Enumerator |
---|
EvenRowEvenCol | |
EvenRowOddCol | |
OddRowEvenCol | |
OddRowOddCol | |
◆ tcBlackLevelGainCorrect()
tcBlackLevelGainCorrect::tcBlackLevelGainCorrect |
( |
int |
anBaseAddress | ) |
|
Class constructor.
- Parameters
-
anBaseAddress | Physical Address of the core, typically in the 0xFF20xxxx range |
◆ ~tcBlackLevelGainCorrect()
tcBlackLevelGainCorrect::~tcBlackLevelGainCorrect |
( |
| ) |
|
◆ getBlackOffset()
int16_t tcBlackLevelGainCorrect::getBlackOffset |
( |
void |
| ) |
|
◆ getGain()
float tcBlackLevelGainCorrect::getGain |
( |
tePosition |
pos | ) |
|
Get the programmed gain of the output channel
- Parameters
-
pos | the position of the gain coefficient |
- Returns
- the gain.
◆ initialized()
bool tcBlackLevelGainCorrect::initialized |
( |
| ) |
|
- Returns
- true when the core has been propely initialized
◆ reset()
void tcBlackLevelGainCorrect::reset |
( |
bool |
abReset | ) |
|
Request the core reset. When reset, the integrated background estimate is reset and will be re-initialized to the black level computed from the next completed frame.
- Parameters
-
abReset | true to hold reset state, false to enable computation |
◆ setBlackOffset()
void tcBlackLevelGainCorrect::setBlackOffset |
( |
int16_t |
offset | ) |
|
Set the black level offset
- Parameters
-
offset | the signed level offset to add |
◆ setGain()
void tcBlackLevelGainCorrect::setGain |
( |
tePosition |
pos, |
|
|
float |
gain |
|
) |
| |
Set the gain of the output channel
- Parameters
-
pos | the position of the gain coefficient |
gain | the desired gain. Must be in range of 0.0 to 2^12-1 (4095) |
◆ mbInitialized
bool tcBlackLevelGainCorrect::mbInitialized |
|
protected |
true when the core has been initialized
◆ mhBLGC
tcFPGARegister<uint32_t> tcBlackLevelGainCorrect::mhBLGC |
|
protected |
memory mapped FPGA access class
The documentation for this class was generated from the following files: