#ifndef CISPARAMETERS_H #define CISPARAMETERS_H #include #define CISPARAM_NOISE_REDUCTION 0x00000001 #define CISPARAM_ENABLE_SQRTCOMPRESS 0x00000002 #define CISPARAM_DEMO_MODE 0x00000003 #define CISPARAM_SCLK_RATE 0x00000004 #define CISPARAM_ENABLE_EDGEDETECT 0x00000005 /* CISPARAM_NOISE_REDUCTION */ typedef struct tsCisParamNoiseReduction { uint32_t mnEnableHi; uint32_t mnHiThresh; uint32_t mnEnableLo; uint32_t mnLoThresh; } tsCisParamNoiseReduction; /* CISPARAM_ENABLE_SQRTCOMPRESS */ typedef struct tsCisParamEnableSqrtCompress { uint32_t mnEnable; } tsCisParamEnableSqrtCompress; /* CISPARAM_DEMO_MODE */ typedef struct tsCisDemoModeEnable { uint32_t mnDemoMode; } tsCisDemoModeEnable; /* CISPARAM_SCLK_RATE */ typedef struct tsCisParamSCLKRate { uint32_t mnSCLK_MHz; } tsCisParamSCLKRate; /* CISPARAM_ENABLE_EDGEDETECT */ typedef struct tsCisParamEnableEdgeDetect { uint32_t mnEnable; uint32_t mnType; /* SOBEL. set to 0, currently not used */ float mnGain; /* set to 1.0, currently not used */ } tsCisParamEnableEdgeDetect; #endif