|
Critical Link MityCam SoC Firmware
1.0
Critical Link MityCam SoC Firmware
|
Go to the documentation of this file.
9 #ifndef BADPIXELREPLACEMENT_H_
10 #define BADPIXELREPLACEMENT_H_
16 #include <libfpga/fpgaregister.h>
19 #include "libfpga/sgdma_dispatcher.h"
41 void reset(
bool abReset);
51 void setData(std::string acFile);
148 uint32_t byteIdx(
int x,
int y);
149 uint32_t wordIdx(
int x,
int y);
151 std::string mcFilename;
153 tcFPGARegister<uint32_t> mcReg;
154 volatile uint8_t * mpMemory;
155 unsigned int mnMapAddress;
156 unsigned int mnDataSize;
162 typedef uint8_t BackingDataType;
164 std::unique_ptr<BackingDataType[]> mpBadPixelMap;
168 uint32_t mnReadMasterAddr;
169 uint32_t mnReadMasterDescriptors;
170 std::unique_ptr<tcSGDMADispatcher> mpSgdma;
tcBadPixelReplacement(uint32_t anAddress, uint32_t anReadMasterAddr, uint32_t anReadMasterDescriptors, uint32_t anMapAddress, SocCamera::ROI asMaxROI)
Definition: BadPixelReplacement.cpp:36
void setData(std::string acFile)
Definition: BadPixelReplacement.cpp:107
uint8_t readRowFifoFull()
readRowFifoFull Returns logic high if FIFO used to buffer row data fills. Indicates g_max_row_num_pix...
Definition: BadPixelReplacement.cpp:246
bool readHeaderDecodeErr()
readHeaderDecodeErr Returns logic high if error occurred in decoding incoming frame packet....
Definition: BadPixelReplacement.cpp:226
bool initialize()
Definition: BadPixelReplacement.cpp:75
void setExtension(uint8_t anExtension)
setExtension Set Flush Cycles Allows for adjusting number of cycles required to data from Pixel Proce...
Definition: BadPixelReplacement.cpp:215
void setColor(bool abColor)
setColor Enable bayer mode Active high enable for handling data from sensor with Bayer filter.
Definition: BadPixelReplacement.cpp:200
uint8_t readExtension()
Definition: BadPixelReplacement.cpp:221
bool readColorMode()
Definition: BadPixelReplacement.cpp:205
void reset(bool abReset)
Definition: BadPixelReplacement.cpp:91
void setMapState(bool abOn)
setMapState Enable debug black and white mode Allows for changing all pixel values to be all 0’s or a...
Definition: BadPixelReplacement.cpp:185
bool readBadPixelUnderflowErr()
Definition: BadPixelReplacement.cpp:236
Definition: BadPixelReplacement.h:21
void setRoi(SocCamera::ROI acROI)
Definition: BadPixelReplacement.cpp:163
virtual ~tcBadPixelReplacement()
Definition: BadPixelReplacement.cpp:71
bool readReset()
Definition: BadPixelReplacement.cpp:102
bool mapState()
mapState Is map state enabled
Definition: BadPixelReplacement.cpp:190
std::string defaultData()
defaultData Get data filename
Definition: BadPixelReplacement.cpp:210
bool readConsecutiveFrameDelayErr()
readConsecutiveFrameDelayErr Returns logic high if not enough time was present between two consecutiv...
Definition: BadPixelReplacement.cpp:231
void dumpRegisters()
Definition: BadPixelReplacement.cpp:251
uint8_t readRowFifoAlmostFull()
readRowFifoAlmostFull Returns logic high if FIFO used to buffer row data almost fills....
Definition: BadPixelReplacement.cpp:241
bool onState()
onState Is core running
Definition: BadPixelReplacement.cpp:195