Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

mt9v111.h File Reference


Detailed Description

MT9V111 Camera Header file.

This header file contains defines and structures for the iMagic mi8012 aka the Micron mt9v111 camera.

Definition in file mt9v111.h.

Go to the source code of this file.

Classes

struct  mt9v111_conf
struct  mt9v111_coreReg
struct  mt9v111_IFPReg
struct  mt9v111_image_format

Defines

#define MT9V111_CLK_MAX   27000000
#define MT9V111_CLK_MIN   12000000
#define MT9V111_FRAME_RATE   30
#define MT9V111_I2C_ADDRESS   0x48
#define MT9V111_MAX_HEIGHT   480
#define MT9V111_MAX_WIDTH   640
#define MT9V111_MCLK   27000000
#define MT9V111I_ADC_LIMIT_AE_ADJ   0x3d
#define MT9V111I_ADDR_SPACE_SEL   0x1
#define MT9V111I_AE_GAIN   0x62
#define MT9V111I_AE_PRECISION_TARGET   0x2e
#define MT9V111I_AE_SPEED   0x2f
#define MT9V111I_APERTURE_GAIN   0x5
#define MT9V111I_AWB_BLUE_GAIN   0x14
#define MT9V111I_AWB_BLUE_LIMIT   0x23
#define MT9V111I_AWB_POSITION   0x12
#define MT9V111I_AWB_RED_GAIN   0x13
#define MT9V111I_AWB_RED_LIMIT   0x22
#define MT9V111I_AWB_SPEED   0x25
#define MT9V111I_BASE_MATRIX_CFK1   0x9
#define MT9V111I_BASE_MATRIX_CFK2   0xa
#define MT9V111I_BASE_MATRIX_CFK3   0xb
#define MT9V111I_BASE_MATRIX_CFK4   0xc
#define MT9V111I_BASE_MATRIX_CFK5   0xd
#define MT9V111I_BASE_MATRIX_CFK6   0xe
#define MT9V111I_BASE_MATRIX_CFK7   0xf
#define MT9V111I_BASE_MATRIX_CFK8   0x10
#define MT9V111I_BASE_MATRIX_CFK9   0x11
#define MT9V111I_BASE_MAXTRIX_SCALE15   0x3
#define MT9V111I_BASE_MAXTRIX_SCALE69   0x4
#define MT9V111I_BASE_MAXTRIX_SIGN   0x2
#define MT9V111I_BLUE_AWB_MEASURE   0x32
#define MT9V111I_BOUND_AWB_WIN   0x2d
#define MT9V111I_CLIP_LIMIT_OUTPUT_LUMI   0x35
#define MT9V111I_DELTA_MATRIX_CF_D1   0x16
#define MT9V111I_DELTA_MATRIX_CF_D2   0x17
#define MT9V111I_DELTA_MATRIX_CF_D3   0x18
#define MT9V111I_DELTA_MATRIX_CF_D4   0x19
#define MT9V111I_DELTA_MATRIX_CF_D5   0x1a
#define MT9V111I_DELTA_MATRIX_CF_D6   0x1b
#define MT9V111I_DELTA_MATRIX_CF_D7   0x1c
#define MT9V111I_DELTA_MATRIX_CF_D8   0x1d
#define MT9V111I_DELTA_MATRIX_CF_D9   0x1e
#define MT9V111I_DELTA_MATRIX_CF_SIGN   0x15
#define MT9V111I_FC_RGB_OR_YUV   0x1000
#define MT9V111i_FLASH_CTRL   0x98
#define MT9V111I_FORMAT_CONTROL   0x8
#define MT9V111i_FRAME_COUNTER   0x9A
#define MT9V111I_GAIN_LIMIT_AE   0x36
#define MT9V111I_GAIN_THRE_CCAM_ADJ   0x3e
#define MT9V111I_GAMMA_KNEE_Y12   0x53
#define MT9V111I_GAMMA_KNEE_Y34   0x54
#define MT9V111I_GAMMA_KNEE_Y56   0x55
#define MT9V111I_GAMMA_KNEE_Y78   0x56
#define MT9V111I_GAMMA_KNEE_Y90   0x57
#define MT9V111I_GAMMA_VALUE_Y0   0x58
#define MT9V111I_H_BOUND_AE   0x26
#define MT9V111I_H_BOUND_AE_CEN_WIN   0x2b
#define MT9V111i_H_PAN   0xA5
#define MT9V111i_H_SIZE   0xA7
#define MT9V111i_H_ZOOM   0xA6
#define MT9V111I_IPF_BLACK_LEVEL_ADD   0x3c
#define MT9V111I_IPF_BLACK_LEVEL_SUB   0x3b
#define MT9V111I_LENS_CORRECT_CTRL   0x80
#define MT9V111I_LIMIT_SHARP_SATU_CTRL   0x33
#define MT9V111i_LINE_COUNTER   0x99
#define MT9V111I_LINEAR_AE   0x3f
#define MT9V111I_LUMA_AWB_MEASURE   0x31
#define MT9V111I_LUMA_OFFSET   0x34
#define MT9V111I_LUMA_SUM_MEASURE   0x4c
#define MT9V111I_LUMINANCE_LIMIT_WB   0x20
#define MT9V111I_MATRIX_ADJUST_LIMIT   0x24
#define MT9V111I_MAX_GAIN_AE   0x67
#define MT9V111I_MODE_CONTROL   0x6
#define MT9V111I_MOTION   0x52
#define MT9V111I_OUTPUT_FORMAT_CTRL2   0x3a
#define MT9V111I_RATIO_IMAGE_GAIN_BASE   0x5e
#define MT9V111I_RATIO_IMAGE_GAIN_DELTA   0x5f
#define MT9V111I_RBG_MANUUAL_WB   0x21
#define MT9V111I_RED_AWB_MEASURE   0x30
#define MT9V111I_SEARCH_FLICK_60   0x5c
#define MT9V111I_SEL_IFP   0x1
#define MT9V111I_SEL_SCA   0x4
#define MT9V111I_SHADING_PARAMETER1   0x81
#define MT9V111I_SHADING_PARAMETER10   0x8A
#define MT9V111I_SHADING_PARAMETER11   0x8B
#define MT9V111I_SHADING_PARAMETER12   0x8C
#define MT9V111I_SHADING_PARAMETER13   0x8D
#define MT9V111I_SHADING_PARAMETER14   0x8E
#define MT9V111I_SHADING_PARAMETER15   0x8F
#define MT9V111I_SHADING_PARAMETER16   0x90
#define MT9V111I_SHADING_PARAMETER17   0x91
#define MT9V111I_SHADING_PARAMETER18   0x92
#define MT9V111I_SHADING_PARAMETER19   0x93
#define MT9V111I_SHADING_PARAMETER2   0x82
#define MT9V111I_SHADING_PARAMETER20   0x94
#define MT9V111I_SHADING_PARAMETER21   0x95
#define MT9V111I_SHADING_PARAMETER3   0x83
#define MT9V111I_SHADING_PARAMETER4   0x84
#define MT9V111I_SHADING_PARAMETER5   0x85
#define MT9V111I_SHADING_PARAMETER6   0x86
#define MT9V111I_SHADING_PARAMETER7   0x87
#define MT9V111I_SHADING_PARAMETER8   0x88
#define MT9V111I_SHADING_PARAMETER9   0x89
#define MT9V111I_SHUTTER_60   0x59
#define MT9V111I_SHUTTER_WIDTH_LIMIT_AE   0x37
#define MT9V111I_SIGN_VALUE_REG5F   0x60
#define MT9V111I_SOFT_RESET   0x7
#define MT9V111I_THRESHOLD_EDGE_DEFECT   0x47
#define MT9V111I_TIME_ADV_SUM_LUMA   0x4d
#define MT9V111I_UPPER_SHUTTER_DELAY_LIM   0x39
#define MT9V111I_V_BOUND_AE   0x27
#define MT9V111I_V_BOUND_AE_CEN_WIN   0x2c
#define MT9V111i_V_PAN   0xA8
#define MT9V111i_V_SIZE   0xAA
#define MT9V111i_V_ZOOM   0xA9
#define MT9V111S_ADDR_SPACE_SEL   0x1
#define MT9V111S_BLUE_GAIN   0x2c
#define MT9V111S_CAL_B   0x64
#define MT9V111S_CAL_CTRL   0x62
#define MT9V111S_CAL_G1   0x60
#define MT9V111S_CAL_G2   0x61
#define MT9V111S_CAL_R   0x63
#define MT9V111S_CAL_THRESHOLD   0x5f
#define MT9V111S_CALIB_MEAN_TEST   0x59
#define MT9V111S_CHIP_ENABLE   0xF1
#define MT9V111S_CHIP_VERSION   0xFF
#define MT9V111S_COLUMN_START   0x2
#define MT9V111S_COLUMN_START_IN_ZOOM   0x12
#define MT9V111S_DAC_CTRL   0x27
#define MT9V111S_DARK_B_AVE   0x5E
#define MT9V111S_DARK_G1_AVE   0x5B
#define MT9V111S_DARK_G2_AVE   0x5C
#define MT9V111S_DARK_R_AVE   0x5D
#define MT9V111S_DARK_TARGET_W   0x31
#define MT9V111S_DARK_TARGET_WO   0x37
#define MT9V111S_DIGITAL_ZOOM   0x1e
#define MT9V111S_DISABLE_BYPASS   0x58
#define MT9V111S_GLOBAL_GAIN   0x35
#define MT9V111S_GREEN1_GAIN   0x2b
#define MT9V111S_GREEN2_GAIN   0x2e
#define MT9V111S_HOR_BLANKING   0x5
#define MT9V111S_OUTCTRL_CHIP_ENABLE   0x2
#define MT9V111S_OUTCTRL_SYNC   0x1
#define MT9V111S_OUTCTRL_TEST_MODE   0x40
#define MT9V111S_OUTPUT_CTRL   0x7
#define MT9V111S_PIXEL_CLOCK_SPEED   0xa
#define MT9V111S_READ_GAIN   0x2d
#define MT9V111S_READ_MODE   0x20
#define MT9V111S_RESET   0xd
#define MT9V111S_RESTART   0xb
#define MT9V111S_RM_BOOSTEDRESET   0x1000
#define MT9V111S_RM_BOTTOM_TO_TOP   0x8000
#define MT9V111S_RM_COLUMN_LATE   0x10
#define MT9V111S_RM_COLUMNSKIP   0x4
#define MT9V111S_RM_NOBADFRAME   0x1
#define MT9V111S_RM_NODESTRUCT   0x2
#define MT9V111S_RM_RIGTH_TO_LEFT   0x4000
#define MT9V111S_RM_ROW_LATE   0x80
#define MT9V111S_RM_ROWSKIP   0x8
#define MT9V111S_ROW_NOISE_CTRL   0x30
#define MT9V111S_ROW_START   0x8
#define MT9V111S_ROW_START_IN_ZOOM   0x13
#define MT9V111S_SENSOR_CORE_VERSION   0x36
#define MT9V111S_SHUTTER_DELAY   0xc
#define MT9V111S_SHUTTER_WIDTH   0x9
#define MT9V111S_TEST_DATA   0x32
#define MT9V111S_VCM_VCL   0x42
#define MT9V111S_VER_BLANKING   0x6
#define MT9V111S_VERF_DAC   0x41
#define MT9V111S_WIN_HEIGHT   0x3
#define MT9V111S_WIN_WIDTH   0x4

Enumerations

enum  {
  MT9V111_WINWIDTH = 0x287, MT9V111_WINWIDTH_DEFAULT = 0x287, MT9V111_WINWIDTH_MIN = 0x9, MT9V111_WINHEIGHT = 0x1E7,
  MT9V111_WINHEIGHT_DEFAULT = 0x1E7, MT9V111_HORZBLANK_DEFAULT = 0x26, MT9V111_HORZBLANK_MIN = 0x9, MT9V111_HORZBLANK_MAX = 0x3FF,
  MT9V111_VERTBLANK_DEFAULT = 0x4, MT9V111_VERTBLANK_MIN = 0x3, MT9V111_VERTBLANK_MAX = 0xFFF
}
enum  MT9V111_OutputResolution {
  MT9V111_OutputResolution_VGA = 0, MT9V111_OutputResolution_QVGA, MT9V111_OutputResolution_CIF, MT9V111_OutputResolution_QCIF,
  MT9V111_OutputResolution_QQVGA, MT9V111_OutputResolution_SXGA
}


Generated by  Doxygen 1.6.0   Back to index