Critical Link MityCam SoC Firmware
1.0
Critical Link MityCam SoC Firmware
|
#include "BadPixelReplacement.h"
#include <arpa/inet.h>
#include <iostream>
#include <sstream>
#include <fstream>
#include <cstring>
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 |
const uint32_t CTL_BAYER_MODE_EN_MASK = (1u << 2) |
const uint32_t CTL_BLACK_AND_WHITE_EN_MASK = (1u << 31) |
const uint32_t CTL_EXT_MASK = (0x7 << CTL_EXT_SHIFT) |
const uint32_t CTL_EXT_SHIFT = 4 |
const uint32_t CTL_RESET_EN_MASK = (1u << 0) |
const uint32_t STS_BAD_PIX_UNDERFLOW_MASK = (1u << 2) |
const uint32_t STS_CONSEC_FRM_DLY_ERR_MASK = (1u << 1) |
const uint32_t STS_HDR_DECODE_ERR_MASK = (1u << 0) |
const uint32_t STS_ROW_FIFO_ALMST_FULL_MASK = 0b11111 |
const uint32_t STS_ROW_FIFO_ALMST_FULL_SHIFT = 8 |
const uint32_t STS_ROW_FIFO_FULL_MASK = 0b11111 |
const uint32_t STS_ROW_FIFO_FULL_SHIFT = 16 |