Critical Link MityCam SoC Firmware  1.0
Critical Link MityCam SoC Firmware
BadPixelReplacement.cpp File Reference
#include "BadPixelReplacement.h"
#include <arpa/inet.h>
#include <iostream>
#include <sstream>
#include <fstream>
#include <cstring>
Include dependency graph for BadPixelReplacement.cpp:

Variables

const uint32_t CTL_RESET_EN_MASK = (1u << 0)
 
const uint32_t CTL_BAYER_MODE_EN_MASK = (1u << 2)
 
const uint32_t CTL_EXT_SHIFT = 4
 
const uint32_t CTL_EXT_MASK = (0x7 << CTL_EXT_SHIFT)
 
const uint32_t CTL_BLACK_AND_WHITE_EN_MASK = (1u << 31)
 
const uint32_t STS_HDR_DECODE_ERR_MASK = (1u << 0)
 
const uint32_t STS_CONSEC_FRM_DLY_ERR_MASK = (1u << 1)
 
const uint32_t STS_BAD_PIX_UNDERFLOW_MASK = (1u << 2)
 
const uint32_t STS_ROW_FIFO_ALMST_FULL_SHIFT = 8
 
const uint32_t STS_ROW_FIFO_ALMST_FULL_MASK = 0b11111
 
const uint32_t STS_ROW_FIFO_FULL_SHIFT = 16
 
const uint32_t STS_ROW_FIFO_FULL_MASK = 0b11111
 

Variable Documentation

◆ CTL_BAYER_MODE_EN_MASK

const uint32_t CTL_BAYER_MODE_EN_MASK = (1u << 2)

◆ CTL_BLACK_AND_WHITE_EN_MASK

const uint32_t CTL_BLACK_AND_WHITE_EN_MASK = (1u << 31)

◆ CTL_EXT_MASK

const uint32_t CTL_EXT_MASK = (0x7 << CTL_EXT_SHIFT)

◆ CTL_EXT_SHIFT

const uint32_t CTL_EXT_SHIFT = 4

◆ CTL_RESET_EN_MASK

const uint32_t CTL_RESET_EN_MASK = (1u << 0)

◆ STS_BAD_PIX_UNDERFLOW_MASK

const uint32_t STS_BAD_PIX_UNDERFLOW_MASK = (1u << 2)

◆ STS_CONSEC_FRM_DLY_ERR_MASK

const uint32_t STS_CONSEC_FRM_DLY_ERR_MASK = (1u << 1)

◆ STS_HDR_DECODE_ERR_MASK

const uint32_t STS_HDR_DECODE_ERR_MASK = (1u << 0)

◆ STS_ROW_FIFO_ALMST_FULL_MASK

const uint32_t STS_ROW_FIFO_ALMST_FULL_MASK = 0b11111

◆ STS_ROW_FIFO_ALMST_FULL_SHIFT

const uint32_t STS_ROW_FIFO_ALMST_FULL_SHIFT = 8

◆ STS_ROW_FIFO_FULL_MASK

const uint32_t STS_ROW_FIFO_FULL_MASK = 0b11111

◆ STS_ROW_FIFO_FULL_SHIFT

const uint32_t STS_ROW_FIFO_FULL_SHIFT = 16