diff --git a/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv.c b/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv.c index 6eeae4e5f74..2179379d778 100644 --- a/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv.c +++ b/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv.c @@ -193,19 +193,12 @@ int32_t sr130pc20_set_white_balance(struct msm_sensor_ctrl_t *s_ctrl, int mode) return rc; } -#ifdef CONFIG_MACH_MILLETLTE_KOR -int32_t sr130pc20_set_Init_reg(struct msm_sensor_ctrl_t *s_ctrl, int resolution) +int32_t sr130pc20_set_Init_reg(struct msm_sensor_ctrl_t *s_ctrl) { if (sr130pc20_ctrl.prev_mode == CAMERA_MODE_INIT) { if (sr130pc20_ctrl.vtcall_mode == 1) { - if(resolution== MSM_SENSOR_RES_3) { - CDBG("CIF size VT Init Settings"); - SR130PC20_WRITE_LIST(sr130pc20_CIF_VT_Init_Reg); - } - else { - CDBG("VT Init Settings"); - SR130PC20_WRITE_LIST(sr130pc20_VT_Init_Reg); - } + SR130PC20_WRITE_LIST(sr130pc20_VT_Init_Reg); + CDBG("VT Init Settings"); }else { SR130PC20_WRITE_LIST(sr130pc20_Init_Reg); CDBG("Init settings"); @@ -215,31 +208,8 @@ int32_t sr130pc20_set_Init_reg(struct msm_sensor_ctrl_t *s_ctrl, int resolution) } return 0; } -#else -int32_t sr130pc20_set_Init_reg(struct msm_sensor_ctrl_t *s_ctrl, int flicker_type) -{ - if (sr130pc20_ctrl.prev_mode == CAMERA_MODE_INIT) { - if (sr130pc20_ctrl.vtcall_mode == 1) { - SR130PC20_WRITE_LIST(sr130pc20_VT_Init_Reg); - CDBG("VT Init Settings"); - }else { - if (flicker_type == MSM_CAM_FLICKER_50HZ) { - pr_err("%s : %d 50Hz init setting\n", __func__, __LINE__); - SR130PC20_WRITE_LIST(sr130pc20_Init_Reg); - } else { - pr_err("%s : %d 60Hz init setting\n", __func__, __LINE__); - SR130PC20_WRITE_LIST(sr130pc20_Init_Reg_60hz); - } - CDBG("Init settings"); - } - SR130PC20_WRITE_LIST(sr130pc20_stop_stream); - CDBG("Stop Stream Settings"); - } - return 0; -} -#endif -int32_t sr130pc20_set_resolution(struct msm_sensor_ctrl_t *s_ctrl, int mode, int flicker_type) +int32_t sr130pc20_set_resolution(struct msm_sensor_ctrl_t *s_ctrl, int mode) { int32_t rc = 0; CDBG("mode = %d", mode); @@ -248,13 +218,8 @@ int32_t sr130pc20_set_resolution(struct msm_sensor_ctrl_t *s_ctrl, int mode, int rc = SR130PC20_WRITE_LIST(sr130pc20_Snapshot); break; default: - if (flicker_type == MSM_CAM_FLICKER_50HZ) { - pr_err("%s : %d 50Hz Preview initial\n", __func__, __LINE__); - rc = SR130PC20_WRITE_LIST(sr130pc20_Preview_for_initial_50hz); - } else { - pr_err("%s : %d 60Hz Preview initial\n", __func__, __LINE__); - rc = SR130PC20_WRITE_LIST(sr130pc20_Preview_for_initial_60hz); - } + rc = SR130PC20_WRITE_LIST(sr130pc20_Preview); + pr_err("%s: Setting %d is sr130pc20_Preview\n", __func__, mode); } return rc; } @@ -383,13 +348,9 @@ int32_t sr130pc20_sensor_config(struct msm_sensor_ctrl_t *s_ctrl, #endif break; case CFG_SET_RESOLUTION: + sr130pc20_set_Init_reg(s_ctrl); resolution = *((int32_t *)cdata->cfg.setting); CDBG("CFG_SET_RESOLUTION res = %d" , resolution); -#ifdef CONFIG_MACH_MILLETLTE_KOR - sr130pc20_set_Init_reg(s_ctrl, resolution); -#else - sr130pc20_set_Init_reg(s_ctrl, cdata->flicker_type); -#endif break; case CFG_SET_STOP_STREAM: CDBG(" CFG_SET_STOP_STREAM writing stop stream registers: sr130pc20_stop_stream"); @@ -405,13 +366,7 @@ int32_t sr130pc20_sensor_config(struct msm_sensor_ctrl_t *s_ctrl, { CDBG(" CFG_SET_START_STREAM: Preview"); if(sr130pc20_ctrl.prev_mode == CAMERA_MODE_RECORDING) { - if (cdata->flicker_type == MSM_CAM_FLICKER_50HZ) { - pr_err("%s : %d 50Hz init setting\n", __func__, __LINE__); SR130PC20_WRITE_LIST(sr130pc20_Init_Reg); - } else { - pr_err("%s : %d 60Hz init setting\n", __func__, __LINE__); - SR130PC20_WRITE_LIST(sr130pc20_Init_Reg_60hz); - } SR130PC20_WRITE_LIST(sr130pc20_stop_stream); } if(sr130pc20_ctrl.prev_mode != CAMERA_MODE_CAPTURE) { @@ -419,7 +374,7 @@ int32_t sr130pc20_sensor_config(struct msm_sensor_ctrl_t *s_ctrl, sr130pc20_set_white_balance( s_ctrl, sr130pc20_ctrl.settings.wb); sr130pc20_set_exposure_compensation( s_ctrl , sr130pc20_ctrl.settings.exposure ); } - sr130pc20_set_resolution(s_ctrl , resolution , cdata->flicker_type); + sr130pc20_set_resolution(s_ctrl , resolution ); #if defined(CONFIG_SEC_MILLET_PROJECT) || defined(CONFIG_SEC_MATISSE_PROJECT) || defined (CONFIG_MACH_VICTOR3GDSDTV_LTN) if(sr130pc20_ctrl.prev_mode == CAMERA_MODE_INIT) { msleep(200); @@ -429,18 +384,13 @@ int32_t sr130pc20_sensor_config(struct msm_sensor_ctrl_t *s_ctrl, break; case CAMERA_MODE_CAPTURE: { - sr130pc20_set_resolution(s_ctrl , resolution , cdata->flicker_type); + sr130pc20_set_resolution(s_ctrl , resolution ); sr130pc20_set_exif(s_ctrl); } break; case CAMERA_MODE_RECORDING: { - //SR130PC20_WRITE_LIST(sr130pc20_camcorder_mode); - if (cdata->flicker_type == MSM_CAM_FLICKER_50HZ) { - SR130PC20_WRITE_LIST(sr130pc20_camcorder_mode_50hz); - } else { - SR130PC20_WRITE_LIST(sr130pc20_camcorder_mode_60hz); - } + SR130PC20_WRITE_LIST(sr130pc20_camcorder_mode); sr130pc20_set_effect( s_ctrl , sr130pc20_ctrl.settings.effect); sr130pc20_set_white_balance( s_ctrl, sr130pc20_ctrl.settings.wb); sr130pc20_set_exposure_compensation( s_ctrl , sr130pc20_ctrl.settings.exposure ); diff --git a/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv.h b/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv.h index d38b6c2c11e..4199d30cbb6 100644 --- a/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv.h +++ b/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv.h @@ -960,910 +960,6 @@ static struct msm_camera_i2c_reg_conf sr130pc20_Init_Reg[] = { #if 1 -#ifdef CONFIG_MACH_MILLETLTE_KOR -static struct msm_camera_i2c_reg_conf sr130pc20_CIF_VT_Init_Reg[] = { -{0x03, 0x00,}, -{0x01, 0x01,}, /*sleep*/ -{0x01, 0x03,}, /*s/w reset*/ -{0x01, 0x01,}, /*sleep*/ -{0x08, 0x00,},/*Don't touch*/ -{0x09, 0x37,},/*Don't touch*/ -{0x0a, 0x33,},/*Don't touch*/ -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x01,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, -{0x10, 0x11,}, -{0x11, 0x94,}, /*xy flip*/ -{0x12, 0x00,}, /*Sync type default:0x00*/ -{0x14, 0x88,}, -{0x03, 0x00,}, -{0x20, 0x00,}, -{0x21, 0x04,}, -{0x22, 0x00,}, -{0x23, 0x04,}, -{0x24, 0x03,}, -{0x25, 0xC0,}, -{0x26, 0x05,}, -{0x27, 0x00,}, -{0x40, 0x01,}, /*Hblank 280*/ -{0x41, 0x18,}, -{0x42, 0x00,}, /*Vblank 20*/ -{0x43, 0x14,}, -{0x80, 0x08,}, /*Don't touch */ -{0x81, 0x97,}, /*Don't touch */ -{0x82, 0x90,}, /*Don't touch */ -{0x83, 0x30,}, /*Don't touch */ -{0x84, 0xcc,}, /*Don't touch*/ -{0x85, 0x00,}, /*Don't touch*/ -{0x86, 0xd4,}, /*Don' t touch*/ -{0x87, 0x0f,}, /*Don't touch*/ -{0x88, 0x34,}, /*Don't touch*/ -{0x90, 0x0b,}, /*BLC_TIME_TH_ON*/ -{0x91, 0x0b,}, /*BLC_TIME_TH_OFF */ -{0x92, 0xf0,}, /*BLC_AG_TH_ON*/ -{0x93, 0xe8,}, /*BLC_AG_TH_OFF*/ -{0x94, 0x95,}, /*091202*/ -{0x95, 0x90,}, /*091202 */ -{0x98, 0x38,}, /*Don't touch*/ -{0xa0, 0x01,}, /* 20100309*/ -{0xa2, 0x01,}, /* 20100309*/ -{0xa4, 0x01,}, /* 20100309*/ -{0xa6, 0x01,}, /* 20100309*/ -{0xa8, 0x00,}, -{0xaa, 0x00,}, -{0xac, 0x00,}, -{0xae, 0x00,}, -{0x99, 0x00,}, -{0x9a, 0x00,}, -{0x9b, 0x00,}, -{0x9c, 0x00,}, -{0x03, 0x02,}, -{0x12, 0x00,}, /*Don't touch*/ -{0x14, 0x00,}, /*Don't touch*/ -{0x15, 0x00,}, /*Don't touch*/ -{0x18, 0x4C,}, /*Don't touch*/ -{0x19, 0x00,}, /*Don't touch*/ -{0x1A, 0x39,}, /*Don't touch*/ -{0x1B, 0x00,},/*Don't touch*/ -{0x1C, 0x1a,}, /*Don't touch*/ -{0x1D, 0x14,}, /*Don't touch*/ -{0x1E, 0x30,},/*Don't touch*/ -{0x1F, 0x10,},/*Don't touch*/ -{0x20, 0x77,}, -{0x21, 0xde,}, -{0x22, 0xa7,}, -{0x23, 0x30,}, -{0x24, 0x77,}, -{0x25, 0x10,}, -{0x26, 0x10,}, -{0x27, 0x3c,}, -{0x2b, 0x80,}, -{0x2c, 0x02,}, -{0x2d, 0xa0,}, -{0x2e, 0x00,}, -{0x2f, 0xa7,}, -{0x30, 0x00,}, -{0x31, 0x99,}, -{0x32, 0x00,}, -{0x33, 0x00,}, -{0x34, 0x22,}, -{0x36, 0x01,}, -{0x37, 0x01,}, -{0x38, 0x88,}, -{0x39, 0x88,}, -{0x3d, 0x03,}, -{0x3e, 0x0d,}, -{0x3f, 0x02,}, -{0x49, 0xd1,}, -{0x4a, 0x14,}, -{0x50, 0x21,}, -{0x52, 0x01,}, -{0x53, 0x81,}, -{0x54, 0x10,}, -{0x55, 0x1c,}, -{0x56, 0x11,}, -{0x58, 0x18,}, -{0x59, 0x16,}, -{0x5d, 0xa2,}, -{0x5e, 0x5a,}, -{0x60, 0x93,}, /* 20120517 modify*/ -{0x61, 0xa4,}, /* 20120517 modify*/ -{0x62, 0x94,}, /* 20120517 modify*/ -{0x63, 0xa3,}, /* 20120517 modify*/ -{0x64, 0x94,}, /* 20120517 modify*/ -{0x65, 0xa3,}, /* 20120517 modify*/ -{0x67, 0x0c,}, -{0x68, 0x0c,}, -{0x69, 0x0c,}, -{0x6a, 0xb4,}, -{0x6b, 0xc4,}, -{0x6c, 0xb5,}, -{0x6d, 0xc2,}, -{0x6e, 0xb5,}, -{0x6f, 0xc0,}, -{0x70, 0xb6,}, -{0x71, 0xb8,}, -{0x72, 0x95,}, /* 20120517 modify*/ -{0x73, 0xa2,}, /* 20120517 modify*/ -{0x74, 0x95,}, /* 20120517 modify*/ -{0x75, 0xa2,}, /* 20120517 modify*/ -{0x76, 0x95,}, /* 20120517 modify*/ -{0x77, 0xa2,}, /* 20120517 modify*/ -{0x7C, 0x92,}, /* 20120517 modify*/ -{0x7D, 0xff,}, /* 20120517 modify*/ -{0x80, 0x01,}, /* 20120517 modify*/ -{0x81, 0x8a,}, /* 20120517 modify*/ -{0x82, 0x1e,}, /* 20120517 modify*/ -{0x83, 0x36,}, /* 20120517 modify*/ -{0x84, 0x89,}, /* 20120517 modify*/ -{0x85, 0x8b,}, /* 20120517 modify*/ -{0x86, 0x89,}, /* 20120517 modify*/ -{0x87, 0x8b,}, /* 20120517 modify*/ -{0x88, 0xab,}, -{0x89, 0xbc,}, -{0x8a, 0xac,}, -{0x8b, 0xba,}, -{0x8c, 0xad,}, -{0x8d, 0xb8,}, -{0x8e, 0xae,}, -{0x8f, 0xb2,}, -{0x90, 0xb3,}, -{0x91, 0xb7,}, -{0x92, 0x52,}, /* 20120517 modify*/ -{0x93, 0x6a,}, /* 20120517 modify*/ -{0x94, 0x89,}, /* 20120517 modify*/ -{0x95, 0x8b,}, /* 20120517 modify*/ -{0x96, 0x89,}, /* 20120517 modify*/ -{0x97, 0x8b,}, /* 20120517 modify*/ -{0xA0, 0x02,}, -{0xA1, 0x86,}, /* 20120517 modify*/ -{0xA2, 0x02,}, -{0xA3, 0x86,}, /* 20120517 modify*/ -{0xA4, 0x86,}, /* 20120517 modify*/ -{0xA5, 0x02,}, -{0xA6, 0x86,}, /* 20120517 modify*/ -{0xA7, 0x02,}, -{0xA8, 0x92,}, /* 20120517 modify*/ -{0xA9, 0x94,}, /* 20120517 modify*/ -{0xAA, 0x92,}, /* 20120517 modify*/ -{0xAB, 0x94,}, /* 20120517 modify*/ -{0xAC, 0x1c,}, -{0xAD, 0x22,}, -{0xAE, 0x1c,}, -{0xAF, 0x22,}, -{0xB0, 0xa4,}, /* 20120517 modify*/ -{0xB1, 0xae,}, /* 20120517 modify*/ -{0xB2, 0xa4,}, /* 20120517 modify*/ -{0xB3, 0xae,}, /* 20120517 modify*/ -{0xB4, 0xa6,}, /* 20120517 modify*/ -{0xB5, 0xac,}, /* 20120517 modify*/ -{0xB6, 0xa6,}, /* 20120517 modify*/ -{0xB7, 0xac,}, /* 20120517 modify*/ -{0xB8, 0xa6,}, /* 20120517 modify*/ -{0xB9, 0xab,}, /* 20120517 modify*/ -{0xBA, 0xa6,}, /* 20120517 modify*/ -{0xBB, 0xab,}, /* 20120517 modify*/ -{0xBC, 0xa6,}, /* 20120517 modify*/ -{0xBD, 0xab,}, /* 20120517 modify*/ -{0xBE, 0xa6,}, /* 20120517 modify*/ -{0xBF, 0xab,}, /* 20120517 modify*/ -{0xc4, 0x37,}, -{0xc5, 0x52,}, -{0xc6, 0x6b,}, -{0xc7, 0x86,}, -{0xc8, 0x38,}, /* 20120517 modify*/ -{0xc9, 0x50,}, /* 20120517 modify*/ -{0xca, 0x38,}, /* 20120517 modify*/ -{0xcb, 0x50,}, /* 20120517 modify*/ -{0xcc, 0x6c,}, /* 20120517 modify*/ -{0xcd, 0x84,}, /* 20120517 modify*/ -{0xce, 0x6c,}, /* 20120517 modify*/ -{0xcf, 0x84,}, /* 20120517 modify*/ -{0xdc, 0x00,}, /* Added*/ -{0xdd, 0xaf,}, /* Added*/ -{0xde, 0x00,}, /* Added*/ -{0xdf, 0x90,}, /* Added*/ -{0xd0, 0x10,}, -{0xd1, 0x14,}, -{0xd2, 0x20,}, -{0xd3, 0x00,}, -{0xd4, 0x0b,}, /*DCDC_TIME_TH_ON*/ -{0xd5, 0x0b,}, /*DCDC_TIME_TH_OFF */ -{0xd6, 0xf0,}, /*DCDC_AG_TH_ON*/ -{0xd7, 0xe8,}, /*DCDC_AG_TH_OFF*/ -{0xea, 0x8a,}, -{0xF0, 0x01,}, /* clock inversion*/ -{0xF1, 0x01,}, -{0xF2, 0x01,}, -{0xF3, 0x01,}, -{0xF4, 0x01,}, -{0xF5, 0x00,}, -{0x03, 0x10,}, /*page 10*/ -{0x10, 0x01,}, /*Ycbcr422_bit Order: YUYV*/ -{0x12, 0x30,}, /*y offset[4], dif_offset[5]*/ -{0x13, 0x02,}, /*contrast effet enable : 0x02*/ -{0x34, 0x00,}, /*hidden 10->00 100209*/ -{0x37, 0x01,}, /*yc2d power save */ -{0x3f, 0x04,}, /*100825*/ -{0x40, 0x80,}, /*Y offset */ -{0x41, 0x38,}, -{0x48, 0x80,}, /*Contrast (Y = constrast * (Y - 128) + 128)*//*86 */ -{0x50, 0xf0,}, -{0x53, 0x00,}, /*dif_offset option */ -{0x55, 0x30,}, /*dif_offset option diff_offset max */ -{0x60, 0x03,}, /*out color sat en[7] | auto color decrement en[1] / | manual color sat en[0]*/ -{0x61, 0x83,}, /*blue saturation_C0*/ -{0x62, 0x80,}, /*red saturation_B0*/ -{0x63, 0xff,}, /*auto decresment on AG th*/ -{0x64, 0xff,}, /*auto decresment on DG th*/ -{0x66, 0xe4,}, /*Outdoor saturation step 137fps apply out th */ -{0x67, 0x03,}, /*OutdoorsaturationB/R*/ -{0x76, 0x01,}, /* ADD 20121031 */ -{0x79, 0x04,}, /* ADD 20121031 */ -{0x03, 0x10,}, -{0x80, 0x00,}, /* dsshin --> color enhance*/ -{0xf5, 0x00,}, /* dsshin --> h blank option*/ -{0x03, 0x11,}, /*page 11 D_LPF */ -{0x10, 0x3f,}, /*B[6]:Blue En Dlpf on[4:0] Sky over off : 0x7f->3f*/ -{0x11, 0x20,}, /* Uniform Full GbGr/OV-Nr*/ -{0x12, 0x80,}, /*Blue MaxOpt blue sky max filter optoin rate : 0 0xc0->80*/ -{0x13, 0xb8,}, /*dark2[7] | dark2 maxfilter ratio[6:4] | dark3[3] | dark3 maxfilter ratio[2:0] */ -{0x30, 0xba,}, /*Outdoor2 H th*/ -{0x31, 0x10,}, /*Outdoor2 L th*/ -{0x32, 0x50,}, /*Outdoor2 gain ratio*/ -{0x33, 0x1d,}, /*Outdoor2 H lum*/ -{0x34, 0x20,}, /*Outdoor2 M lum*/ -{0x35, 0x1f,}, /*Outdoor2 L lum*/ -{0x36, 0xb0,}, /*Outdoor1 H th*/ -{0x37, 0x18,}, /*Outdoor1 L th*/ -{0x38, 0x50,}, /*Outdoor1 gain ratio 0x80->40*/ -{0x39, 0x1d,}, /*Outdoor1 H lum 0x28->1e*/ -{0x3a, 0x20,}, /*Outdoor1 M lum 0x10->15*/ -{0x3b, 0x1f,}, /*Outdoor1 L lum 0x08->20*/ -{0x3c, 0x3f,}, /*indoor H th*/ -{0x3d, 0x16,}, /*indoor L th*/ -{0x3e, 0x30,}, /*indoor gain ratio 0x44 6a */ -{0x3f, 0x1a,}, /*indoor H lum 0x12 18 */ -{0x40, 0x60,}, /*indoor M lum 0x18 1c*/ -{0x41, 0x1a,}, /*indoor L lum 0x18 3e*/ -{0x42, 0x98,}, /*dark1 H th*/ -{0x43, 0x28,}, /*dark1 L th*/ -{0x44, 0x65,}, /*dark1 gain ratio*/ -{0x45, 0x16,}, /*dark1 H lum 0x38->0x28 */ -{0x46, 0x30,}, /*dark1 M lum 0x27->0x17*/ -{0x47, 0x34,}, /*dark1 L lum 0x20->0x1a */ -{0x48, 0x90,}, /*dark2 H th*/ -{0x49, 0x2a,}, /*dark2 L th*/ -{0x4a, 0x65,}, /*dark2 gain ratio*/ -{0x4b, 0x18,}, /*dark2 H lum */ -{0x4c, 0x31,}, /*dark2 M lum*/ -{0x4d, 0x36,}, /*dark2 L lum */ -{0x4e, 0x80,}, /*dark3 H th*/ -{0x4f, 0x30,}, /*dark3 L th*/ -{0x50, 0x65,}, /*dark3 gain ratio*/ -{0x51, 0x19,}, /*dark3 H lum */ -{0x52, 0x31,}, /*dark3 M lum */ -{0x53, 0x36,}, /*dark3 L lum */ -{0x5a, 0x3f,}, /*blue sky mode out1/2 enable 0x27->3f */ -{0x5b, 0x00,}, /*Impulse pixel enable dark123,in,out123:: must be 0x07 fix setting use!*/ -{0x5c, 0x9f,}, /*Indoor maxfilter rate[7:5] | Uncertain onoff[4:0] 0x1f ->0x9f*/ -{0x60, 0x3f,}, /*GbGr all enable*/ -{0x62, 0x0f,}, /*GbGr offset*/ -{0x65, 0x0c,}, /*Outdoor GbGr rate H 100% M 25% L 100%*/ -{0x66, 0x0c,}, /*Indoor GbGr rate H 100% M 25% L 100%*/ -{0x67, 0x00,}, /*dark GbGr rate H/M/L 100%*/ -{0x70, 0x0c,}, /* Abberation On/Off B[1]: Outdoor B[0]: Indoor 07>>c*/ -{0x75, 0xa0,}, /* Outdoor2 Abberation Luminance lvl */ -{0x7d, 0xb4,}, /* Indoor Abberation Luminance lvl*/ -{0x96, 0x08,}, /*indoor/Dark1 edgeoffset1*/ -{0x97, 0x14,}, /*indoor/Dark1 center G value*/ -{0x98, 0xf5,}, /*slope indoor :: left/right graph polarity, slope*/ -{0x99, 0x2a,}, /*indoor uncertain ratio control*/ -{0x9a, 0x20,}, /*Edgeoffset_dark*/ -{0x03, 0x12,}, /*Preview DPC off[0x5c] on[0x5d]*/ -{0x20, 0x0e,}, -{0x21, 0x0e,}, -{0x25, 0x00,}, /* 0x30*/ -{0x2a, 0x01,}, -{0x2e, 0x00,}, /*2010.8.25*/ -{0x30, 0x35,}, /*Texture region(most detail)*/ -{0x31, 0xa0,}, /*STD uniform1 most blur region*/ -{0x32, 0xb0,}, /*STD uniform2 2nd blur*/ -{0x33, 0xc0,}, /*STD uniform3 3rd blur*/ -{0x34, 0xd0,}, /*STD normal noise1 4th blur */ -{0x35, 0xe0,}, /*STD normal noise2 5th blur*/ -{0x36, 0xff,}, /*STD normal noise3 6th blur*/ -{0x40, 0x83,}, /*Outdoor2 H th*/ -{0x41, 0x20,}, /*Outdoor2 L th */ -{0x42, 0x08,}, /*Outdoor2 H luminance */ -{0x43, 0x10,}, /*Outdoor2 M luminance */ -{0x44, 0x10,}, /*Outdoor2 l luminance */ -{0x45, 0x50,}, /*Outdoor2 ratio*/ -{0x46, 0x83,}, /*Outdoor1 H th*/ -{0x47, 0x20,}, /*Outdoor1 L th */ -{0x48, 0x08,}, /*Outdoor1 H luminance*/ -{0x49, 0x10,}, /*Outdoor1 M luminance*/ -{0x4a, 0x10,}, /*Outdoor1 L luminance*/ -{0x4b, 0x50,}, /*Outdoor1 ratio*/ -{0x4c, 0x80,}, /*Indoor H th*/ -{0x4d, 0x48,}, /*Indoor L th*/ -{0x4e, 0x30,}, /*indoor H lum*/ -{0x4f, 0x30,}, /*indoor M lum*/ -{0x50, 0x12,}, /*indoor L lum */ -{0x51, 0x70,}, /*indoor ratio 0x10 -> 0x45*/ -{0x52, 0xa8,}, /*dark1 H th*/ -{0x53, 0x30,}, /*dark1 L th */ -{0x54, 0x28,}, /*dark1 H lum */ -{0x55, 0x3e,}, /*dark1 M lum*/ -{0x56, 0x67,}, /*dark1 L lum*/ -{0x57, 0x6a,}, /*dark1 ratio*/ -{0x58, 0xa0,}, /*dark2 H th*/ -{0x59, 0x40,}, /*dark2 L th*/ -{0x5a, 0x28,}, /*dark2 H lum*/ -{0x5b, 0x3f,}, /*dark2 M lum*/ -{0x5c, 0x68,}, /*dark2 L lum*/ -{0x5d, 0x70,}, /*dark2 ratio*/ -{0x5e, 0xa0,}, /*dark3 H th*/ -{0x5f, 0x40,}, /*dark3 L th*/ -{0x60, 0x29,}, /*dark3 H lum*/ -{0x61, 0x3f,}, /*dark3 M lum*/ -{0x62, 0x69,}, /*dark3 L lum*/ -{0x63, 0x6a,}, /*dark3 ratio*/ -{0x70, 0x10,}, -{0x71, 0x0a,}, -{0x72, 0x10,}, -{0x73, 0x0a,}, -{0x74, 0x18,}, -{0x75, 0x12,}, -{0x80, 0x20,}, -{0x81, 0x40,}, -{0x82, 0x65,}, -{0x85, 0x1a,}, -{0x88, 0x00,}, -{0x89, 0x00,}, -{0x90, 0x5d,}, /*Preview DPC off[0x5c] on[0x5d]*/ -{0xad, 0x07,}, /*10825*/ -{0xae, 0x07,}, /*10825*/ -{0xaf, 0x07,}, /*10825*/ -{0xc5, 0x58,}, /*BlueRange 2010.8.25 0x40->23 */ -{0xc6, 0x20,}, /*GreenRange 2010.8.25 0x3b->20 */ -{0xd0, 0x88,}, /*2010.8.25*/ -{0xd1, 0x80,}, -{0xd2, 0x17,}, /*preview 17, full 67*/ -{0xd3, 0x00,}, -{0xd4, 0x00,}, -{0xd5, 0x0f,}, /*preview 0f, full 02*/ -{0xd6, 0xff,}, -{0xd7, 0xff,}, /*preview ff, full 18*/ -{0xd8, 0x00,}, -{0xd9, 0x04,}, -{0xdb, 0x38,}, /*resolution issue 0x00->0x18->0x38 */ -{0xd9, 0x04,}, /*strong_edge detect ratio*/ -{0xe0, 0x01,}, /*strong_edge detect ratio*/ -{0x03, 0x13,}, /*page 13 sharpness 1D*/ -{0x10, 0xc5,}, -{0x11, 0x7b,}, -{0x12, 0x0e,}, -{0x14, 0x00,}, -{0x15, 0x11,}, /*added option 1.3M*/ -{0x18, 0x30,}, /*added option 1.3M*/ -{0x20, 0x15,}, -{0x21, 0x13,}, -{0x22, 0x33,}, -{0x23, 0x08,}, /*hi_clip th1*/ -{0x24, 0x1a,}, /*hi_clip th2*/ -{0x25, 0x06,}, /*low clip th*/ -{0x26, 0x18,}, -{0x27, 0x30,}, -{0x29, 0x10,}, /*time th*/ -{0x2a, 0x30,}, /*pga th*/ -{0x2b, 0x03,}, /*lpf out2*/ -{0x2c, 0x03,}, /*lpf out1*/ -{0x2d, 0x0c,}, -{0x2e, 0x12,}, -{0x2f, 0x12,}, -{0x50, 0x0a,}, /*out2 hi nega*/ -{0x53, 0x07,}, /* hi pos*/ -{0x51, 0x0c,}, /* mi nega*/ -{0x54, 0x07,}, /* mi pos*/ -{0x52, 0x0b,}, /* lo nega*/ -{0x55, 0x08,}, /* lo pos*/ -{0x56, 0x0a,}, /*out1 hi nega*/ -{0x59, 0x07,}, /* hi pos */ -{0x57, 0x0c,}, /* mi nega*/ -{0x5a, 0x07,}, /* mi pos */ -{0x58, 0x0b,}, /* lo nega*/ -{0x5b, 0x08,}, /* lo pos */ -{0x5c, 0x08,}, /*indoor hi nega*/ -{0x5f, 0x07,}, /* hi pos*/ -{0x5d, 0x14,}, /* mid nega ,11*/ -{0x60, 0x12,}, /* mid pos ,0*/ -{0x5e, 0x0a,}, /* low nega */ -{0x61, 0x08,}, /* low pos*/ -{0x62, 0x08,}, /*dark1 hi nega*/ -{0x65, 0x06,}, /* hi pos */ -{0x63, 0x08,}, /* mid nega */ -{0x66, 0x06,}, /* mid pos */ -{0x64, 0x08,}, /* low nega */ -{0x67, 0x06,}, /* low pos */ -{0x68, 0x07,}, /*dark2 hi nega*/ -{0x6b, 0x05,}, /* hi pos */ -{0x69, 0x07,}, /* mid nega */ -{0x6c, 0x05,}, /* mid pos */ -{0x6a, 0x07,}, /* low nega */ -{0x6d, 0x05,}, /* low pos */ -{0x6e, 0x0a,}, /*dark3 hi nega*/ -{0x71, 0x09,}, /* hi pos */ -{0x6f, 0x0a,}, /* mid nega */ -{0x72, 0x09,}, /* mid pos */ -{0x70, 0x0a,}, /* low nega */ -{0x73, 0x09,}, /* low pos */ -{0x80, 0xc1,}, -{0x81, 0x1f,}, -{0x82, 0xe1,}, -{0x83, 0x33,}, -{0x90, 0x05,}, -{0x91, 0x05,}, -{0x92, 0x33,}, -{0x93, 0x30,}, -{0x94, 0x03,}, -{0x95, 0x14,}, -{0x97, 0x30,}, -{0x99, 0x30,}, -{0xa0, 0x02,}, /*2d lclp out2 nega*/ -{0xa1, 0x03,}, /*2d lclp out2 pos*/ -{0xa2, 0x02,}, /*2d lclp out1 nega*/ -{0xa3, 0x03,}, /*2d lclp out1 pos*/ -{0xa4, 0x03,}, /*2d lclp in nega*/ -{0xa5, 0x04,}, /*2d lclp in pos*/ -{0xa6, 0x07,}, /*2d lclp dark1 nega*/ -{0xa7, 0x08,}, /*2d lclp dark1 pos*/ -{0xa8, 0x07,}, /*2d lclp dark2 nega*/ -{0xa9, 0x08,}, /*2d lclp dark2 pos*/ -{0xaa, 0x07,}, /*2d lclp dark3 nega*/ -{0xab, 0x08,}, /*2d lclp dark3 pos*/ -{0xb0, 0x10,}, /*out2 H Ne*/ -{0xb3, 0x10,}, /* H Po*/ -{0xb1, 0x1e,}, /* M Ne*/ -{0xb4, 0x1e,}, /* M Po*/ -{0xb2, 0x1f,}, /* L Ne*/ -{0xb5, 0x1e,}, /* L Po*/ -{0xb6, 0x10,}, /*out1 H Ne */ -{0xb9, 0x10,}, /* H Po */ -{0xb7, 0x1e,}, /* M Ne */ -{0xba, 0x1e,}, /* M Po */ -{0xb8, 0x1f,}, /* L Ne */ -{0xbb, 0x1e,}, /* L Po */ -{0xbc, 0x20,}, /*indoor H Ne*/ -{0xbf, 0x1e,}, /* H Po*/ -{0xbd, 0x25,}, /* M Ne*/ -{0xc0, 0x23,}, /* M Po*/ -{0xbe, 0x24,}, /* L Ne*/ -{0xc1, 0x22,}, /* L Po*/ -{0xc2, 0x23,}, /*dark1 H Ne*/ -{0xc5, 0x23,}, /* H Po*/ -{0xc3, 0x29,}, /* M Ne*/ -{0xc6, 0x29,}, /* M Po*/ -{0xc4, 0x25,}, /* L Ne*/ -{0xc7, 0x25,}, /* L Po*/ -{0xc8, 0x1c,}, /*dark2 H Ne*/ -{0xcb, 0x1c,}, /* H Po*/ -{0xc9, 0x25,}, /* M Ne*/ -{0xcc, 0x25,}, /* M Po*/ -{0xca, 0x23,}, /* L Ne*/ -{0xcd, 0x23,}, /* L Po*/ -{0xce, 0x1c,}, /*dark3 H Ne*/ -{0xd1, 0x1c,}, /* H Po*/ -{0xcf, 0x25,}, /* M Ne*/ -{0xd2, 0x25,}, /* M Po*/ -{0xd0, 0x23,}, /* L Ne*/ -{0xd3, 0x23,}, /* L Po*/ -{0x03, 0x14,}, -{0x10, 0x31,}, -{0x14, 0x80,}, /* GX*/ -{0x15, 0x80,}, /* GY*/ -{0x16, 0x80,}, /* RX*/ -{0x17, 0x80,}, /* RY*/ -{0x18, 0x80,}, /* BX*/ -{0x19, 0x80,}, /* BY*/ -{0x20, 0x60,}, /* X Center*/ -{0x21, 0x80,}, /* Y Center*/ -{0x22, 0x80,}, -{0x23, 0x80,}, -{0x24, 0x80,}, -{0x30, 0xc8,}, -{0x31, 0x2b,}, -{0x32, 0x00,}, -{0x33, 0x00,}, -{0x34, 0x90,}, -{0x40, 0x56,}, /*Rmin'sset4e*/ -{0x41, 0x3a,}, /*Gr*/ -{0x42, 0x37,}, /*B*/ -{0x43, 0x3a,}, /*Gb*/ -{0x03, 0x15,}, -{0x10, 0x21,}, -{0x14, 0x44,}, /*49*/ -{0x15, 0x34,}, /*38*/ -{0x16, 0x26,}, /*2b*/ -{0x17, 0x2f,}, -{0x30, 0xdd,}, -{0x31, 0x62,}, -{0x32, 0x05,}, -{0x33, 0x26,}, -{0x34, 0xbd,}, -{0x35, 0x17,}, -{0x36, 0x18,}, -{0x37, 0x38,}, -{0x38, 0xd0,}, -{0x40, 0xb0,}, -{0x41, 0x30,}, -{0x42, 0x00,}, -{0x43, 0x00,}, -{0x44, 0x00,}, -{0x45, 0x00,}, -{0x46, 0x99,}, -{0x47, 0x19,}, -{0x48, 0x00,}, -{0x50, 0x16,}, -{0x51, 0xb2,}, -{0x52, 0x1c,}, -{0x53, 0x06,}, -{0x54, 0x20,}, -{0x55, 0xa6,}, -{0x56, 0x0e,}, -{0x57, 0xb2,}, -{0x58, 0x24,}, -{0x03, 0x16,}, -{0x10, 0x31,}, /*GMA_CTL*/ -{0x18, 0x7e,}, /*AG_ON*/ -{0x19, 0x7d,}, /*AG_OFF*/ -{0x1a, 0x0e,}, /*TIME_ON*/ -{0x1b, 0x01,}, /*TIME_OFF*/ -{0x1C, 0xdc,}, /*OUT_ON*/ -{0x1D, 0xfe,}, /*OUT_OFF*/ -{0x30, 0x00,}, -{0x31, 0x07,}, -{0x32, 0x1a,}, -{0x33, 0x35,}, -{0x34, 0x5a,}, -{0x35, 0x7c,}, -{0x36, 0x96,}, -{0x37, 0xa9,}, -{0x38, 0xb7,}, -{0x39, 0xc6,}, -{0x3a, 0xd2,}, -{0x3b, 0xdc,}, -{0x3c, 0xe4,}, -{0x3d, 0xeb,}, -{0x3e, 0xf1,}, -{0x3f, 0xf5,}, -{0x40, 0xf9,}, -{0x41, 0xfd,}, -{0x42, 0xff,}, -{0x50, 0x00,}, -{0x51, 0x03,}, -{0x52, 0x13,}, -{0x53, 0x2e,}, -{0x54, 0x59,}, -{0x55, 0x79,}, -{0x56, 0x90,}, -{0x57, 0xa3,}, -{0x58, 0xb4,}, -{0x59, 0xc2,}, -{0x5a, 0xcd,}, -{0x5b, 0xd7,}, -{0x5c, 0xe0,}, -{0x5d, 0xe5,}, -{0x5e, 0xe9,}, -{0x5f, 0xee,}, -{0x60, 0xf1,}, -{0x61, 0xf3,}, -{0x62, 0xf6,}, -{0x70, 0x00,}, -{0x71, 0x07,}, -{0x72, 0x1a,}, -{0x73, 0x35,}, -{0x74, 0x5a,}, -{0x75, 0x7c,}, -{0x76, 0x96,}, -{0x77, 0xa9,}, -{0x78, 0xb7,}, -{0x79, 0xc6,}, -{0x7a, 0xd2,}, -{0x7b, 0xdc,}, -{0x7c, 0xe4,}, -{0x7d, 0xeb,}, -{0x7e, 0xf1,}, -{0x7f, 0xf5,}, -{0x80, 0xf9,}, -{0x81, 0xfd,}, -{0x82, 0xff,}, -{0x03, 0x24,}, /*Resol control */ -{0x60, 0xc5,}, /*edge even frame | 16bit resol | white edge cnt | scene resol enable*/ -{0x61, 0x04,}, /*even frame update */ -{0x64, 0x08,}, /* 0x6435, edge th1 H*/ -{0x65, 0x00,}, /*edge th1 L*/ -{0x66, 0x26,}, /*edge th2 H */ -{0x67, 0x00,}, /*edge th2 L */ -{0x03, 0x13,}, -{0x18, 0x31,}, /*flat center Gb/Gr*/ -{0x74, 0x02,}, /*det slope en | gausian filter*/ -{0x75, 0x0d,}, /*1D negative gain det 09 */ -{0x76, 0x0d,}, /*1D postive gain det 08*/ -{0x77, 0x10,}, /*1D hclp2 det*/ -{0x78, 0x08,}, /*outdoor flat threshold*/ -{0x79, 0x10,}, /*indoor flat threshold*/ -{0x81, 0xdf,}, /*det gain controler*/ -{0x86, 0x90,}, /*2D negative gain det */ -{0x87, 0x90,}, /*2D postive gain det */ -{0x96, 0x2a,}, /*2D hclp2 det*/ -{0x03, 0x12,}, /*0x12 page*/ -{0xd0, 0x88,}, -{0xd9, 0xe4,}, - -{0x03, 0x18,}, -{0x10, 0x07,}, //scaler on -{0x20, 0x03,}, -{0x21, 0x00,}, -{0x22, 0x01,}, -{0x23, 0x20,}, -{0x24, 0x00,}, -{0x25, 0x20,}, -{0x26, 0x00,}, -{0x27, 0x00,}, -{0x28, 0x02,}, -{0x29, 0xe0,}, -{0x2a, 0x01,}, -{0x2b, 0x20,}, -{0x2c, 0x0d,}, -{0x2d, 0x55,}, -{0x2e, 0x0d,}, -{0x2f, 0x55,}, -{0x30, 0x55,}, - -{0x14, 0x43,}, /*83*/ -{0x03, 0x20,}, -{0x11, 0x1c,}, -{0x18, 0x30,}, -{0x1a, 0x08,}, -{0x20, 0x45,}, /*weight*/ -{0x21, 0x30,}, -{0x22, 0x10,}, -{0x23, 0x00,}, -{0x24, 0x00,}, -{0x28, 0xe7,}, /* add 20120223*/ -{0x29, 0x0d,}, /* 20100305 ad -> 0d*/ -{0x2a, 0xfd,}, -{0x2b, 0xf8,}, -{0x2c, 0xc3,}, -{0x2d, 0x5f,}, /* add 20120223*/ -{0x2e, 0x33,}, -{0x30, 0xf8,}, -{0x32, 0x03,}, -{0x33, 0x2e,}, -{0x34, 0x30,}, -{0x35, 0xd4,}, -{0x36, 0xfe,}, -{0x37, 0x32,}, -{0x38, 0x04,}, -{0x39, 0x22,}, -{0x3a, 0xde,}, -{0x3b, 0x22,}, -{0x3c, 0xde,}, -{0x3d, 0xe1,}, -{0x50, 0x45,}, -{0x51, 0x88,}, -{0x56, 0x1a,}, -{0x57, 0x80,}, -{0x58, 0x0e,}, -{0x59, 0x6a,}, -{0x5a, 0x04,}, -{0x5e, 0x9d,}, /*AE_AWB_start*/ -{0x5f, 0x76,}, /*AE_AWB_start*/ -{0x70, 0x40,}, /* 6c*/ -{0x71, 0x82,}, /* 82(+8)*/ -{0x76, 0x21,}, -{0x77, 0x91,}, -{0x78, 0x22,}, /* 24*/ -{0x79, 0x2b,}, /* Y Target 70 => 25, 72 => 26*/ -{0x7a, 0x23,}, /* 23*/ -{0x7b, 0x22,}, /* 22*/ -{0x7d, 0x23,}, -{0x83, 0x01,}, /*EXP Normal 33.33 fps */ -{0x84, 0x86,}, -{0x85, 0xa0,}, -{0x86, 0x01,}, /*EXPMin 7500.00 fps*/ -{0x87, 0x90,}, -{0x88, 0x03,}, /*EXP Max(120Hz) 12.00 fps*/ -{0x89, 0xd0,}, -{0x8a, 0x90,}, -{0xa5, 0x04,}, /*EXP Max(100Hz) 11.11 fps*/ -{0xa6, 0x1e,}, -{0xa7, 0xb0,}, -{0x8B, 0x75,}, /*EXP100 */ -{0x8C, 0x30,}, -{0x8D, 0x61,}, /*EXP120 */ -{0x8E, 0xa8,}, -{0x91, 0x04,}, /*EXP Fix 10.00 fps*/ -{0x92, 0x93,}, -{0x93, 0xe0,}, -{0x9c, 0x0a,}, /*EXP Limit 1071.43 fps*/ -{0x9d, 0xf0,}, -{0x9e, 0x01,}, /*EXP Unit */ -{0x9f, 0x90,}, -{0x98, 0x9d,}, -{0xb0, 0x16,}, -{0xb1, 0x14,}, -{0xb2, 0xf8,}, -{0xb3, 0x14,}, -{0xb4, 0x1b,}, -{0xb5, 0x46,}, -{0xb6, 0x31,}, -{0xb7, 0x29,}, -{0xb8, 0x26,}, -{0xb9, 0x24,}, -{0xba, 0x22,}, -{0xbb, 0x42,}, -{0xbc, 0x41,}, -{0xbd, 0x40,}, -{0xc0, 0x10,}, -{0xc1, 0x38,}, -{0xc2, 0x38,}, -{0xc3, 0x38,}, -{0xc4, 0x07,}, -{0xc8, 0x80,}, -{0xc9, 0x80,}, -{0x10, 0x8c,}, /* ae enable*/ -{0x03, 0x21,}, -{0x20, 0x11,}, -{0x21, 0x11,}, -{0x22, 0x11,}, -{0x23, 0x11,}, -{0x24, 0x12,}, -{0x25, 0x22,}, -{0x26, 0x22,}, -{0x27, 0x21,}, -{0x28, 0x12,}, -{0x29, 0x22,}, -{0x2a, 0x22,}, -{0x2b, 0x21,}, -{0x2c, 0x12,}, -{0x2d, 0x23,}, -{0x2e, 0x32,}, -{0x2f, 0x21,}, -{0x30, 0x12,}, -{0x31, 0x23,}, -{0x32, 0x32,}, -{0x33, 0x21,}, -{0x34, 0x12,}, -{0x35, 0x22,}, -{0x36, 0x22,}, -{0x37, 0x21,}, -{0x38, 0x12,}, -{0x39, 0x22,}, -{0x3a, 0x22,}, -{0x3b, 0x21,}, -{0x3c, 0x11,}, -{0x3d, 0x11,}, -{0x3e, 0x11,}, -{0x3f, 0x11,}, -{0x03, 0x22,}, -{0x10, 0xfd,}, -{0x11, 0x2e,}, -{0x19, 0x01,}, /* Low On*/ -{0x20, 0x30,}, /* for wb speed*/ -{0x21, 0x40,}, -{0x24, 0x01,}, -{0x25, 0x7e,}, /* for tracking 20120314 */ -{0x30, 0x80,}, /* 20120224 test*/ -{0x31, 0x80,}, -{0x38, 0x11,}, -{0x39, 0x34,}, -{0x40, 0xe8,}, -{0x41, 0x43,}, /* 33*/ -{0x42, 0x22,}, /* 22*/ -{0x43, 0xf3,}, /* f6*/ -{0x44, 0x54,}, /* 44*/ -{0x45, 0x22,}, /* 33*/ -{0x46, 0x00,}, -{0x48, 0x0a,}, -{0x50, 0xb2,}, -{0x51, 0x81,}, -{0x52, 0x98,}, -{0x80, 0x38,}, -{0x81, 0x20,}, -{0x82, 0x38,}, /* 3a*/ -{0x83, 0x56,}, /* R Max*/ -{0x84, 0x20,}, /* R Min*/ -{0x85, 0x54,}, /* B Max*/ -{0x86, 0x20,}, /* B Min*/ -{0x87, 0x46,}, -{0x88, 0x36,}, -{0x89, 0x3a,}, -{0x8a, 0x2f,}, -{0x8b, 0x3d,}, -{0x8c, 0x37,}, -{0x8d, 0x35,}, -{0x8e, 0x32,}, -{0x8f, 0x5a,}, -{0x90, 0x59,}, -{0x91, 0x55,}, -{0x92, 0x4e,}, -{0x93, 0x44,}, -{0x94, 0x3a,}, -{0x95, 0x34,}, -{0x96, 0x2c,}, -{0x97, 0x23,}, -{0x98, 0x20,}, -{0x99, 0x1f,}, -{0x9a, 0x1f,}, -{0x9b, 0x77,}, -{0x9c, 0x77,}, -{0x9d, 0x48,}, -{0x9e, 0x38,}, -{0x9f, 0x30,}, -{0xa0, 0x40,}, -{0xa1, 0x21,}, -{0xa2, 0x6f,}, -{0xa3, 0xff,}, -{0xa4, 0x14,}, /* 1500fps*/ -{0xa5, 0x44,}, /* 700fps*/ -{0xa6, 0xcf,}, -{0xad, 0x40,}, -{0xae, 0x4a,}, -{0xaf, 0x2a,}, /* low temp Rgain*/ -{0xb0, 0x28,}, /* low temp Rgain*/ -{0xb1, 0x00,}, /* 0x20 -> 0x00 0405 modify*/ -{0xb4, 0xbf,}, /* for tracking 20120314*/ -{0xb8, 0xa1,}, /*a2:b-2,R+2b4B-3,R+4lowtempb0a1SpecAWBAmodify*/ -{0xb9, 0x00,}, -{0x03, 0x00,}, -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x05,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, -{0x03, 0x48,}, -{0x10, 0x1c,}, -{0x11, 0x00,}, -{0x12, 0x00,}, -{0x14, 0x00,}, -{0x16, 0x04,}, -{0x17, 0x00,}, -{0x18, 0x80,}, -{0x19, 0x00,}, -{0x1a, 0xa0,}, -{0x1c, 0x02,}, -{0x1d, 0x0e,}, -{0x1e, 0x07,}, -{0x1f, 0x08,}, -{0x22, 0x00,}, -{0x23, 0x01,}, -{0x24, 0x1e,}, -{0x25, 0x00,}, -{0x26, 0x00,}, -{0x27, 0x08,}, -{0x28, 0x00,}, -{0x30, 0x02,}, -{0x31, 0xc0,}, -{0x32, 0x07,}, -{0x33, 0x09,}, -{0x34, 0x01,}, -{0x35, 0x01,}, -{0x03, 0x00,}, -{0x01, 0x00,}, -{0xff, 0x28,}, /*400ms Delay*/ -}; -#endif - static struct msm_camera_i2c_reg_conf sr130pc20_VT_Init_Reg[] = { {0x03, 0x00,}, /*0Page*/ {0x01, 0x01,}, /*sleep*/ @@ -2747,7 +1843,7 @@ static struct msm_camera_i2c_reg_conf sr130pc20_VT_Init_Reg[] = { #endif -static struct msm_camera_i2c_reg_conf sr130pc20_camcorder_mode_50hz[] = { +static struct msm_camera_i2c_reg_conf sr130pc20_camcorder_mode[] = { /*0 Page*/ {0x03, 0x00,}, {0x01, 0x01,}, /*sleep*/ @@ -3662,926 +2758,7 @@ static struct msm_camera_i2c_reg_conf sr130pc20_camcorder_mode_50hz[] = { {0xff, 0x28,}, /*400ms Delay*/ }; -static struct msm_camera_i2c_reg_conf sr130pc20_camcorder_mode_60hz[] = { -/*0 Page*/ -{0x03, 0x00,}, -{0x01, 0x01,}, /*sleep*/ -{0x01, 0x03,}, /*s/w reset*/ -{0x01, 0x01,}, /*sleep*/ -{0x08, 0x00,},/*Don't touch*/ -{0x09, 0x37,},/*Don't touch*/ -{0x0a, 0x33,},/*Don't touch*/ -/*PLL Setting*/ -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x01,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, -{0x10, 0x11,}, -{0x11, 0x94,}, /*xy flip*/ -{0x12, 0x00,}, -{0x14, 0x88,}, -{0x03, 0x00,}, -{0x20, 0x00,}, -{0x21, 0x04,}, -{0x22, 0x00,}, -{0x23, 0x04,}, -{0x24, 0x03,}, -{0x25, 0xC0,}, -{0x26, 0x05,}, -{0x27, 0x00,}, -{0x40, 0x01,}, /*Hblank_280*/ -{0x41, 0x18,}, -{0x42, 0x00,}, /*Vblank 124*/ -{0x43, 0x7c,}, -{0x03, 0x00,}, /*ESD */ -{0x0b, 0xaa,}, -{0x0c, 0xaa,}, -{0x0d, 0xaa,}, -/*--------------- BLC*/ -{0x80, 0x08,}, /*Don't touch */ -{0x81, 0x97,}, /*Don't touch */ -{0x82, 0x90,}, /*Don't touch */ -{0x83, 0x30,}, /*Don't touch */ -{0x84, 0xcc,}, /*Don't touch*/ -{0x85, 0x00,}, /*Don't touch*/ -{0x86, 0xd4,}, /*Don' t touch*/ -{0x87, 0x0f,}, /*Don't touch*/ -{0x88, 0x34,}, /*Don't touch*/ -{0x90, 0x04,}, /*BLC_TIME_TH_ON*/ -{0x91, 0x04,}, /*BLC_TIME_TH_OFF */ -{0x92, 0xe8,}, /*BLC_AG_TH_ON*/ -{0x93, 0xe0,}, /*BLC_AG_TH_OFF*/ -{0x94, 0x95,}, /*091202*/ -{0x95, 0x90,}, /*091202 */ -{0x98, 0x38,}, /*Don't touch*/ -/*Dark BLC*/ -{0xa0, 0x01,}, /* 20100309*/ -{0xa2, 0x01,}, /* 20100309*/ -{0xa4, 0x01,}, /* 20100309*/ -{0xa6, 0x01,}, /* 20100309*/ -/*Normal BLC*/ -{0xa8, 0x00,}, -{0xaa, 0x00,}, -{0xac, 0x00,}, -{0xae, 0x00,}, -/*Out BLC*/ -{0x99, 0x00,}, -{0x9a, 0x00,}, -{0x9b, 0x00,}, -{0x9c, 0x00,}, -/*2 Page*/ -{0x03, 0x02,}, -{0x12, 0x00,}, /*Don't touch*/ -{0x14, 0x00,}, /*Don't touch*/ -{0x15, 0x00,}, /*Don't touch*/ -{0x18, 0x4C,}, /*Don't touch*/ -{0x19, 0x00,}, /*Don't touch*/ -{0x1A, 0x39,}, /*Don't touch*/ -{0x1B, 0x00,},/*Don't touch*/ -{0x1C, 0x1a,}, /*Don't touch*/ -{0x1D, 0x14,}, /*Don't touch*/ -{0x1E, 0x30,},/*Don't touch*/ -{0x1F, 0x10,},/*Don't touch*/ -{0x20, 0x77,}, -{0x21, 0xde,}, -{0x22, 0xa7,}, -{0x23, 0x30,}, -{0x24, 0x77,}, -{0x25, 0x10,}, -{0x26, 0x10,}, -{0x27, 0x3c,}, -{0x2b, 0x80,}, -{0x2c, 0x02,}, -{0x2d, 0xa0,}, -{0x2e, 0x00,}, -{0x2f, 0xa7,}, -{0x30, 0x00,}, -{0x31, 0x99,}, -{0x32, 0x00,}, -{0x33, 0x00,}, -{0x34, 0x22,}, -{0x36, 0x01,}, -{0x37, 0x01,}, -{0x38, 0x88,}, -{0x39, 0x88,}, -{0x3d, 0x03,}, -{0x3e, 0x0d,}, -{0x3f, 0x02,}, -{0x49, 0xd1,}, -{0x4a, 0x14,}, -{0x50, 0x21,}, -{0x52, 0x01,}, -{0x53, 0x81,}, -{0x54, 0x10,}, -{0x55, 0x1c,}, -{0x56, 0x11,}, -{0x58, 0x18,}, -{0x59, 0x16,}, -{0x5d, 0xa2,}, -{0x5e, 0x5a,}, -{0x60, 0x93,}, /* 20120517 modify*/ -{0x61, 0xa4,}, /* 20120517 modify*/ -{0x62, 0x94,}, /* 20120517 modify*/ -{0x63, 0xa3,}, /* 20120517 modify*/ -{0x64, 0x94,}, /* 20120517 modify*/ -{0x65, 0xa3,}, /* 20120517 modify*/ -{0x67, 0x0c,}, -{0x68, 0x0c,}, -{0x69, 0x0c,}, -{0x6a, 0xb4,}, -{0x6b, 0xc4,}, -{0x6c, 0xb5,}, -{0x6d, 0xc2,}, -{0x6e, 0xb5,}, -{0x6f, 0xc0,}, -{0x70, 0xb6,}, -{0x71, 0xb8,}, -{0x72, 0x95,}, /* 20120517 modify*/ -{0x73, 0xa2,}, /* 20120517 modify*/ -{0x74, 0x95,}, /* 20120517 modify*/ -{0x75, 0xa2,}, /* 20120517 modify*/ -{0x76, 0x95,}, /* 20120517 modify*/ -{0x77, 0xa2,}, /* 20120517 modify*/ -{0x7C, 0x92,}, /* 20120517 modify*/ -{0x7D, 0xff,}, /* 20120517 modify*/ -{0x80, 0x01,}, /* 20120517 modify*/ -{0x81, 0x8a,}, /* 20120517 modify*/ -{0x82, 0x1e,}, /* 20120517 modify*/ -{0x83, 0x36,}, /* 20120517 modify*/ -{0x84, 0x89,}, /* 20120517 modify*/ -{0x85, 0x8b,}, /* 20120517 modify*/ -{0x86, 0x89,}, /* 20120517 modify*/ -{0x87, 0x8b,}, /* 20120517 modify*/ -{0x88, 0xab,}, -{0x89, 0xbc,}, -{0x8a, 0xac,}, -{0x8b, 0xba,}, -{0x8c, 0xad,}, -{0x8d, 0xb8,}, -{0x8e, 0xae,}, -{0x8f, 0xb2,}, -{0x90, 0xb3,}, -{0x91, 0xb7,}, -{0x92, 0x52,}, /* 20120517 modify*/ -{0x93, 0x6a,}, /* 20120517 modify*/ -{0x94, 0x89,}, /* 20120517 modify*/ -{0x95, 0x8b,}, /* 20120517 modify*/ -{0x96, 0x89,}, /* 20120517 modify*/ -{0x97, 0x8b,}, /* 20120517 modify*/ -{0xA0, 0x02,}, -{0xA1, 0x86,}, /* 20120517 modify*/ -{0xA2, 0x02,}, -{0xA3, 0x86,}, /* 20120517 modify*/ -{0xA4, 0x86,}, /* 20120517 modify*/ -{0xA5, 0x02,}, -{0xA6, 0x86,}, /* 20120517 modify*/ -{0xA7, 0x02,}, -{0xA8, 0x92,}, /* 20120517 modify*/ -{0xA9, 0x94,}, /* 20120517 modify*/ -{0xAA, 0x92,}, /* 20120517 modify*/ -{0xAB, 0x94,}, /* 20120517 modify*/ -{0xAC, 0x1c,}, -{0xAD, 0x22,}, -{0xAE, 0x1c,}, -{0xAF, 0x22,}, -{0xB0, 0xa4,}, /* 20120517 modify*/ -{0xB1, 0xae,}, /* 20120517 modify*/ -{0xB2, 0xa4,}, /* 20120517 modify*/ -{0xB3, 0xae,}, /* 20120517 modify*/ -{0xB4, 0xa6,}, /* 20120517 modify*/ -{0xB5, 0xac,}, /* 20120517 modify*/ -{0xB6, 0xa6,}, /* 20120517 modify*/ -{0xB7, 0xac,}, /* 20120517 modify*/ -{0xB8, 0xa6,}, /* 20120517 modify*/ -{0xB9, 0xab,}, /* 20120517 modify*/ -{0xBA, 0xa6,}, /* 20120517 modify*/ -{0xBB, 0xab,}, /* 20120517 modify*/ -{0xBC, 0xa6,}, /* 20120517 modify*/ -{0xBD, 0xab,}, /* 20120517 modify*/ -{0xBE, 0xa6,}, /* 20120517 modify*/ -{0xBF, 0xab,}, /* 20120517 modify*/ -{0xc4, 0x37,}, -{0xc5, 0x52,}, -{0xc6, 0x6b,}, -{0xc7, 0x86,}, -{0xc8, 0x38,}, /* 20120517 modify*/ -{0xc9, 0x50,}, /* 20120517 modify*/ -{0xca, 0x38,}, /* 20120517 modify*/ -{0xcb, 0x50,}, /* 20120517 modify*/ -{0xcc, 0x6c,}, /* 20120517 modify*/ -{0xcd, 0x84,}, /* 20120517 modify*/ -{0xce, 0x6c,}, /* 20120517 modify*/ -{0xcf, 0x84,}, /* 20120517 modify*/ -{0xdc, 0x00,}, /* Added*/ -{0xdd, 0xaf,}, /* Added*/ -{0xde, 0x00,}, /* Added*/ -{0xdf, 0x90,}, /* Added*/ -{0xd0, 0x10,}, -{0xd1, 0x14,}, -{0xd2, 0x20,}, -{0xd3, 0x00,}, -/*DCDC */ -{0xd4, 0x04,}, /*DCDC_TIME_TH_ON*/ -{0xd5, 0x04,}, /*DCDC_TIME_TH_OFF */ -{0xd6, 0xe8,}, /*DCDC_AG_TH_ON*/ -{0xd7, 0xe0,}, /*DCDC_AG_TH_OFF*/ -{0xea, 0x8a,}, -{0xF0, 0x01,}, /* clock inversion*/ -{0xF1, 0x01,}, -{0xF2, 0x01,}, -{0xF3, 0x01,}, -{0xF4, 0x01,}, -{0xF5, 0x00,}, -{0x03, 0x10,}, /*page 10*/ -{0x10, 0x01,}, /*Ycbcr422_bit Order: YUYV*/ -{0x11, 0x03,}, -{0x12, 0x30,}, /*y offset[4], dif_offset[5]*/ -{0x13, 0x02,}, /*contrast effet enable : 0x02*/ -{0x34, 0x00,}, /*hidden 10->00 100209*/ -{0x37, 0x01,}, /*yc2d power save */ -{0x3f, 0x04,}, /*100825*/ -{0x40, 0x80,}, /*Y offset */ -{0x41, 0x0a,}, -{0x48, 0x80,}, /*Contrast (Y = constrast * (Y - 128) + 128)/86 */ - -{0x50, 0xf8,}, /*20140404 Dyoffset TH */ - -{0x53, 0x00,}, /*dif_offset option */ -{0x55, 0x30,}, /*dif_offset option diff_offset max */ -{0x60, 0x07,}, -{0x61, 0x83,}, /*blue saturation_C0*/ -{0x62, 0x80,}, /*red saturation_B0*/ -{0x63, 0x80,}, /*auto decresment on AG th*/ -{0x64, 0xff,}, /*auto decresment on DG th*/ -{0x66, 0xe4,}, /*Outdoor saturation step 137fps apply out th */ -{0x67, 0x13,}, /*Outdoor saturation B/R*/ -{0x76, 0x01,}, /* ADD 20121031 */ -{0x79, 0x04,}, /* ADD 20121031 */ -/* Hi 163 */ -/* PAGE 10 START*/ -{0x03, 0x10,}, -{0x80, 0x00,}, /* dsshin --> color enhance*/ -{0xf5, 0x00,}, /* dsshin --> h blank option*/ -{0x03, 0x11,}, /*page 11 D_LPF */ -{0x10, 0x3f,}, /*B[6]:Blue En Dlpf on[4:0] Sky over off : 0x7f->3f*/ -{0x11, 0x20,}, /* Uniform Full GbGr/OV-Nr*/ -{0x12, 0x80,}, /*Blue MaxOpt blue sky max filter optoin rate : 0 0xc0->80*/ -{0x13, 0xb8,}, -{0x30, 0xba,}, /*Outdoor2 H th*/ -{0x31, 0x10,}, /*Outdoor2 L th*/ -{0x32, 0x50,}, /*Outdoor2 gain ratio*/ -{0x33, 0x1d,}, /*Outdoor2 H lum*/ -{0x34, 0x20,}, /*Outdoor2 M lum*/ -{0x35, 0x1f,}, /*Outdoor2 L lum*/ -{0x36, 0xb0,}, /*Outdoor1 H th*/ -{0x37, 0x18,}, /*Outdoor1 L th*/ -{0x38, 0x50,}, /*Outdoor1 gain ratio 0x80->40*/ -{0x39, 0x1d,}, /*Outdoor1 H lum 0x28->1e*/ -{0x3a, 0x20,}, /*Outdoor1 M lum 0x10->15*/ -{0x3b, 0x1f,}, /*Outdoor1 L lum */ -{0x3c, 0x3f,}, /*indoor H th*/ -{0x3d, 0x16,}, /*indoor L th*/ -{0x3e, 0x30,}, /*indoor gain ratio 0x44 6a */ -{0x3f, 0x1a,}, /*indoor H lum 0x12 18 */ -{0x40, 0x60,}, /*indoor M lum 0x18 1c*/ -{0x41, 0x1a,}, /*indoor L lum */ -{0x42, 0x98,}, /*dark1 H th*/ -{0x43, 0x28,}, /*dark1 L th*/ -{0x44, 0x65,}, /*dark1 gain ratio*/ -{0x45, 0x16,}, /*dark1 H lum 0x38->0x28 */ -{0x46, 0x30,}, /*dark1 M lum 0x27->0x17*/ -{0x47, 0x34,}, /*dark1 L lum 0x20->0x1a */ -{0x48, 0x90,}, /*dark2 H th*/ -{0x49, 0x2a,}, /*dark2 L th*/ -{0x4a, 0x65,}, /*dark2 gain ratio*/ -{0x4b, 0x18,}, /*dark2 H lum */ -{0x4c, 0x31,}, /*dark2 M lum*/ -{0x4d, 0x36,}, /*dark2 L lum */ -{0x4e, 0x80,}, /*dark3 H th*/ -{0x4f, 0x30,}, /*dark3 L th*/ -{0x50, 0x65,}, /*dark3 gain ratio*/ -{0x51, 0x19,}, /*dark3 H lum */ -{0x52, 0x31,}, /*dark3 M lum */ -{0x53, 0x36,}, /*dark3 L lum */ -{0x5a, 0x3f,}, /*blue sky mode out1/2 enable 0x27->3f */ -{0x5b, 0x00,}, /*Impulse pixel enable dark123,in,out123*/ -{0x5c, 0x9f,}, /*Indoor maxfilter rate[7:5] | Uncertain onoff[4:0] 0x1f ->0x9f*/ -{0x60, 0x3f,}, /*GbGr all enable*/ -{0x62, 0x0f,}, /*GbGr offset*/ -{0x65, 0x0c,}, /*Outdoor GbGr rate H 100% M 25% L 100%*/ -{0x66, 0x0c,}, /*Indoor GbGr rate H 100% M 25% L 100%*/ -{0x67, 0x00,}, /*dark GbGr rate H/M/L 100%*/ -{0x70, 0x0c,}, /* Abberation On/Off B[1]: Outdoor B[0]: Indoor 07>>c*/ -{0x75, 0xa0,}, /* Outdoor2 Abberation Luminance lvl */ -{0x7d, 0xb4,}, /* Indoor Abberation Luminance lvl*/ -{0x96, 0x08,}, /*indoor/Dark1 edgeoffset1*/ -{0x97, 0x14,}, /*indoor/Dark1 center G value*/ -{0x98, 0xf5,}, /*slope indoor :: left/right graph polarity, slope*/ -{0x99, 0x2a,}, /*indoor uncertain ratio control*/ -{0x9a, 0x20,}, /*Edgeoffset_dark*/ -/*DPC_CTRL*/ -{0x03, 0x12,}, /*Preview DPC off[0x5c] on[0x5d]*/ -{0x20, 0x0f,}, -{0x21, 0x0f,}, -{0x25, 0x00,}, /* 0x30*/ -{0x2a, 0x01,}, -{0x2e, 0x00,}, /*2010.8.25*/ -{0x30, 0x35,}, /*Texture region(most detail)*/ -{0x31, 0xa0,}, /*STD uniform1 most blur region*/ -{0x32, 0xb0,}, /*STD uniform2 2nd blur*/ -{0x33, 0xc0,}, /*STD uniform3 3rd blur*/ -{0x34, 0xd0,}, /*STD normal noise1 4th blur */ -{0x35, 0xe0,}, /*STD normal noise2 5th blur*/ -{0x36, 0xff,}, /*STD normal noise3 6th blur*/ -{0x40, 0x83,}, /*Outdoor2 H th*/ -{0x41, 0x20,}, /*Outdoor2 L th */ -{0x42, 0x08,}, /*Outdoor2 H luminance */ -{0x43, 0x10,}, /*Outdoor2 M luminance */ -{0x44, 0x10,}, /*Outdoor2 l luminance */ -{0x45, 0x50,}, /*Outdoor2 ratio*/ -{0x46, 0x83,}, /*Outdoor1 H th*/ -{0x47, 0x20,}, /*Outdoor1 L th */ -{0x48, 0x08,}, /*Outdoor1 H luminance*/ -{0x49, 0x10,}, /*Outdoor1 M luminance*/ -{0x4a, 0x10,}, /*Outdoor1 L luminance*/ -{0x4b, 0x50,}, /*Outdoor1 ratio*/ -{0x4c, 0x80,}, /*Indoor H th*/ -{0x4d, 0x48,}, /*Indoor L th*/ -{0x4e, 0x30,}, /*indoor H lum*/ -{0x4f, 0x30,}, /*indoor M lum*/ -{0x50, 0x12,}, /*indoor L lum */ -{0x51, 0x70,}, /*indoor ratio 0x10 -> 0x45*/ -{0x52, 0xa8,}, /*dark1 H th*/ -{0x53, 0x30,}, /*dark1 L th */ -{0x54, 0x28,}, /*dark1 H lum */ -{0x55, 0x3e,}, /*dark1 M lum*/ -{0x56, 0x67,}, /*dark1 L lum*/ -{0x57, 0x6a,}, /*dark1 ratio*/ -{0x58, 0xa0,}, /*dark2 H th*/ -{0x59, 0x40,}, /*dark2 L th*/ -{0x5a, 0x28,}, /*dark2 H lum*/ -{0x5b, 0x3f,}, /*dark2 M lum*/ -{0x5c, 0x68,}, /*dark2 L lum*/ -{0x5d, 0x70,}, /*dark2 ratio*/ -{0x5e, 0xa0,}, /*dark3 H th*/ -{0x5f, 0x40,}, /*dark3 L th*/ -{0x60, 0x29,}, /*dark3 H lum*/ -{0x61, 0x3f,}, /*dark3 M lum*/ -{0x62, 0x69,}, /*dark3 L lum*/ -{0x63, 0x6a,}, /*dark3 ratio*/ -/*C-filter(Out2&Out1)*/ -{0x70, 0x10,}, -{0x71, 0x0a,}, -/*C-filter(Indoor&Dark3)*/ -{0x72, 0x10,}, -{0x73, 0x0a,}, -/*C-filter(Dark2&Dark1)*/ -{0x74, 0x18,}, -{0x75, 0x12,}, -{0x80, 0x20,}, -{0x81, 0x40,}, -{0x82, 0x65,}, -{0x85, 0x1a,}, -{0x88, 0x00,}, -{0x89, 0x00,}, -{0x90, 0x5d,}, /*Preview DPC off[0x5c] on[0x5d]*/ -/*DPC-Dark1,2,3*/ -{0xad, 0x07,}, /*10825*/ -{0xae, 0x07,}, /*10825*/ -{0xaf, 0x07,}, /*10825*/ -/*Blue Det..*/ -{0xc5, 0x58,}, /*BlueRange 2010.8.25 {0x40, 0x->2}3 */ -{0xc6, 0x20,}, /*GreenRange 2010.8.25 0x3b->20 */ -{0xd0, 0x88,}, /*2010.8.25*/ -{0xd1, 0x80,}, -{0xd2, 0x17,},/*preview 17, full 67*/ -{0xd3, 0x00,}, -{0xd4, 0x00,}, -{0xd5, 0x0f,},/*preview 0f, full 02*/ -{0xd6, 0xff,}, -{0xd7, 0xff,},/*preview ff, full 18*/ -{0xd8, 0x00,}, -{0xd9, 0x04,}, -/*interpolated with average*/ -{0xdb, 0x38,}, /*resolution issue 0x00->0x18->0x38 */ -{0xd9, 0x04,}, /*strong_edge detect ratio*/ -{0xe0, 0x01,}, /*strong_edge detect ratio*/ -{0x03, 0x13,}, /*page 13 sharpness 1D*/ -{0x10, 0xc5,}, -{0x11, 0x7b,}, -{0x12, 0x0e,}, -{0x14, 0x00,}, -{0x15, 0x11,}, /*added option 1.3M */ -{0x18, 0x30,}, /*added option 1.3M */ -{0x20, 0x15,}, -{0x21, 0x13,}, -{0x22, 0x33,}, -{0x23, 0x08,}, /*hi_clip th1*/ -{0x24, 0x1a,}, /*hi_clip th2*/ -{0x25, 0x06,}, /*low clip th*/ -{0x26, 0x18,}, -{0x27, 0x30,}, -{0x29, 0x10,}, /*time th*/ -{0x2a, 0x30,}, /*pga th*/ -{0x2b, 0x03,}, /*lpf out2*/ -{0x2c, 0x03,}, /*lpf out1*/ -{0x2d, 0x0c,}, -{0x2e, 0x12,}, -{0x2f, 0x12,}, -/*1D Edge*/ -{0x50, 0x0a,}, /*out2 hi nega*/ -{0x53, 0x07,}, /* hi pos*/ -{0x51, 0x0c,}, /* mi nega*/ -{0x54, 0x07,}, /* mi pos*/ -{0x52, 0x0b,}, /* lo nega*/ -{0x55, 0x08,}, /* lo pos*/ -{0x56, 0x0a,}, /*out1 hi nega*/ -{0x59, 0x07,}, /* hi pos */ -{0x57, 0x0c,}, /* mi nega*/ -{0x5a, 0x07,}, /* mi pos */ -{0x58, 0x0b,}, /* lo nega*/ -{0x5b, 0x08,}, /* lo pos */ -/*Indoor Edge*/ -{0x5c, 0x08,}, /*indoor hi nega*/ -{0x5f, 0x07,}, /* hi pos*/ -{0x5d, 0x14,}, /* mid nega */ -{0x60, 0x12,}, /* mid pos */ -{0x5e, 0x0a,}, /* low nega */ -{0x61, 0x08,}, /* low pos*/ -{0x62, 0x08,}, /*dark1 hi nega*/ -{0x65, 0x06,}, /* hi pos */ -{0x63, 0x08,}, /* mid nega */ -{0x66, 0x06,}, /* mid pos */ -{0x64, 0x08,}, /* low nega */ -{0x67, 0x06,}, /* low pos */ -{0x68, 0x07,}, /*dark2 hi nega*/ -{0x6b, 0x05,}, /* hi pos */ -{0x69, 0x07,}, /* mid nega */ -{0x6c, 0x05,}, /* mid pos */ -{0x6a, 0x07,}, /* low nega */ -{0x6d, 0x05,}, /* low pos */ -{0x6e, 0x0a,}, /*dark3 hi nega*/ -{0x71, 0x09,}, /* hi pos */ -{0x6f, 0x0a,}, /* mid nega */ -{0x72, 0x09,}, /* mid pos */ -{0x70, 0x0a,}, /* low nega */ -{0x73, 0x09,}, /* low pos */ - /* 2DY*/ -{0x80, 0xc1,}, -{0x81, 0x1f,}, -{0x82, 0xe1,}, -{0x83, 0x33,}, -{0x90, 0x05,}, -{0x91, 0x05,}, -{0x92, 0x33,}, -{0x93, 0x30,}, -{0x94, 0x03,}, -{0x95, 0x14,}, -{0x97, 0x30,}, -{0x99, 0x30,}, -{0xa0, 0x02,}, /*2d lclp out2 nega*/ -{0xa1, 0x03,}, /*2d lclp out2 pos*/ -{0xa2, 0x02,}, /*2d lclp out1 nega*/ -{0xa3, 0x03,}, /*2d lclp out1 pos*/ -{0xa4, 0x03,}, /*2d lclp in nega*/ -{0xa5, 0x04,}, /*2d lclp in pos*/ -{0xa6, 0x07,}, /*2d lclp dark1 nega*/ -{0xa7, 0x08,}, /*2d lclp dark1 pos*/ -{0xa8, 0x07,}, /*2d lclp dark2 nega*/ -{0xa9, 0x08,}, /*2d lclp dark2 pos*/ -{0xaa, 0x07,}, /*2d lclp dark3 nega*/ -{0xab, 0x08,}, /*2d lclp dark3 pos*/ -{0xb0, 0x10,}, /*out2 H Ne*/ -{0xb3, 0x10,}, /* H Po*/ -{0xb1, 0x1e,}, /* M Ne*/ -{0xb4, 0x1e,}, /* M Po*/ -{0xb2, 0x1f,}, /* L Ne*/ -{0xb5, 0x1e,}, /* L Po*/ -{0xb6, 0x10,}, /*out1 H Ne */ -{0xb9, 0x10,}, /* H Po */ -{0xb7, 0x1e,}, /* M Ne */ -{0xba, 0x1e,}, /* M Po */ -{0xb8, 0x1f,}, /* L Ne */ -{0xbb, 0x1e,}, /* L Po */ -{0xbc, 0x20,}, /*indoor H Ne*/ -{0xbf, 0x1e,}, /* H Po*/ -{0xbd, 0x25,}, /* M Ne*/ -{0xc0, 0x23,}, /* M Po*/ -{0xbe, 0x24,}, /* L Ne*/ -{0xc1, 0x22,}, /* L Po*/ -{0xc2, 0x23,}, /*dark1 H Ne*/ -{0xc5, 0x23,}, /* H Po*/ -{0xc3, 0x29,}, /* M Ne*/ -{0xc6, 0x29,}, /* M Po*/ -{0xc4, 0x25,}, /* L Ne*/ -{0xc7, 0x25,}, /* L Po*/ -{0xc8, 0x1c,}, /*dark2 H Ne*/ -{0xcb, 0x1c,}, /* H Po*/ -{0xc9, 0x25,}, /* M Ne*/ -{0xcc, 0x25,}, /* M Po*/ -{0xca, 0x23,}, /* L Ne*/ -{0xcd, 0x23,}, /* L Po*/ -{0xce, 0x1c,}, /*dark3 H Ne*/ -{0xd1, 0x1c,}, /* H Po*/ -{0xcf, 0x25,}, /* M Ne*/ -{0xd2, 0x25,}, /* M Po*/ -{0xd0, 0x23,}, /* L Ne*/ -{0xd3, 0x23,}, /* L Po*/ -/* PAGE 14 START*/ -{0x03, 0x14,}, -{0x10, 0x31,}, -{0x14, 0x80,}, /* GX*/ -{0x15, 0x80,}, /* GY*/ -{0x16, 0x80,}, /* RX*/ -{0x17, 0x80,}, /* RY*/ -{0x18, 0x80,}, /* BX*/ -{0x19, 0x80,}, /* BY*/ -{0x20, 0x60,}, /* X Center*/ -{0x21, 0x80,}, /* Y Center*/ -{0x22, 0x80,}, -{0x23, 0x80,}, -{0x24, 0x80,}, -{0x30, 0xc8,}, -{0x31, 0x2b,}, -{0x32, 0x00,}, -{0x33, 0x00,}, -{0x34, 0x90,}, -{0x40, 0x60,}, /*R min's set 4e*/ -{0x41, 0x44,}, /*Gr*/ -{0x42, 0x3e,}, /*B*/ -{0x43, 0x44,}, /*Gb*/ -{0x03, 0x15,}, -{0x10, 0x21,}, -{0x14, 0x44,}, /*49*/ -{0x15, 0x34,}, /*38*/ -{0x16, 0x26,}, /*2b*/ -{0x17, 0x2f,}, -/*CMC*/ -{0x30, 0xdd,}, -{0x31, 0x62,}, -{0x32, 0x05,}, -{0x33, 0x26,}, -{0x34, 0xbd,}, -{0x35, 0x17,}, -{0x36, 0x18,}, -{0x37, 0x38,}, -{0x38, 0xd0,}, -{0x40, 0xb0,}, -{0x41, 0x30,}, -{0x42, 0x00,}, -{0x43, 0x00,}, -{0x44, 0x00,}, -{0x45, 0x00,}, -{0x46, 0x99,}, -{0x47, 0x19,}, -{0x48, 0x00,}, -{0x50, 0x16,}, -{0x51, 0xb2,}, -{0x52, 0x1c,}, -{0x53, 0x06,}, -{0x54, 0x20,}, -{0x55, 0xa6,}, -{0x56, 0x0e,}, -{0x57, 0xb2,}, -{0x58, 0x24,}, -{0x03, 0x16,}, -{0x10, 0x31,}, /*GMA_CTL*/ -{0x18, 0x7e,}, /*AG_ON*/ -{0x19, 0x7d,}, /*AG_OFF*/ -{0x1a, 0x0e,}, /*TIME_ON*/ -{0x1b, 0x01,}, /*TIME_OFF*/ -{0x1C, 0xdc,}, /*OUT_ON*/ -{0x1D, 0xfe,}, /*OUT_OFF*/ -{0x30, 0x00,}, -{0x31, 0x07,}, -{0x32, 0x1a,}, -{0x33, 0x37,}, -{0x34, 0x5c,}, -{0x35, 0x7d,}, -{0x36, 0x96,}, -{0x37, 0xa9,}, -{0x38, 0xb7,}, -{0x39, 0xc6,}, -{0x3a, 0xd2,}, -{0x3b, 0xdc,}, -{0x3c, 0xe4,}, -{0x3d, 0xeb,}, -{0x3e, 0xf1,}, -{0x3f, 0xf5,}, -{0x40, 0xf9,}, -{0x41, 0xfd,}, -{0x42, 0xff,}, -{0x50, 0x00,}, -{0x51, 0x03,}, -{0x52, 0x13,}, -{0x53, 0x2e,}, -{0x54, 0x59,}, -{0x55, 0x79,}, -{0x56, 0x90,}, -{0x57, 0xa3,}, -{0x58, 0xb4,}, -{0x59, 0xc2,}, -{0x5a, 0xcd,}, -{0x5b, 0xd7,}, -{0x5c, 0xe0,}, -{0x5d, 0xe5,}, -{0x5e, 0xe9,}, -{0x5f, 0xee,}, -{0x60, 0xf1,}, -{0x61, 0xf3,}, -{0x62, 0xf6,}, -{0x70, 0x07,}, -{0x71, 0x1a,}, -{0x72, 0x2d,}, -{0x73, 0x46,}, -{0x74, 0x6a,}, -{0x75, 0x86,}, -{0x76, 0x9c,}, -{0x77, 0xad,}, -{0x78, 0xbc,}, -{0x79, 0xc9,}, -{0x7a, 0xd4,}, -{0x7b, 0xde,}, -{0x7c, 0xe4,}, -{0x7d, 0xeb,}, -{0x7e, 0xf1,}, -{0x7f, 0xf5,}, -{0x80, 0xf9,}, -{0x81, 0xfd,}, -{0x82, 0xff,}, -{0x03, 0x24,}, /*Resol control */ -{0x60, 0xc5,}, /*edge even frame | 16bit resol | white edge cnt | scene resol enable*/ -{0x61, 0x04,}, /*even frame update */ -{0x64, 0x08,}, -{0x65, 0x00,}, -{0x66, 0x26,}, /*edge th2 H */ -{0x67, 0x00,}, /*edge th2 L */ -{0x03, 0x13,}, -{0x18, 0x31,}, /*flat center Gb/Gr*/ -{0x74, 0x02,}, /*det slope en | gausian filter*/ -{0x75, 0x0d,}, /*1D negative gain det 09 */ -{0x76, 0x0d,}, /*1D postive gain det 08*/ -{0x77, 0x10,}, /*1D hclp2 det*/ -{0x78, 0x08,}, /*outdoor flat threshold*/ -{0x79, 0x10,}, /*indoor flat threshold*/ -{0x81, 0xdf,}, /*det gain controler*/ -{0x86, 0x90,}, /*2D negative gain det */ -{0x87, 0x90,}, /*2D postive gain det */ -{0x96, 0x2a,}, /*2D hclp2 det*/ -{0x03, 0x12,}, /*0x12 page*/ -{0xd0, 0x88,}, -{0xd9, 0xe4,}, -{0x03, 0x18,}, -{0x14, 0x43,}, /*83*/ -/* PAGE 20 START*/ -{0x03, 0x20,}, -{0x11, 0x1c,}, -{0x18, 0x30,}, -{0x1a, 0x08,}, -{0x20, 0x45,},/*weight*/ -{0x21, 0x30,}, -{0x22, 0x10,}, -{0x23, 0x00,}, -{0x24, 0x00,}, -{0x28, 0xe7,}, /* add 20120223*/ -{0x29, 0x0d,}, /* 20100305 ad -> 0d*/ -{0x2a, 0xfd,}, -{0x2b, 0xf8,}, -{0x2c, 0x43,}, /* 20140618 c3 -> 43*/ -{0x2d, 0x5f,}, /* add 20120223*/ -{0x2e, 0x33,}, -{0x30, 0xf8,}, -{0x32, 0x03,}, -{0x33, 0x2e,}, -{0x34, 0x30,}, -{0x35, 0xd4,}, -{0x36, 0xfe,}, -{0x37, 0x32,}, -{0x38, 0x04,}, -{0x39, 0x22,}, -{0x3a, 0xde,}, -{0x3b, 0x22,}, -{0x3c, 0xde,}, -{0x3d, 0xe1,}, -{0x50, 0x45,}, -{0x51, 0x88,}, -{0x56, 0x19,}, -{0x57, 0x81,}, -{0x58, 0x0e,}, -{0x59, 0x6a,}, -{0x5a, 0x04,}, -{0x5e, 0x9d,}, /*AE_AWB_start*/ -{0x5f, 0x76,}, /*AE_AWB_start*/ -{0x70, 0x33,}, /* 6c*/ -{0x71, 0x82,}, /* 82(+8)*/ -{0x76, 0x21,}, -{0x77, 0x71,}, -{0x78, 0x22,}, /* 24*/ -{0x79, 0x23,}, /* Y Target 70 => 25, 72 => 26*/ -{0x7a, 0x23,}, /* 23*/ -{0x7b, 0x22,}, /* 22*/ -{0x7d, 0x23,}, -{0x83, 0x01,}, /*EXP Normal 30 fps */ -{0x84, 0x86,}, -{0x85, 0xa0,}, -{0x86, 0x01,}, /*EXPMin 7500.00 fps*/ -{0x87, 0x90,}, -{0x88, 0x01,}, /*EXP Max(120Hz) 30.00 fps */ -{0x89, 0x86,}, -{0x8a, 0xa0,}, -{0xa5, 0x01,}, /*EXP Max(100Hz) 25.xx fps */ -{0xa6, 0xd1,}, -{0xa7, 0xa0,}, -{0x91, 0x01,}, /*EXP Fix 24.00 fps*/ -{0x92, 0xe8,}, -{0x93, 0x48,}, -{0x8B, 0x75,}, /*EXP100 */ -{0x8C, 0x30,}, -{0x8D, 0x61,}, /*EXP120 */ -{0x8E, 0xa8,}, -{0x9c, 0x0b,}, /*EXP Limit 1000 fps */ -{0x9d, 0xb8,}, -{0x9e, 0x01,}, /*EXP Unit */ -{0x9f, 0x90,}, -{0x98, 0x9d,}, -{0xb0, 0x16,}, -{0xb1, 0x14,}, -{0xb2, 0xf8,}, -{0xb3, 0x14,}, -{0xb4, 0x1b,}, -{0xb5, 0x46,}, -{0xb6, 0x31,}, -{0xb7, 0x29,}, -{0xb8, 0x26,}, -{0xb9, 0x24,}, -{0xba, 0x22,}, -{0xbb, 0x42,}, -{0xbc, 0x41,}, -{0xbd, 0x40,}, -{0xc0, 0x10,}, -{0xc1, 0x38,}, -{0xc2, 0x38,}, -{0xc3, 0x38,}, -{0xc4, 0x07,}, -{0xc8, 0x80,}, -{0xc9, 0x80,}, -{0x10, 0x8c,}, /* ae enable*/ -/* PAGE 20 END*/ -/*AE_Weight*/ -{0x03, 0x21,}, -{0x20, 0x11,}, -{0x21, 0x11,}, -{0x22, 0x11,}, -{0x23, 0x11,}, -{0x24, 0x12,}, -{0x25, 0x22,}, -{0x26, 0x22,}, -{0x27, 0x21,}, -{0x28, 0x12,}, -{0x29, 0x22,}, -{0x2a, 0x22,}, -{0x2b, 0x21,}, -{0x2c, 0x12,}, -{0x2d, 0x23,}, -{0x2e, 0x32,}, -{0x2f, 0x21,}, -{0x30, 0x12,}, -{0x31, 0x23,}, -{0x32, 0x32,}, -{0x33, 0x21,}, -{0x34, 0x12,}, -{0x35, 0x22,}, -{0x36, 0x22,}, -{0x37, 0x21,}, -{0x38, 0x12,}, -{0x39, 0x22,}, -{0x3a, 0x22,}, -{0x3b, 0x21,}, -{0x3c, 0x11,}, -{0x3d, 0x11,}, -{0x3e, 0x11,}, -{0x3f, 0x11,}, -/* PAGE 22 START*/ -{0x03, 0x22,}, -{0x10, 0xfd,}, -{0x11, 0x2e,}, -{0x19, 0x01,}, /* Low On*/ -{0x20, 0x30,}, /* for wb speed*/ -{0x21, 0x40,}, -{0x24, 0x01,}, -{0x25, 0x7e,}, /* for tracking 20120314 */ -{0x30, 0x80,}, /* 20120224 test*/ -{0x31, 0x80,}, -{0x38, 0x11,}, -{0x39, 0x34,}, -{0x40, 0xe3,}, -{0x41, 0x43,}, /* 33*/ -{0x42, 0x22,}, /* 22*/ -{0x43, 0xf3,}, /* f6*/ -{0x44, 0x54,}, /* 44*/ -{0x45, 0x22,}, /* 33*/ -{0x46, 0x00,}, -{0x48, 0x0a,}, -{0x50, 0xb2,}, -{0x51, 0x81,}, -{0x52, 0x98,}, -{0x80, 0x38,}, -{0x81, 0x20,}, -{0x82, 0x38,}, /* 3a*/ -{0x83, 0x56,}, /* R Max*/ -{0x84, 0x20,}, /* R Min*/ -{0x85, 0x53,}, /* B Max*/ -{0x86, 0x20,}, /* B Min*/ -{0x87, 0x46,}, -{0x88, 0x36,}, -{0x89, 0x3a,}, -{0x8a, 0x2f,}, -{0x8b, 0x3d,}, -{0x8c, 0x37,}, -{0x8d, 0x35,}, -{0x8e, 0x32,}, -{0x8f, 0x5d,}, -{0x90, 0x5a,}, -{0x91, 0x56,}, -{0x92, 0x50,}, -{0x93, 0x48,}, -{0x94, 0x3f,}, -{0x95, 0x34,}, -{0x96, 0x2c,}, -{0x97, 0x23,}, -{0x98, 0x20,}, -{0x99, 0x1f,}, -{0x9a, 0x1f,}, -{0x9b, 0x77,}, -{0x9c, 0x77,}, -{0x9d, 0x48,}, -{0x9e, 0x38,}, -{0x9f, 0x30,}, -{0xa0, 0x40,}, -{0xa1, 0x21,}, -{0xa2, 0x6f,}, -{0xa3, 0xff,}, -{0xa4, 0x14,}, /* 1500fps*/ -{0xa5, 0x44,}, /* 700fps*/ -{0xa6, 0xcf,}, -{0xad, 0x40,}, -{0xae, 0x4a,}, -{0xaf, 0x2a,}, /* low temp Rgain*/ -{0xb0, 0x28,}, /* low temp Rgain*/ -{0xb1, 0x00,}, /* 0x20 -> 0x00 0405 modify*/ -{0xb4, 0xbf,}, /* for tracking 20120314*/ -{0xb8, 0xb1,}, /* a2: b-2, R+2 b4 B-3, R+4 lowtemp b0 a1 Spec AWB A modify*/ -{0xb9, 0x00,}, -/* PAGE 22 END*/ -/* PAGE 48 (MiPi 1600x1200)*/ -{0x03, 0x00,}, -/* PLL Setting */ -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x05,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, -{0x03, 0x48,}, -/* MIPI TX Setting */ -{0x10, 0x1c,}, -{0x11, 0x00,}, -{0x12, 0x00,}, -{0x14, 0x00,}, -{0x16, 0x04,}, -{0x17, 0x00,}, -{0x18, 0x80,}, -{0x19, 0x00,}, -{0x1a, 0xa0,}, -{0x1c, 0x02,}, -{0x1d, 0x0e,}, -{0x1e, 0x07,}, -{0x1f, 0x08,}, -{0x22, 0x00,}, -{0x23, 0x01,}, -{0x24, 0x1e,}, -{0x25, 0x00,}, -{0x26, 0x00,}, -{0x27, 0x08,}, -{0x28, 0x00,}, -{0x30, 0x05,}, -{0x31, 0x00,}, -{0x32, 0x07,}, -{0x33, 0x09,}, -{0x34, 0x01,}, -{0x35, 0x01,}, -{0x03, 0x00,}, -{0x01, 0x00,}, -{0xff, 0x28,}, /*400ms Delay*/ -}; - -static struct msm_camera_i2c_reg_conf sr130pc20_Preview_for_initial_50hz[] = { +static struct msm_camera_i2c_reg_conf sr130pc20_Preview[] = { {0x03, 0x00,}, {0x01, 0x01,},/*sleep*/ {0xd0, 0x05,},/*Pll Off*/ @@ -4812,1042 +2989,3 @@ static struct msm_camera_i2c_reg_conf sr130pc20_brightness_P4[] = { {0x03, 0x10,}, {0x40, 0x50,}, }; - -static struct msm_camera_i2c_reg_conf sr130pc20_Preview_for_initial_60hz[] = { -{0x03, 0x00,}, -{0x01, 0x01,},/*sleep*/ -{0xd0, 0x05,},/*Pll Off*/ -{0x03, 0x20,}, -{0x10, 0x0c,},/*AE off (0x0c:60Hz 0x1c:50Hz)*/ -{0x03, 0x22,}, -{0x10, 0x7d,},/*AWB off*/ -{0x03, 0x00,}, -{0x10, 0x11,}, -{0x03, 0x11,}, -{0x5b, 0x00,},/*don't touch*/ -{0x03, 0x12,}, -{0x20, 0x0f,}, -{0x21, 0x0f,}, -{0xd2, 0x17,}, -{0xd5, 0x0f,}, -{0xd7, 0xff,}, -{0x03, 0x13,}, -{0x10, 0xc4,}, -{0x80, 0xc0,}, -{0x03, 0x18,}, -{0x14, 0x43,}, /*83*/ -{0x03, 0x20,}, -{0x10, 0x8c,}, /*AE ON ({0x8c, 0x:6}0Hz {0x9c, 0x:5}0Hz)*/ -{0x03, 0x22,}, -{0x10, 0xfd,}, /*AWB ON*/ - -{0x03, 0x00,}, /*Page 0 PLL on*/ -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x05,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, - -{0x03, 0x48,}, -{0x10, 0x1c,}, -{0x11, 0x00,}, -{0x12, 0x00,}, -{0x14, 0x00,}, -{0x16, 0x04,}, -{0x17, 0x00,}, -{0x18, 0x80,}, -{0x19, 0x00,}, -{0x1a, 0xa0,}, - -{0x1c, 0x02,}, -{0x1d, 0x0e,}, -{0x1e, 0x07,}, -{0x1f, 0x08,}, -{0x22, 0x00,}, -{0x23, 0x01,}, -{0x24, 0x1e,}, -{0x25, 0x00,}, -{0x26, 0x00,}, -{0x27, 0x08,}, -{0x28, 0x00,}, - -{0x30, 0x05,}, -{0x31, 0x00,}, -{0x32, 0x07,}, -{0x33, 0x09,}, -{0x34, 0x01,}, -{0x35, 0x01,}, -{0x03, 0x00,}, -{0x01, 0x00,}, -{0xff, 0x28,}, -}; - -static struct msm_camera_i2c_reg_conf sr130pc20_Init_Reg_60hz[] = { -{0x03, 0x00,}, -{0x01, 0x01,}, /*sleep*/ -{0x01, 0x03,}, /*s/w reset*/ -{0x01, 0x01,}, /*sleep*/ - -{0x08, 0x00,},/*Don't touch*/ -{0x09, 0x37,},/*Don't touch*/ -{0x0a, 0x33,},/*Don't touch*/ - -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x01,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, - -{0x10, 0x11,}, -{0x11, 0x90,}, /*xy flip*/ -{0x12, 0x00,}, -{0x14, 0x88,}, - -{0x03, 0x00,}, -{0x20, 0x00,}, -{0x21, 0x04,}, -{0x22, 0x00,}, -{0x23, 0x04,}, -{0x24, 0x03,}, -{0x25, 0xC0,}, -{0x26, 0x05,}, -{0x27, 0x00,}, - -{0x40, 0x01,}, /*Hblank_280*/ -{0x41, 0x18,}, -{0x42, 0x00,}, /*Vblank 124*/ -{0x43, 0x7c,}, - -{0x03, 0x00,}, /*ESD */ -{0x0b, 0xaa,}, -{0x0c, 0xaa,}, -{0x0d, 0xaa,}, -{0x80, 0x08,}, /*Don't touch */ -{0x81, 0x97,}, /*Don't touch */ -{0x82, 0x90,}, /*Don't touch */ -{0x83, 0x30,}, /*Don't touch */ -{0x84, 0xcc,}, /*Don't touch*/ -{0x85, 0x00,}, /*Don't touch*/ -{0x86, 0xd4,}, /*Don' t touch*/ -{0x87, 0x0f,}, /*Don't touch*/ -{0x88, 0x34,}, /*Don't touch*/ -{0x90, 0x0f,}, /*BLC_TIME_TH_ON*/ -{0x91, 0x0f,}, /*BLC_TIME_TH_OFF */ -{0x92, 0xf0,}, /*BLC_AG_TH_ON*/ -{0x93, 0xe8,}, /*BLC_AG_TH_OFF*/ -{0x94, 0x95,}, /*091202*/ -{0x95, 0x90,}, /*091202 */ -{0x98, 0x38,}, /*Don't touch*/ - -{0xa0, 0x01,}, /* 20100309*/ -{0xa2, 0x01,}, /* 20100309*/ -{0xa4, 0x01,}, /* 20100309*/ -{0xa6, 0x01,}, /* 20100309*/ -{0xa8, 0x00,}, -{0xaa, 0x00,}, -{0xac, 0x00,}, -{0xae, 0x00,}, -{0x99, 0x00,}, -{0x9a, 0x00,}, -{0x9b, 0x00,}, -{0x9c, 0x00,}, - -{0x03, 0x02,}, -{0x12, 0x00,}, /*Don't touch*/ -{0x14, 0x00,}, /*Don't touch*/ -{0x15, 0x00,}, /*Don't touch*/ -{0x18, 0x4C,}, /*Don't touch*/ -{0x19, 0x00,}, /*Don't touch*/ -{0x1A, 0x39,}, /*Don't touch*/ -{0x1B, 0x00,},/*Don't touch*/ -{0x1C, 0x1a,}, /*Don't touch*/ -{0x1D, 0x14,}, /*Don't touch*/ -{0x1E, 0x30,},/*Don't touch*/ -{0x1F, 0x10,},/*Don't touch*/ - -{0x20, 0x77,}, -{0x21, 0xde,}, -{0x22, 0xa7,}, -{0x23, 0x30,}, -{0x24, 0x77,}, -{0x25, 0x10,}, -{0x26, 0x10,}, -{0x27, 0x3c,}, -{0x2b, 0x80,}, -{0x2c, 0x02,}, -{0x2d, 0xa0,}, -{0x2e, 0x00,}, -{0x2f, 0xa7,}, - -{0x30, 0x00,}, -{0x31, 0x99,}, -{0x32, 0x00,}, -{0x33, 0x00,}, -{0x34, 0x22,}, -{0x36, 0x01,}, -{0x37, 0x01,}, -{0x38, 0x88,}, -{0x39, 0x88,}, -{0x3d, 0x03,}, -{0x3e, 0x0d,}, -{0x3f, 0x02,}, - -{0x49, 0xd1,}, -{0x4a, 0x14,}, - -{0x50, 0x21,}, -{0x52, 0x01,}, -{0x53, 0x81,}, -{0x54, 0x10,}, -{0x55, 0x1c,}, -{0x56, 0x11,}, -{0x58, 0x18,}, -{0x59, 0x16,}, -{0x5d, 0xa2,}, -{0x5e, 0x5a,}, - -{0x60, 0x93,}, /* 20120517 modify*/ -{0x61, 0xa4,}, /* 20120517 modify*/ -{0x62, 0x94,}, /* 20120517 modify*/ -{0x63, 0xa3,}, /* 20120517 modify*/ -{0x64, 0x94,}, /* 20120517 modify*/ -{0x65, 0xa3,}, /* 20120517 modify*/ -{0x67, 0x0c,}, -{0x68, 0x0c,}, -{0x69, 0x0c,}, -{0x6a, 0xb4,}, -{0x6b, 0xc4,}, -{0x6c, 0xb5,}, -{0x6d, 0xc2,}, -{0x6e, 0xb5,}, -{0x6f, 0xc0,}, - -{0x70, 0xb6,}, -{0x71, 0xb8,}, -{0x72, 0x95,}, /* 20120517 modify*/ -{0x73, 0xa2,}, /* 20120517 modify*/ -{0x74, 0x95,}, /* 20120517 modify*/ -{0x75, 0xa2,}, /* 20120517 modify*/ -{0x76, 0x95,}, /* 20120517 modify*/ -{0x77, 0xa2,}, /* 20120517 modify*/ -{0x7C, 0x92,}, /* 20120517 modify*/ -{0x7D, 0xff,}, /* 20120517 modify*/ - -{0x80, 0x01,}, /* 20120517 modify*/ -{0x81, 0x8a,}, /* 20120517 modify*/ -{0x82, 0x1e,}, /* 20120517 modify*/ -{0x83, 0x36,}, /* 20120517 modify*/ -{0x84, 0x89,}, /* 20120517 modify*/ -{0x85, 0x8b,}, /* 20120517 modify*/ -{0x86, 0x89,}, /* 20120517 modify*/ -{0x87, 0x8b,}, /* 20120517 modify*/ -{0x88, 0xab,}, -{0x89, 0xbc,}, -{0x8a, 0xac,}, -{0x8b, 0xba,}, -{0x8c, 0xad,}, -{0x8d, 0xb8,}, -{0x8e, 0xae,}, -{0x8f, 0xb2,}, - -{0x90, 0xb3,}, -{0x91, 0xb7,}, -{0x92, 0x52,}, /* 20120517 modify*/ -{0x93, 0x6a,}, /* 20120517 modify*/ -{0x94, 0x89,}, /* 20120517 modify*/ -{0x95, 0x8b,}, /* 20120517 modify*/ -{0x96, 0x89,}, /* 20120517 modify*/ -{0x97, 0x8b,}, /* 20120517 modify*/ - -{0xA0, 0x02,}, -{0xA1, 0x86,}, /* 20120517 modify*/ -{0xA2, 0x02,}, -{0xA3, 0x86,}, /* 20120517 modify*/ -{0xA4, 0x86,}, /* 20120517 modify*/ -{0xA5, 0x02,}, -{0xA6, 0x86,}, /* 20120517 modify*/ -{0xA7, 0x02,}, -{0xA8, 0x92,}, /* 20120517 modify*/ -{0xA9, 0x94,}, /* 20120517 modify*/ -{0xAA, 0x92,}, /* 20120517 modify*/ -{0xAB, 0x94,}, /* 20120517 modify*/ -{0xAC, 0x1c,}, -{0xAD, 0x22,}, -{0xAE, 0x1c,}, -{0xAF, 0x22,}, -{0xB0, 0xa4,}, /* 20120517 modify*/ -{0xB1, 0xae,}, /* 20120517 modify*/ -{0xB2, 0xa4,}, /* 20120517 modify*/ -{0xB3, 0xae,}, /* 20120517 modify*/ -{0xB4, 0xa6,}, /* 20120517 modify*/ -{0xB5, 0xac,}, /* 20120517 modify*/ -{0xB6, 0xa6,}, /* 20120517 modify*/ -{0xB7, 0xac,}, /* 20120517 modify*/ -{0xB8, 0xa6,}, /* 20120517 modify*/ -{0xB9, 0xab,}, /* 20120517 modify*/ -{0xBA, 0xa6,}, /* 20120517 modify*/ -{0xBB, 0xab,}, /* 20120517 modify*/ -{0xBC, 0xa6,}, /* 20120517 modify*/ -{0xBD, 0xab,}, /* 20120517 modify*/ -{0xBE, 0xa6,}, /* 20120517 modify*/ -{0xBF, 0xab,}, /* 20120517 modify*/ -{0xc4, 0x37,}, -{0xc5, 0x52,}, -{0xc6, 0x6b,}, -{0xc7, 0x86,}, -{0xc8, 0x38,}, /* 20120517 modify*/ -{0xc9, 0x50,}, /* 20120517 modify*/ -{0xca, 0x38,}, /* 20120517 modify*/ -{0xcb, 0x50,}, /* 20120517 modify*/ -{0xcc, 0x6c,}, /* 20120517 modify*/ -{0xcd, 0x84,}, /* 20120517 modify*/ -{0xce, 0x6c,}, /* 20120517 modify*/ -{0xcf, 0x84,}, /* 20120517 modify*/ -{0xdc, 0x00,}, /* Added*/ -{0xdd, 0xaf,}, /* Added*/ -{0xde, 0x00,}, /* Added*/ -{0xdf, 0x90,}, /* Added*/ -{0xd0, 0x10,}, -{0xd1, 0x14,}, -{0xd2, 0x20,}, -{0xd3, 0x00,}, -{0xd4, 0x0f,}, /*DCDC_TIME_TH_ON*/ -{0xd5, 0x0f,}, /*DCDC_TIME_TH_OFF */ -{0xd6, 0xf0,}, /*DCDC_AG_TH_ON*/ -{0xd7, 0xe8,}, /*DCDC_AG_TH_OFF*/ -{0xea, 0x8a,}, -{0xF0, 0x01,}, /* clock inversion*/ -{0xF1, 0x01,}, -{0xF2, 0x01,}, -{0xF3, 0x01,}, -{0xF4, 0x01,}, -{0xF5, 0x00,}, - -{0x03, 0x10,}, /*page 10*/ -{0x10, 0x01,}, /*Ycbcr422_bit Order: YUYV*/ -{0x11, 0x03,}, -{0x12, 0x30,}, /*y offset[4], dif_offset[5]*/ -{0x13, 0x02,}, -{0x34, 0x00,}, /*hidden 10->00 100209*/ -{0x37, 0x01,}, /*yc2d power save */ -{0x3f, 0x04,}, /*100825*/ -{0x40, 0x80,}, /*Y offset */ -{0x48, 0x80,}, -{0x53, 0x00,}, /*dif_offset option */ -{0x55, 0x30,}, /*dif_offset option diff_offset max */ - -{0x60, 0x4f,}, /*out color sat en[7] | auto color decrement en[1] / - | manual color sat en[0]*/ - - -{0x61, 0x83,}, /*blue saturation_C0*/ -{0x62, 0x80,}, /*red saturation_B0*/ -{0x63, 0xff,}, /*auto decresment on AG th*/ -{0x64, 0xc0,}, /*auto decresment on DG th*/ -{0x66, 0xe4,}, /*Outdoor saturation step 137fps apply out th */ -{0x67, 0x13,}, /*Outdoor saturation B/R*/ -{0x76, 0x01,}, /* ADD 20121031 */ -{0x79, 0x04,}, /* ADD 20121031 */ - -{0x03, 0x10,}, -{0x80, 0x00,}, /* dsshin --> color enhance*/ -{0xf5, 0x00,}, /* dsshin --> h blank option*/ -{0x03, 0x11,}, /*page 11 D_LPF */ -{0x10, 0x3f,}, /*B[6]:Blue En Dlpf on[4:0] Sky over off : {0x7f, 0x->}3f*/ -{0x11, 0x20,}, /* Uniform Full GbGr/OV-Nr*/ -{0x12, 0x80,}, /*Blue MaxOpt blue sky max filter optoin rate : 0 {0xc0, 0x->}80*/ -{0x13, 0xb8,}, /*dark2[7] | ratio[6:4] | dark3[3] | dark3 maxfilter ratio[2:0] */ -{0x30, 0xba,}, /*Outdoor2 H th*/ -{0x31, 0x10,}, /*Outdoor2 L th*/ -{0x32, 0x50,}, /*Outdoor2 gain ratio*/ -{0x33, 0x1d,}, /*Outdoor2 H lum*/ -{0x34, 0x20,}, /*Outdoor2 M lum*/ -{0x35, 0x1f,}, /*Outdoor2 L lum*/ -{0x36, 0xb0,}, /*Outdoor1 H th*/ -{0x37, 0x18,}, /*Outdoor1 L th*/ -{0x38, 0x50,}, -{0x39, 0x1d,}, -{0x3a, 0x20,}, -{0x3b, 0x1f,}, -{0x3c, 0x3f,}, -{0x3d, 0x16,}, /*indoor L th*/ -{0x3e, 0x30,}, /*indoor gain ratio {0x44, 0x }6a */ -{0x3f, 0x1a,}, /*indoor H lum {0x12, 0x }18 */ -{0x40, 0x60,}, /*indoor M lum {0x18, 0x }1c*/ -{0x41, 0x1a,}, /*indoor L lum {0x18, 0x }3e*/ -{0x42, 0x98,}, /*dark1 H th*/ -{0x43, 0x28,}, /*dark1 L th*/ -{0x44, 0x65,}, /*dark1 gain ratio*/ -{0x45, 0x16,}, /*dark1 H lum 0x38, 0x->0x28, 0x */ -{0x46, 0x30,}, /*dark1 M lum 0x27, 0x->0x17, 0x*/ -{0x47, 0x34,}, /*dark1 L lum 0x20, 0x->0x1a, 0x */ -{0x48, 0x90,}, /*dark2 H th*/ -{0x49, 0x2a,}, /*dark2 L th*/ -{0x4a, 0x65,}, /*dark2 gain ratio*/ -{0x4b, 0x18,}, /*dark2 H lum */ -{0x4c, 0x31,}, /*dark2 M lum*/ -{0x4d, 0x36,}, /*dark2 L lum */ -{0x4e, 0x80,}, /*dark3 H th*/ -{0x4f, 0x30,}, /*dark3 L th*/ -{0x50, 0x65,}, /*dark3 gain ratio*/ -{0x51, 0x19,}, /*dark3 H lum */ -{0x52, 0x31,}, /*dark3 M lum */ -{0x53, 0x36,}, /*dark3 L lum */ -{0x5a, 0x3f,}, /*blue sky mode out1/2 enable {0x27, 0x->}3f */ -{0x5b, 0x00,}, -{0x5c, 0x9f,}, -{0x60, 0x3f,}, /*GbGr all enable*/ -{0x62, 0x0f,}, /*GbGr offset*/ -{0x65, 0x0c,}, /*Outdoor GbGr rate H 100% M 25% L 100%*/ -{0x66, 0x0c,}, /*Indoor GbGr rate H 100% M 25% L 100%*/ -{0x67, 0x00,}, /*dark GbGr rate H/M/L 100%*/ -{0x70, 0x0c,}, /* Abberation On/Off B[1]: Outdoor B[0]: Indoor 07>>c*/ -{0x75, 0xa0,}, /* Outdoor2 Abberation Luminance lvl */ -{0x7d, 0xb4,}, /* Indoor Abberation Luminance lvl*/ - -{0x96, 0x08,}, /*indoor/Dark1 edgeoffset1*/ -{0x97, 0x14,}, /*indoor/Dark1 center G value*/ -{0x98, 0xf5,}, /*slope indoor :: left/right graph polarity, slope*/ -{0x99, 0x2a,}, /*indoor uncertain ratio control*/ -{0x9a, 0x20,}, /*Edgeoffset_dark*/ - - -{0x03, 0x12,}, /*Preview DPC */ -{0x20, 0x0f,}, -{0x21, 0x0f,}, -{0x25, 0x00,}, -{0x2a, 0x01,}, -{0x2e, 0x00,}, /*2010.8.25*/ - -{0x30, 0x35,}, /*Texture region(most detail)*/ -{0x31, 0xa0,}, /*STD uniform1 most blur region*/ -{0x32, 0xb0,}, /*STD uniform2 2nd blur*/ -{0x33, 0xc0,}, /*STD uniform3 3rd blur*/ -{0x34, 0xd0,}, /*STD normal noise1 4th blur */ -{0x35, 0xe0,}, /*STD normal noise2 5th blur*/ -{0x36, 0xff,}, /*STD normal noise3 6th blur*/ - -{0x40, 0x83,}, /*Outdoor2 H th*/ -{0x41, 0x20,}, /*Outdoor2 L th */ -{0x42, 0x08,}, /*Outdoor2 H luminance */ -{0x43, 0x10,}, /*Outdoor2 M luminance */ -{0x44, 0x10,}, /*Outdoor2 l luminance */ -{0x45, 0x50,}, /*Outdoor2 ratio*/ -{0x46, 0x83,}, /*Outdoor1 H th*/ -{0x47, 0x20,}, /*Outdoor1 L th */ -{0x48, 0x08,}, /*Outdoor1 H luminance*/ -{0x49, 0x10,}, /*Outdoor1 M luminance*/ -{0x4a, 0x10,}, /*Outdoor1 L luminance*/ -{0x4b, 0x50,}, /*Outdoor1 ratio*/ -{0x4c, 0x80,}, /*Indoor H th*/ -{0x4d, 0x48,}, /*Indoor L th*/ -{0x4e, 0x30,}, /*indoor H lum*/ -{0x4f, 0x30,}, /*indoor M lum*/ -{0x50, 0x12,}, /*indoor L lum */ -{0x51, 0x70,}, /*indoor ratio {0x10, 0x -}> {0x45, 0x}*/ -{0x52, 0xa8,}, /*dark1 H th*/ -{0x53, 0x30,}, /*dark1 L th */ -{0x54, 0x28,}, /*dark1 H lum */ -{0x55, 0x3e,}, /*dark1 M lum*/ -{0x56, 0x67,}, /*dark1 L lum*/ -{0x57, 0x6a,}, /*dark1 ratio*/ - -{0x58, 0xa0,}, /*dark2 H th*/ -{0x59, 0x40,}, /*dark2 L th*/ -{0x5a, 0x28,}, /*dark2 H lum*/ -{0x5b, 0x3f,}, /*dark2 M lum*/ -{0x5c, 0x68,}, /*dark2 L lum*/ -{0x5d, 0x70,}, /*dark2 ratio*/ -{0x5e, 0xa0,}, /*dark3 H th*/ -{0x5f, 0x40,}, /*dark3 L th*/ -{0x60, 0x29,}, /*dark3 H lum*/ -{0x61, 0x3f,}, /*dark3 M lum*/ -{0x62, 0x69,}, /*dark3 L lum*/ -{0x63, 0x6a,}, /*dark3 ratio*/ -{0x70, 0x10,}, -{0x71, 0x0a,}, -{0x72, 0x10,}, -{0x73, 0x0a,}, -{0x74, 0x18,}, -{0x75, 0x12,}, -{0x80, 0x20,}, -{0x81, 0x40,}, -{0x82, 0x65,}, -{0x85, 0x1a,}, -{0x88, 0x00,}, -{0x89, 0x00,}, -{0x90, 0x5d,}, -{0xad, 0x07,}, /*10825*/ -{0xae, 0x07,}, /*10825*/ -{0xaf, 0x07,}, /*10825*/ -{0xc5, 0x58,}, /*BlueRange 2010.8.25 {0x40, 0x->}23 */ -{0xc6, 0x20,}, /*GreenRange 2010.8.25 {0x3b, 0x->}20 */ -{0xd0, 0x88,}, /*2010.8.25*/ -{0xd1, 0x80,}, -{0xd2, 0x17,},/*preview 17, full 67*/ -{0xd3, 0x00,}, -{0xd4, 0x00,}, -{0xd5, 0x0f,},/*preview 0f, full 02*/ -{0xd6, 0xff,}, -{0xd7, 0xff,},/*preview ff, full 18*/ -{0xd8, 0x00,}, -{0xd9, 0x04,}, -{0xdb, 0x38,}, -{0xd9, 0x04,}, /*strong_edge detect ratio*/ -{0xe0, 0x01,}, /*strong_edge detect ratio*/ - -{0x03, 0x13,}, /*page 13 sharpness 1D*/ -{0x10, 0xc5,}, -{0x11, 0x7b,}, -{0x12, 0x0e,}, -{0x14, 0x00,}, -{0x15, 0x11,}, /*added option 1.3M*/ -{0x18, 0x30,}, /*added option 1.3M*/ -{0x20, 0x15,}, -{0x21, 0x13,}, -{0x22, 0x33,}, -{0x23, 0x08,}, /*hi_clip th1*/ -{0x24, 0x1a,}, /*hi_clip th2*/ -{0x25, 0x06,}, /*low clip th*/ -{0x26, 0x18,}, -{0x27, 0x30,}, -{0x29, 0x10,}, /*time th*/ -{0x2a, 0x30,}, /*pga th*/ - -{0x2b, 0x03,}, /*lpf out2*/ -{0x2c, 0x03,}, /*lpf out1*/ -{0x2d, 0x0c,}, -{0x2e, 0x12,}, -{0x2f, 0x12,}, - -{0x50, 0x0a,}, /*out2 hi nega*/ -{0x53, 0x07,}, /* hi pos*/ -{0x51, 0x0c,}, /* mi nega*/ -{0x54, 0x07,}, /* mi pos*/ -{0x52, 0x0b,}, /* lo nega*/ -{0x55, 0x08,}, /* lo pos*/ - -{0x56, 0x0a,}, /*out1 hi nega*/ -{0x59, 0x07,}, /* hi pos */ -{0x57, 0x0c,}, /* mi nega*/ -{0x5a, 0x07,}, /* mi pos */ -{0x58, 0x0b,}, /* lo nega*/ -{0x5b, 0x08,}, /* lo pos */ - -{0x5c, 0x08,}, /*indoor hi nega*/ -{0x5f, 0x07,}, /* hi pos*/ -{0x5d, 0x14,}, -{0x60, 0x12,}, -{0x5e, 0x0a,}, -{0x61, 0x08,}, /* low pos*/ -{0x62, 0x08,}, /*dark1 hi nega*/ -{0x65, 0x06,}, /* hi pos */ -{0x63, 0x08,}, /* mid nega */ -{0x66, 0x06,}, /* mid pos */ -{0x64, 0x08,}, /* low nega */ -{0x67, 0x06,}, /* low pos */ -{0x68, 0x07,}, /*dark2 hi nega*/ -{0x6b, 0x05,}, /* hi pos */ -{0x69, 0x07,}, /* mid nega */ -{0x6c, 0x05,}, /* mid pos */ -{0x6a, 0x07,}, /* low nega */ -{0x6d, 0x05,}, /* low pos */ - -{0x6e, 0x0a,}, /*dark3 hi nega*/ -{0x71, 0x09,}, /* hi pos */ -{0x6f, 0x0a,}, /* mid nega */ -{0x72, 0x09,}, /* mid pos */ -{0x70, 0x0a,}, /* low nega */ -{0x73, 0x09,}, /* low pos */ -{0x80, 0xc1,}, -{0x81, 0x1f,}, -{0x82, 0xe1,}, -{0x83, 0x33,}, -{0x90, 0x05,}, -{0x91, 0x05,}, -{0x92, 0x33,}, -{0x93, 0x30,}, -{0x94, 0x03,}, -{0x95, 0x14,}, -{0x97, 0x30,}, -{0x99, 0x30,}, -{0xa0, 0x02,}, /*2d lclp out2 nega*/ -{0xa1, 0x03,}, /*2d lclp out2 pos*/ -{0xa2, 0x02,}, /*2d lclp out1 nega*/ -{0xa3, 0x03,}, /*2d lclp out1 pos*/ -{0xa4, 0x03,}, /*2d lclp in nega*/ -{0xa5, 0x04,}, /*2d lclp in pos*/ -{0xa6, 0x07,}, /*2d lclp dark1 nega*/ -{0xa7, 0x08,}, /*2d lclp dark1 pos*/ -{0xa8, 0x07,}, /*2d lclp dark2 nega*/ -{0xa9, 0x08,}, /*2d lclp dark2 pos*/ -{0xaa, 0x07,}, /*2d lclp dark3 nega*/ -{0xab, 0x08,}, /*2d lclp dark3 pos*/ -{0xb0, 0x10,}, /*out2 H Ne*/ -{0xb3, 0x10,}, /* H Po*/ -{0xb1, 0x1e,}, /* M Ne*/ -{0xb4, 0x1e,}, /* M Po*/ -{0xb2, 0x1f,}, /* L Ne*/ -{0xb5, 0x1e,}, /* L Po*/ -{0xb6, 0x10,}, /*out1 H Ne */ -{0xb9, 0x10,}, /* H Po */ -{0xb7, 0x1e,}, /* M Ne */ -{0xba, 0x1e,}, /* M Po */ -{0xb8, 0x1f,}, /* L Ne */ -{0xbb, 0x1e,}, /* L Po */ -{0xbc, 0x20,}, /*indoor H Ne*/ -{0xbf, 0x1e,}, /* H Po*/ -{0xbd, 0x25,}, /* M Ne*/ -{0xc0, 0x23,}, /* M Po*/ -{0xbe, 0x24,}, /* L Ne*/ -{0xc1, 0x22,}, /* L Po*/ - -{0xc2, 0x23,}, /*dark1 H Ne*/ -{0xc5, 0x23,}, /* H Po*/ -{0xc3, 0x29,}, /* M Ne*/ -{0xc6, 0x29,}, /* M Po*/ -{0xc4, 0x25,}, /* L Ne*/ -{0xc7, 0x25,}, /* L Po*/ -{0xc8, 0x1c,}, /*dark2 H Ne*/ -{0xcb, 0x1c,}, /* H Po*/ -{0xc9, 0x25,}, /* M Ne*/ -{0xcc, 0x25,}, /* M Po*/ -{0xca, 0x23,}, /* L Ne*/ -{0xcd, 0x23,}, /* L Po*/ -{0xce, 0x1c,}, /*dark3 H Ne*/ -{0xd1, 0x1c,}, /* H Po*/ -{0xcf, 0x25,}, /* M Ne*/ -{0xd2, 0x25,}, /* M Po*/ -{0xd0, 0x23,}, /* L Ne*/ -{0xd3, 0x23,}, /* L Po*/ -{0x03, 0x14,}, -{0x10, 0x31,}, - -{0x14, 0x80,}, /* GX*/ -{0x15, 0x80,}, /* GY*/ -{0x16, 0x80,}, /* RX*/ -{0x17, 0x80,}, /* RY*/ -{0x18, 0x80,}, /* BX*/ -{0x19, 0x80,}, /* BY*/ -{0x20, 0x60,}, /* X Center*/ -{0x21, 0x80,}, /* Y Center*/ -{0x22, 0x80,}, -{0x23, 0x80,}, -{0x24, 0x80,}, -{0x30, 0xc8,}, -{0x31, 0x2b,}, -{0x32, 0x00,}, -{0x33, 0x00,}, -{0x34, 0x90,}, - -{0x40, 0x60,}, /*R min's set 4e*/ -{0x41, 0x44,}, /*Gr*/ -{0x42, 0x3e,}, /*B*/ -{0x43, 0x44,}, /*Gb*/ -{0x03, 0x15,}, -{0x10, 0x21,}, -{0x14, 0x44,}, /*49*/ -{0x15, 0x34,}, /*38*/ -{0x16, 0x26,}, /*2b*/ -{0x17, 0x2f,}, -{0x30, 0xdd,}, -{0x31, 0x62,}, -{0x32, 0x05,}, -{0x33, 0x26,}, -{0x34, 0xbd,}, -{0x35, 0x17,}, -{0x36, 0x18,}, -{0x37, 0x38,}, -{0x38, 0xd0,}, - -{0x40, 0xb0,}, -{0x41, 0x30,}, -{0x42, 0x00,}, -{0x43, 0x00,}, -{0x44, 0x00,}, -{0x45, 0x00,}, -{0x46, 0x99,}, -{0x47, 0x19,}, -{0x48, 0x00,}, -{0x50, 0x16,}, -{0x51, 0xb2,}, -{0x52, 0x1c,}, -{0x53, 0x06,}, -{0x54, 0x20,}, -{0x55, 0xa6,}, -{0x56, 0x0e,}, -{0x57, 0xb2,}, -{0x58, 0x24,}, -{0x03, 0x16,}, -{0x10, 0x31,}, /*GMA_CTL*/ -{0x18, 0x7e,}, /*AG_ON*/ -{0x19, 0x7d,}, /*AG_OFF*/ -{0x1a, 0x0e,}, /*TIME_ON*/ -{0x1b, 0x01,}, /*TIME_OFF*/ -{0x1C, 0xdc,}, /*OUT_ON*/ -{0x1D, 0xfe,}, /*OUT_OFF*/ - -/*GMA Indoor*/ -{0x30, 0x00,}, -{0x31, 0x07,}, -{0x32, 0x1a,}, -{0x33, 0x37,}, -{0x34, 0x5c,}, -{0x35, 0x7d,}, -{0x36, 0x96,}, -{0x37, 0xa9,}, -{0x38, 0xb7,}, -{0x39, 0xc6,}, -{0x3a, 0xd2,}, -{0x3b, 0xdc,}, -{0x3c, 0xe4,}, -{0x3d, 0xeb,}, -{0x3e, 0xf1,}, -{0x3f, 0xf5,}, -{0x40, 0xf9,}, -{0x41, 0xfd,}, -{0x42, 0xff,}, - -/*RGMA Outdoor*/ -{0x50, 0x00,}, -{0x51, 0x03,}, -{0x52, 0x13,}, -{0x53, 0x2e,}, -{0x54, 0x59,}, -{0x55, 0x79,}, -{0x56, 0x90,}, -{0x57, 0xa3,}, -{0x58, 0xb4,}, -{0x59, 0xc2,}, -{0x5a, 0xcd,}, -{0x5b, 0xd7,}, -{0x5c, 0xe0,}, -{0x5d, 0xe5,}, -{0x5e, 0xe9,}, -{0x5f, 0xee,}, -{0x60, 0xf1,}, -{0x61, 0xf3,}, -{0x62, 0xf6,}, - -/*BGMA Dark*/ -{0x70, 0x03,}, -{0x71, 0x11,}, -{0x72, 0x1f,}, -{0x73, 0x37,}, -{0x74, 0x52,}, -{0x75, 0x6c,}, -{0x76, 0x85,}, -{0x77, 0x9a,}, -{0x78, 0xad,}, -{0x79, 0xbd,}, -{0x7a, 0xcb,}, -{0x7b, 0xd6,}, -{0x7c, 0xe0,}, -{0x7d, 0xe8,}, -{0x7e, 0xef,}, -{0x7f, 0xf4,}, -{0x80, 0xf8,}, -{0x81, 0xfb,}, -{0x82, 0xfe,}, - -{0x03, 0x24,}, /*Resol control */ -{0x60, 0xc5,}, /*edge even frame | 16bit resol | white edge cnt | scene resol enable*/ -{0x61, 0x04,}, /*even frame update */ -{0x64, 0x08,}, -{0x65, 0x00,}, -{0x66, 0x26,}, /*edge th2 H */ -{0x67, 0x00,}, /*edge th2 L */ - -{0x03, 0x13,}, -{0x18, 0x31,}, /*flat center Gb/Gr*/ -{0x74, 0x02,}, /*det slope en | gausian filter*/ -{0x75, 0x0d,}, /*1D negative gain det 09 */ -{0x76, 0x0d,}, /*1D postive gain det 08*/ -{0x77, 0x10,}, /*1D hclp2 det*/ -{0x78, 0x08,}, /*outdoor flat threshold*/ -{0x79, 0x10,}, /*indoor flat threshold*/ - -{0x81, 0xdf,}, /*det gain controler*/ -{0x86, 0x90,}, /*2D negative gain det */ -{0x87, 0x90,}, /*2D postive gain det */ -{0x96, 0x2a,}, /*2D hclp2 det*/ - -{0x03, 0x12,}, /*{0x12, 0x p}age*/ -{0xd0, 0x88,}, -{0xd9, 0xe4,}, - -/* PAGE 18 START*/ -{0x03, 0x18,}, -{0x14, 0x43,}, /*83*/ - -/* PAGE 20 START*/ -{0x03, 0x20,}, -{0x11, 0x1c,}, -{0x18, 0x30,}, -{0x1a, 0x08,}, -{0x20, 0x45,},/*weight*/ -{0x21, 0x30,}, -{0x22, 0x10,}, -{0x23, 0x00,}, -{0x24, 0x00,}, -{0x28, 0xe7,}, /* add 20120223*/ -{0x29, 0x0d,}, /* 20100305 ad -> 0d*/ -{0x2a, 0xfd,}, -{0x2b, 0xf8,}, -{0x2c, 0x43,}, /* 20140618 c3 -> 43*/ -{0x2d, 0x5f,}, /* add 20120223*/ -{0x2e, 0x33,}, -{0x30, 0xf8,}, -{0x32, 0x03,}, -{0x33, 0x2e,}, -{0x34, 0x30,}, -{0x35, 0xd4,}, -{0x36, 0xff,}, /*fe*/ -{0x37, 0x32,}, -{0x38, 0x04,}, -{0x39, 0x22,}, -{0x3a, 0xde,}, -{0x3b, 0x22,}, -{0x3c, 0xde,}, -{0x3d, 0xe1,}, - -{0x50, 0x45,}, -{0x51, 0x88,}, -{0x56, 0x19,}, -{0x57, 0x81,}, -{0x58, 0x0e,}, -{0x59, 0x6a,}, -{0x5a, 0x04,}, -{0x5e, 0x9d,}, /*AE_AWB_start*/ -{0x5f, 0x76,}, /*AE_AWB_start*/ - -{0x70, 0x33,}, /* 6c*/ -{0x71, 0x82,}, /* 82(+8)*/ - -{0x76, 0x21,}, -{0x77, 0x71,}, -{0x78, 0x22,}, /* 24*/ -{0x79, 0x23,}, /* Y Target 70 => 25, 72 => 26*/ -{0x7a, 0x23,}, /* 23*/ -{0x7b, 0x22,}, /* 22*/ -{0x7d, 0x23,}, - -{0x83, 0x01,}, //EXP Normal 30.00 fps -{0x84, 0x86,}, -{0x85, 0xa0,}, -{0x86, 0x01,}, //EXPMin 7500.00 fps -{0x87, 0x90,}, -{0x88, 0x05,}, //EXP Max(120Hz) 8.00 fps -{0x89, 0xb8,}, -{0x8a, 0xd8,}, -{0xa5, 0x05,}, //EXP Max(100Hz) 8.33 fps -{0xa6, 0x7e,}, -{0xa7, 0x40,}, -{0x8B, 0x75,}, /*EXP100 */ -{0x8C, 0x30,}, -{0x8D, 0x61,}, /*EXP120 */ -{0x8E, 0xa8,}, -{0x9c, 0x09,}, /*EXP Limit 1250.00 fps */ -{0x9d, 0x60,}, -{0x9e, 0x01,}, /*EXP Unit */ -{0x9f, 0x90,}, -{0x98, 0x9d,}, - -{0xb0, 0x16,}, -{0xb1, 0x14,}, -{0xb2, 0xf8,}, -{0xb3, 0x14,}, -{0xb4, 0x1b,}, -{0xb5, 0x46,}, -{0xb6, 0x31,}, -{0xb7, 0x29,}, -{0xb8, 0x26,}, -{0xb9, 0x24,}, -{0xba, 0x22,}, -{0xbb, 0x42,}, -{0xbc, 0x41,}, -{0xbd, 0x40,}, -{0xc0, 0x10,}, -{0xc1, 0x38,}, -{0xc2, 0x38,}, -{0xc3, 0x38,}, -{0xc4, 0x07,}, -{0xc8, 0x80,}, -{0xc9, 0x80,}, -{0x10, 0x8c,}, /* ae enable*/ - - -/*AE_Weight*/ -{0x03, 0x21,}, -{0x20, 0x11,}, -{0x21, 0x11,}, -{0x22, 0x11,}, -{0x23, 0x11,}, -{0x24, 0x12,}, -{0x25, 0x22,}, -{0x26, 0x22,}, -{0x27, 0x21,}, -{0x28, 0x12,}, -{0x29, 0x22,}, -{0x2a, 0x22,}, -{0x2b, 0x21,}, -{0x2c, 0x12,}, -{0x2d, 0x23,}, -{0x2e, 0x32,}, -{0x2f, 0x21,}, -{0x30, 0x12,}, -{0x31, 0x23,}, -{0x32, 0x32,}, -{0x33, 0x21,}, -{0x34, 0x12,}, -{0x35, 0x22,}, -{0x36, 0x22,}, -{0x37, 0x21,}, -{0x38, 0x12,}, -{0x39, 0x22,}, -{0x3a, 0x22,}, -{0x3b, 0x21,}, -{0x3c, 0x11,}, -{0x3d, 0x11,}, -{0x3e, 0x11,}, -{0x3f, 0x11,}, - -/* PAGE 22 START*/ -{0x03, 0x22,}, -{0x10, 0xfd,}, -{0x11, 0x2e,}, -{0x19, 0x01,}, /* Low On*/ -{0x20, 0x30,}, /* for wb speed*/ -{0x21, 0x40,}, -{0x24, 0x01,}, -{0x25, 0x7e,}, /* for tracking 20120314 */ - -{0x30, 0x80,}, /* 20120224 test*/ -{0x31, 0x80,}, -{0x38, 0x11,}, -{0x39, 0x34,}, - -{0x40, 0xe8,}, -{0x41, 0x43,}, /* 33*/ -{0x42, 0x22,}, /* 22*/ - -{0x43, 0xf3,}, /* f6*/ -{0x44, 0x54,}, /* 44*/ -{0x45, 0x22,}, /* 33*/ - -{0x46, 0x00,}, -{0x48, 0x0a,}, -{0x50, 0xb2,}, -{0x51, 0x81,}, -{0x52, 0x98,}, - -{0x80, 0x38,}, -{0x81, 0x20,}, -{0x82, 0x38,}, /* 3a*/ - -{0x83, 0x56,}, /* R Max*/ -{0x84, 0x20,}, /* R Min*/ -{0x85, 0x52,}, /* B Max*/ -{0x86, 0x20,}, /* B Min*/ - -{0x87, 0x45,}, -{0x88, 0x3a,}, -{0x89, 0x32,}, -{0x8a, 0x2c,}, - -{0x8b, 0x42,}, -{0x8c, 0x3d,}, -{0x8d, 0x30,}, -{0x8e, 0x2c,}, - -{0x8f, 0x5a,}, -{0x90, 0x59,}, -{0x91, 0x55,}, -{0x92, 0x4e,}, -{0x93, 0x44,}, -{0x94, 0x3a,}, -{0x95, 0x34,}, -{0x96, 0x2c,}, -{0x97, 0x23,}, -{0x98, 0x20,}, -{0x99, 0x1f,}, -{0x9a, 0x1f,}, - -{0x9b, 0x77,}, -{0x9c, 0x77,}, -{0x9d, 0x48,}, -{0x9e, 0x38,}, -{0x9f, 0x30,}, - -{0xa0, 0x40,}, -{0xa1, 0x21,}, -{0xa2, 0x6f,}, -{0xa3, 0xff,}, - -{0xa4, 0x14,}, /* 1500fps*/ -{0xa5, 0x44,}, /* 700fps*/ -{0xa6, 0xcf,}, - -{0xad, 0x40,}, -{0xae, 0x4a,}, - -{0xaf, 0x2a,}, /* low temp Rgain*/ -{0xb0, 0x28,}, /* low temp Rgain*/ - -{0xb1, 0x00,}, /* {0x20, 0x -}> {0x00, 0x 0}405 modify*/ -{0xb4, 0xbf,}, /* for tracking 20120314*/ -{0xb8, 0xb1,}, /* a2: b-2, R+2 b4 B-3, R+4 lowtemp b0 a1 Spec AWB A modify*/ -{0xb9, 0x00,}, -/* PAGE 22 END*/ - -/* PAGE 48 */ -{0x03, 0x00,}, - -/* PLL Setting */ -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x05,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, - -{0x03, 0x48,}, -/* MIPI TX Setting */ -{0x10, 0x1c,}, -{0x11, 0x00,}, -{0x12, 0x00,}, -{0x14, 0x00,}, -{0x16, 0x04,}, -{0x17, 0x00,}, -{0x18, 0x80,}, -{0x19, 0x00,}, -{0x1a, 0xa0,}, -{0x1c, 0x02,}, -{0x1d, 0x0e,}, -{0x1e, 0x07,}, -{0x1f, 0x08,}, -{0x22, 0x00,}, -{0x23, 0x01,}, -{0x24, 0x1e,}, -{0x25, 0x00,}, -{0x26, 0x00,}, -{0x27, 0x08,}, -{0x28, 0x00,}, -{0x30, 0x05,}, -{0x31, 0x00,}, -{0x32, 0x07,}, -{0x33, 0x09,}, -{0x34, 0x01,}, -{0x35, 0x01,}, -{0x03, 0x00,}, -{0x01, 0x00,}, -{0xff, 0x05,}, -}; diff --git a/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv_matisse.h b/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv_matisse.h index 7a23160305f..79d23a66154 100644 --- a/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv_matisse.h +++ b/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv_matisse.h @@ -1850,7 +1850,7 @@ static struct msm_camera_i2c_reg_conf sr130pc20_VT_Init_Reg[] = { #endif -static struct msm_camera_i2c_reg_conf sr130pc20_camcorder_mode_50hz[] = { +static struct msm_camera_i2c_reg_conf sr130pc20_camcorder_mode[] = { /*0 Page*/ {0x03, 0x00,}, {0x01, 0x01,}, /*sleep*/ @@ -2765,927 +2765,7 @@ static struct msm_camera_i2c_reg_conf sr130pc20_camcorder_mode_50hz[] = { {0xff, 0x28,}, /*400ms Delay*/ }; -static struct msm_camera_i2c_reg_conf sr130pc20_camcorder_mode_60hz[] = { -/*0 Page*/ -{0x03, 0x00,}, -{0x01, 0x01,}, /*sleep*/ -{0x01, 0x03,}, /*s/w reset*/ -{0x01, 0x01,}, /*sleep*/ -{0x08, 0x00,},/*Don't touch*/ -{0x09, 0x37,},/*Don't touch*/ -{0x0a, 0x33,},/*Don't touch*/ -/*PLL Setting*/ -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x01,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, -{0x10, 0x11,}, -{0x11, 0x94,}, /*xy flip*/ -{0x12, 0x00,}, -{0x14, 0x88,}, -{0x03, 0x00,}, -{0x20, 0x00,}, -{0x21, 0x04,}, -{0x22, 0x00,}, -{0x23, 0x04,}, -{0x24, 0x03,}, -{0x25, 0xC0,}, -{0x26, 0x05,}, -{0x27, 0x00,}, -{0x40, 0x01,}, /*Hblank_280*/ -{0x41, 0x18,}, -{0x42, 0x00,}, /*Vblank 124*/ -{0x43, 0x7c,}, -{0x03, 0x00,}, /*ESD */ -{0x0b, 0xaa,}, -{0x0c, 0xaa,}, -{0x0d, 0xaa,}, -/*--------------- BLC*/ -{0x80, 0x08,}, /*Don't touch */ -{0x81, 0x97,}, /*Don't touch */ -{0x82, 0x90,}, /*Don't touch */ -{0x83, 0x30,}, /*Don't touch */ -{0x84, 0xcc,}, /*Don't touch*/ -{0x85, 0x00,}, /*Don't touch*/ -{0x86, 0xd4,}, /*Don' t touch*/ -{0x87, 0x0f,}, /*Don't touch*/ -{0x88, 0x34,}, /*Don't touch*/ -{0x90, 0x04,}, /*BLC_TIME_TH_ON*/ -{0x91, 0x04,}, /*BLC_TIME_TH_OFF */ -{0x92, 0xe8,}, /*BLC_AG_TH_ON*/ -{0x93, 0xe0,}, /*BLC_AG_TH_OFF*/ -{0x94, 0x95,}, /*091202*/ -{0x95, 0x90,}, /*091202 */ -{0x98, 0x38,}, /*Don't touch*/ -/*Dark BLC*/ -{0xa0, 0x01,}, /* 20100309*/ -{0xa2, 0x01,}, /* 20100309*/ -{0xa4, 0x01,}, /* 20100309*/ -{0xa6, 0x01,}, /* 20100309*/ -/*Normal BLC*/ -{0xa8, 0x00,}, -{0xaa, 0x00,}, -{0xac, 0x00,}, -{0xae, 0x00,}, -/*Out BLC*/ -{0x99, 0x00,}, -{0x9a, 0x00,}, -{0x9b, 0x00,}, -{0x9c, 0x00,}, -/*2 Page*/ -{0x03, 0x02,}, -{0x12, 0x00,}, /*Don't touch*/ -{0x14, 0x00,}, /*Don't touch*/ -{0x15, 0x00,}, /*Don't touch*/ -{0x18, 0x4C,}, /*Don't touch*/ -{0x19, 0x00,}, /*Don't touch*/ -{0x1A, 0x39,}, /*Don't touch*/ -{0x1B, 0x00,},/*Don't touch*/ -{0x1C, 0x1a,}, /*Don't touch*/ -{0x1D, 0x14,}, /*Don't touch*/ -{0x1E, 0x30,},/*Don't touch*/ -{0x1F, 0x10,},/*Don't touch*/ -{0x20, 0x77,}, -{0x21, 0xde,}, -{0x22, 0xa7,}, -{0x23, 0x30,}, -{0x24, 0x77,}, -{0x25, 0x10,}, -{0x26, 0x10,}, -{0x27, 0x3c,}, -{0x2b, 0x80,}, -{0x2c, 0x02,}, -{0x2d, 0xa0,}, -{0x2e, 0x00,}, -{0x2f, 0xa7,}, -{0x30, 0x00,}, -{0x31, 0x99,}, -{0x32, 0x00,}, -{0x33, 0x00,}, -{0x34, 0x22,}, -{0x36, 0x01,}, -{0x37, 0x01,}, -{0x38, 0x88,}, -{0x39, 0x88,}, -{0x3d, 0x03,}, -{0x3e, 0x0d,}, -{0x3f, 0x02,}, -{0x49, 0xd1,}, -{0x4a, 0x14,}, -{0x50, 0x21,}, -{0x52, 0x01,}, -{0x53, 0x81,}, -{0x54, 0x10,}, -{0x55, 0x1c,}, -{0x56, 0x11,}, -{0x58, 0x18,}, -{0x59, 0x16,}, -{0x5d, 0xa2,}, -{0x5e, 0x5a,}, -{0x60, 0x93,}, /* 20120517 modify*/ -{0x61, 0xa4,}, /* 20120517 modify*/ -{0x62, 0x94,}, /* 20120517 modify*/ -{0x63, 0xa3,}, /* 20120517 modify*/ -{0x64, 0x94,}, /* 20120517 modify*/ -{0x65, 0xa3,}, /* 20120517 modify*/ -{0x67, 0x0c,}, -{0x68, 0x0c,}, -{0x69, 0x0c,}, -{0x6a, 0xb4,}, -{0x6b, 0xc4,}, -{0x6c, 0xb5,}, -{0x6d, 0xc2,}, -{0x6e, 0xb5,}, -{0x6f, 0xc0,}, -{0x70, 0xb6,}, -{0x71, 0xb8,}, -{0x72, 0x95,}, /* 20120517 modify*/ -{0x73, 0xa2,}, /* 20120517 modify*/ -{0x74, 0x95,}, /* 20120517 modify*/ -{0x75, 0xa2,}, /* 20120517 modify*/ -{0x76, 0x95,}, /* 20120517 modify*/ -{0x77, 0xa2,}, /* 20120517 modify*/ -{0x7C, 0x92,}, /* 20120517 modify*/ -{0x7D, 0xff,}, /* 20120517 modify*/ -{0x80, 0x01,}, /* 20120517 modify*/ -{0x81, 0x8a,}, /* 20120517 modify*/ -{0x82, 0x1e,}, /* 20120517 modify*/ -{0x83, 0x36,}, /* 20120517 modify*/ -{0x84, 0x89,}, /* 20120517 modify*/ -{0x85, 0x8b,}, /* 20120517 modify*/ -{0x86, 0x89,}, /* 20120517 modify*/ -{0x87, 0x8b,}, /* 20120517 modify*/ -{0x88, 0xab,}, -{0x89, 0xbc,}, -{0x8a, 0xac,}, -{0x8b, 0xba,}, -{0x8c, 0xad,}, -{0x8d, 0xb8,}, -{0x8e, 0xae,}, -{0x8f, 0xb2,}, -{0x90, 0xb3,}, -{0x91, 0xb7,}, -{0x92, 0x52,}, /* 20120517 modify*/ -{0x93, 0x6a,}, /* 20120517 modify*/ -{0x94, 0x89,}, /* 20120517 modify*/ -{0x95, 0x8b,}, /* 20120517 modify*/ -{0x96, 0x89,}, /* 20120517 modify*/ -{0x97, 0x8b,}, /* 20120517 modify*/ -{0xA0, 0x02,}, -{0xA1, 0x86,}, /* 20120517 modify*/ -{0xA2, 0x02,}, -{0xA3, 0x86,}, /* 20120517 modify*/ -{0xA4, 0x86,}, /* 20120517 modify*/ -{0xA5, 0x02,}, -{0xA6, 0x86,}, /* 20120517 modify*/ -{0xA7, 0x02,}, -{0xA8, 0x92,}, /* 20120517 modify*/ -{0xA9, 0x94,}, /* 20120517 modify*/ -{0xAA, 0x92,}, /* 20120517 modify*/ -{0xAB, 0x94,}, /* 20120517 modify*/ -{0xAC, 0x1c,}, -{0xAD, 0x22,}, -{0xAE, 0x1c,}, -{0xAF, 0x22,}, -{0xB0, 0xa4,}, /* 20120517 modify*/ -{0xB1, 0xae,}, /* 20120517 modify*/ -{0xB2, 0xa4,}, /* 20120517 modify*/ -{0xB3, 0xae,}, /* 20120517 modify*/ -{0xB4, 0xa6,}, /* 20120517 modify*/ -{0xB5, 0xac,}, /* 20120517 modify*/ -{0xB6, 0xa6,}, /* 20120517 modify*/ -{0xB7, 0xac,}, /* 20120517 modify*/ -{0xB8, 0xa6,}, /* 20120517 modify*/ -{0xB9, 0xab,}, /* 20120517 modify*/ -{0xBA, 0xa6,}, /* 20120517 modify*/ -{0xBB, 0xab,}, /* 20120517 modify*/ -{0xBC, 0xa6,}, /* 20120517 modify*/ -{0xBD, 0xab,}, /* 20120517 modify*/ -{0xBE, 0xa6,}, /* 20120517 modify*/ -{0xBF, 0xab,}, /* 20120517 modify*/ -{0xc4, 0x37,}, -{0xc5, 0x52,}, -{0xc6, 0x6b,}, -{0xc7, 0x86,}, -{0xc8, 0x38,}, /* 20120517 modify*/ -{0xc9, 0x50,}, /* 20120517 modify*/ -{0xca, 0x38,}, /* 20120517 modify*/ -{0xcb, 0x50,}, /* 20120517 modify*/ -{0xcc, 0x6c,}, /* 20120517 modify*/ -{0xcd, 0x84,}, /* 20120517 modify*/ -{0xce, 0x6c,}, /* 20120517 modify*/ -{0xcf, 0x84,}, /* 20120517 modify*/ -{0xdc, 0x00,}, /* Added*/ -{0xdd, 0xaf,}, /* Added*/ -{0xde, 0x00,}, /* Added*/ -{0xdf, 0x90,}, /* Added*/ -{0xd0, 0x10,}, -{0xd1, 0x14,}, -{0xd2, 0x20,}, -{0xd3, 0x00,}, -/*DCDC */ -{0xd4, 0x04,}, /*DCDC_TIME_TH_ON*/ -{0xd5, 0x04,}, /*DCDC_TIME_TH_OFF */ -{0xd6, 0xe8,}, /*DCDC_AG_TH_ON*/ -{0xd7, 0xe0,}, /*DCDC_AG_TH_OFF*/ -{0xea, 0x8a,}, -{0xF0, 0x01,}, /* clock inversion*/ -{0xF1, 0x01,}, -{0xF2, 0x01,}, -{0xF3, 0x01,}, -{0xF4, 0x01,}, -{0xF5, 0x00,}, -{0x03, 0x10,}, /*page 10*/ -{0x10, 0x01,}, /*Ycbcr422_bit Order: YUYV*/ -{0x11, 0x03,}, -{0x12, 0x30,}, /*y offset[4], dif_offset[5]*/ -{0x13, 0x02,}, /*contrast effet enable : 0x02*/ -{0x34, 0x00,}, /*hidden 10->00 100209*/ -{0x37, 0x01,}, /*yc2d power save */ -{0x3f, 0x04,}, /*100825*/ -{0x40, 0x80,}, /*Y offset */ -{0x41, 0x0a,}, -{0x48, 0x80,}, /*Contrast (Y = constrast * (Y - 128) + 128)/86 */ - -{0x50, 0xf8,}, /*20140404 Dyoffset TH */ - -{0x53, 0x00,}, /*dif_offset option */ -{0x55, 0x30,}, /*dif_offset option diff_offset max */ -{0x60, 0x07,}, -{0x61, 0x83,}, /*blue saturation_C0*/ -{0x62, 0x80,}, /*red saturation_B0*/ -{0x63, 0x80,}, /*auto decresment on AG th*/ -{0x64, 0xff,}, /*auto decresment on DG th*/ -{0x66, 0xe4,}, /*Outdoor saturation step 137fps apply out th */ -{0x67, 0x13,}, /*Outdoor saturation B/R*/ -{0x76, 0x01,}, /* ADD 20121031 */ -{0x79, 0x04,}, /* ADD 20121031 */ -/* Hi 163 */ -/* PAGE 10 START*/ -{0x03, 0x10,}, -{0x80, 0x00,}, /* dsshin --> color enhance*/ -{0xf5, 0x00,}, /* dsshin --> h blank option*/ -{0x03, 0x11,}, /*page 11 D_LPF */ -{0x10, 0x3f,}, /*B[6]:Blue En Dlpf on[4:0] Sky over off : 0x7f->3f*/ -{0x11, 0x20,}, /* Uniform Full GbGr/OV-Nr*/ -{0x12, 0x80,}, /*Blue MaxOpt blue sky max filter optoin rate : 0 0xc0->80*/ -{0x13, 0xb8,}, -{0x30, 0xba,}, /*Outdoor2 H th*/ -{0x31, 0x10,}, /*Outdoor2 L th*/ -{0x32, 0x50,}, /*Outdoor2 gain ratio*/ -{0x33, 0x1d,}, /*Outdoor2 H lum*/ -{0x34, 0x20,}, /*Outdoor2 M lum*/ -{0x35, 0x1f,}, /*Outdoor2 L lum*/ -{0x36, 0xb0,}, /*Outdoor1 H th*/ -{0x37, 0x18,}, /*Outdoor1 L th*/ -{0x38, 0x50,}, /*Outdoor1 gain ratio 0x80->40*/ -{0x39, 0x1d,}, /*Outdoor1 H lum 0x28->1e*/ -{0x3a, 0x20,}, /*Outdoor1 M lum 0x10->15*/ -{0x3b, 0x1f,}, /*Outdoor1 L lum */ -{0x3c, 0x3f,}, /*indoor H th*/ -{0x3d, 0x16,}, /*indoor L th*/ -{0x3e, 0x30,}, /*indoor gain ratio 0x44 6a */ -{0x3f, 0x1a,}, /*indoor H lum 0x12 18 */ -{0x40, 0x60,}, /*indoor M lum 0x18 1c*/ -{0x41, 0x1a,}, /*indoor L lum */ -{0x42, 0x98,}, /*dark1 H th*/ -{0x43, 0x28,}, /*dark1 L th*/ -{0x44, 0x65,}, /*dark1 gain ratio*/ -{0x45, 0x16,}, /*dark1 H lum 0x38->0x28 */ -{0x46, 0x30,}, /*dark1 M lum 0x27->0x17*/ -{0x47, 0x34,}, /*dark1 L lum 0x20->0x1a */ -{0x48, 0x90,}, /*dark2 H th*/ -{0x49, 0x2a,}, /*dark2 L th*/ -{0x4a, 0x65,}, /*dark2 gain ratio*/ -{0x4b, 0x18,}, /*dark2 H lum */ -{0x4c, 0x31,}, /*dark2 M lum*/ -{0x4d, 0x36,}, /*dark2 L lum */ -{0x4e, 0x80,}, /*dark3 H th*/ -{0x4f, 0x30,}, /*dark3 L th*/ -{0x50, 0x65,}, /*dark3 gain ratio*/ -{0x51, 0x19,}, /*dark3 H lum */ -{0x52, 0x31,}, /*dark3 M lum */ -{0x53, 0x36,}, /*dark3 L lum */ -{0x5a, 0x3f,}, /*blue sky mode out1/2 enable 0x27->3f */ -{0x5b, 0x00,}, /*Impulse pixel enable dark123,in,out123*/ -{0x5c, 0x9f,}, /*Indoor maxfilter rate[7:5] | Uncertain onoff[4:0] 0x1f ->0x9f*/ -{0x60, 0x3f,}, /*GbGr all enable*/ -{0x62, 0x0f,}, /*GbGr offset*/ -{0x65, 0x0c,}, /*Outdoor GbGr rate H 100% M 25% L 100%*/ -{0x66, 0x0c,}, /*Indoor GbGr rate H 100% M 25% L 100%*/ -{0x67, 0x00,}, /*dark GbGr rate H/M/L 100%*/ -{0x70, 0x0c,}, /* Abberation On/Off B[1]: Outdoor B[0]: Indoor 07>>c*/ -{0x75, 0xa0,}, /* Outdoor2 Abberation Luminance lvl */ -{0x7d, 0xb4,}, /* Indoor Abberation Luminance lvl*/ -{0x96, 0x08,}, /*indoor/Dark1 edgeoffset1*/ -{0x97, 0x14,}, /*indoor/Dark1 center G value*/ -{0x98, 0xf5,}, /*slope indoor :: left/right graph polarity, slope*/ -{0x99, 0x2a,}, /*indoor uncertain ratio control*/ -{0x9a, 0x20,}, /*Edgeoffset_dark*/ -/*DPC_CTRL*/ -{0x03, 0x12,}, /*Preview DPC off[0x5c] on[0x5d]*/ -{0x20, 0x0f,}, -{0x21, 0x0f,}, -{0x25, 0x00,}, /* 0x30*/ -{0x2a, 0x01,}, -{0x2e, 0x00,}, /*2010.8.25*/ -{0x30, 0x35,}, /*Texture region(most detail)*/ -{0x31, 0xa0,}, /*STD uniform1 most blur region*/ -{0x32, 0xb0,}, /*STD uniform2 2nd blur*/ -{0x33, 0xc0,}, /*STD uniform3 3rd blur*/ -{0x34, 0xd0,}, /*STD normal noise1 4th blur */ -{0x35, 0xe0,}, /*STD normal noise2 5th blur*/ -{0x36, 0xff,}, /*STD normal noise3 6th blur*/ -{0x40, 0x83,}, /*Outdoor2 H th*/ -{0x41, 0x20,}, /*Outdoor2 L th */ -{0x42, 0x08,}, /*Outdoor2 H luminance */ -{0x43, 0x10,}, /*Outdoor2 M luminance */ -{0x44, 0x10,}, /*Outdoor2 l luminance */ -{0x45, 0x50,}, /*Outdoor2 ratio*/ -{0x46, 0x83,}, /*Outdoor1 H th*/ -{0x47, 0x20,}, /*Outdoor1 L th */ -{0x48, 0x08,}, /*Outdoor1 H luminance*/ -{0x49, 0x10,}, /*Outdoor1 M luminance*/ -{0x4a, 0x10,}, /*Outdoor1 L luminance*/ -{0x4b, 0x50,}, /*Outdoor1 ratio*/ -{0x4c, 0x80,}, /*Indoor H th*/ -{0x4d, 0x48,}, /*Indoor L th*/ -{0x4e, 0x30,}, /*indoor H lum*/ -{0x4f, 0x30,}, /*indoor M lum*/ -{0x50, 0x12,}, /*indoor L lum */ -{0x51, 0x70,}, /*indoor ratio 0x10 -> 0x45*/ -{0x52, 0xa8,}, /*dark1 H th*/ -{0x53, 0x30,}, /*dark1 L th */ -{0x54, 0x28,}, /*dark1 H lum */ -{0x55, 0x3e,}, /*dark1 M lum*/ -{0x56, 0x67,}, /*dark1 L lum*/ -{0x57, 0x6a,}, /*dark1 ratio*/ -{0x58, 0xa0,}, /*dark2 H th*/ -{0x59, 0x40,}, /*dark2 L th*/ -{0x5a, 0x28,}, /*dark2 H lum*/ -{0x5b, 0x3f,}, /*dark2 M lum*/ -{0x5c, 0x68,}, /*dark2 L lum*/ -{0x5d, 0x70,}, /*dark2 ratio*/ -{0x5e, 0xa0,}, /*dark3 H th*/ -{0x5f, 0x40,}, /*dark3 L th*/ -{0x60, 0x29,}, /*dark3 H lum*/ -{0x61, 0x3f,}, /*dark3 M lum*/ -{0x62, 0x69,}, /*dark3 L lum*/ -{0x63, 0x6a,}, /*dark3 ratio*/ -/*C-filter(Out2&Out1)*/ -{0x70, 0x10,}, -{0x71, 0x0a,}, -/*C-filter(Indoor&Dark3)*/ -{0x72, 0x10,}, -{0x73, 0x0a,}, -/*C-filter(Dark2&Dark1)*/ -{0x74, 0x18,}, -{0x75, 0x12,}, -{0x80, 0x20,}, -{0x81, 0x40,}, -{0x82, 0x65,}, -{0x85, 0x1a,}, -{0x88, 0x00,}, -{0x89, 0x00,}, -{0x90, 0x5d,}, /*Preview DPC off[0x5c] on[0x5d]*/ -/*DPC-Dark1,2,3*/ -{0xad, 0x07,}, /*10825*/ -{0xae, 0x07,}, /*10825*/ -{0xaf, 0x07,}, /*10825*/ -/*Blue Det..*/ -{0xc5, 0x58,}, /*BlueRange 2010.8.25 {0x40, 0x->2}3 */ -{0xc6, 0x20,}, /*GreenRange 2010.8.25 0x3b->20 */ -{0xd0, 0x88,}, /*2010.8.25*/ -{0xd1, 0x80,}, -{0xd2, 0x17,},/*preview 17, full 67*/ -{0xd3, 0x00,}, -{0xd4, 0x00,}, -{0xd5, 0x0f,},/*preview 0f, full 02*/ -{0xd6, 0xff,}, -{0xd7, 0xff,},/*preview ff, full 18*/ -{0xd8, 0x00,}, -{0xd9, 0x04,}, -/*interpolated with average*/ -{0xdb, 0x38,}, /*resolution issue 0x00->0x18->0x38 */ -{0xd9, 0x04,}, /*strong_edge detect ratio*/ -{0xe0, 0x01,}, /*strong_edge detect ratio*/ -{0x03, 0x13,}, /*page 13 sharpness 1D*/ -{0x10, 0xc5,}, -{0x11, 0x7b,}, -{0x12, 0x0e,}, -{0x14, 0x00,}, -{0x15, 0x11,}, /*added option 1.3M */ -{0x18, 0x30,}, /*added option 1.3M */ -{0x20, 0x15,}, -{0x21, 0x13,}, -{0x22, 0x33,}, -{0x23, 0x08,}, /*hi_clip th1*/ -{0x24, 0x1a,}, /*hi_clip th2*/ -{0x25, 0x06,}, /*low clip th*/ -{0x26, 0x18,}, -{0x27, 0x30,}, -{0x29, 0x10,}, /*time th*/ -{0x2a, 0x30,}, /*pga th*/ -{0x2b, 0x03,}, /*lpf out2*/ -{0x2c, 0x03,}, /*lpf out1*/ -{0x2d, 0x0c,}, -{0x2e, 0x12,}, -{0x2f, 0x12,}, -/*1D Edge*/ -{0x50, 0x0a,}, /*out2 hi nega*/ -{0x53, 0x07,}, /* hi pos*/ -{0x51, 0x0c,}, /* mi nega*/ -{0x54, 0x07,}, /* mi pos*/ -{0x52, 0x0b,}, /* lo nega*/ -{0x55, 0x08,}, /* lo pos*/ -{0x56, 0x0a,}, /*out1 hi nega*/ -{0x59, 0x07,}, /* hi pos */ -{0x57, 0x0c,}, /* mi nega*/ -{0x5a, 0x07,}, /* mi pos */ -{0x58, 0x0b,}, /* lo nega*/ -{0x5b, 0x08,}, /* lo pos */ -/*Indoor Edge*/ -{0x5c, 0x08,}, /*indoor hi nega*/ -{0x5f, 0x07,}, /* hi pos*/ -{0x5d, 0x14,}, /* mid nega */ -{0x60, 0x12,}, /* mid pos */ -{0x5e, 0x0a,}, /* low nega */ -{0x61, 0x08,}, /* low pos*/ -{0x62, 0x08,}, /*dark1 hi nega*/ -{0x65, 0x06,}, /* hi pos */ -{0x63, 0x08,}, /* mid nega */ -{0x66, 0x06,}, /* mid pos */ -{0x64, 0x08,}, /* low nega */ -{0x67, 0x06,}, /* low pos */ -{0x68, 0x07,}, /*dark2 hi nega*/ -{0x6b, 0x05,}, /* hi pos */ -{0x69, 0x07,}, /* mid nega */ -{0x6c, 0x05,}, /* mid pos */ -{0x6a, 0x07,}, /* low nega */ -{0x6d, 0x05,}, /* low pos */ -{0x6e, 0x0a,}, /*dark3 hi nega*/ -{0x71, 0x09,}, /* hi pos */ -{0x6f, 0x0a,}, /* mid nega */ -{0x72, 0x09,}, /* mid pos */ -{0x70, 0x0a,}, /* low nega */ -{0x73, 0x09,}, /* low pos */ - /* 2DY*/ -{0x80, 0xc1,}, -{0x81, 0x1f,}, -{0x82, 0xe1,}, -{0x83, 0x33,}, -{0x90, 0x05,}, -{0x91, 0x05,}, -{0x92, 0x33,}, -{0x93, 0x30,}, -{0x94, 0x03,}, -{0x95, 0x14,}, -{0x97, 0x30,}, -{0x99, 0x30,}, -{0xa0, 0x02,}, /*2d lclp out2 nega*/ -{0xa1, 0x03,}, /*2d lclp out2 pos*/ -{0xa2, 0x02,}, /*2d lclp out1 nega*/ -{0xa3, 0x03,}, /*2d lclp out1 pos*/ -{0xa4, 0x03,}, /*2d lclp in nega*/ -{0xa5, 0x04,}, /*2d lclp in pos*/ -{0xa6, 0x07,}, /*2d lclp dark1 nega*/ -{0xa7, 0x08,}, /*2d lclp dark1 pos*/ -{0xa8, 0x07,}, /*2d lclp dark2 nega*/ -{0xa9, 0x08,}, /*2d lclp dark2 pos*/ -{0xaa, 0x07,}, /*2d lclp dark3 nega*/ -{0xab, 0x08,}, /*2d lclp dark3 pos*/ -{0xb0, 0x10,}, /*out2 H Ne*/ -{0xb3, 0x10,}, /* H Po*/ -{0xb1, 0x1e,}, /* M Ne*/ -{0xb4, 0x1e,}, /* M Po*/ -{0xb2, 0x1f,}, /* L Ne*/ -{0xb5, 0x1e,}, /* L Po*/ -{0xb6, 0x10,}, /*out1 H Ne */ -{0xb9, 0x10,}, /* H Po */ -{0xb7, 0x1e,}, /* M Ne */ -{0xba, 0x1e,}, /* M Po */ -{0xb8, 0x1f,}, /* L Ne */ -{0xbb, 0x1e,}, /* L Po */ -{0xbc, 0x20,}, /*indoor H Ne*/ -{0xbf, 0x1e,}, /* H Po*/ -{0xbd, 0x25,}, /* M Ne*/ -{0xc0, 0x23,}, /* M Po*/ -{0xbe, 0x24,}, /* L Ne*/ -{0xc1, 0x22,}, /* L Po*/ -{0xc2, 0x23,}, /*dark1 H Ne*/ -{0xc5, 0x23,}, /* H Po*/ -{0xc3, 0x29,}, /* M Ne*/ -{0xc6, 0x29,}, /* M Po*/ -{0xc4, 0x25,}, /* L Ne*/ -{0xc7, 0x25,}, /* L Po*/ -{0xc8, 0x1c,}, /*dark2 H Ne*/ -{0xcb, 0x1c,}, /* H Po*/ -{0xc9, 0x25,}, /* M Ne*/ -{0xcc, 0x25,}, /* M Po*/ -{0xca, 0x23,}, /* L Ne*/ -{0xcd, 0x23,}, /* L Po*/ -{0xce, 0x1c,}, /*dark3 H Ne*/ -{0xd1, 0x1c,}, /* H Po*/ -{0xcf, 0x25,}, /* M Ne*/ -{0xd2, 0x25,}, /* M Po*/ -{0xd0, 0x23,}, /* L Ne*/ -{0xd3, 0x23,}, /* L Po*/ -/* PAGE 14 START*/ -{0x03, 0x14,}, -{0x10, 0x31,}, -{0x14, 0x80,}, /* GX*/ -{0x15, 0x80,}, /* GY*/ -{0x16, 0x80,}, /* RX*/ -{0x17, 0x80,}, /* RY*/ -{0x18, 0x80,}, /* BX*/ -{0x19, 0x80,}, /* BY*/ -{0x20, 0x60,}, /* X Center*/ -{0x21, 0x80,}, /* Y Center*/ -{0x22, 0x80,}, -{0x23, 0x80,}, -{0x24, 0x80,}, -{0x30, 0xc8,}, -{0x31, 0x2b,}, -{0x32, 0x00,}, -{0x33, 0x00,}, -{0x34, 0x90,}, -{0x40, 0x60,}, /*R min's set 4e*/ -{0x41, 0x44,}, /*Gr*/ -{0x42, 0x3e,}, /*B*/ -{0x43, 0x44,}, /*Gb*/ -{0x03, 0x15,}, -{0x10, 0x21,}, -{0x14, 0x44,}, /*49*/ -{0x15, 0x34,}, /*38*/ -{0x16, 0x26,}, /*2b*/ -{0x17, 0x2f,}, -/*CMC*/ -{0x30, 0xdd,}, -{0x31, 0x62,}, -{0x32, 0x05,}, -{0x33, 0x26,}, -{0x34, 0xbd,}, -{0x35, 0x17,}, -{0x36, 0x18,}, -{0x37, 0x38,}, -{0x38, 0xd0,}, -{0x40, 0xb0,}, -{0x41, 0x30,}, -{0x42, 0x00,}, -{0x43, 0x00,}, -{0x44, 0x00,}, -{0x45, 0x00,}, -{0x46, 0x99,}, -{0x47, 0x19,}, -{0x48, 0x00,}, -{0x50, 0x16,}, -{0x51, 0xb2,}, -{0x52, 0x1c,}, -{0x53, 0x06,}, -{0x54, 0x20,}, -{0x55, 0xa6,}, -{0x56, 0x0e,}, -{0x57, 0xb2,}, -{0x58, 0x24,}, -{0x03, 0x16,}, -{0x10, 0x31,}, /*GMA_CTL*/ -{0x18, 0x7e,}, /*AG_ON*/ -{0x19, 0x7d,}, /*AG_OFF*/ -{0x1a, 0x0e,}, /*TIME_ON*/ -{0x1b, 0x01,}, /*TIME_OFF*/ -{0x1C, 0xdc,}, /*OUT_ON*/ -{0x1D, 0xfe,}, /*OUT_OFF*/ -{0x30, 0x00,}, -{0x31, 0x07,}, -{0x32, 0x1a,}, -{0x33, 0x37,}, -{0x34, 0x5c,}, -{0x35, 0x7d,}, -{0x36, 0x96,}, -{0x37, 0xa9,}, -{0x38, 0xb7,}, -{0x39, 0xc6,}, -{0x3a, 0xd2,}, -{0x3b, 0xdc,}, -{0x3c, 0xe4,}, -{0x3d, 0xeb,}, -{0x3e, 0xf1,}, -{0x3f, 0xf5,}, -{0x40, 0xf9,}, -{0x41, 0xfd,}, -{0x42, 0xff,}, -{0x50, 0x00,}, -{0x51, 0x03,}, -{0x52, 0x13,}, -{0x53, 0x2e,}, -{0x54, 0x59,}, -{0x55, 0x79,}, -{0x56, 0x90,}, -{0x57, 0xa3,}, -{0x58, 0xb4,}, -{0x59, 0xc2,}, -{0x5a, 0xcd,}, -{0x5b, 0xd7,}, -{0x5c, 0xe0,}, -{0x5d, 0xe5,}, -{0x5e, 0xe9,}, -{0x5f, 0xee,}, -{0x60, 0xf1,}, -{0x61, 0xf3,}, -{0x62, 0xf6,}, -{0x70, 0x07,}, -{0x71, 0x1a,}, -{0x72, 0x2d,}, -{0x73, 0x46,}, -{0x74, 0x6a,}, -{0x75, 0x86,}, -{0x76, 0x9c,}, -{0x77, 0xad,}, -{0x78, 0xbc,}, -{0x79, 0xc9,}, -{0x7a, 0xd4,}, -{0x7b, 0xde,}, -{0x7c, 0xe4,}, -{0x7d, 0xeb,}, -{0x7e, 0xf1,}, -{0x7f, 0xf5,}, -{0x80, 0xf9,}, -{0x81, 0xfd,}, -{0x82, 0xff,}, -{0x03, 0x24,}, /*Resol control */ -{0x60, 0xc5,}, /*edge even frame | 16bit resol | white edge cnt | scene resol enable*/ -{0x61, 0x04,}, /*even frame update */ -{0x64, 0x08,}, -{0x65, 0x00,}, -{0x66, 0x26,}, /*edge th2 H */ -{0x67, 0x00,}, /*edge th2 L */ -{0x03, 0x13,}, -{0x18, 0x31,}, /*flat center Gb/Gr*/ -{0x74, 0x02,}, /*det slope en | gausian filter*/ -{0x75, 0x0d,}, /*1D negative gain det 09 */ -{0x76, 0x0d,}, /*1D postive gain det 08*/ -{0x77, 0x10,}, /*1D hclp2 det*/ -{0x78, 0x08,}, /*outdoor flat threshold*/ -{0x79, 0x10,}, /*indoor flat threshold*/ -{0x81, 0xdf,}, /*det gain controler*/ -{0x86, 0x90,}, /*2D negative gain det */ -{0x87, 0x90,}, /*2D postive gain det */ -{0x96, 0x2a,}, /*2D hclp2 det*/ -{0x03, 0x12,}, /*0x12 page*/ -{0xd0, 0x88,}, -{0xd9, 0xe4,}, -{0x03, 0x18,}, -{0x14, 0x43,}, /*83*/ -/* PAGE 20 START*/ -{0x03, 0x20,}, -{0x11, 0x1c,}, -{0x18, 0x30,}, -{0x1a, 0x08,}, -{0x20, 0x45,},/*weight*/ -{0x21, 0x30,}, -{0x22, 0x10,}, -{0x23, 0x00,}, -{0x24, 0x00,}, -{0x28, 0xe7,}, /* add 20120223*/ -{0x29, 0x0d,}, /* 20100305 ad -> 0d*/ -{0x2a, 0xfd,}, -{0x2b, 0xf8,}, -{0x2c, 0x43,}, /* 20140618 c3 -> 43*/ -{0x2d, 0x5f,}, /* add 20120223*/ -{0x2e, 0x33,}, -{0x30, 0xf8,}, -{0x32, 0x03,}, -{0x33, 0x2e,}, -{0x34, 0x30,}, -{0x35, 0xd4,}, -{0x36, 0xfe,}, -{0x37, 0x32,}, -{0x38, 0x04,}, -{0x39, 0x22,}, -{0x3a, 0xde,}, -{0x3b, 0x22,}, -{0x3c, 0xde,}, -{0x3d, 0xe1,}, -{0x50, 0x45,}, -{0x51, 0x88,}, -{0x56, 0x19,}, -{0x57, 0x81,}, -{0x58, 0x0e,}, -{0x59, 0x6a,}, -{0x5a, 0x04,}, -{0x5e, 0x9d,}, /*AE_AWB_start*/ -{0x5f, 0x76,}, /*AE_AWB_start*/ -{0x70, 0x33,}, /* 6c*/ -{0x71, 0x82,}, /* 82(+8)*/ -{0x76, 0x21,}, -{0x77, 0x71,}, -{0x78, 0x22,}, /* 24*/ -{0x79, 0x23,}, /* Y Target 70 => 25, 72 => 26*/ -{0x7a, 0x23,}, /* 23*/ -{0x7b, 0x22,}, /* 22*/ -{0x7d, 0x23,}, -{0x83, 0x01,}, /*EXP Normal 30 fps */ -{0x84, 0x86,}, -{0x85, 0xa0,}, -{0x86, 0x01,}, /*EXPMin 7500.00 fps*/ -{0x87, 0x90,}, -{0x88, 0x01,}, /*EXP Max(120Hz) 30.00 fps */ -{0x89, 0x86,}, -{0x8a, 0xa0,}, -{0xa5, 0x01,}, /*EXP Max(100Hz) 25.xx fps */ -{0xa6, 0xd1,}, -{0xa7, 0xa0,}, -{0x91, 0x01,}, /*EXP Fix 24.00 fps*/ -{0x92, 0xe8,}, -{0x93, 0x48,}, -{0x8B, 0x75,}, /*EXP100 */ -{0x8C, 0x30,}, -{0x8D, 0x61,}, /*EXP120 */ -{0x8E, 0xa8,}, -{0x9c, 0x0b,}, /*EXP Limit 1000 fps */ -{0x9d, 0xb8,}, -{0x9e, 0x01,}, /*EXP Unit */ -{0x9f, 0x90,}, -{0x98, 0x9d,}, -{0xb0, 0x16,}, -{0xb1, 0x14,}, -{0xb2, 0xf8,}, -{0xb3, 0x14,}, -{0xb4, 0x1b,}, -{0xb5, 0x46,}, -{0xb6, 0x31,}, -{0xb7, 0x29,}, -{0xb8, 0x26,}, -{0xb9, 0x24,}, -{0xba, 0x22,}, -{0xbb, 0x42,}, -{0xbc, 0x41,}, -{0xbd, 0x40,}, -{0xc0, 0x10,}, -{0xc1, 0x38,}, -{0xc2, 0x38,}, -{0xc3, 0x38,}, -{0xc4, 0x07,}, -{0xc8, 0x80,}, -{0xc9, 0x80,}, -{0x10, 0x8c,}, /* ae enable*/ -/* PAGE 20 END*/ -/*AE_Weight*/ -{0x03, 0x21,}, -{0x20, 0x11,}, -{0x21, 0x11,}, -{0x22, 0x11,}, -{0x23, 0x11,}, -{0x24, 0x12,}, -{0x25, 0x22,}, -{0x26, 0x22,}, -{0x27, 0x21,}, -{0x28, 0x12,}, -{0x29, 0x22,}, -{0x2a, 0x22,}, -{0x2b, 0x21,}, -{0x2c, 0x12,}, -{0x2d, 0x23,}, -{0x2e, 0x32,}, -{0x2f, 0x21,}, -{0x30, 0x12,}, -{0x31, 0x23,}, -{0x32, 0x32,}, -{0x33, 0x21,}, -{0x34, 0x12,}, -{0x35, 0x22,}, -{0x36, 0x22,}, -{0x37, 0x21,}, -{0x38, 0x12,}, -{0x39, 0x22,}, -{0x3a, 0x22,}, -{0x3b, 0x21,}, -{0x3c, 0x11,}, -{0x3d, 0x11,}, -{0x3e, 0x11,}, -{0x3f, 0x11,}, -/* PAGE 22 START*/ -{0x03, 0x22,}, -{0x10, 0xfd,}, -{0x11, 0x2e,}, -{0x19, 0x01,}, /* Low On*/ -{0x20, 0x30,}, /* for wb speed*/ -{0x21, 0x40,}, -{0x24, 0x01,}, -{0x25, 0x7e,}, /* for tracking 20120314 */ -{0x30, 0x80,}, /* 20120224 test*/ -{0x31, 0x80,}, -{0x38, 0x11,}, -{0x39, 0x34,}, -{0x40, 0xe3,}, -{0x41, 0x43,}, /* 33*/ -{0x42, 0x22,}, /* 22*/ -{0x43, 0xf3,}, /* f6*/ -{0x44, 0x54,}, /* 44*/ -{0x45, 0x22,}, /* 33*/ -{0x46, 0x00,}, -{0x48, 0x0a,}, -{0x50, 0xb2,}, -{0x51, 0x81,}, -{0x52, 0x98,}, -{0x80, 0x38,}, -{0x81, 0x20,}, -{0x82, 0x38,}, /* 3a*/ -{0x83, 0x56,}, /* R Max*/ -{0x84, 0x20,}, /* R Min*/ -{0x85, 0x53,}, /* B Max*/ -{0x86, 0x20,}, /* B Min*/ -{0x87, 0x46,}, -{0x88, 0x36,}, -{0x89, 0x3a,}, -{0x8a, 0x2f,}, -{0x8b, 0x3d,}, -{0x8c, 0x37,}, -{0x8d, 0x35,}, -{0x8e, 0x32,}, -{0x8f, 0x5d,}, -{0x90, 0x5a,}, -{0x91, 0x56,}, -{0x92, 0x50,}, -{0x93, 0x48,}, -{0x94, 0x3f,}, -{0x95, 0x34,}, -{0x96, 0x2c,}, -{0x97, 0x23,}, -{0x98, 0x20,}, -{0x99, 0x1f,}, -{0x9a, 0x1f,}, -{0x9b, 0x77,}, -{0x9c, 0x77,}, -{0x9d, 0x48,}, -{0x9e, 0x38,}, -{0x9f, 0x30,}, -{0xa0, 0x40,}, -{0xa1, 0x21,}, -{0xa2, 0x6f,}, -{0xa3, 0xff,}, -{0xa4, 0x14,}, /* 1500fps*/ -{0xa5, 0x44,}, /* 700fps*/ -{0xa6, 0xcf,}, -{0xad, 0x40,}, -{0xae, 0x4a,}, -{0xaf, 0x2a,}, /* low temp Rgain*/ -{0xb0, 0x28,}, /* low temp Rgain*/ -{0xb1, 0x00,}, /* 0x20 -> 0x00 0405 modify*/ -{0xb4, 0xbf,}, /* for tracking 20120314*/ -{0xb8, 0xb1,}, /* a2: b-2, R+2 b4 B-3, R+4 lowtemp b0 a1 Spec AWB A modify*/ -{0xb9, 0x00,}, -/* PAGE 22 END*/ -/* PAGE 48 (MiPi 1600x1200)*/ -{0x03, 0x00,}, -/* PLL Setting */ -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x05,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, -{0x03, 0x48,}, -/* MIPI TX Setting */ -{0x10, 0x1c,}, -{0x11, 0x00,}, -{0x12, 0x00,}, -{0x14, 0x00,}, -{0x16, 0x04,}, -{0x17, 0x00,}, -{0x18, 0x80,}, -{0x19, 0x00,}, -{0x1a, 0xa0,}, -{0x1c, 0x02,}, -{0x1d, 0x0e,}, -{0x1e, 0x07,}, -{0x1f, 0x08,}, -{0x22, 0x00,}, -{0x23, 0x01,}, -{0x24, 0x1e,}, -{0x25, 0x00,}, -{0x26, 0x00,}, -{0x27, 0x08,}, -{0x28, 0x00,}, -{0x30, 0x05,}, -{0x31, 0x00,}, -{0x32, 0x07,}, -{0x33, 0x09,}, -{0x34, 0x01,}, -{0x35, 0x01,}, -{0x03, 0x00,}, -{0x01, 0x00,}, -{0xff, 0x28,}, /*400ms Delay*/ -}; - - -static struct msm_camera_i2c_reg_conf sr130pc20_Preview_for_initial_50hz[] = { +static struct msm_camera_i2c_reg_conf sr130pc20_Preview[] = { {0x03, 0x00,}, {0x01, 0x01,},/*sleep*/ @@ -3918,1042 +2998,3 @@ static struct msm_camera_i2c_reg_conf sr130pc20_brightness_P4[] = { {0x03, 0x10,}, {0x40, 0x50,}, }; - -static struct msm_camera_i2c_reg_conf sr130pc20_Preview_for_initial_60hz[] = { -{0x03, 0x00,}, -{0x01, 0x01,},/*sleep*/ -{0xd0, 0x05,},/*Pll Off*/ -{0x03, 0x20,}, -{0x10, 0x0c,},/*AE off (0x0c:60Hz 0x1c:50Hz)*/ -{0x03, 0x22,}, -{0x10, 0x7d,},/*AWB off*/ -{0x03, 0x00,}, -{0x10, 0x11,}, -{0x03, 0x11,}, -{0x5b, 0x00,},/*don't touch*/ -{0x03, 0x12,}, -{0x20, 0x0f,}, -{0x21, 0x0f,}, -{0xd2, 0x17,}, -{0xd5, 0x0f,}, -{0xd7, 0xff,}, -{0x03, 0x13,}, -{0x10, 0xc4,}, -{0x80, 0xc0,}, -{0x03, 0x18,}, -{0x14, 0x43,}, /*83*/ -{0x03, 0x20,}, -{0x10, 0x8c,}, /*AE ON ({0x8c, 0x:6}0Hz {0x9c, 0x:5}0Hz)*/ -{0x03, 0x22,}, -{0x10, 0xfd,}, /*AWB ON*/ - -{0x03, 0x00,}, /*Page 0 PLL on*/ -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x05,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, - -{0x03, 0x48,}, -{0x10, 0x1c,}, -{0x11, 0x00,}, -{0x12, 0x00,}, -{0x14, 0x00,}, -{0x16, 0x04,}, -{0x17, 0x00,}, -{0x18, 0x80,}, -{0x19, 0x00,}, -{0x1a, 0xa0,}, - -{0x1c, 0x02,}, -{0x1d, 0x0e,}, -{0x1e, 0x07,}, -{0x1f, 0x08,}, -{0x22, 0x00,}, -{0x23, 0x01,}, -{0x24, 0x1e,}, -{0x25, 0x00,}, -{0x26, 0x00,}, -{0x27, 0x08,}, -{0x28, 0x00,}, - -{0x30, 0x05,}, -{0x31, 0x00,}, -{0x32, 0x07,}, -{0x33, 0x09,}, -{0x34, 0x01,}, -{0x35, 0x01,}, -{0x03, 0x00,}, -{0x01, 0x00,}, -{0xff, 0x28,}, -}; - -static struct msm_camera_i2c_reg_conf sr130pc20_Init_Reg_60hz[] = { -{0x03, 0x00,}, -{0x01, 0x01,}, /*sleep*/ -{0x01, 0x03,}, /*s/w reset*/ -{0x01, 0x01,}, /*sleep*/ - -{0x08, 0x00,},/*Don't touch*/ -{0x09, 0x37,},/*Don't touch*/ -{0x0a, 0x33,},/*Don't touch*/ - -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x01,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, - -{0x10, 0x11,}, -{0x11, 0x90,}, /*xy flip*/ -{0x12, 0x00,}, -{0x14, 0x88,}, - -{0x03, 0x00,}, -{0x20, 0x00,}, -{0x21, 0x04,}, -{0x22, 0x00,}, -{0x23, 0x04,}, -{0x24, 0x03,}, -{0x25, 0xC0,}, -{0x26, 0x05,}, -{0x27, 0x00,}, - -{0x40, 0x01,}, /*Hblank_280*/ -{0x41, 0x18,}, -{0x42, 0x00,}, /*Vblank 124*/ -{0x43, 0x7c,}, - -{0x03, 0x00,}, /*ESD */ -{0x0b, 0xaa,}, -{0x0c, 0xaa,}, -{0x0d, 0xaa,}, -{0x80, 0x08,}, /*Don't touch */ -{0x81, 0x97,}, /*Don't touch */ -{0x82, 0x90,}, /*Don't touch */ -{0x83, 0x30,}, /*Don't touch */ -{0x84, 0xcc,}, /*Don't touch*/ -{0x85, 0x00,}, /*Don't touch*/ -{0x86, 0xd4,}, /*Don' t touch*/ -{0x87, 0x0f,}, /*Don't touch*/ -{0x88, 0x34,}, /*Don't touch*/ -{0x90, 0x0f,}, /*BLC_TIME_TH_ON*/ -{0x91, 0x0f,}, /*BLC_TIME_TH_OFF */ -{0x92, 0xf0,}, /*BLC_AG_TH_ON*/ -{0x93, 0xe8,}, /*BLC_AG_TH_OFF*/ -{0x94, 0x95,}, /*091202*/ -{0x95, 0x90,}, /*091202 */ -{0x98, 0x38,}, /*Don't touch*/ - -{0xa0, 0x01,}, /* 20100309*/ -{0xa2, 0x01,}, /* 20100309*/ -{0xa4, 0x01,}, /* 20100309*/ -{0xa6, 0x01,}, /* 20100309*/ -{0xa8, 0x00,}, -{0xaa, 0x00,}, -{0xac, 0x00,}, -{0xae, 0x00,}, -{0x99, 0x00,}, -{0x9a, 0x00,}, -{0x9b, 0x00,}, -{0x9c, 0x00,}, - -{0x03, 0x02,}, -{0x12, 0x00,}, /*Don't touch*/ -{0x14, 0x00,}, /*Don't touch*/ -{0x15, 0x00,}, /*Don't touch*/ -{0x18, 0x4C,}, /*Don't touch*/ -{0x19, 0x00,}, /*Don't touch*/ -{0x1A, 0x39,}, /*Don't touch*/ -{0x1B, 0x00,},/*Don't touch*/ -{0x1C, 0x1a,}, /*Don't touch*/ -{0x1D, 0x14,}, /*Don't touch*/ -{0x1E, 0x30,},/*Don't touch*/ -{0x1F, 0x10,},/*Don't touch*/ - -{0x20, 0x77,}, -{0x21, 0xde,}, -{0x22, 0xa7,}, -{0x23, 0x30,}, -{0x24, 0x77,}, -{0x25, 0x10,}, -{0x26, 0x10,}, -{0x27, 0x3c,}, -{0x2b, 0x80,}, -{0x2c, 0x02,}, -{0x2d, 0xa0,}, -{0x2e, 0x00,}, -{0x2f, 0xa7,}, - -{0x30, 0x00,}, -{0x31, 0x99,}, -{0x32, 0x00,}, -{0x33, 0x00,}, -{0x34, 0x22,}, -{0x36, 0x01,}, -{0x37, 0x01,}, -{0x38, 0x88,}, -{0x39, 0x88,}, -{0x3d, 0x03,}, -{0x3e, 0x0d,}, -{0x3f, 0x02,}, - -{0x49, 0xd1,}, -{0x4a, 0x14,}, - -{0x50, 0x21,}, -{0x52, 0x01,}, -{0x53, 0x81,}, -{0x54, 0x10,}, -{0x55, 0x1c,}, -{0x56, 0x11,}, -{0x58, 0x18,}, -{0x59, 0x16,}, -{0x5d, 0xa2,}, -{0x5e, 0x5a,}, - -{0x60, 0x93,}, /* 20120517 modify*/ -{0x61, 0xa4,}, /* 20120517 modify*/ -{0x62, 0x94,}, /* 20120517 modify*/ -{0x63, 0xa3,}, /* 20120517 modify*/ -{0x64, 0x94,}, /* 20120517 modify*/ -{0x65, 0xa3,}, /* 20120517 modify*/ -{0x67, 0x0c,}, -{0x68, 0x0c,}, -{0x69, 0x0c,}, -{0x6a, 0xb4,}, -{0x6b, 0xc4,}, -{0x6c, 0xb5,}, -{0x6d, 0xc2,}, -{0x6e, 0xb5,}, -{0x6f, 0xc0,}, - -{0x70, 0xb6,}, -{0x71, 0xb8,}, -{0x72, 0x95,}, /* 20120517 modify*/ -{0x73, 0xa2,}, /* 20120517 modify*/ -{0x74, 0x95,}, /* 20120517 modify*/ -{0x75, 0xa2,}, /* 20120517 modify*/ -{0x76, 0x95,}, /* 20120517 modify*/ -{0x77, 0xa2,}, /* 20120517 modify*/ -{0x7C, 0x92,}, /* 20120517 modify*/ -{0x7D, 0xff,}, /* 20120517 modify*/ - -{0x80, 0x01,}, /* 20120517 modify*/ -{0x81, 0x8a,}, /* 20120517 modify*/ -{0x82, 0x1e,}, /* 20120517 modify*/ -{0x83, 0x36,}, /* 20120517 modify*/ -{0x84, 0x89,}, /* 20120517 modify*/ -{0x85, 0x8b,}, /* 20120517 modify*/ -{0x86, 0x89,}, /* 20120517 modify*/ -{0x87, 0x8b,}, /* 20120517 modify*/ -{0x88, 0xab,}, -{0x89, 0xbc,}, -{0x8a, 0xac,}, -{0x8b, 0xba,}, -{0x8c, 0xad,}, -{0x8d, 0xb8,}, -{0x8e, 0xae,}, -{0x8f, 0xb2,}, - -{0x90, 0xb3,}, -{0x91, 0xb7,}, -{0x92, 0x52,}, /* 20120517 modify*/ -{0x93, 0x6a,}, /* 20120517 modify*/ -{0x94, 0x89,}, /* 20120517 modify*/ -{0x95, 0x8b,}, /* 20120517 modify*/ -{0x96, 0x89,}, /* 20120517 modify*/ -{0x97, 0x8b,}, /* 20120517 modify*/ - -{0xA0, 0x02,}, -{0xA1, 0x86,}, /* 20120517 modify*/ -{0xA2, 0x02,}, -{0xA3, 0x86,}, /* 20120517 modify*/ -{0xA4, 0x86,}, /* 20120517 modify*/ -{0xA5, 0x02,}, -{0xA6, 0x86,}, /* 20120517 modify*/ -{0xA7, 0x02,}, -{0xA8, 0x92,}, /* 20120517 modify*/ -{0xA9, 0x94,}, /* 20120517 modify*/ -{0xAA, 0x92,}, /* 20120517 modify*/ -{0xAB, 0x94,}, /* 20120517 modify*/ -{0xAC, 0x1c,}, -{0xAD, 0x22,}, -{0xAE, 0x1c,}, -{0xAF, 0x22,}, -{0xB0, 0xa4,}, /* 20120517 modify*/ -{0xB1, 0xae,}, /* 20120517 modify*/ -{0xB2, 0xa4,}, /* 20120517 modify*/ -{0xB3, 0xae,}, /* 20120517 modify*/ -{0xB4, 0xa6,}, /* 20120517 modify*/ -{0xB5, 0xac,}, /* 20120517 modify*/ -{0xB6, 0xa6,}, /* 20120517 modify*/ -{0xB7, 0xac,}, /* 20120517 modify*/ -{0xB8, 0xa6,}, /* 20120517 modify*/ -{0xB9, 0xab,}, /* 20120517 modify*/ -{0xBA, 0xa6,}, /* 20120517 modify*/ -{0xBB, 0xab,}, /* 20120517 modify*/ -{0xBC, 0xa6,}, /* 20120517 modify*/ -{0xBD, 0xab,}, /* 20120517 modify*/ -{0xBE, 0xa6,}, /* 20120517 modify*/ -{0xBF, 0xab,}, /* 20120517 modify*/ -{0xc4, 0x37,}, -{0xc5, 0x52,}, -{0xc6, 0x6b,}, -{0xc7, 0x86,}, -{0xc8, 0x38,}, /* 20120517 modify*/ -{0xc9, 0x50,}, /* 20120517 modify*/ -{0xca, 0x38,}, /* 20120517 modify*/ -{0xcb, 0x50,}, /* 20120517 modify*/ -{0xcc, 0x6c,}, /* 20120517 modify*/ -{0xcd, 0x84,}, /* 20120517 modify*/ -{0xce, 0x6c,}, /* 20120517 modify*/ -{0xcf, 0x84,}, /* 20120517 modify*/ -{0xdc, 0x00,}, /* Added*/ -{0xdd, 0xaf,}, /* Added*/ -{0xde, 0x00,}, /* Added*/ -{0xdf, 0x90,}, /* Added*/ -{0xd0, 0x10,}, -{0xd1, 0x14,}, -{0xd2, 0x20,}, -{0xd3, 0x00,}, -{0xd4, 0x0f,}, /*DCDC_TIME_TH_ON*/ -{0xd5, 0x0f,}, /*DCDC_TIME_TH_OFF */ -{0xd6, 0xf0,}, /*DCDC_AG_TH_ON*/ -{0xd7, 0xe8,}, /*DCDC_AG_TH_OFF*/ -{0xea, 0x8a,}, -{0xF0, 0x01,}, /* clock inversion*/ -{0xF1, 0x01,}, -{0xF2, 0x01,}, -{0xF3, 0x01,}, -{0xF4, 0x01,}, -{0xF5, 0x00,}, - -{0x03, 0x10,}, /*page 10*/ -{0x10, 0x01,}, /*Ycbcr422_bit Order: YUYV*/ -{0x11, 0x03,}, -{0x12, 0x30,}, /*y offset[4], dif_offset[5]*/ -{0x13, 0x02,}, -{0x34, 0x00,}, /*hidden 10->00 100209*/ -{0x37, 0x01,}, /*yc2d power save */ -{0x3f, 0x04,}, /*100825*/ -{0x40, 0x80,}, /*Y offset */ -{0x48, 0x80,}, -{0x53, 0x00,}, /*dif_offset option */ -{0x55, 0x30,}, /*dif_offset option diff_offset max */ - -{0x60, 0x4f,}, /*out color sat en[7] | auto color decrement en[1] / - | manual color sat en[0]*/ - - -{0x61, 0x83,}, /*blue saturation_C0*/ -{0x62, 0x80,}, /*red saturation_B0*/ -{0x63, 0xff,}, /*auto decresment on AG th*/ -{0x64, 0xc0,}, /*auto decresment on DG th*/ -{0x66, 0xe4,}, /*Outdoor saturation step 137fps apply out th */ -{0x67, 0x13,}, /*Outdoor saturation B/R*/ -{0x76, 0x01,}, /* ADD 20121031 */ -{0x79, 0x04,}, /* ADD 20121031 */ - -{0x03, 0x10,}, -{0x80, 0x00,}, /* dsshin --> color enhance*/ -{0xf5, 0x00,}, /* dsshin --> h blank option*/ -{0x03, 0x11,}, /*page 11 D_LPF */ -{0x10, 0x3f,}, /*B[6]:Blue En Dlpf on[4:0] Sky over off : {0x7f, 0x->}3f*/ -{0x11, 0x20,}, /* Uniform Full GbGr/OV-Nr*/ -{0x12, 0x80,}, /*Blue MaxOpt blue sky max filter optoin rate : 0 {0xc0, 0x->}80*/ -{0x13, 0xb8,}, /*dark2[7] | ratio[6:4] | dark3[3] | dark3 maxfilter ratio[2:0] */ -{0x30, 0xba,}, /*Outdoor2 H th*/ -{0x31, 0x10,}, /*Outdoor2 L th*/ -{0x32, 0x50,}, /*Outdoor2 gain ratio*/ -{0x33, 0x1d,}, /*Outdoor2 H lum*/ -{0x34, 0x20,}, /*Outdoor2 M lum*/ -{0x35, 0x1f,}, /*Outdoor2 L lum*/ -{0x36, 0xb0,}, /*Outdoor1 H th*/ -{0x37, 0x18,}, /*Outdoor1 L th*/ -{0x38, 0x50,}, -{0x39, 0x1d,}, -{0x3a, 0x20,}, -{0x3b, 0x1f,}, -{0x3c, 0x3f,}, -{0x3d, 0x16,}, /*indoor L th*/ -{0x3e, 0x30,}, /*indoor gain ratio {0x44, 0x }6a */ -{0x3f, 0x1a,}, /*indoor H lum {0x12, 0x }18 */ -{0x40, 0x60,}, /*indoor M lum {0x18, 0x }1c*/ -{0x41, 0x1a,}, /*indoor L lum {0x18, 0x }3e*/ -{0x42, 0x98,}, /*dark1 H th*/ -{0x43, 0x28,}, /*dark1 L th*/ -{0x44, 0x65,}, /*dark1 gain ratio*/ -{0x45, 0x16,}, /*dark1 H lum 0x38, 0x->0x28, 0x */ -{0x46, 0x30,}, /*dark1 M lum 0x27, 0x->0x17, 0x*/ -{0x47, 0x34,}, /*dark1 L lum 0x20, 0x->0x1a, 0x */ -{0x48, 0x90,}, /*dark2 H th*/ -{0x49, 0x2a,}, /*dark2 L th*/ -{0x4a, 0x65,}, /*dark2 gain ratio*/ -{0x4b, 0x18,}, /*dark2 H lum */ -{0x4c, 0x31,}, /*dark2 M lum*/ -{0x4d, 0x36,}, /*dark2 L lum */ -{0x4e, 0x80,}, /*dark3 H th*/ -{0x4f, 0x30,}, /*dark3 L th*/ -{0x50, 0x65,}, /*dark3 gain ratio*/ -{0x51, 0x19,}, /*dark3 H lum */ -{0x52, 0x31,}, /*dark3 M lum */ -{0x53, 0x36,}, /*dark3 L lum */ -{0x5a, 0x3f,}, /*blue sky mode out1/2 enable {0x27, 0x->}3f */ -{0x5b, 0x00,}, -{0x5c, 0x9f,}, -{0x60, 0x3f,}, /*GbGr all enable*/ -{0x62, 0x0f,}, /*GbGr offset*/ -{0x65, 0x0c,}, /*Outdoor GbGr rate H 100% M 25% L 100%*/ -{0x66, 0x0c,}, /*Indoor GbGr rate H 100% M 25% L 100%*/ -{0x67, 0x00,}, /*dark GbGr rate H/M/L 100%*/ -{0x70, 0x0c,}, /* Abberation On/Off B[1]: Outdoor B[0]: Indoor 07>>c*/ -{0x75, 0xa0,}, /* Outdoor2 Abberation Luminance lvl */ -{0x7d, 0xb4,}, /* Indoor Abberation Luminance lvl*/ - -{0x96, 0x08,}, /*indoor/Dark1 edgeoffset1*/ -{0x97, 0x14,}, /*indoor/Dark1 center G value*/ -{0x98, 0xf5,}, /*slope indoor :: left/right graph polarity, slope*/ -{0x99, 0x2a,}, /*indoor uncertain ratio control*/ -{0x9a, 0x20,}, /*Edgeoffset_dark*/ - - -{0x03, 0x12,}, /*Preview DPC */ -{0x20, 0x0f,}, -{0x21, 0x0f,}, -{0x25, 0x00,}, -{0x2a, 0x01,}, -{0x2e, 0x00,}, /*2010.8.25*/ - -{0x30, 0x35,}, /*Texture region(most detail)*/ -{0x31, 0xa0,}, /*STD uniform1 most blur region*/ -{0x32, 0xb0,}, /*STD uniform2 2nd blur*/ -{0x33, 0xc0,}, /*STD uniform3 3rd blur*/ -{0x34, 0xd0,}, /*STD normal noise1 4th blur */ -{0x35, 0xe0,}, /*STD normal noise2 5th blur*/ -{0x36, 0xff,}, /*STD normal noise3 6th blur*/ - -{0x40, 0x83,}, /*Outdoor2 H th*/ -{0x41, 0x20,}, /*Outdoor2 L th */ -{0x42, 0x08,}, /*Outdoor2 H luminance */ -{0x43, 0x10,}, /*Outdoor2 M luminance */ -{0x44, 0x10,}, /*Outdoor2 l luminance */ -{0x45, 0x50,}, /*Outdoor2 ratio*/ -{0x46, 0x83,}, /*Outdoor1 H th*/ -{0x47, 0x20,}, /*Outdoor1 L th */ -{0x48, 0x08,}, /*Outdoor1 H luminance*/ -{0x49, 0x10,}, /*Outdoor1 M luminance*/ -{0x4a, 0x10,}, /*Outdoor1 L luminance*/ -{0x4b, 0x50,}, /*Outdoor1 ratio*/ -{0x4c, 0x80,}, /*Indoor H th*/ -{0x4d, 0x48,}, /*Indoor L th*/ -{0x4e, 0x30,}, /*indoor H lum*/ -{0x4f, 0x30,}, /*indoor M lum*/ -{0x50, 0x12,}, /*indoor L lum */ -{0x51, 0x70,}, /*indoor ratio {0x10, 0x -}> {0x45, 0x}*/ -{0x52, 0xa8,}, /*dark1 H th*/ -{0x53, 0x30,}, /*dark1 L th */ -{0x54, 0x28,}, /*dark1 H lum */ -{0x55, 0x3e,}, /*dark1 M lum*/ -{0x56, 0x67,}, /*dark1 L lum*/ -{0x57, 0x6a,}, /*dark1 ratio*/ - -{0x58, 0xa0,}, /*dark2 H th*/ -{0x59, 0x40,}, /*dark2 L th*/ -{0x5a, 0x28,}, /*dark2 H lum*/ -{0x5b, 0x3f,}, /*dark2 M lum*/ -{0x5c, 0x68,}, /*dark2 L lum*/ -{0x5d, 0x70,}, /*dark2 ratio*/ -{0x5e, 0xa0,}, /*dark3 H th*/ -{0x5f, 0x40,}, /*dark3 L th*/ -{0x60, 0x29,}, /*dark3 H lum*/ -{0x61, 0x3f,}, /*dark3 M lum*/ -{0x62, 0x69,}, /*dark3 L lum*/ -{0x63, 0x6a,}, /*dark3 ratio*/ -{0x70, 0x10,}, -{0x71, 0x0a,}, -{0x72, 0x10,}, -{0x73, 0x0a,}, -{0x74, 0x18,}, -{0x75, 0x12,}, -{0x80, 0x20,}, -{0x81, 0x40,}, -{0x82, 0x65,}, -{0x85, 0x1a,}, -{0x88, 0x00,}, -{0x89, 0x00,}, -{0x90, 0x5d,}, -{0xad, 0x07,}, /*10825*/ -{0xae, 0x07,}, /*10825*/ -{0xaf, 0x07,}, /*10825*/ -{0xc5, 0x58,}, /*BlueRange 2010.8.25 {0x40, 0x->}23 */ -{0xc6, 0x20,}, /*GreenRange 2010.8.25 {0x3b, 0x->}20 */ -{0xd0, 0x88,}, /*2010.8.25*/ -{0xd1, 0x80,}, -{0xd2, 0x17,},/*preview 17, full 67*/ -{0xd3, 0x00,}, -{0xd4, 0x00,}, -{0xd5, 0x0f,},/*preview 0f, full 02*/ -{0xd6, 0xff,}, -{0xd7, 0xff,},/*preview ff, full 18*/ -{0xd8, 0x00,}, -{0xd9, 0x04,}, -{0xdb, 0x38,}, -{0xd9, 0x04,}, /*strong_edge detect ratio*/ -{0xe0, 0x01,}, /*strong_edge detect ratio*/ - -{0x03, 0x13,}, /*page 13 sharpness 1D*/ -{0x10, 0xc5,}, -{0x11, 0x7b,}, -{0x12, 0x0e,}, -{0x14, 0x00,}, -{0x15, 0x11,}, /*added option 1.3M*/ -{0x18, 0x30,}, /*added option 1.3M*/ -{0x20, 0x15,}, -{0x21, 0x13,}, -{0x22, 0x33,}, -{0x23, 0x08,}, /*hi_clip th1*/ -{0x24, 0x1a,}, /*hi_clip th2*/ -{0x25, 0x06,}, /*low clip th*/ -{0x26, 0x18,}, -{0x27, 0x30,}, -{0x29, 0x10,}, /*time th*/ -{0x2a, 0x30,}, /*pga th*/ - -{0x2b, 0x03,}, /*lpf out2*/ -{0x2c, 0x03,}, /*lpf out1*/ -{0x2d, 0x0c,}, -{0x2e, 0x12,}, -{0x2f, 0x12,}, - -{0x50, 0x0a,}, /*out2 hi nega*/ -{0x53, 0x07,}, /* hi pos*/ -{0x51, 0x0c,}, /* mi nega*/ -{0x54, 0x07,}, /* mi pos*/ -{0x52, 0x0b,}, /* lo nega*/ -{0x55, 0x08,}, /* lo pos*/ - -{0x56, 0x0a,}, /*out1 hi nega*/ -{0x59, 0x07,}, /* hi pos */ -{0x57, 0x0c,}, /* mi nega*/ -{0x5a, 0x07,}, /* mi pos */ -{0x58, 0x0b,}, /* lo nega*/ -{0x5b, 0x08,}, /* lo pos */ - -{0x5c, 0x08,}, /*indoor hi nega*/ -{0x5f, 0x07,}, /* hi pos*/ -{0x5d, 0x14,}, -{0x60, 0x12,}, -{0x5e, 0x0a,}, -{0x61, 0x08,}, /* low pos*/ -{0x62, 0x08,}, /*dark1 hi nega*/ -{0x65, 0x06,}, /* hi pos */ -{0x63, 0x08,}, /* mid nega */ -{0x66, 0x06,}, /* mid pos */ -{0x64, 0x08,}, /* low nega */ -{0x67, 0x06,}, /* low pos */ -{0x68, 0x07,}, /*dark2 hi nega*/ -{0x6b, 0x05,}, /* hi pos */ -{0x69, 0x07,}, /* mid nega */ -{0x6c, 0x05,}, /* mid pos */ -{0x6a, 0x07,}, /* low nega */ -{0x6d, 0x05,}, /* low pos */ - -{0x6e, 0x0a,}, /*dark3 hi nega*/ -{0x71, 0x09,}, /* hi pos */ -{0x6f, 0x0a,}, /* mid nega */ -{0x72, 0x09,}, /* mid pos */ -{0x70, 0x0a,}, /* low nega */ -{0x73, 0x09,}, /* low pos */ -{0x80, 0xc1,}, -{0x81, 0x1f,}, -{0x82, 0xe1,}, -{0x83, 0x33,}, -{0x90, 0x05,}, -{0x91, 0x05,}, -{0x92, 0x33,}, -{0x93, 0x30,}, -{0x94, 0x03,}, -{0x95, 0x14,}, -{0x97, 0x30,}, -{0x99, 0x30,}, -{0xa0, 0x02,}, /*2d lclp out2 nega*/ -{0xa1, 0x03,}, /*2d lclp out2 pos*/ -{0xa2, 0x02,}, /*2d lclp out1 nega*/ -{0xa3, 0x03,}, /*2d lclp out1 pos*/ -{0xa4, 0x03,}, /*2d lclp in nega*/ -{0xa5, 0x04,}, /*2d lclp in pos*/ -{0xa6, 0x07,}, /*2d lclp dark1 nega*/ -{0xa7, 0x08,}, /*2d lclp dark1 pos*/ -{0xa8, 0x07,}, /*2d lclp dark2 nega*/ -{0xa9, 0x08,}, /*2d lclp dark2 pos*/ -{0xaa, 0x07,}, /*2d lclp dark3 nega*/ -{0xab, 0x08,}, /*2d lclp dark3 pos*/ -{0xb0, 0x10,}, /*out2 H Ne*/ -{0xb3, 0x10,}, /* H Po*/ -{0xb1, 0x1e,}, /* M Ne*/ -{0xb4, 0x1e,}, /* M Po*/ -{0xb2, 0x1f,}, /* L Ne*/ -{0xb5, 0x1e,}, /* L Po*/ -{0xb6, 0x10,}, /*out1 H Ne */ -{0xb9, 0x10,}, /* H Po */ -{0xb7, 0x1e,}, /* M Ne */ -{0xba, 0x1e,}, /* M Po */ -{0xb8, 0x1f,}, /* L Ne */ -{0xbb, 0x1e,}, /* L Po */ -{0xbc, 0x20,}, /*indoor H Ne*/ -{0xbf, 0x1e,}, /* H Po*/ -{0xbd, 0x25,}, /* M Ne*/ -{0xc0, 0x23,}, /* M Po*/ -{0xbe, 0x24,}, /* L Ne*/ -{0xc1, 0x22,}, /* L Po*/ - -{0xc2, 0x23,}, /*dark1 H Ne*/ -{0xc5, 0x23,}, /* H Po*/ -{0xc3, 0x29,}, /* M Ne*/ -{0xc6, 0x29,}, /* M Po*/ -{0xc4, 0x25,}, /* L Ne*/ -{0xc7, 0x25,}, /* L Po*/ -{0xc8, 0x1c,}, /*dark2 H Ne*/ -{0xcb, 0x1c,}, /* H Po*/ -{0xc9, 0x25,}, /* M Ne*/ -{0xcc, 0x25,}, /* M Po*/ -{0xca, 0x23,}, /* L Ne*/ -{0xcd, 0x23,}, /* L Po*/ -{0xce, 0x1c,}, /*dark3 H Ne*/ -{0xd1, 0x1c,}, /* H Po*/ -{0xcf, 0x25,}, /* M Ne*/ -{0xd2, 0x25,}, /* M Po*/ -{0xd0, 0x23,}, /* L Ne*/ -{0xd3, 0x23,}, /* L Po*/ -{0x03, 0x14,}, -{0x10, 0x31,}, - -{0x14, 0x80,}, /* GX*/ -{0x15, 0x80,}, /* GY*/ -{0x16, 0x80,}, /* RX*/ -{0x17, 0x80,}, /* RY*/ -{0x18, 0x80,}, /* BX*/ -{0x19, 0x80,}, /* BY*/ -{0x20, 0x60,}, /* X Center*/ -{0x21, 0x80,}, /* Y Center*/ -{0x22, 0x80,}, -{0x23, 0x80,}, -{0x24, 0x80,}, -{0x30, 0xc8,}, -{0x31, 0x2b,}, -{0x32, 0x00,}, -{0x33, 0x00,}, -{0x34, 0x90,}, - -{0x40, 0x60,}, /*R min's set 4e*/ -{0x41, 0x44,}, /*Gr*/ -{0x42, 0x3e,}, /*B*/ -{0x43, 0x44,}, /*Gb*/ -{0x03, 0x15,}, -{0x10, 0x21,}, -{0x14, 0x44,}, /*49*/ -{0x15, 0x34,}, /*38*/ -{0x16, 0x26,}, /*2b*/ -{0x17, 0x2f,}, -{0x30, 0xdd,}, -{0x31, 0x62,}, -{0x32, 0x05,}, -{0x33, 0x26,}, -{0x34, 0xbd,}, -{0x35, 0x17,}, -{0x36, 0x18,}, -{0x37, 0x38,}, -{0x38, 0xd0,}, - -{0x40, 0xb0,}, -{0x41, 0x30,}, -{0x42, 0x00,}, -{0x43, 0x00,}, -{0x44, 0x00,}, -{0x45, 0x00,}, -{0x46, 0x99,}, -{0x47, 0x19,}, -{0x48, 0x00,}, -{0x50, 0x16,}, -{0x51, 0xb2,}, -{0x52, 0x1c,}, -{0x53, 0x06,}, -{0x54, 0x20,}, -{0x55, 0xa6,}, -{0x56, 0x0e,}, -{0x57, 0xb2,}, -{0x58, 0x24,}, -{0x03, 0x16,}, -{0x10, 0x31,}, /*GMA_CTL*/ -{0x18, 0x7e,}, /*AG_ON*/ -{0x19, 0x7d,}, /*AG_OFF*/ -{0x1a, 0x0e,}, /*TIME_ON*/ -{0x1b, 0x01,}, /*TIME_OFF*/ -{0x1C, 0xdc,}, /*OUT_ON*/ -{0x1D, 0xfe,}, /*OUT_OFF*/ - -/*GMA Indoor*/ -{0x30, 0x00,}, -{0x31, 0x07,}, -{0x32, 0x1a,}, -{0x33, 0x37,}, -{0x34, 0x5c,}, -{0x35, 0x7d,}, -{0x36, 0x96,}, -{0x37, 0xa9,}, -{0x38, 0xb7,}, -{0x39, 0xc6,}, -{0x3a, 0xd2,}, -{0x3b, 0xdc,}, -{0x3c, 0xe4,}, -{0x3d, 0xeb,}, -{0x3e, 0xf1,}, -{0x3f, 0xf5,}, -{0x40, 0xf9,}, -{0x41, 0xfd,}, -{0x42, 0xff,}, - -/*RGMA Outdoor*/ -{0x50, 0x00,}, -{0x51, 0x03,}, -{0x52, 0x13,}, -{0x53, 0x2e,}, -{0x54, 0x59,}, -{0x55, 0x79,}, -{0x56, 0x90,}, -{0x57, 0xa3,}, -{0x58, 0xb4,}, -{0x59, 0xc2,}, -{0x5a, 0xcd,}, -{0x5b, 0xd7,}, -{0x5c, 0xe0,}, -{0x5d, 0xe5,}, -{0x5e, 0xe9,}, -{0x5f, 0xee,}, -{0x60, 0xf1,}, -{0x61, 0xf3,}, -{0x62, 0xf6,}, - -/*BGMA Dark*/ -{0x70, 0x03,}, -{0x71, 0x11,}, -{0x72, 0x1f,}, -{0x73, 0x37,}, -{0x74, 0x52,}, -{0x75, 0x6c,}, -{0x76, 0x85,}, -{0x77, 0x9a,}, -{0x78, 0xad,}, -{0x79, 0xbd,}, -{0x7a, 0xcb,}, -{0x7b, 0xd6,}, -{0x7c, 0xe0,}, -{0x7d, 0xe8,}, -{0x7e, 0xef,}, -{0x7f, 0xf4,}, -{0x80, 0xf8,}, -{0x81, 0xfb,}, -{0x82, 0xfe,}, - -{0x03, 0x24,}, /*Resol control */ -{0x60, 0xc5,}, /*edge even frame | 16bit resol | white edge cnt | scene resol enable*/ -{0x61, 0x04,}, /*even frame update */ -{0x64, 0x08,}, -{0x65, 0x00,}, -{0x66, 0x26,}, /*edge th2 H */ -{0x67, 0x00,}, /*edge th2 L */ - -{0x03, 0x13,}, -{0x18, 0x31,}, /*flat center Gb/Gr*/ -{0x74, 0x02,}, /*det slope en | gausian filter*/ -{0x75, 0x0d,}, /*1D negative gain det 09 */ -{0x76, 0x0d,}, /*1D postive gain det 08*/ -{0x77, 0x10,}, /*1D hclp2 det*/ -{0x78, 0x08,}, /*outdoor flat threshold*/ -{0x79, 0x10,}, /*indoor flat threshold*/ - -{0x81, 0xdf,}, /*det gain controler*/ -{0x86, 0x90,}, /*2D negative gain det */ -{0x87, 0x90,}, /*2D postive gain det */ -{0x96, 0x2a,}, /*2D hclp2 det*/ - -{0x03, 0x12,}, /*{0x12, 0x p}age*/ -{0xd0, 0x88,}, -{0xd9, 0xe4,}, - -/* PAGE 18 START*/ -{0x03, 0x18,}, -{0x14, 0x43,}, /*83*/ - -/* PAGE 20 START*/ -{0x03, 0x20,}, -{0x11, 0x1c,}, -{0x18, 0x30,}, -{0x1a, 0x08,}, -{0x20, 0x45,},/*weight*/ -{0x21, 0x30,}, -{0x22, 0x10,}, -{0x23, 0x00,}, -{0x24, 0x00,}, -{0x28, 0xe7,}, /* add 20120223*/ -{0x29, 0x0d,}, /* 20100305 ad -> 0d*/ -{0x2a, 0xfd,}, -{0x2b, 0xf8,}, -{0x2c, 0x43,}, /* 20140618 c3 -> 43*/ -{0x2d, 0x5f,}, /* add 20120223*/ -{0x2e, 0x33,}, -{0x30, 0xf8,}, -{0x32, 0x03,}, -{0x33, 0x2e,}, -{0x34, 0x30,}, -{0x35, 0xd4,}, -{0x36, 0xff,}, /*fe*/ -{0x37, 0x32,}, -{0x38, 0x04,}, -{0x39, 0x22,}, -{0x3a, 0xde,}, -{0x3b, 0x22,}, -{0x3c, 0xde,}, -{0x3d, 0xe1,}, - -{0x50, 0x45,}, -{0x51, 0x88,}, -{0x56, 0x19,}, -{0x57, 0x81,}, -{0x58, 0x0e,}, -{0x59, 0x6a,}, -{0x5a, 0x04,}, -{0x5e, 0x9d,}, /*AE_AWB_start*/ -{0x5f, 0x76,}, /*AE_AWB_start*/ - -{0x70, 0x33,}, /* 6c*/ -{0x71, 0x82,}, /* 82(+8)*/ - -{0x76, 0x21,}, -{0x77, 0x71,}, -{0x78, 0x22,}, /* 24*/ -{0x79, 0x23,}, /* Y Target 70 => 25, 72 => 26*/ -{0x7a, 0x23,}, /* 23*/ -{0x7b, 0x22,}, /* 22*/ -{0x7d, 0x23,}, - -{0x83, 0x01,}, //EXP Normal 30.00 fps -{0x84, 0x86,}, -{0x85, 0xa0,}, -{0x86, 0x01,}, //EXPMin 7500.00 fps -{0x87, 0x90,}, -{0x88, 0x05,}, //EXP Max(120Hz) 8.00 fps -{0x89, 0xb8,}, -{0x8a, 0xd8,}, -{0xa5, 0x05,}, //EXP Max(100Hz) 8.33 fps -{0xa6, 0x7e,}, -{0xa7, 0x40,}, -{0x8B, 0x75,}, /*EXP100 */ -{0x8C, 0x30,}, -{0x8D, 0x61,}, /*EXP120 */ -{0x8E, 0xa8,}, -{0x9c, 0x09,}, /*EXP Limit 1250.00 fps */ -{0x9d, 0x60,}, -{0x9e, 0x01,}, /*EXP Unit */ -{0x9f, 0x90,}, -{0x98, 0x9d,}, - -{0xb0, 0x16,}, -{0xb1, 0x14,}, -{0xb2, 0xf8,}, -{0xb3, 0x14,}, -{0xb4, 0x1b,}, -{0xb5, 0x46,}, -{0xb6, 0x31,}, -{0xb7, 0x29,}, -{0xb8, 0x26,}, -{0xb9, 0x24,}, -{0xba, 0x22,}, -{0xbb, 0x42,}, -{0xbc, 0x41,}, -{0xbd, 0x40,}, -{0xc0, 0x10,}, -{0xc1, 0x38,}, -{0xc2, 0x38,}, -{0xc3, 0x38,}, -{0xc4, 0x07,}, -{0xc8, 0x80,}, -{0xc9, 0x80,}, -{0x10, 0x8c,}, /* ae enable*/ - - -/*AE_Weight*/ -{0x03, 0x21,}, -{0x20, 0x11,}, -{0x21, 0x11,}, -{0x22, 0x11,}, -{0x23, 0x11,}, -{0x24, 0x12,}, -{0x25, 0x22,}, -{0x26, 0x22,}, -{0x27, 0x21,}, -{0x28, 0x12,}, -{0x29, 0x22,}, -{0x2a, 0x22,}, -{0x2b, 0x21,}, -{0x2c, 0x12,}, -{0x2d, 0x23,}, -{0x2e, 0x32,}, -{0x2f, 0x21,}, -{0x30, 0x12,}, -{0x31, 0x23,}, -{0x32, 0x32,}, -{0x33, 0x21,}, -{0x34, 0x12,}, -{0x35, 0x22,}, -{0x36, 0x22,}, -{0x37, 0x21,}, -{0x38, 0x12,}, -{0x39, 0x22,}, -{0x3a, 0x22,}, -{0x3b, 0x21,}, -{0x3c, 0x11,}, -{0x3d, 0x11,}, -{0x3e, 0x11,}, -{0x3f, 0x11,}, - -/* PAGE 22 START*/ -{0x03, 0x22,}, -{0x10, 0xfd,}, -{0x11, 0x2e,}, -{0x19, 0x01,}, /* Low On*/ -{0x20, 0x30,}, /* for wb speed*/ -{0x21, 0x40,}, -{0x24, 0x01,}, -{0x25, 0x7e,}, /* for tracking 20120314 */ - -{0x30, 0x80,}, /* 20120224 test*/ -{0x31, 0x80,}, -{0x38, 0x11,}, -{0x39, 0x34,}, - -{0x40, 0xe8,}, -{0x41, 0x43,}, /* 33*/ -{0x42, 0x22,}, /* 22*/ - -{0x43, 0xf3,}, /* f6*/ -{0x44, 0x54,}, /* 44*/ -{0x45, 0x22,}, /* 33*/ - -{0x46, 0x00,}, -{0x48, 0x0a,}, -{0x50, 0xb2,}, -{0x51, 0x81,}, -{0x52, 0x98,}, - -{0x80, 0x38,}, -{0x81, 0x20,}, -{0x82, 0x38,}, /* 3a*/ - -{0x83, 0x56,}, /* R Max*/ -{0x84, 0x20,}, /* R Min*/ -{0x85, 0x52,}, /* B Max*/ -{0x86, 0x20,}, /* B Min*/ - -{0x87, 0x45,}, -{0x88, 0x3a,}, -{0x89, 0x32,}, -{0x8a, 0x2c,}, - -{0x8b, 0x42,}, -{0x8c, 0x3d,}, -{0x8d, 0x30,}, -{0x8e, 0x2c,}, - -{0x8f, 0x5a,}, -{0x90, 0x59,}, -{0x91, 0x55,}, -{0x92, 0x4e,}, -{0x93, 0x44,}, -{0x94, 0x3a,}, -{0x95, 0x34,}, -{0x96, 0x2c,}, -{0x97, 0x23,}, -{0x98, 0x20,}, -{0x99, 0x1f,}, -{0x9a, 0x1f,}, - -{0x9b, 0x77,}, -{0x9c, 0x77,}, -{0x9d, 0x48,}, -{0x9e, 0x38,}, -{0x9f, 0x30,}, - -{0xa0, 0x40,}, -{0xa1, 0x21,}, -{0xa2, 0x6f,}, -{0xa3, 0xff,}, - -{0xa4, 0x14,}, /* 1500fps*/ -{0xa5, 0x44,}, /* 700fps*/ -{0xa6, 0xcf,}, - -{0xad, 0x40,}, -{0xae, 0x4a,}, - -{0xaf, 0x2a,}, /* low temp Rgain*/ -{0xb0, 0x28,}, /* low temp Rgain*/ - -{0xb1, 0x00,}, /* {0x20, 0x -}> {0x00, 0x 0}405 modify*/ -{0xb4, 0xbf,}, /* for tracking 20120314*/ -{0xb8, 0xb1,}, /* a2: b-2, R+2 b4 B-3, R+4 lowtemp b0 a1 Spec AWB A modify*/ -{0xb9, 0x00,}, -/* PAGE 22 END*/ - -/* PAGE 48 */ -{0x03, 0x00,}, - -/* PLL Setting */ -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x05,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, - -{0x03, 0x48,}, -/* MIPI TX Setting */ -{0x10, 0x1c,}, -{0x11, 0x00,}, -{0x12, 0x00,}, -{0x14, 0x00,}, -{0x16, 0x04,}, -{0x17, 0x00,}, -{0x18, 0x80,}, -{0x19, 0x00,}, -{0x1a, 0xa0,}, -{0x1c, 0x02,}, -{0x1d, 0x0e,}, -{0x1e, 0x07,}, -{0x1f, 0x08,}, -{0x22, 0x00,}, -{0x23, 0x01,}, -{0x24, 0x1e,}, -{0x25, 0x00,}, -{0x26, 0x00,}, -{0x27, 0x08,}, -{0x28, 0x00,}, -{0x30, 0x05,}, -{0x31, 0x00,}, -{0x32, 0x07,}, -{0x33, 0x09,}, -{0x34, 0x01,}, -{0x35, 0x01,}, -{0x03, 0x00,}, -{0x01, 0x00,}, -{0xff, 0x05,}, -}; diff --git a/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv_matisse_wifi_usa.h b/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv_matisse_wifi_usa.h index d30fb15df94..74ca1db113e 100644 --- a/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv_matisse_wifi_usa.h +++ b/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv_matisse_wifi_usa.h @@ -1937,7 +1937,7 @@ static struct msm_camera_i2c_reg_conf sr130pc20_VT_Init_Reg[] = { #endif -static struct msm_camera_i2c_reg_conf sr130pc20_camcorder_mode_50hz[] = { +static struct msm_camera_i2c_reg_conf sr130pc20_camcorder_mode[] = { /*0 Page*/ {0x03, 0x00,}, {0x01, 0x01,}, /*sleep*/ @@ -2856,926 +2856,7 @@ static struct msm_camera_i2c_reg_conf sr130pc20_camcorder_mode_50hz[] = { {0xff, 0x28,}, /*400ms Delay*/ }; -static struct msm_camera_i2c_reg_conf sr130pc20_camcorder_mode_60hz[] = { -/*0 Page*/ -{0x03, 0x00,}, -{0x01, 0x01,}, /*sleep*/ -{0x01, 0x03,}, /*s/w reset*/ -{0x01, 0x01,}, /*sleep*/ -{0x08, 0x00,},/*Don't touch*/ -{0x09, 0x37,},/*Don't touch*/ -{0x0a, 0x33,},/*Don't touch*/ -/*PLL Setting*/ -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x01,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, -{0x10, 0x11,}, -{0x11, 0x94,}, /*xy flip*/ -{0x12, 0x00,}, -{0x14, 0x88,}, -{0x03, 0x00,}, -{0x20, 0x00,}, -{0x21, 0x04,}, -{0x22, 0x00,}, -{0x23, 0x04,}, -{0x24, 0x03,}, -{0x25, 0xC0,}, -{0x26, 0x05,}, -{0x27, 0x00,}, -{0x40, 0x01,}, /*Hblank_280*/ -{0x41, 0x18,}, -{0x42, 0x00,}, /*Vblank 124*/ -{0x43, 0x7c,}, -{0x03, 0x00,}, /*ESD */ -{0x0b, 0xaa,}, -{0x0c, 0xaa,}, -{0x0d, 0xaa,}, -/*--------------- BLC*/ -{0x80, 0x08,}, /*Don't touch */ -{0x81, 0x97,}, /*Don't touch */ -{0x82, 0x90,}, /*Don't touch */ -{0x83, 0x30,}, /*Don't touch */ -{0x84, 0xcc,}, /*Don't touch*/ -{0x85, 0x00,}, /*Don't touch*/ -{0x86, 0xd4,}, /*Don' t touch*/ -{0x87, 0x0f,}, /*Don't touch*/ -{0x88, 0x34,}, /*Don't touch*/ -{0x90, 0x04,}, /*BLC_TIME_TH_ON*/ -{0x91, 0x04,}, /*BLC_TIME_TH_OFF */ -{0x92, 0xe8,}, /*BLC_AG_TH_ON*/ -{0x93, 0xe0,}, /*BLC_AG_TH_OFF*/ -{0x94, 0x95,}, /*091202*/ -{0x95, 0x90,}, /*091202 */ -{0x98, 0x38,}, /*Don't touch*/ -/*Dark BLC*/ -{0xa0, 0x01,}, /* 20100309*/ -{0xa2, 0x01,}, /* 20100309*/ -{0xa4, 0x01,}, /* 20100309*/ -{0xa6, 0x01,}, /* 20100309*/ -/*Normal BLC*/ -{0xa8, 0x00,}, -{0xaa, 0x00,}, -{0xac, 0x00,}, -{0xae, 0x00,}, -/*Out BLC*/ -{0x99, 0x00,}, -{0x9a, 0x00,}, -{0x9b, 0x00,}, -{0x9c, 0x00,}, -/*2 Page*/ -{0x03, 0x02,}, -{0x12, 0x00,}, /*Don't touch*/ -{0x14, 0x00,}, /*Don't touch*/ -{0x15, 0x00,}, /*Don't touch*/ -{0x18, 0x4C,}, /*Don't touch*/ -{0x19, 0x00,}, /*Don't touch*/ -{0x1A, 0x39,}, /*Don't touch*/ -{0x1B, 0x00,},/*Don't touch*/ -{0x1C, 0x1a,}, /*Don't touch*/ -{0x1D, 0x14,}, /*Don't touch*/ -{0x1E, 0x30,},/*Don't touch*/ -{0x1F, 0x10,},/*Don't touch*/ -{0x20, 0x77,}, -{0x21, 0xde,}, -{0x22, 0xa7,}, -{0x23, 0x30,}, -{0x24, 0x77,}, -{0x25, 0x10,}, -{0x26, 0x10,}, -{0x27, 0x3c,}, -{0x2b, 0x80,}, -{0x2c, 0x02,}, -{0x2d, 0xa0,}, -{0x2e, 0x00,}, -{0x2f, 0xa7,}, -{0x30, 0x00,}, -{0x31, 0x99,}, -{0x32, 0x00,}, -{0x33, 0x00,}, -{0x34, 0x22,}, -{0x36, 0x01,}, -{0x37, 0x01,}, -{0x38, 0x88,}, -{0x39, 0x88,}, -{0x3d, 0x03,}, -{0x3e, 0x0d,}, -{0x3f, 0x02,}, -{0x49, 0xd1,}, -{0x4a, 0x14,}, -{0x50, 0x21,}, -{0x52, 0x01,}, -{0x53, 0x81,}, -{0x54, 0x10,}, -{0x55, 0x1c,}, -{0x56, 0x11,}, -{0x58, 0x18,}, -{0x59, 0x16,}, -{0x5d, 0xa2,}, -{0x5e, 0x5a,}, -{0x60, 0x93,}, /* 20120517 modify*/ -{0x61, 0xa4,}, /* 20120517 modify*/ -{0x62, 0x94,}, /* 20120517 modify*/ -{0x63, 0xa3,}, /* 20120517 modify*/ -{0x64, 0x94,}, /* 20120517 modify*/ -{0x65, 0xa3,}, /* 20120517 modify*/ -{0x67, 0x0c,}, -{0x68, 0x0c,}, -{0x69, 0x0c,}, -{0x6a, 0xb4,}, -{0x6b, 0xc4,}, -{0x6c, 0xb5,}, -{0x6d, 0xc2,}, -{0x6e, 0xb5,}, -{0x6f, 0xc0,}, -{0x70, 0xb6,}, -{0x71, 0xb8,}, -{0x72, 0x95,}, /* 20120517 modify*/ -{0x73, 0xa2,}, /* 20120517 modify*/ -{0x74, 0x95,}, /* 20120517 modify*/ -{0x75, 0xa2,}, /* 20120517 modify*/ -{0x76, 0x95,}, /* 20120517 modify*/ -{0x77, 0xa2,}, /* 20120517 modify*/ -{0x7C, 0x92,}, /* 20120517 modify*/ -{0x7D, 0xff,}, /* 20120517 modify*/ -{0x80, 0x01,}, /* 20120517 modify*/ -{0x81, 0x8a,}, /* 20120517 modify*/ -{0x82, 0x1e,}, /* 20120517 modify*/ -{0x83, 0x36,}, /* 20120517 modify*/ -{0x84, 0x89,}, /* 20120517 modify*/ -{0x85, 0x8b,}, /* 20120517 modify*/ -{0x86, 0x89,}, /* 20120517 modify*/ -{0x87, 0x8b,}, /* 20120517 modify*/ -{0x88, 0xab,}, -{0x89, 0xbc,}, -{0x8a, 0xac,}, -{0x8b, 0xba,}, -{0x8c, 0xad,}, -{0x8d, 0xb8,}, -{0x8e, 0xae,}, -{0x8f, 0xb2,}, -{0x90, 0xb3,}, -{0x91, 0xb7,}, -{0x92, 0x52,}, /* 20120517 modify*/ -{0x93, 0x6a,}, /* 20120517 modify*/ -{0x94, 0x89,}, /* 20120517 modify*/ -{0x95, 0x8b,}, /* 20120517 modify*/ -{0x96, 0x89,}, /* 20120517 modify*/ -{0x97, 0x8b,}, /* 20120517 modify*/ -{0xA0, 0x02,}, -{0xA1, 0x86,}, /* 20120517 modify*/ -{0xA2, 0x02,}, -{0xA3, 0x86,}, /* 20120517 modify*/ -{0xA4, 0x86,}, /* 20120517 modify*/ -{0xA5, 0x02,}, -{0xA6, 0x86,}, /* 20120517 modify*/ -{0xA7, 0x02,}, -{0xA8, 0x92,}, /* 20120517 modify*/ -{0xA9, 0x94,}, /* 20120517 modify*/ -{0xAA, 0x92,}, /* 20120517 modify*/ -{0xAB, 0x94,}, /* 20120517 modify*/ -{0xAC, 0x1c,}, -{0xAD, 0x22,}, -{0xAE, 0x1c,}, -{0xAF, 0x22,}, -{0xB0, 0xa4,}, /* 20120517 modify*/ -{0xB1, 0xae,}, /* 20120517 modify*/ -{0xB2, 0xa4,}, /* 20120517 modify*/ -{0xB3, 0xae,}, /* 20120517 modify*/ -{0xB4, 0xa6,}, /* 20120517 modify*/ -{0xB5, 0xac,}, /* 20120517 modify*/ -{0xB6, 0xa6,}, /* 20120517 modify*/ -{0xB7, 0xac,}, /* 20120517 modify*/ -{0xB8, 0xa6,}, /* 20120517 modify*/ -{0xB9, 0xab,}, /* 20120517 modify*/ -{0xBA, 0xa6,}, /* 20120517 modify*/ -{0xBB, 0xab,}, /* 20120517 modify*/ -{0xBC, 0xa6,}, /* 20120517 modify*/ -{0xBD, 0xab,}, /* 20120517 modify*/ -{0xBE, 0xa6,}, /* 20120517 modify*/ -{0xBF, 0xab,}, /* 20120517 modify*/ -{0xc4, 0x37,}, -{0xc5, 0x52,}, -{0xc6, 0x6b,}, -{0xc7, 0x86,}, -{0xc8, 0x38,}, /* 20120517 modify*/ -{0xc9, 0x50,}, /* 20120517 modify*/ -{0xca, 0x38,}, /* 20120517 modify*/ -{0xcb, 0x50,}, /* 20120517 modify*/ -{0xcc, 0x6c,}, /* 20120517 modify*/ -{0xcd, 0x84,}, /* 20120517 modify*/ -{0xce, 0x6c,}, /* 20120517 modify*/ -{0xcf, 0x84,}, /* 20120517 modify*/ -{0xdc, 0x00,}, /* Added*/ -{0xdd, 0xaf,}, /* Added*/ -{0xde, 0x00,}, /* Added*/ -{0xdf, 0x90,}, /* Added*/ -{0xd0, 0x10,}, -{0xd1, 0x14,}, -{0xd2, 0x20,}, -{0xd3, 0x00,}, -/*DCDC */ -{0xd4, 0x04,}, /*DCDC_TIME_TH_ON*/ -{0xd5, 0x04,}, /*DCDC_TIME_TH_OFF */ -{0xd6, 0xe8,}, /*DCDC_AG_TH_ON*/ -{0xd7, 0xe0,}, /*DCDC_AG_TH_OFF*/ -{0xea, 0x8a,}, -{0xF0, 0x01,}, /* clock inversion*/ -{0xF1, 0x01,}, -{0xF2, 0x01,}, -{0xF3, 0x01,}, -{0xF4, 0x01,}, -{0xF5, 0x00,}, -{0x03, 0x10,}, /*page 10*/ -{0x10, 0x01,}, /*Ycbcr422_bit Order: YUYV*/ -{0x11, 0x03,}, -{0x12, 0x30,}, /*y offset[4], dif_offset[5]*/ -{0x13, 0x02,}, /*contrast effet enable : 0x02*/ -{0x34, 0x00,}, /*hidden 10->00 100209*/ -{0x37, 0x01,}, /*yc2d power save */ -{0x3f, 0x04,}, /*100825*/ -{0x40, 0x80,}, /*Y offset */ -{0x41, 0x0a,}, -{0x48, 0x80,}, /*Contrast (Y = constrast * (Y - 128) + 128)/86 */ - -{0x50, 0xf8,}, /*20140404 Dyoffset TH */ - -{0x53, 0x00,}, /*dif_offset option */ -{0x55, 0x30,}, /*dif_offset option diff_offset max */ -{0x60, 0x07,}, -{0x61, 0x83,}, /*blue saturation_C0*/ -{0x62, 0x80,}, /*red saturation_B0*/ -{0x63, 0x80,}, /*auto decresment on AG th*/ -{0x64, 0xff,}, /*auto decresment on DG th*/ -{0x66, 0xe4,}, /*Outdoor saturation step 137fps apply out th */ -{0x67, 0x13,}, /*Outdoor saturation B/R*/ -{0x76, 0x01,}, /* ADD 20121031 */ -{0x79, 0x04,}, /* ADD 20121031 */ -/* Hi 163 */ -/* PAGE 10 START*/ -{0x03, 0x10,}, -{0x80, 0x00,}, /* dsshin --> color enhance*/ -{0xf5, 0x00,}, /* dsshin --> h blank option*/ -{0x03, 0x11,}, /*page 11 D_LPF */ -{0x10, 0x3f,}, /*B[6]:Blue En Dlpf on[4:0] Sky over off : 0x7f->3f*/ -{0x11, 0x20,}, /* Uniform Full GbGr/OV-Nr*/ -{0x12, 0x80,}, /*Blue MaxOpt blue sky max filter optoin rate : 0 0xc0->80*/ -{0x13, 0xb8,}, -{0x30, 0xba,}, /*Outdoor2 H th*/ -{0x31, 0x10,}, /*Outdoor2 L th*/ -{0x32, 0x50,}, /*Outdoor2 gain ratio*/ -{0x33, 0x1d,}, /*Outdoor2 H lum*/ -{0x34, 0x20,}, /*Outdoor2 M lum*/ -{0x35, 0x1f,}, /*Outdoor2 L lum*/ -{0x36, 0xb0,}, /*Outdoor1 H th*/ -{0x37, 0x18,}, /*Outdoor1 L th*/ -{0x38, 0x50,}, /*Outdoor1 gain ratio 0x80->40*/ -{0x39, 0x1d,}, /*Outdoor1 H lum 0x28->1e*/ -{0x3a, 0x20,}, /*Outdoor1 M lum 0x10->15*/ -{0x3b, 0x1f,}, /*Outdoor1 L lum */ -{0x3c, 0x3f,}, /*indoor H th*/ -{0x3d, 0x16,}, /*indoor L th*/ -{0x3e, 0x30,}, /*indoor gain ratio 0x44 6a */ -{0x3f, 0x1a,}, /*indoor H lum 0x12 18 */ -{0x40, 0x60,}, /*indoor M lum 0x18 1c*/ -{0x41, 0x1a,}, /*indoor L lum */ -{0x42, 0x98,}, /*dark1 H th*/ -{0x43, 0x28,}, /*dark1 L th*/ -{0x44, 0x65,}, /*dark1 gain ratio*/ -{0x45, 0x16,}, /*dark1 H lum 0x38->0x28 */ -{0x46, 0x30,}, /*dark1 M lum 0x27->0x17*/ -{0x47, 0x34,}, /*dark1 L lum 0x20->0x1a */ -{0x48, 0x90,}, /*dark2 H th*/ -{0x49, 0x2a,}, /*dark2 L th*/ -{0x4a, 0x65,}, /*dark2 gain ratio*/ -{0x4b, 0x18,}, /*dark2 H lum */ -{0x4c, 0x31,}, /*dark2 M lum*/ -{0x4d, 0x36,}, /*dark2 L lum */ -{0x4e, 0x80,}, /*dark3 H th*/ -{0x4f, 0x30,}, /*dark3 L th*/ -{0x50, 0x65,}, /*dark3 gain ratio*/ -{0x51, 0x19,}, /*dark3 H lum */ -{0x52, 0x31,}, /*dark3 M lum */ -{0x53, 0x36,}, /*dark3 L lum */ -{0x5a, 0x3f,}, /*blue sky mode out1/2 enable 0x27->3f */ -{0x5b, 0x00,}, /*Impulse pixel enable dark123,in,out123*/ -{0x5c, 0x9f,}, /*Indoor maxfilter rate[7:5] | Uncertain onoff[4:0] 0x1f ->0x9f*/ -{0x60, 0x3f,}, /*GbGr all enable*/ -{0x62, 0x0f,}, /*GbGr offset*/ -{0x65, 0x0c,}, /*Outdoor GbGr rate H 100% M 25% L 100%*/ -{0x66, 0x0c,}, /*Indoor GbGr rate H 100% M 25% L 100%*/ -{0x67, 0x00,}, /*dark GbGr rate H/M/L 100%*/ -{0x70, 0x0c,}, /* Abberation On/Off B[1]: Outdoor B[0]: Indoor 07>>c*/ -{0x75, 0xa0,}, /* Outdoor2 Abberation Luminance lvl */ -{0x7d, 0xb4,}, /* Indoor Abberation Luminance lvl*/ -{0x96, 0x08,}, /*indoor/Dark1 edgeoffset1*/ -{0x97, 0x14,}, /*indoor/Dark1 center G value*/ -{0x98, 0xf5,}, /*slope indoor :: left/right graph polarity, slope*/ -{0x99, 0x2a,}, /*indoor uncertain ratio control*/ -{0x9a, 0x20,}, /*Edgeoffset_dark*/ -/*DPC_CTRL*/ -{0x03, 0x12,}, /*Preview DPC off[0x5c] on[0x5d]*/ -{0x20, 0x0f,}, -{0x21, 0x0f,}, -{0x25, 0x00,}, /* 0x30*/ -{0x2a, 0x01,}, -{0x2e, 0x00,}, /*2010.8.25*/ -{0x30, 0x35,}, /*Texture region(most detail)*/ -{0x31, 0xa0,}, /*STD uniform1 most blur region*/ -{0x32, 0xb0,}, /*STD uniform2 2nd blur*/ -{0x33, 0xc0,}, /*STD uniform3 3rd blur*/ -{0x34, 0xd0,}, /*STD normal noise1 4th blur */ -{0x35, 0xe0,}, /*STD normal noise2 5th blur*/ -{0x36, 0xff,}, /*STD normal noise3 6th blur*/ -{0x40, 0x83,}, /*Outdoor2 H th*/ -{0x41, 0x20,}, /*Outdoor2 L th */ -{0x42, 0x08,}, /*Outdoor2 H luminance */ -{0x43, 0x10,}, /*Outdoor2 M luminance */ -{0x44, 0x10,}, /*Outdoor2 l luminance */ -{0x45, 0x50,}, /*Outdoor2 ratio*/ -{0x46, 0x83,}, /*Outdoor1 H th*/ -{0x47, 0x20,}, /*Outdoor1 L th */ -{0x48, 0x08,}, /*Outdoor1 H luminance*/ -{0x49, 0x10,}, /*Outdoor1 M luminance*/ -{0x4a, 0x10,}, /*Outdoor1 L luminance*/ -{0x4b, 0x50,}, /*Outdoor1 ratio*/ -{0x4c, 0x80,}, /*Indoor H th*/ -{0x4d, 0x48,}, /*Indoor L th*/ -{0x4e, 0x30,}, /*indoor H lum*/ -{0x4f, 0x30,}, /*indoor M lum*/ -{0x50, 0x12,}, /*indoor L lum */ -{0x51, 0x70,}, /*indoor ratio 0x10 -> 0x45*/ -{0x52, 0xa8,}, /*dark1 H th*/ -{0x53, 0x30,}, /*dark1 L th */ -{0x54, 0x28,}, /*dark1 H lum */ -{0x55, 0x3e,}, /*dark1 M lum*/ -{0x56, 0x67,}, /*dark1 L lum*/ -{0x57, 0x6a,}, /*dark1 ratio*/ -{0x58, 0xa0,}, /*dark2 H th*/ -{0x59, 0x40,}, /*dark2 L th*/ -{0x5a, 0x28,}, /*dark2 H lum*/ -{0x5b, 0x3f,}, /*dark2 M lum*/ -{0x5c, 0x68,}, /*dark2 L lum*/ -{0x5d, 0x70,}, /*dark2 ratio*/ -{0x5e, 0xa0,}, /*dark3 H th*/ -{0x5f, 0x40,}, /*dark3 L th*/ -{0x60, 0x29,}, /*dark3 H lum*/ -{0x61, 0x3f,}, /*dark3 M lum*/ -{0x62, 0x69,}, /*dark3 L lum*/ -{0x63, 0x6a,}, /*dark3 ratio*/ -/*C-filter(Out2&Out1)*/ -{0x70, 0x10,}, -{0x71, 0x0a,}, -/*C-filter(Indoor&Dark3)*/ -{0x72, 0x10,}, -{0x73, 0x0a,}, -/*C-filter(Dark2&Dark1)*/ -{0x74, 0x18,}, -{0x75, 0x12,}, -{0x80, 0x20,}, -{0x81, 0x40,}, -{0x82, 0x65,}, -{0x85, 0x1a,}, -{0x88, 0x00,}, -{0x89, 0x00,}, -{0x90, 0x5d,}, /*Preview DPC off[0x5c] on[0x5d]*/ -/*DPC-Dark1,2,3*/ -{0xad, 0x07,}, /*10825*/ -{0xae, 0x07,}, /*10825*/ -{0xaf, 0x07,}, /*10825*/ -/*Blue Det..*/ -{0xc5, 0x58,}, /*BlueRange 2010.8.25 {0x40, 0x->2}3 */ -{0xc6, 0x20,}, /*GreenRange 2010.8.25 0x3b->20 */ -{0xd0, 0x88,}, /*2010.8.25*/ -{0xd1, 0x80,}, -{0xd2, 0x17,},/*preview 17, full 67*/ -{0xd3, 0x00,}, -{0xd4, 0x00,}, -{0xd5, 0x0f,},/*preview 0f, full 02*/ -{0xd6, 0xff,}, -{0xd7, 0xff,},/*preview ff, full 18*/ -{0xd8, 0x00,}, -{0xd9, 0x04,}, -/*interpolated with average*/ -{0xdb, 0x38,}, /*resolution issue 0x00->0x18->0x38 */ -{0xd9, 0x04,}, /*strong_edge detect ratio*/ -{0xe0, 0x01,}, /*strong_edge detect ratio*/ -{0x03, 0x13,}, /*page 13 sharpness 1D*/ -{0x10, 0xc5,}, -{0x11, 0x7b,}, -{0x12, 0x0e,}, -{0x14, 0x00,}, -{0x15, 0x11,}, /*added option 1.3M */ -{0x18, 0x30,}, /*added option 1.3M */ -{0x20, 0x15,}, -{0x21, 0x13,}, -{0x22, 0x33,}, -{0x23, 0x08,}, /*hi_clip th1*/ -{0x24, 0x1a,}, /*hi_clip th2*/ -{0x25, 0x06,}, /*low clip th*/ -{0x26, 0x18,}, -{0x27, 0x30,}, -{0x29, 0x10,}, /*time th*/ -{0x2a, 0x30,}, /*pga th*/ -{0x2b, 0x03,}, /*lpf out2*/ -{0x2c, 0x03,}, /*lpf out1*/ -{0x2d, 0x0c,}, -{0x2e, 0x12,}, -{0x2f, 0x12,}, -/*1D Edge*/ -{0x50, 0x0a,}, /*out2 hi nega*/ -{0x53, 0x07,}, /* hi pos*/ -{0x51, 0x0c,}, /* mi nega*/ -{0x54, 0x07,}, /* mi pos*/ -{0x52, 0x0b,}, /* lo nega*/ -{0x55, 0x08,}, /* lo pos*/ -{0x56, 0x0a,}, /*out1 hi nega*/ -{0x59, 0x07,}, /* hi pos */ -{0x57, 0x0c,}, /* mi nega*/ -{0x5a, 0x07,}, /* mi pos */ -{0x58, 0x0b,}, /* lo nega*/ -{0x5b, 0x08,}, /* lo pos */ -/*Indoor Edge*/ -{0x5c, 0x08,}, /*indoor hi nega*/ -{0x5f, 0x07,}, /* hi pos*/ -{0x5d, 0x14,}, /* mid nega */ -{0x60, 0x12,}, /* mid pos */ -{0x5e, 0x0a,}, /* low nega */ -{0x61, 0x08,}, /* low pos*/ -{0x62, 0x08,}, /*dark1 hi nega*/ -{0x65, 0x06,}, /* hi pos */ -{0x63, 0x08,}, /* mid nega */ -{0x66, 0x06,}, /* mid pos */ -{0x64, 0x08,}, /* low nega */ -{0x67, 0x06,}, /* low pos */ -{0x68, 0x07,}, /*dark2 hi nega*/ -{0x6b, 0x05,}, /* hi pos */ -{0x69, 0x07,}, /* mid nega */ -{0x6c, 0x05,}, /* mid pos */ -{0x6a, 0x07,}, /* low nega */ -{0x6d, 0x05,}, /* low pos */ -{0x6e, 0x0a,}, /*dark3 hi nega*/ -{0x71, 0x09,}, /* hi pos */ -{0x6f, 0x0a,}, /* mid nega */ -{0x72, 0x09,}, /* mid pos */ -{0x70, 0x0a,}, /* low nega */ -{0x73, 0x09,}, /* low pos */ - /* 2DY*/ -{0x80, 0xc1,}, -{0x81, 0x1f,}, -{0x82, 0xe1,}, -{0x83, 0x33,}, -{0x90, 0x05,}, -{0x91, 0x05,}, -{0x92, 0x33,}, -{0x93, 0x30,}, -{0x94, 0x03,}, -{0x95, 0x14,}, -{0x97, 0x30,}, -{0x99, 0x30,}, -{0xa0, 0x02,}, /*2d lclp out2 nega*/ -{0xa1, 0x03,}, /*2d lclp out2 pos*/ -{0xa2, 0x02,}, /*2d lclp out1 nega*/ -{0xa3, 0x03,}, /*2d lclp out1 pos*/ -{0xa4, 0x03,}, /*2d lclp in nega*/ -{0xa5, 0x04,}, /*2d lclp in pos*/ -{0xa6, 0x07,}, /*2d lclp dark1 nega*/ -{0xa7, 0x08,}, /*2d lclp dark1 pos*/ -{0xa8, 0x07,}, /*2d lclp dark2 nega*/ -{0xa9, 0x08,}, /*2d lclp dark2 pos*/ -{0xaa, 0x07,}, /*2d lclp dark3 nega*/ -{0xab, 0x08,}, /*2d lclp dark3 pos*/ -{0xb0, 0x10,}, /*out2 H Ne*/ -{0xb3, 0x10,}, /* H Po*/ -{0xb1, 0x1e,}, /* M Ne*/ -{0xb4, 0x1e,}, /* M Po*/ -{0xb2, 0x1f,}, /* L Ne*/ -{0xb5, 0x1e,}, /* L Po*/ -{0xb6, 0x10,}, /*out1 H Ne */ -{0xb9, 0x10,}, /* H Po */ -{0xb7, 0x1e,}, /* M Ne */ -{0xba, 0x1e,}, /* M Po */ -{0xb8, 0x1f,}, /* L Ne */ -{0xbb, 0x1e,}, /* L Po */ -{0xbc, 0x20,}, /*indoor H Ne*/ -{0xbf, 0x1e,}, /* H Po*/ -{0xbd, 0x25,}, /* M Ne*/ -{0xc0, 0x23,}, /* M Po*/ -{0xbe, 0x24,}, /* L Ne*/ -{0xc1, 0x22,}, /* L Po*/ -{0xc2, 0x23,}, /*dark1 H Ne*/ -{0xc5, 0x23,}, /* H Po*/ -{0xc3, 0x29,}, /* M Ne*/ -{0xc6, 0x29,}, /* M Po*/ -{0xc4, 0x25,}, /* L Ne*/ -{0xc7, 0x25,}, /* L Po*/ -{0xc8, 0x1c,}, /*dark2 H Ne*/ -{0xcb, 0x1c,}, /* H Po*/ -{0xc9, 0x25,}, /* M Ne*/ -{0xcc, 0x25,}, /* M Po*/ -{0xca, 0x23,}, /* L Ne*/ -{0xcd, 0x23,}, /* L Po*/ -{0xce, 0x1c,}, /*dark3 H Ne*/ -{0xd1, 0x1c,}, /* H Po*/ -{0xcf, 0x25,}, /* M Ne*/ -{0xd2, 0x25,}, /* M Po*/ -{0xd0, 0x23,}, /* L Ne*/ -{0xd3, 0x23,}, /* L Po*/ -/* PAGE 14 START*/ -{0x03, 0x14,}, -{0x10, 0x31,}, -{0x14, 0x80,}, /* GX*/ -{0x15, 0x80,}, /* GY*/ -{0x16, 0x80,}, /* RX*/ -{0x17, 0x80,}, /* RY*/ -{0x18, 0x80,}, /* BX*/ -{0x19, 0x80,}, /* BY*/ -{0x20, 0x60,}, /* X Center*/ -{0x21, 0x80,}, /* Y Center*/ -{0x22, 0x80,}, -{0x23, 0x80,}, -{0x24, 0x80,}, -{0x30, 0xc8,}, -{0x31, 0x2b,}, -{0x32, 0x00,}, -{0x33, 0x00,}, -{0x34, 0x90,}, -{0x40, 0x60,}, /*R min's set 4e*/ -{0x41, 0x44,}, /*Gr*/ -{0x42, 0x3e,}, /*B*/ -{0x43, 0x44,}, /*Gb*/ -{0x03, 0x15,}, -{0x10, 0x21,}, -{0x14, 0x44,}, /*49*/ -{0x15, 0x34,}, /*38*/ -{0x16, 0x26,}, /*2b*/ -{0x17, 0x2f,}, -/*CMC*/ -{0x30, 0xdd,}, -{0x31, 0x62,}, -{0x32, 0x05,}, -{0x33, 0x26,}, -{0x34, 0xbd,}, -{0x35, 0x17,}, -{0x36, 0x18,}, -{0x37, 0x38,}, -{0x38, 0xd0,}, -{0x40, 0xb0,}, -{0x41, 0x30,}, -{0x42, 0x00,}, -{0x43, 0x00,}, -{0x44, 0x00,}, -{0x45, 0x00,}, -{0x46, 0x99,}, -{0x47, 0x19,}, -{0x48, 0x00,}, -{0x50, 0x16,}, -{0x51, 0xb2,}, -{0x52, 0x1c,}, -{0x53, 0x06,}, -{0x54, 0x20,}, -{0x55, 0xa6,}, -{0x56, 0x0e,}, -{0x57, 0xb2,}, -{0x58, 0x24,}, -{0x03, 0x16,}, -{0x10, 0x31,}, /*GMA_CTL*/ -{0x18, 0x7e,}, /*AG_ON*/ -{0x19, 0x7d,}, /*AG_OFF*/ -{0x1a, 0x0e,}, /*TIME_ON*/ -{0x1b, 0x01,}, /*TIME_OFF*/ -{0x1C, 0xdc,}, /*OUT_ON*/ -{0x1D, 0xfe,}, /*OUT_OFF*/ -{0x30, 0x00,}, -{0x31, 0x07,}, -{0x32, 0x1a,}, -{0x33, 0x37,}, -{0x34, 0x5c,}, -{0x35, 0x7d,}, -{0x36, 0x96,}, -{0x37, 0xa9,}, -{0x38, 0xb7,}, -{0x39, 0xc6,}, -{0x3a, 0xd2,}, -{0x3b, 0xdc,}, -{0x3c, 0xe4,}, -{0x3d, 0xeb,}, -{0x3e, 0xf1,}, -{0x3f, 0xf5,}, -{0x40, 0xf9,}, -{0x41, 0xfd,}, -{0x42, 0xff,}, -{0x50, 0x00,}, -{0x51, 0x03,}, -{0x52, 0x13,}, -{0x53, 0x2e,}, -{0x54, 0x59,}, -{0x55, 0x79,}, -{0x56, 0x90,}, -{0x57, 0xa3,}, -{0x58, 0xb4,}, -{0x59, 0xc2,}, -{0x5a, 0xcd,}, -{0x5b, 0xd7,}, -{0x5c, 0xe0,}, -{0x5d, 0xe5,}, -{0x5e, 0xe9,}, -{0x5f, 0xee,}, -{0x60, 0xf1,}, -{0x61, 0xf3,}, -{0x62, 0xf6,}, -{0x70, 0x07,}, -{0x71, 0x1a,}, -{0x72, 0x2d,}, -{0x73, 0x46,}, -{0x74, 0x6a,}, -{0x75, 0x86,}, -{0x76, 0x9c,}, -{0x77, 0xad,}, -{0x78, 0xbc,}, -{0x79, 0xc9,}, -{0x7a, 0xd4,}, -{0x7b, 0xde,}, -{0x7c, 0xe4,}, -{0x7d, 0xeb,}, -{0x7e, 0xf1,}, -{0x7f, 0xf5,}, -{0x80, 0xf9,}, -{0x81, 0xfd,}, -{0x82, 0xff,}, -{0x03, 0x24,}, /*Resol control */ -{0x60, 0xc5,}, /*edge even frame | 16bit resol | white edge cnt | scene resol enable*/ -{0x61, 0x04,}, /*even frame update */ -{0x64, 0x08,}, -{0x65, 0x00,}, -{0x66, 0x26,}, /*edge th2 H */ -{0x67, 0x00,}, /*edge th2 L */ -{0x03, 0x13,}, -{0x18, 0x31,}, /*flat center Gb/Gr*/ -{0x74, 0x02,}, /*det slope en | gausian filter*/ -{0x75, 0x0d,}, /*1D negative gain det 09 */ -{0x76, 0x0d,}, /*1D postive gain det 08*/ -{0x77, 0x10,}, /*1D hclp2 det*/ -{0x78, 0x08,}, /*outdoor flat threshold*/ -{0x79, 0x10,}, /*indoor flat threshold*/ -{0x81, 0xdf,}, /*det gain controler*/ -{0x86, 0x90,}, /*2D negative gain det */ -{0x87, 0x90,}, /*2D postive gain det */ -{0x96, 0x2a,}, /*2D hclp2 det*/ -{0x03, 0x12,}, /*0x12 page*/ -{0xd0, 0x88,}, -{0xd9, 0xe4,}, -{0x03, 0x18,}, -{0x14, 0x43,}, /*83*/ -/* PAGE 20 START*/ -{0x03, 0x20,}, -{0x11, 0x1c,}, -{0x18, 0x30,}, -{0x1a, 0x08,}, -{0x20, 0x45,},/*weight*/ -{0x21, 0x30,}, -{0x22, 0x10,}, -{0x23, 0x00,}, -{0x24, 0x00,}, -{0x28, 0xe7,}, /* add 20120223*/ -{0x29, 0x0d,}, /* 20100305 ad -> 0d*/ -{0x2a, 0xfd,}, -{0x2b, 0xf8,}, -{0x2c, 0x43,}, /* 20140618 c3 -> 43*/ -{0x2d, 0x5f,}, /* add 20120223*/ -{0x2e, 0x33,}, -{0x30, 0xf8,}, -{0x32, 0x03,}, -{0x33, 0x2e,}, -{0x34, 0x30,}, -{0x35, 0xd4,}, -{0x36, 0xfe,}, -{0x37, 0x32,}, -{0x38, 0x04,}, -{0x39, 0x22,}, -{0x3a, 0xde,}, -{0x3b, 0x22,}, -{0x3c, 0xde,}, -{0x3d, 0xe1,}, -{0x50, 0x45,}, -{0x51, 0x88,}, -{0x56, 0x19,}, -{0x57, 0x81,}, -{0x58, 0x0e,}, -{0x59, 0x6a,}, -{0x5a, 0x04,}, -{0x5e, 0x9d,}, /*AE_AWB_start*/ -{0x5f, 0x76,}, /*AE_AWB_start*/ -{0x70, 0x33,}, /* 6c*/ -{0x71, 0x82,}, /* 82(+8)*/ -{0x76, 0x21,}, -{0x77, 0x71,}, -{0x78, 0x22,}, /* 24*/ -{0x79, 0x23,}, /* Y Target 70 => 25, 72 => 26*/ -{0x7a, 0x23,}, /* 23*/ -{0x7b, 0x22,}, /* 22*/ -{0x7d, 0x23,}, -{0x83, 0x01,}, /*EXP Normal 30 fps */ -{0x84, 0x86,}, -{0x85, 0xa0,}, -{0x86, 0x01,}, /*EXPMin 7500.00 fps*/ -{0x87, 0x90,}, -{0x88, 0x01,}, /*EXP Max(120Hz) 30.00 fps */ -{0x89, 0x86,}, -{0x8a, 0xa0,}, -{0xa5, 0x01,}, /*EXP Max(100Hz) 25.xx fps */ -{0xa6, 0xd1,}, -{0xa7, 0xa0,}, -{0x91, 0x01,}, /*EXP Fix 24.00 fps*/ -{0x92, 0xe8,}, -{0x93, 0x48,}, -{0x8B, 0x75,}, /*EXP100 */ -{0x8C, 0x30,}, -{0x8D, 0x61,}, /*EXP120 */ -{0x8E, 0xa8,}, -{0x9c, 0x0b,}, /*EXP Limit 1000 fps */ -{0x9d, 0xb8,}, -{0x9e, 0x01,}, /*EXP Unit */ -{0x9f, 0x90,}, -{0x98, 0x9d,}, -{0xb0, 0x16,}, -{0xb1, 0x14,}, -{0xb2, 0xf8,}, -{0xb3, 0x14,}, -{0xb4, 0x1b,}, -{0xb5, 0x46,}, -{0xb6, 0x31,}, -{0xb7, 0x29,}, -{0xb8, 0x26,}, -{0xb9, 0x24,}, -{0xba, 0x22,}, -{0xbb, 0x42,}, -{0xbc, 0x41,}, -{0xbd, 0x40,}, -{0xc0, 0x10,}, -{0xc1, 0x38,}, -{0xc2, 0x38,}, -{0xc3, 0x38,}, -{0xc4, 0x07,}, -{0xc8, 0x80,}, -{0xc9, 0x80,}, -{0x10, 0x8c,}, /* ae enable*/ -/* PAGE 20 END*/ -/*AE_Weight*/ -{0x03, 0x21,}, -{0x20, 0x11,}, -{0x21, 0x11,}, -{0x22, 0x11,}, -{0x23, 0x11,}, -{0x24, 0x12,}, -{0x25, 0x22,}, -{0x26, 0x22,}, -{0x27, 0x21,}, -{0x28, 0x12,}, -{0x29, 0x22,}, -{0x2a, 0x22,}, -{0x2b, 0x21,}, -{0x2c, 0x12,}, -{0x2d, 0x23,}, -{0x2e, 0x32,}, -{0x2f, 0x21,}, -{0x30, 0x12,}, -{0x31, 0x23,}, -{0x32, 0x32,}, -{0x33, 0x21,}, -{0x34, 0x12,}, -{0x35, 0x22,}, -{0x36, 0x22,}, -{0x37, 0x21,}, -{0x38, 0x12,}, -{0x39, 0x22,}, -{0x3a, 0x22,}, -{0x3b, 0x21,}, -{0x3c, 0x11,}, -{0x3d, 0x11,}, -{0x3e, 0x11,}, -{0x3f, 0x11,}, -/* PAGE 22 START*/ -{0x03, 0x22,}, -{0x10, 0xfd,}, -{0x11, 0x2e,}, -{0x19, 0x01,}, /* Low On*/ -{0x20, 0x30,}, /* for wb speed*/ -{0x21, 0x40,}, -{0x24, 0x01,}, -{0x25, 0x7e,}, /* for tracking 20120314 */ -{0x30, 0x80,}, /* 20120224 test*/ -{0x31, 0x80,}, -{0x38, 0x11,}, -{0x39, 0x34,}, -{0x40, 0xe3,}, -{0x41, 0x43,}, /* 33*/ -{0x42, 0x22,}, /* 22*/ -{0x43, 0xf3,}, /* f6*/ -{0x44, 0x54,}, /* 44*/ -{0x45, 0x22,}, /* 33*/ -{0x46, 0x00,}, -{0x48, 0x0a,}, -{0x50, 0xb2,}, -{0x51, 0x81,}, -{0x52, 0x98,}, -{0x80, 0x38,}, -{0x81, 0x20,}, -{0x82, 0x38,}, /* 3a*/ -{0x83, 0x56,}, /* R Max*/ -{0x84, 0x20,}, /* R Min*/ -{0x85, 0x53,}, /* B Max*/ -{0x86, 0x20,}, /* B Min*/ -{0x87, 0x46,}, -{0x88, 0x36,}, -{0x89, 0x3a,}, -{0x8a, 0x2f,}, -{0x8b, 0x3d,}, -{0x8c, 0x37,}, -{0x8d, 0x35,}, -{0x8e, 0x32,}, -{0x8f, 0x5d,}, -{0x90, 0x5a,}, -{0x91, 0x56,}, -{0x92, 0x50,}, -{0x93, 0x48,}, -{0x94, 0x3f,}, -{0x95, 0x34,}, -{0x96, 0x2c,}, -{0x97, 0x23,}, -{0x98, 0x20,}, -{0x99, 0x1f,}, -{0x9a, 0x1f,}, -{0x9b, 0x77,}, -{0x9c, 0x77,}, -{0x9d, 0x48,}, -{0x9e, 0x38,}, -{0x9f, 0x30,}, -{0xa0, 0x40,}, -{0xa1, 0x21,}, -{0xa2, 0x6f,}, -{0xa3, 0xff,}, -{0xa4, 0x14,}, /* 1500fps*/ -{0xa5, 0x44,}, /* 700fps*/ -{0xa6, 0xcf,}, -{0xad, 0x40,}, -{0xae, 0x4a,}, -{0xaf, 0x2a,}, /* low temp Rgain*/ -{0xb0, 0x28,}, /* low temp Rgain*/ -{0xb1, 0x00,}, /* 0x20 -> 0x00 0405 modify*/ -{0xb4, 0xbf,}, /* for tracking 20120314*/ -{0xb8, 0xb1,}, /* a2: b-2, R+2 b4 B-3, R+4 lowtemp b0 a1 Spec AWB A modify*/ -{0xb9, 0x00,}, -/* PAGE 22 END*/ -/* PAGE 48 (MiPi 1600x1200)*/ -{0x03, 0x00,}, -/* PLL Setting */ -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x05,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, -{0x03, 0x48,}, -/* MIPI TX Setting */ -{0x10, 0x1c,}, -{0x11, 0x00,}, -{0x12, 0x00,}, -{0x14, 0x00,}, -{0x16, 0x04,}, -{0x17, 0x00,}, -{0x18, 0x80,}, -{0x19, 0x00,}, -{0x1a, 0xa0,}, -{0x1c, 0x02,}, -{0x1d, 0x0e,}, -{0x1e, 0x07,}, -{0x1f, 0x08,}, -{0x22, 0x00,}, -{0x23, 0x01,}, -{0x24, 0x1e,}, -{0x25, 0x00,}, -{0x26, 0x00,}, -{0x27, 0x08,}, -{0x28, 0x00,}, -{0x30, 0x05,}, -{0x31, 0x00,}, -{0x32, 0x07,}, -{0x33, 0x09,}, -{0x34, 0x01,}, -{0x35, 0x01,}, -{0x03, 0x00,}, -{0x01, 0x00,}, -{0xff, 0x28,}, /*400ms Delay*/ -}; - -static struct msm_camera_i2c_reg_conf sr130pc20_Preview_for_initial_50hz[] = { +static struct msm_camera_i2c_reg_conf sr130pc20_Preview[] = { {0x03, 0x00,}, {0x01, 0x01,},/*sleep*/ {0xd0, 0x05,},/*Pll Off*/ @@ -4010,1042 +3091,3 @@ static struct msm_camera_i2c_reg_conf sr130pc20_brightness_P4[] = { {0x03, 0x10,}, {0x40, 0x50,}, }; - -static struct msm_camera_i2c_reg_conf sr130pc20_Preview_for_initial_60hz[] = { -{0x03, 0x00,}, -{0x01, 0x01,},/*sleep*/ -{0xd0, 0x05,},/*Pll Off*/ -{0x03, 0x20,}, -{0x10, 0x0c,},/*AE off (0x0c:60Hz 0x1c:50Hz)*/ -{0x03, 0x22,}, -{0x10, 0x7d,},/*AWB off*/ -{0x03, 0x00,}, -{0x10, 0x11,}, -{0x03, 0x11,}, -{0x5b, 0x00,},/*don't touch*/ -{0x03, 0x12,}, -{0x20, 0x0f,}, -{0x21, 0x0f,}, -{0xd2, 0x17,}, -{0xd5, 0x0f,}, -{0xd7, 0xff,}, -{0x03, 0x13,}, -{0x10, 0xc4,}, -{0x80, 0xc0,}, -{0x03, 0x18,}, -{0x14, 0x43,}, /*83*/ -{0x03, 0x20,}, -{0x10, 0x8c,}, /*AE ON ({0x8c, 0x:6}0Hz {0x9c, 0x:5}0Hz)*/ -{0x03, 0x22,}, -{0x10, 0xfd,}, /*AWB ON*/ - -{0x03, 0x00,}, /*Page 0 PLL on*/ -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x05,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, - -{0x03, 0x48,}, -{0x10, 0x1c,}, -{0x11, 0x00,}, -{0x12, 0x00,}, -{0x14, 0x00,}, -{0x16, 0x04,}, -{0x17, 0x00,}, -{0x18, 0x80,}, -{0x19, 0x00,}, -{0x1a, 0xa0,}, - -{0x1c, 0x02,}, -{0x1d, 0x0e,}, -{0x1e, 0x07,}, -{0x1f, 0x08,}, -{0x22, 0x00,}, -{0x23, 0x01,}, -{0x24, 0x1e,}, -{0x25, 0x00,}, -{0x26, 0x00,}, -{0x27, 0x08,}, -{0x28, 0x00,}, - -{0x30, 0x05,}, -{0x31, 0x00,}, -{0x32, 0x07,}, -{0x33, 0x09,}, -{0x34, 0x01,}, -{0x35, 0x01,}, -{0x03, 0x00,}, -{0x01, 0x00,}, -{0xff, 0x28,}, -}; - -static struct msm_camera_i2c_reg_conf sr130pc20_Init_Reg_60hz[] = { -{0x03, 0x00,}, -{0x01, 0x01,}, /*sleep*/ -{0x01, 0x03,}, /*s/w reset*/ -{0x01, 0x01,}, /*sleep*/ - -{0x08, 0x00,},/*Don't touch*/ -{0x09, 0x37,},/*Don't touch*/ -{0x0a, 0x33,},/*Don't touch*/ - -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x01,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, - -{0x10, 0x11,}, -{0x11, 0x90,}, /*xy flip*/ -{0x12, 0x00,}, -{0x14, 0x88,}, - -{0x03, 0x00,}, -{0x20, 0x00,}, -{0x21, 0x04,}, -{0x22, 0x00,}, -{0x23, 0x04,}, -{0x24, 0x03,}, -{0x25, 0xC0,}, -{0x26, 0x05,}, -{0x27, 0x00,}, - -{0x40, 0x01,}, /*Hblank_280*/ -{0x41, 0x18,}, -{0x42, 0x00,}, /*Vblank 124*/ -{0x43, 0x7c,}, - -{0x03, 0x00,}, /*ESD */ -{0x0b, 0xaa,}, -{0x0c, 0xaa,}, -{0x0d, 0xaa,}, -{0x80, 0x08,}, /*Don't touch */ -{0x81, 0x97,}, /*Don't touch */ -{0x82, 0x90,}, /*Don't touch */ -{0x83, 0x30,}, /*Don't touch */ -{0x84, 0xcc,}, /*Don't touch*/ -{0x85, 0x00,}, /*Don't touch*/ -{0x86, 0xd4,}, /*Don' t touch*/ -{0x87, 0x0f,}, /*Don't touch*/ -{0x88, 0x34,}, /*Don't touch*/ -{0x90, 0x0f,}, /*BLC_TIME_TH_ON*/ -{0x91, 0x0f,}, /*BLC_TIME_TH_OFF */ -{0x92, 0xf0,}, /*BLC_AG_TH_ON*/ -{0x93, 0xe8,}, /*BLC_AG_TH_OFF*/ -{0x94, 0x95,}, /*091202*/ -{0x95, 0x90,}, /*091202 */ -{0x98, 0x38,}, /*Don't touch*/ - -{0xa0, 0x01,}, /* 20100309*/ -{0xa2, 0x01,}, /* 20100309*/ -{0xa4, 0x01,}, /* 20100309*/ -{0xa6, 0x01,}, /* 20100309*/ -{0xa8, 0x00,}, -{0xaa, 0x00,}, -{0xac, 0x00,}, -{0xae, 0x00,}, -{0x99, 0x00,}, -{0x9a, 0x00,}, -{0x9b, 0x00,}, -{0x9c, 0x00,}, - -{0x03, 0x02,}, -{0x12, 0x00,}, /*Don't touch*/ -{0x14, 0x00,}, /*Don't touch*/ -{0x15, 0x00,}, /*Don't touch*/ -{0x18, 0x4C,}, /*Don't touch*/ -{0x19, 0x00,}, /*Don't touch*/ -{0x1A, 0x39,}, /*Don't touch*/ -{0x1B, 0x00,},/*Don't touch*/ -{0x1C, 0x1a,}, /*Don't touch*/ -{0x1D, 0x14,}, /*Don't touch*/ -{0x1E, 0x30,},/*Don't touch*/ -{0x1F, 0x10,},/*Don't touch*/ - -{0x20, 0x77,}, -{0x21, 0xde,}, -{0x22, 0xa7,}, -{0x23, 0x30,}, -{0x24, 0x77,}, -{0x25, 0x10,}, -{0x26, 0x10,}, -{0x27, 0x3c,}, -{0x2b, 0x80,}, -{0x2c, 0x02,}, -{0x2d, 0xa0,}, -{0x2e, 0x00,}, -{0x2f, 0xa7,}, - -{0x30, 0x00,}, -{0x31, 0x99,}, -{0x32, 0x00,}, -{0x33, 0x00,}, -{0x34, 0x22,}, -{0x36, 0x01,}, -{0x37, 0x01,}, -{0x38, 0x88,}, -{0x39, 0x88,}, -{0x3d, 0x03,}, -{0x3e, 0x0d,}, -{0x3f, 0x02,}, - -{0x49, 0xd1,}, -{0x4a, 0x14,}, - -{0x50, 0x21,}, -{0x52, 0x01,}, -{0x53, 0x81,}, -{0x54, 0x10,}, -{0x55, 0x1c,}, -{0x56, 0x11,}, -{0x58, 0x18,}, -{0x59, 0x16,}, -{0x5d, 0xa2,}, -{0x5e, 0x5a,}, - -{0x60, 0x93,}, /* 20120517 modify*/ -{0x61, 0xa4,}, /* 20120517 modify*/ -{0x62, 0x94,}, /* 20120517 modify*/ -{0x63, 0xa3,}, /* 20120517 modify*/ -{0x64, 0x94,}, /* 20120517 modify*/ -{0x65, 0xa3,}, /* 20120517 modify*/ -{0x67, 0x0c,}, -{0x68, 0x0c,}, -{0x69, 0x0c,}, -{0x6a, 0xb4,}, -{0x6b, 0xc4,}, -{0x6c, 0xb5,}, -{0x6d, 0xc2,}, -{0x6e, 0xb5,}, -{0x6f, 0xc0,}, - -{0x70, 0xb6,}, -{0x71, 0xb8,}, -{0x72, 0x95,}, /* 20120517 modify*/ -{0x73, 0xa2,}, /* 20120517 modify*/ -{0x74, 0x95,}, /* 20120517 modify*/ -{0x75, 0xa2,}, /* 20120517 modify*/ -{0x76, 0x95,}, /* 20120517 modify*/ -{0x77, 0xa2,}, /* 20120517 modify*/ -{0x7C, 0x92,}, /* 20120517 modify*/ -{0x7D, 0xff,}, /* 20120517 modify*/ - -{0x80, 0x01,}, /* 20120517 modify*/ -{0x81, 0x8a,}, /* 20120517 modify*/ -{0x82, 0x1e,}, /* 20120517 modify*/ -{0x83, 0x36,}, /* 20120517 modify*/ -{0x84, 0x89,}, /* 20120517 modify*/ -{0x85, 0x8b,}, /* 20120517 modify*/ -{0x86, 0x89,}, /* 20120517 modify*/ -{0x87, 0x8b,}, /* 20120517 modify*/ -{0x88, 0xab,}, -{0x89, 0xbc,}, -{0x8a, 0xac,}, -{0x8b, 0xba,}, -{0x8c, 0xad,}, -{0x8d, 0xb8,}, -{0x8e, 0xae,}, -{0x8f, 0xb2,}, - -{0x90, 0xb3,}, -{0x91, 0xb7,}, -{0x92, 0x52,}, /* 20120517 modify*/ -{0x93, 0x6a,}, /* 20120517 modify*/ -{0x94, 0x89,}, /* 20120517 modify*/ -{0x95, 0x8b,}, /* 20120517 modify*/ -{0x96, 0x89,}, /* 20120517 modify*/ -{0x97, 0x8b,}, /* 20120517 modify*/ - -{0xA0, 0x02,}, -{0xA1, 0x86,}, /* 20120517 modify*/ -{0xA2, 0x02,}, -{0xA3, 0x86,}, /* 20120517 modify*/ -{0xA4, 0x86,}, /* 20120517 modify*/ -{0xA5, 0x02,}, -{0xA6, 0x86,}, /* 20120517 modify*/ -{0xA7, 0x02,}, -{0xA8, 0x92,}, /* 20120517 modify*/ -{0xA9, 0x94,}, /* 20120517 modify*/ -{0xAA, 0x92,}, /* 20120517 modify*/ -{0xAB, 0x94,}, /* 20120517 modify*/ -{0xAC, 0x1c,}, -{0xAD, 0x22,}, -{0xAE, 0x1c,}, -{0xAF, 0x22,}, -{0xB0, 0xa4,}, /* 20120517 modify*/ -{0xB1, 0xae,}, /* 20120517 modify*/ -{0xB2, 0xa4,}, /* 20120517 modify*/ -{0xB3, 0xae,}, /* 20120517 modify*/ -{0xB4, 0xa6,}, /* 20120517 modify*/ -{0xB5, 0xac,}, /* 20120517 modify*/ -{0xB6, 0xa6,}, /* 20120517 modify*/ -{0xB7, 0xac,}, /* 20120517 modify*/ -{0xB8, 0xa6,}, /* 20120517 modify*/ -{0xB9, 0xab,}, /* 20120517 modify*/ -{0xBA, 0xa6,}, /* 20120517 modify*/ -{0xBB, 0xab,}, /* 20120517 modify*/ -{0xBC, 0xa6,}, /* 20120517 modify*/ -{0xBD, 0xab,}, /* 20120517 modify*/ -{0xBE, 0xa6,}, /* 20120517 modify*/ -{0xBF, 0xab,}, /* 20120517 modify*/ -{0xc4, 0x37,}, -{0xc5, 0x52,}, -{0xc6, 0x6b,}, -{0xc7, 0x86,}, -{0xc8, 0x38,}, /* 20120517 modify*/ -{0xc9, 0x50,}, /* 20120517 modify*/ -{0xca, 0x38,}, /* 20120517 modify*/ -{0xcb, 0x50,}, /* 20120517 modify*/ -{0xcc, 0x6c,}, /* 20120517 modify*/ -{0xcd, 0x84,}, /* 20120517 modify*/ -{0xce, 0x6c,}, /* 20120517 modify*/ -{0xcf, 0x84,}, /* 20120517 modify*/ -{0xdc, 0x00,}, /* Added*/ -{0xdd, 0xaf,}, /* Added*/ -{0xde, 0x00,}, /* Added*/ -{0xdf, 0x90,}, /* Added*/ -{0xd0, 0x10,}, -{0xd1, 0x14,}, -{0xd2, 0x20,}, -{0xd3, 0x00,}, -{0xd4, 0x0f,}, /*DCDC_TIME_TH_ON*/ -{0xd5, 0x0f,}, /*DCDC_TIME_TH_OFF */ -{0xd6, 0xf0,}, /*DCDC_AG_TH_ON*/ -{0xd7, 0xe8,}, /*DCDC_AG_TH_OFF*/ -{0xea, 0x8a,}, -{0xF0, 0x01,}, /* clock inversion*/ -{0xF1, 0x01,}, -{0xF2, 0x01,}, -{0xF3, 0x01,}, -{0xF4, 0x01,}, -{0xF5, 0x00,}, - -{0x03, 0x10,}, /*page 10*/ -{0x10, 0x01,}, /*Ycbcr422_bit Order: YUYV*/ -{0x11, 0x03,}, -{0x12, 0x30,}, /*y offset[4], dif_offset[5]*/ -{0x13, 0x02,}, -{0x34, 0x00,}, /*hidden 10->00 100209*/ -{0x37, 0x01,}, /*yc2d power save */ -{0x3f, 0x04,}, /*100825*/ -{0x40, 0x80,}, /*Y offset */ -{0x48, 0x80,}, -{0x53, 0x00,}, /*dif_offset option */ -{0x55, 0x30,}, /*dif_offset option diff_offset max */ - -{0x60, 0x4f,}, /*out color sat en[7] | auto color decrement en[1] / - | manual color sat en[0]*/ - - -{0x61, 0x83,}, /*blue saturation_C0*/ -{0x62, 0x80,}, /*red saturation_B0*/ -{0x63, 0xff,}, /*auto decresment on AG th*/ -{0x64, 0xc0,}, /*auto decresment on DG th*/ -{0x66, 0xe4,}, /*Outdoor saturation step 137fps apply out th */ -{0x67, 0x13,}, /*Outdoor saturation B/R*/ -{0x76, 0x01,}, /* ADD 20121031 */ -{0x79, 0x04,}, /* ADD 20121031 */ - -{0x03, 0x10,}, -{0x80, 0x00,}, /* dsshin --> color enhance*/ -{0xf5, 0x00,}, /* dsshin --> h blank option*/ -{0x03, 0x11,}, /*page 11 D_LPF */ -{0x10, 0x3f,}, /*B[6]:Blue En Dlpf on[4:0] Sky over off : {0x7f, 0x->}3f*/ -{0x11, 0x20,}, /* Uniform Full GbGr/OV-Nr*/ -{0x12, 0x80,}, /*Blue MaxOpt blue sky max filter optoin rate : 0 {0xc0, 0x->}80*/ -{0x13, 0xb8,}, /*dark2[7] | ratio[6:4] | dark3[3] | dark3 maxfilter ratio[2:0] */ -{0x30, 0xba,}, /*Outdoor2 H th*/ -{0x31, 0x10,}, /*Outdoor2 L th*/ -{0x32, 0x50,}, /*Outdoor2 gain ratio*/ -{0x33, 0x1d,}, /*Outdoor2 H lum*/ -{0x34, 0x20,}, /*Outdoor2 M lum*/ -{0x35, 0x1f,}, /*Outdoor2 L lum*/ -{0x36, 0xb0,}, /*Outdoor1 H th*/ -{0x37, 0x18,}, /*Outdoor1 L th*/ -{0x38, 0x50,}, -{0x39, 0x1d,}, -{0x3a, 0x20,}, -{0x3b, 0x1f,}, -{0x3c, 0x3f,}, -{0x3d, 0x16,}, /*indoor L th*/ -{0x3e, 0x30,}, /*indoor gain ratio {0x44, 0x }6a */ -{0x3f, 0x1a,}, /*indoor H lum {0x12, 0x }18 */ -{0x40, 0x60,}, /*indoor M lum {0x18, 0x }1c*/ -{0x41, 0x1a,}, /*indoor L lum {0x18, 0x }3e*/ -{0x42, 0x98,}, /*dark1 H th*/ -{0x43, 0x28,}, /*dark1 L th*/ -{0x44, 0x65,}, /*dark1 gain ratio*/ -{0x45, 0x16,}, /*dark1 H lum 0x38, 0x->0x28, 0x */ -{0x46, 0x30,}, /*dark1 M lum 0x27, 0x->0x17, 0x*/ -{0x47, 0x34,}, /*dark1 L lum 0x20, 0x->0x1a, 0x */ -{0x48, 0x90,}, /*dark2 H th*/ -{0x49, 0x2a,}, /*dark2 L th*/ -{0x4a, 0x65,}, /*dark2 gain ratio*/ -{0x4b, 0x18,}, /*dark2 H lum */ -{0x4c, 0x31,}, /*dark2 M lum*/ -{0x4d, 0x36,}, /*dark2 L lum */ -{0x4e, 0x80,}, /*dark3 H th*/ -{0x4f, 0x30,}, /*dark3 L th*/ -{0x50, 0x65,}, /*dark3 gain ratio*/ -{0x51, 0x19,}, /*dark3 H lum */ -{0x52, 0x31,}, /*dark3 M lum */ -{0x53, 0x36,}, /*dark3 L lum */ -{0x5a, 0x3f,}, /*blue sky mode out1/2 enable {0x27, 0x->}3f */ -{0x5b, 0x00,}, -{0x5c, 0x9f,}, -{0x60, 0x3f,}, /*GbGr all enable*/ -{0x62, 0x0f,}, /*GbGr offset*/ -{0x65, 0x0c,}, /*Outdoor GbGr rate H 100% M 25% L 100%*/ -{0x66, 0x0c,}, /*Indoor GbGr rate H 100% M 25% L 100%*/ -{0x67, 0x00,}, /*dark GbGr rate H/M/L 100%*/ -{0x70, 0x0c,}, /* Abberation On/Off B[1]: Outdoor B[0]: Indoor 07>>c*/ -{0x75, 0xa0,}, /* Outdoor2 Abberation Luminance lvl */ -{0x7d, 0xb4,}, /* Indoor Abberation Luminance lvl*/ - -{0x96, 0x08,}, /*indoor/Dark1 edgeoffset1*/ -{0x97, 0x14,}, /*indoor/Dark1 center G value*/ -{0x98, 0xf5,}, /*slope indoor :: left/right graph polarity, slope*/ -{0x99, 0x2a,}, /*indoor uncertain ratio control*/ -{0x9a, 0x20,}, /*Edgeoffset_dark*/ - - -{0x03, 0x12,}, /*Preview DPC */ -{0x20, 0x0f,}, -{0x21, 0x0f,}, -{0x25, 0x00,}, -{0x2a, 0x01,}, -{0x2e, 0x00,}, /*2010.8.25*/ - -{0x30, 0x35,}, /*Texture region(most detail)*/ -{0x31, 0xa0,}, /*STD uniform1 most blur region*/ -{0x32, 0xb0,}, /*STD uniform2 2nd blur*/ -{0x33, 0xc0,}, /*STD uniform3 3rd blur*/ -{0x34, 0xd0,}, /*STD normal noise1 4th blur */ -{0x35, 0xe0,}, /*STD normal noise2 5th blur*/ -{0x36, 0xff,}, /*STD normal noise3 6th blur*/ - -{0x40, 0x83,}, /*Outdoor2 H th*/ -{0x41, 0x20,}, /*Outdoor2 L th */ -{0x42, 0x08,}, /*Outdoor2 H luminance */ -{0x43, 0x10,}, /*Outdoor2 M luminance */ -{0x44, 0x10,}, /*Outdoor2 l luminance */ -{0x45, 0x50,}, /*Outdoor2 ratio*/ -{0x46, 0x83,}, /*Outdoor1 H th*/ -{0x47, 0x20,}, /*Outdoor1 L th */ -{0x48, 0x08,}, /*Outdoor1 H luminance*/ -{0x49, 0x10,}, /*Outdoor1 M luminance*/ -{0x4a, 0x10,}, /*Outdoor1 L luminance*/ -{0x4b, 0x50,}, /*Outdoor1 ratio*/ -{0x4c, 0x80,}, /*Indoor H th*/ -{0x4d, 0x48,}, /*Indoor L th*/ -{0x4e, 0x30,}, /*indoor H lum*/ -{0x4f, 0x30,}, /*indoor M lum*/ -{0x50, 0x12,}, /*indoor L lum */ -{0x51, 0x70,}, /*indoor ratio {0x10, 0x -}> {0x45, 0x}*/ -{0x52, 0xa8,}, /*dark1 H th*/ -{0x53, 0x30,}, /*dark1 L th */ -{0x54, 0x28,}, /*dark1 H lum */ -{0x55, 0x3e,}, /*dark1 M lum*/ -{0x56, 0x67,}, /*dark1 L lum*/ -{0x57, 0x6a,}, /*dark1 ratio*/ - -{0x58, 0xa0,}, /*dark2 H th*/ -{0x59, 0x40,}, /*dark2 L th*/ -{0x5a, 0x28,}, /*dark2 H lum*/ -{0x5b, 0x3f,}, /*dark2 M lum*/ -{0x5c, 0x68,}, /*dark2 L lum*/ -{0x5d, 0x70,}, /*dark2 ratio*/ -{0x5e, 0xa0,}, /*dark3 H th*/ -{0x5f, 0x40,}, /*dark3 L th*/ -{0x60, 0x29,}, /*dark3 H lum*/ -{0x61, 0x3f,}, /*dark3 M lum*/ -{0x62, 0x69,}, /*dark3 L lum*/ -{0x63, 0x6a,}, /*dark3 ratio*/ -{0x70, 0x10,}, -{0x71, 0x0a,}, -{0x72, 0x10,}, -{0x73, 0x0a,}, -{0x74, 0x18,}, -{0x75, 0x12,}, -{0x80, 0x20,}, -{0x81, 0x40,}, -{0x82, 0x65,}, -{0x85, 0x1a,}, -{0x88, 0x00,}, -{0x89, 0x00,}, -{0x90, 0x5d,}, -{0xad, 0x07,}, /*10825*/ -{0xae, 0x07,}, /*10825*/ -{0xaf, 0x07,}, /*10825*/ -{0xc5, 0x58,}, /*BlueRange 2010.8.25 {0x40, 0x->}23 */ -{0xc6, 0x20,}, /*GreenRange 2010.8.25 {0x3b, 0x->}20 */ -{0xd0, 0x88,}, /*2010.8.25*/ -{0xd1, 0x80,}, -{0xd2, 0x17,},/*preview 17, full 67*/ -{0xd3, 0x00,}, -{0xd4, 0x00,}, -{0xd5, 0x0f,},/*preview 0f, full 02*/ -{0xd6, 0xff,}, -{0xd7, 0xff,},/*preview ff, full 18*/ -{0xd8, 0x00,}, -{0xd9, 0x04,}, -{0xdb, 0x38,}, -{0xd9, 0x04,}, /*strong_edge detect ratio*/ -{0xe0, 0x01,}, /*strong_edge detect ratio*/ - -{0x03, 0x13,}, /*page 13 sharpness 1D*/ -{0x10, 0xc5,}, -{0x11, 0x7b,}, -{0x12, 0x0e,}, -{0x14, 0x00,}, -{0x15, 0x11,}, /*added option 1.3M*/ -{0x18, 0x30,}, /*added option 1.3M*/ -{0x20, 0x15,}, -{0x21, 0x13,}, -{0x22, 0x33,}, -{0x23, 0x08,}, /*hi_clip th1*/ -{0x24, 0x1a,}, /*hi_clip th2*/ -{0x25, 0x06,}, /*low clip th*/ -{0x26, 0x18,}, -{0x27, 0x30,}, -{0x29, 0x10,}, /*time th*/ -{0x2a, 0x30,}, /*pga th*/ - -{0x2b, 0x03,}, /*lpf out2*/ -{0x2c, 0x03,}, /*lpf out1*/ -{0x2d, 0x0c,}, -{0x2e, 0x12,}, -{0x2f, 0x12,}, - -{0x50, 0x0a,}, /*out2 hi nega*/ -{0x53, 0x07,}, /* hi pos*/ -{0x51, 0x0c,}, /* mi nega*/ -{0x54, 0x07,}, /* mi pos*/ -{0x52, 0x0b,}, /* lo nega*/ -{0x55, 0x08,}, /* lo pos*/ - -{0x56, 0x0a,}, /*out1 hi nega*/ -{0x59, 0x07,}, /* hi pos */ -{0x57, 0x0c,}, /* mi nega*/ -{0x5a, 0x07,}, /* mi pos */ -{0x58, 0x0b,}, /* lo nega*/ -{0x5b, 0x08,}, /* lo pos */ - -{0x5c, 0x08,}, /*indoor hi nega*/ -{0x5f, 0x07,}, /* hi pos*/ -{0x5d, 0x14,}, -{0x60, 0x12,}, -{0x5e, 0x0a,}, -{0x61, 0x08,}, /* low pos*/ -{0x62, 0x08,}, /*dark1 hi nega*/ -{0x65, 0x06,}, /* hi pos */ -{0x63, 0x08,}, /* mid nega */ -{0x66, 0x06,}, /* mid pos */ -{0x64, 0x08,}, /* low nega */ -{0x67, 0x06,}, /* low pos */ -{0x68, 0x07,}, /*dark2 hi nega*/ -{0x6b, 0x05,}, /* hi pos */ -{0x69, 0x07,}, /* mid nega */ -{0x6c, 0x05,}, /* mid pos */ -{0x6a, 0x07,}, /* low nega */ -{0x6d, 0x05,}, /* low pos */ - -{0x6e, 0x0a,}, /*dark3 hi nega*/ -{0x71, 0x09,}, /* hi pos */ -{0x6f, 0x0a,}, /* mid nega */ -{0x72, 0x09,}, /* mid pos */ -{0x70, 0x0a,}, /* low nega */ -{0x73, 0x09,}, /* low pos */ -{0x80, 0xc1,}, -{0x81, 0x1f,}, -{0x82, 0xe1,}, -{0x83, 0x33,}, -{0x90, 0x05,}, -{0x91, 0x05,}, -{0x92, 0x33,}, -{0x93, 0x30,}, -{0x94, 0x03,}, -{0x95, 0x14,}, -{0x97, 0x30,}, -{0x99, 0x30,}, -{0xa0, 0x02,}, /*2d lclp out2 nega*/ -{0xa1, 0x03,}, /*2d lclp out2 pos*/ -{0xa2, 0x02,}, /*2d lclp out1 nega*/ -{0xa3, 0x03,}, /*2d lclp out1 pos*/ -{0xa4, 0x03,}, /*2d lclp in nega*/ -{0xa5, 0x04,}, /*2d lclp in pos*/ -{0xa6, 0x07,}, /*2d lclp dark1 nega*/ -{0xa7, 0x08,}, /*2d lclp dark1 pos*/ -{0xa8, 0x07,}, /*2d lclp dark2 nega*/ -{0xa9, 0x08,}, /*2d lclp dark2 pos*/ -{0xaa, 0x07,}, /*2d lclp dark3 nega*/ -{0xab, 0x08,}, /*2d lclp dark3 pos*/ -{0xb0, 0x10,}, /*out2 H Ne*/ -{0xb3, 0x10,}, /* H Po*/ -{0xb1, 0x1e,}, /* M Ne*/ -{0xb4, 0x1e,}, /* M Po*/ -{0xb2, 0x1f,}, /* L Ne*/ -{0xb5, 0x1e,}, /* L Po*/ -{0xb6, 0x10,}, /*out1 H Ne */ -{0xb9, 0x10,}, /* H Po */ -{0xb7, 0x1e,}, /* M Ne */ -{0xba, 0x1e,}, /* M Po */ -{0xb8, 0x1f,}, /* L Ne */ -{0xbb, 0x1e,}, /* L Po */ -{0xbc, 0x20,}, /*indoor H Ne*/ -{0xbf, 0x1e,}, /* H Po*/ -{0xbd, 0x25,}, /* M Ne*/ -{0xc0, 0x23,}, /* M Po*/ -{0xbe, 0x24,}, /* L Ne*/ -{0xc1, 0x22,}, /* L Po*/ - -{0xc2, 0x23,}, /*dark1 H Ne*/ -{0xc5, 0x23,}, /* H Po*/ -{0xc3, 0x29,}, /* M Ne*/ -{0xc6, 0x29,}, /* M Po*/ -{0xc4, 0x25,}, /* L Ne*/ -{0xc7, 0x25,}, /* L Po*/ -{0xc8, 0x1c,}, /*dark2 H Ne*/ -{0xcb, 0x1c,}, /* H Po*/ -{0xc9, 0x25,}, /* M Ne*/ -{0xcc, 0x25,}, /* M Po*/ -{0xca, 0x23,}, /* L Ne*/ -{0xcd, 0x23,}, /* L Po*/ -{0xce, 0x1c,}, /*dark3 H Ne*/ -{0xd1, 0x1c,}, /* H Po*/ -{0xcf, 0x25,}, /* M Ne*/ -{0xd2, 0x25,}, /* M Po*/ -{0xd0, 0x23,}, /* L Ne*/ -{0xd3, 0x23,}, /* L Po*/ -{0x03, 0x14,}, -{0x10, 0x31,}, - -{0x14, 0x80,}, /* GX*/ -{0x15, 0x80,}, /* GY*/ -{0x16, 0x80,}, /* RX*/ -{0x17, 0x80,}, /* RY*/ -{0x18, 0x80,}, /* BX*/ -{0x19, 0x80,}, /* BY*/ -{0x20, 0x60,}, /* X Center*/ -{0x21, 0x80,}, /* Y Center*/ -{0x22, 0x80,}, -{0x23, 0x80,}, -{0x24, 0x80,}, -{0x30, 0xc8,}, -{0x31, 0x2b,}, -{0x32, 0x00,}, -{0x33, 0x00,}, -{0x34, 0x90,}, - -{0x40, 0x60,}, /*R min's set 4e*/ -{0x41, 0x44,}, /*Gr*/ -{0x42, 0x3e,}, /*B*/ -{0x43, 0x44,}, /*Gb*/ -{0x03, 0x15,}, -{0x10, 0x21,}, -{0x14, 0x44,}, /*49*/ -{0x15, 0x34,}, /*38*/ -{0x16, 0x26,}, /*2b*/ -{0x17, 0x2f,}, -{0x30, 0xdd,}, -{0x31, 0x62,}, -{0x32, 0x05,}, -{0x33, 0x26,}, -{0x34, 0xbd,}, -{0x35, 0x17,}, -{0x36, 0x18,}, -{0x37, 0x38,}, -{0x38, 0xd0,}, - -{0x40, 0xb0,}, -{0x41, 0x30,}, -{0x42, 0x00,}, -{0x43, 0x00,}, -{0x44, 0x00,}, -{0x45, 0x00,}, -{0x46, 0x99,}, -{0x47, 0x19,}, -{0x48, 0x00,}, -{0x50, 0x16,}, -{0x51, 0xb2,}, -{0x52, 0x1c,}, -{0x53, 0x06,}, -{0x54, 0x20,}, -{0x55, 0xa6,}, -{0x56, 0x0e,}, -{0x57, 0xb2,}, -{0x58, 0x24,}, -{0x03, 0x16,}, -{0x10, 0x31,}, /*GMA_CTL*/ -{0x18, 0x7e,}, /*AG_ON*/ -{0x19, 0x7d,}, /*AG_OFF*/ -{0x1a, 0x0e,}, /*TIME_ON*/ -{0x1b, 0x01,}, /*TIME_OFF*/ -{0x1C, 0xdc,}, /*OUT_ON*/ -{0x1D, 0xfe,}, /*OUT_OFF*/ - -/*GMA Indoor*/ -{0x30, 0x00,}, -{0x31, 0x07,}, -{0x32, 0x1a,}, -{0x33, 0x37,}, -{0x34, 0x5c,}, -{0x35, 0x7d,}, -{0x36, 0x96,}, -{0x37, 0xa9,}, -{0x38, 0xb7,}, -{0x39, 0xc6,}, -{0x3a, 0xd2,}, -{0x3b, 0xdc,}, -{0x3c, 0xe4,}, -{0x3d, 0xeb,}, -{0x3e, 0xf1,}, -{0x3f, 0xf5,}, -{0x40, 0xf9,}, -{0x41, 0xfd,}, -{0x42, 0xff,}, - -/*RGMA Outdoor*/ -{0x50, 0x00,}, -{0x51, 0x03,}, -{0x52, 0x13,}, -{0x53, 0x2e,}, -{0x54, 0x59,}, -{0x55, 0x79,}, -{0x56, 0x90,}, -{0x57, 0xa3,}, -{0x58, 0xb4,}, -{0x59, 0xc2,}, -{0x5a, 0xcd,}, -{0x5b, 0xd7,}, -{0x5c, 0xe0,}, -{0x5d, 0xe5,}, -{0x5e, 0xe9,}, -{0x5f, 0xee,}, -{0x60, 0xf1,}, -{0x61, 0xf3,}, -{0x62, 0xf6,}, - -/*BGMA Dark*/ -{0x70, 0x03,}, -{0x71, 0x11,}, -{0x72, 0x1f,}, -{0x73, 0x37,}, -{0x74, 0x52,}, -{0x75, 0x6c,}, -{0x76, 0x85,}, -{0x77, 0x9a,}, -{0x78, 0xad,}, -{0x79, 0xbd,}, -{0x7a, 0xcb,}, -{0x7b, 0xd6,}, -{0x7c, 0xe0,}, -{0x7d, 0xe8,}, -{0x7e, 0xef,}, -{0x7f, 0xf4,}, -{0x80, 0xf8,}, -{0x81, 0xfb,}, -{0x82, 0xfe,}, - -{0x03, 0x24,}, /*Resol control */ -{0x60, 0xc5,}, /*edge even frame | 16bit resol | white edge cnt | scene resol enable*/ -{0x61, 0x04,}, /*even frame update */ -{0x64, 0x08,}, -{0x65, 0x00,}, -{0x66, 0x26,}, /*edge th2 H */ -{0x67, 0x00,}, /*edge th2 L */ - -{0x03, 0x13,}, -{0x18, 0x31,}, /*flat center Gb/Gr*/ -{0x74, 0x02,}, /*det slope en | gausian filter*/ -{0x75, 0x0d,}, /*1D negative gain det 09 */ -{0x76, 0x0d,}, /*1D postive gain det 08*/ -{0x77, 0x10,}, /*1D hclp2 det*/ -{0x78, 0x08,}, /*outdoor flat threshold*/ -{0x79, 0x10,}, /*indoor flat threshold*/ - -{0x81, 0xdf,}, /*det gain controler*/ -{0x86, 0x90,}, /*2D negative gain det */ -{0x87, 0x90,}, /*2D postive gain det */ -{0x96, 0x2a,}, /*2D hclp2 det*/ - -{0x03, 0x12,}, /*{0x12, 0x p}age*/ -{0xd0, 0x88,}, -{0xd9, 0xe4,}, - -/* PAGE 18 START*/ -{0x03, 0x18,}, -{0x14, 0x43,}, /*83*/ - -/* PAGE 20 START*/ -{0x03, 0x20,}, -{0x11, 0x1c,}, -{0x18, 0x30,}, -{0x1a, 0x08,}, -{0x20, 0x45,},/*weight*/ -{0x21, 0x30,}, -{0x22, 0x10,}, -{0x23, 0x00,}, -{0x24, 0x00,}, -{0x28, 0xe7,}, /* add 20120223*/ -{0x29, 0x0d,}, /* 20100305 ad -> 0d*/ -{0x2a, 0xfd,}, -{0x2b, 0xf8,}, -{0x2c, 0x43,}, /* 20140618 c3 -> 43*/ -{0x2d, 0x5f,}, /* add 20120223*/ -{0x2e, 0x33,}, -{0x30, 0xf8,}, -{0x32, 0x03,}, -{0x33, 0x2e,}, -{0x34, 0x30,}, -{0x35, 0xd4,}, -{0x36, 0xff,}, /*fe*/ -{0x37, 0x32,}, -{0x38, 0x04,}, -{0x39, 0x22,}, -{0x3a, 0xde,}, -{0x3b, 0x22,}, -{0x3c, 0xde,}, -{0x3d, 0xe1,}, - -{0x50, 0x45,}, -{0x51, 0x88,}, -{0x56, 0x19,}, -{0x57, 0x81,}, -{0x58, 0x0e,}, -{0x59, 0x6a,}, -{0x5a, 0x04,}, -{0x5e, 0x9d,}, /*AE_AWB_start*/ -{0x5f, 0x76,}, /*AE_AWB_start*/ - -{0x70, 0x33,}, /* 6c*/ -{0x71, 0x82,}, /* 82(+8)*/ - -{0x76, 0x21,}, -{0x77, 0x71,}, -{0x78, 0x22,}, /* 24*/ -{0x79, 0x23,}, /* Y Target 70 => 25, 72 => 26*/ -{0x7a, 0x23,}, /* 23*/ -{0x7b, 0x22,}, /* 22*/ -{0x7d, 0x23,}, - -{0x83, 0x01,}, //EXP Normal 30.00 fps -{0x84, 0x86,}, -{0x85, 0xa0,}, -{0x86, 0x01,}, //EXPMin 7500.00 fps -{0x87, 0x90,}, -{0x88, 0x05,}, //EXP Max(120Hz) 8.00 fps -{0x89, 0xb8,}, -{0x8a, 0xd8,}, -{0xa5, 0x05,}, //EXP Max(100Hz) 8.33 fps -{0xa6, 0x7e,}, -{0xa7, 0x40,}, -{0x8B, 0x75,}, /*EXP100 */ -{0x8C, 0x30,}, -{0x8D, 0x61,}, /*EXP120 */ -{0x8E, 0xa8,}, -{0x9c, 0x09,}, /*EXP Limit 1250.00 fps */ -{0x9d, 0x60,}, -{0x9e, 0x01,}, /*EXP Unit */ -{0x9f, 0x90,}, -{0x98, 0x9d,}, - -{0xb0, 0x16,}, -{0xb1, 0x14,}, -{0xb2, 0xf8,}, -{0xb3, 0x14,}, -{0xb4, 0x1b,}, -{0xb5, 0x46,}, -{0xb6, 0x31,}, -{0xb7, 0x29,}, -{0xb8, 0x26,}, -{0xb9, 0x24,}, -{0xba, 0x22,}, -{0xbb, 0x42,}, -{0xbc, 0x41,}, -{0xbd, 0x40,}, -{0xc0, 0x10,}, -{0xc1, 0x38,}, -{0xc2, 0x38,}, -{0xc3, 0x38,}, -{0xc4, 0x07,}, -{0xc8, 0x80,}, -{0xc9, 0x80,}, -{0x10, 0x8c,}, /* ae enable*/ - - -/*AE_Weight*/ -{0x03, 0x21,}, -{0x20, 0x11,}, -{0x21, 0x11,}, -{0x22, 0x11,}, -{0x23, 0x11,}, -{0x24, 0x12,}, -{0x25, 0x22,}, -{0x26, 0x22,}, -{0x27, 0x21,}, -{0x28, 0x12,}, -{0x29, 0x22,}, -{0x2a, 0x22,}, -{0x2b, 0x21,}, -{0x2c, 0x12,}, -{0x2d, 0x23,}, -{0x2e, 0x32,}, -{0x2f, 0x21,}, -{0x30, 0x12,}, -{0x31, 0x23,}, -{0x32, 0x32,}, -{0x33, 0x21,}, -{0x34, 0x12,}, -{0x35, 0x22,}, -{0x36, 0x22,}, -{0x37, 0x21,}, -{0x38, 0x12,}, -{0x39, 0x22,}, -{0x3a, 0x22,}, -{0x3b, 0x21,}, -{0x3c, 0x11,}, -{0x3d, 0x11,}, -{0x3e, 0x11,}, -{0x3f, 0x11,}, - -/* PAGE 22 START*/ -{0x03, 0x22,}, -{0x10, 0xfd,}, -{0x11, 0x2e,}, -{0x19, 0x01,}, /* Low On*/ -{0x20, 0x30,}, /* for wb speed*/ -{0x21, 0x40,}, -{0x24, 0x01,}, -{0x25, 0x7e,}, /* for tracking 20120314 */ - -{0x30, 0x80,}, /* 20120224 test*/ -{0x31, 0x80,}, -{0x38, 0x11,}, -{0x39, 0x34,}, - -{0x40, 0xe8,}, -{0x41, 0x43,}, /* 33*/ -{0x42, 0x22,}, /* 22*/ - -{0x43, 0xf3,}, /* f6*/ -{0x44, 0x54,}, /* 44*/ -{0x45, 0x22,}, /* 33*/ - -{0x46, 0x00,}, -{0x48, 0x0a,}, -{0x50, 0xb2,}, -{0x51, 0x81,}, -{0x52, 0x98,}, - -{0x80, 0x38,}, -{0x81, 0x20,}, -{0x82, 0x38,}, /* 3a*/ - -{0x83, 0x56,}, /* R Max*/ -{0x84, 0x20,}, /* R Min*/ -{0x85, 0x52,}, /* B Max*/ -{0x86, 0x20,}, /* B Min*/ - -{0x87, 0x45,}, -{0x88, 0x3a,}, -{0x89, 0x32,}, -{0x8a, 0x2c,}, - -{0x8b, 0x42,}, -{0x8c, 0x3d,}, -{0x8d, 0x30,}, -{0x8e, 0x2c,}, - -{0x8f, 0x5a,}, -{0x90, 0x59,}, -{0x91, 0x55,}, -{0x92, 0x4e,}, -{0x93, 0x44,}, -{0x94, 0x3a,}, -{0x95, 0x34,}, -{0x96, 0x2c,}, -{0x97, 0x23,}, -{0x98, 0x20,}, -{0x99, 0x1f,}, -{0x9a, 0x1f,}, - -{0x9b, 0x77,}, -{0x9c, 0x77,}, -{0x9d, 0x48,}, -{0x9e, 0x38,}, -{0x9f, 0x30,}, - -{0xa0, 0x40,}, -{0xa1, 0x21,}, -{0xa2, 0x6f,}, -{0xa3, 0xff,}, - -{0xa4, 0x14,}, /* 1500fps*/ -{0xa5, 0x44,}, /* 700fps*/ -{0xa6, 0xcf,}, - -{0xad, 0x40,}, -{0xae, 0x4a,}, - -{0xaf, 0x2a,}, /* low temp Rgain*/ -{0xb0, 0x28,}, /* low temp Rgain*/ - -{0xb1, 0x00,}, /* {0x20, 0x -}> {0x00, 0x 0}405 modify*/ -{0xb4, 0xbf,}, /* for tracking 20120314*/ -{0xb8, 0xb1,}, /* a2: b-2, R+2 b4 B-3, R+4 lowtemp b0 a1 Spec AWB A modify*/ -{0xb9, 0x00,}, -/* PAGE 22 END*/ - -/* PAGE 48 */ -{0x03, 0x00,}, - -/* PLL Setting */ -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x05,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, - -{0x03, 0x48,}, -/* MIPI TX Setting */ -{0x10, 0x1c,}, -{0x11, 0x00,}, -{0x12, 0x00,}, -{0x14, 0x00,}, -{0x16, 0x04,}, -{0x17, 0x00,}, -{0x18, 0x80,}, -{0x19, 0x00,}, -{0x1a, 0xa0,}, -{0x1c, 0x02,}, -{0x1d, 0x0e,}, -{0x1e, 0x07,}, -{0x1f, 0x08,}, -{0x22, 0x00,}, -{0x23, 0x01,}, -{0x24, 0x1e,}, -{0x25, 0x00,}, -{0x26, 0x00,}, -{0x27, 0x08,}, -{0x28, 0x00,}, -{0x30, 0x05,}, -{0x31, 0x00,}, -{0x32, 0x07,}, -{0x33, 0x09,}, -{0x34, 0x01,}, -{0x35, 0x01,}, -{0x03, 0x00,}, -{0x01, 0x00,}, -{0xff, 0x05,}, -}; diff --git a/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv_millet_usa.h b/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv_millet_usa.h index 6fb8fc7a732..599e453a978 100644 --- a/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv_millet_usa.h +++ b/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv_millet_usa.h @@ -1837,8 +1837,7 @@ static struct msm_camera_i2c_reg_conf sr130pc20_VT_Init_Reg[] = { {0xff, 0x28,}, /*400ms Delay*/ }; #endif - -static struct msm_camera_i2c_reg_conf sr130pc20_camcorder_mode_50hz[] = { +static struct msm_camera_i2c_reg_conf sr130pc20_camcorder_mode[] = { /*0 Page*/ {0x03, 0x00,}, {0x01, 0x01,}, /*sleep*/ @@ -2756,927 +2755,7 @@ static struct msm_camera_i2c_reg_conf sr130pc20_camcorder_mode_50hz[] = { {0x01, 0x00,}, {0xff, 0x28,}, /*400ms Delay*/ }; - -static struct msm_camera_i2c_reg_conf sr130pc20_camcorder_mode_60hz[] = { -/*0 Page*/ -{0x03, 0x00,}, -{0x01, 0x01,}, /*sleep*/ -{0x01, 0x03,}, /*s/w reset*/ -{0x01, 0x01,}, /*sleep*/ -{0x08, 0x00,},/*Don't touch*/ -{0x09, 0x37,},/*Don't touch*/ -{0x0a, 0x33,},/*Don't touch*/ -/*PLL Setting*/ -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x01,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, -{0x10, 0x11,}, -{0x11, 0x94,}, /*xy flip*/ -{0x12, 0x00,}, -{0x14, 0x88,}, -{0x03, 0x00,}, -{0x20, 0x00,}, -{0x21, 0x04,}, -{0x22, 0x00,}, -{0x23, 0x04,}, -{0x24, 0x03,}, -{0x25, 0xC0,}, -{0x26, 0x05,}, -{0x27, 0x00,}, -{0x40, 0x01,}, /*Hblank_280*/ -{0x41, 0x18,}, -{0x42, 0x00,}, /*Vblank 124*/ -{0x43, 0x7c,}, -{0x03, 0x00,}, /*ESD */ -{0x0b, 0xaa,}, -{0x0c, 0xaa,}, -{0x0d, 0xaa,}, -/*--------------- BLC*/ -{0x80, 0x08,}, /*Don't touch */ -{0x81, 0x97,}, /*Don't touch */ -{0x82, 0x90,}, /*Don't touch */ -{0x83, 0x30,}, /*Don't touch */ -{0x84, 0xcc,}, /*Don't touch*/ -{0x85, 0x00,}, /*Don't touch*/ -{0x86, 0xd4,}, /*Don' t touch*/ -{0x87, 0x0f,}, /*Don't touch*/ -{0x88, 0x34,}, /*Don't touch*/ -{0x90, 0x04,}, /*BLC_TIME_TH_ON*/ -{0x91, 0x04,}, /*BLC_TIME_TH_OFF */ -{0x92, 0xe8,}, /*BLC_AG_TH_ON*/ -{0x93, 0xe0,}, /*BLC_AG_TH_OFF*/ -{0x94, 0x95,}, /*091202*/ -{0x95, 0x90,}, /*091202 */ -{0x98, 0x38,}, /*Don't touch*/ -/*Dark BLC*/ -{0xa0, 0x01,}, /* 20100309*/ -{0xa2, 0x01,}, /* 20100309*/ -{0xa4, 0x01,}, /* 20100309*/ -{0xa6, 0x01,}, /* 20100309*/ -/*Normal BLC*/ -{0xa8, 0x00,}, -{0xaa, 0x00,}, -{0xac, 0x00,}, -{0xae, 0x00,}, -/*Out BLC*/ -{0x99, 0x00,}, -{0x9a, 0x00,}, -{0x9b, 0x00,}, -{0x9c, 0x00,}, -/*2 Page*/ -{0x03, 0x02,}, -{0x12, 0x00,}, /*Don't touch*/ -{0x14, 0x00,}, /*Don't touch*/ -{0x15, 0x00,}, /*Don't touch*/ -{0x18, 0x4C,}, /*Don't touch*/ -{0x19, 0x00,}, /*Don't touch*/ -{0x1A, 0x39,}, /*Don't touch*/ -{0x1B, 0x00,},/*Don't touch*/ -{0x1C, 0x1a,}, /*Don't touch*/ -{0x1D, 0x14,}, /*Don't touch*/ -{0x1E, 0x30,},/*Don't touch*/ -{0x1F, 0x10,},/*Don't touch*/ -{0x20, 0x77,}, -{0x21, 0xde,}, -{0x22, 0xa7,}, -{0x23, 0x30,}, -{0x24, 0x77,}, -{0x25, 0x10,}, -{0x26, 0x10,}, -{0x27, 0x3c,}, -{0x2b, 0x80,}, -{0x2c, 0x02,}, -{0x2d, 0xa0,}, -{0x2e, 0x00,}, -{0x2f, 0xa7,}, -{0x30, 0x00,}, -{0x31, 0x99,}, -{0x32, 0x00,}, -{0x33, 0x00,}, -{0x34, 0x22,}, -{0x36, 0x01,}, -{0x37, 0x01,}, -{0x38, 0x88,}, -{0x39, 0x88,}, -{0x3d, 0x03,}, -{0x3e, 0x0d,}, -{0x3f, 0x02,}, -{0x49, 0xd1,}, -{0x4a, 0x14,}, -{0x50, 0x21,}, -{0x52, 0x01,}, -{0x53, 0x81,}, -{0x54, 0x10,}, -{0x55, 0x1c,}, -{0x56, 0x11,}, -{0x58, 0x18,}, -{0x59, 0x16,}, -{0x5d, 0xa2,}, -{0x5e, 0x5a,}, -{0x60, 0x93,}, /* 20120517 modify*/ -{0x61, 0xa4,}, /* 20120517 modify*/ -{0x62, 0x94,}, /* 20120517 modify*/ -{0x63, 0xa3,}, /* 20120517 modify*/ -{0x64, 0x94,}, /* 20120517 modify*/ -{0x65, 0xa3,}, /* 20120517 modify*/ -{0x67, 0x0c,}, -{0x68, 0x0c,}, -{0x69, 0x0c,}, -{0x6a, 0xb4,}, -{0x6b, 0xc4,}, -{0x6c, 0xb5,}, -{0x6d, 0xc2,}, -{0x6e, 0xb5,}, -{0x6f, 0xc0,}, -{0x70, 0xb6,}, -{0x71, 0xb8,}, -{0x72, 0x95,}, /* 20120517 modify*/ -{0x73, 0xa2,}, /* 20120517 modify*/ -{0x74, 0x95,}, /* 20120517 modify*/ -{0x75, 0xa2,}, /* 20120517 modify*/ -{0x76, 0x95,}, /* 20120517 modify*/ -{0x77, 0xa2,}, /* 20120517 modify*/ -{0x7C, 0x92,}, /* 20120517 modify*/ -{0x7D, 0xff,}, /* 20120517 modify*/ -{0x80, 0x01,}, /* 20120517 modify*/ -{0x81, 0x8a,}, /* 20120517 modify*/ -{0x82, 0x1e,}, /* 20120517 modify*/ -{0x83, 0x36,}, /* 20120517 modify*/ -{0x84, 0x89,}, /* 20120517 modify*/ -{0x85, 0x8b,}, /* 20120517 modify*/ -{0x86, 0x89,}, /* 20120517 modify*/ -{0x87, 0x8b,}, /* 20120517 modify*/ -{0x88, 0xab,}, -{0x89, 0xbc,}, -{0x8a, 0xac,}, -{0x8b, 0xba,}, -{0x8c, 0xad,}, -{0x8d, 0xb8,}, -{0x8e, 0xae,}, -{0x8f, 0xb2,}, -{0x90, 0xb3,}, -{0x91, 0xb7,}, -{0x92, 0x52,}, /* 20120517 modify*/ -{0x93, 0x6a,}, /* 20120517 modify*/ -{0x94, 0x89,}, /* 20120517 modify*/ -{0x95, 0x8b,}, /* 20120517 modify*/ -{0x96, 0x89,}, /* 20120517 modify*/ -{0x97, 0x8b,}, /* 20120517 modify*/ -{0xA0, 0x02,}, -{0xA1, 0x86,}, /* 20120517 modify*/ -{0xA2, 0x02,}, -{0xA3, 0x86,}, /* 20120517 modify*/ -{0xA4, 0x86,}, /* 20120517 modify*/ -{0xA5, 0x02,}, -{0xA6, 0x86,}, /* 20120517 modify*/ -{0xA7, 0x02,}, -{0xA8, 0x92,}, /* 20120517 modify*/ -{0xA9, 0x94,}, /* 20120517 modify*/ -{0xAA, 0x92,}, /* 20120517 modify*/ -{0xAB, 0x94,}, /* 20120517 modify*/ -{0xAC, 0x1c,}, -{0xAD, 0x22,}, -{0xAE, 0x1c,}, -{0xAF, 0x22,}, -{0xB0, 0xa4,}, /* 20120517 modify*/ -{0xB1, 0xae,}, /* 20120517 modify*/ -{0xB2, 0xa4,}, /* 20120517 modify*/ -{0xB3, 0xae,}, /* 20120517 modify*/ -{0xB4, 0xa6,}, /* 20120517 modify*/ -{0xB5, 0xac,}, /* 20120517 modify*/ -{0xB6, 0xa6,}, /* 20120517 modify*/ -{0xB7, 0xac,}, /* 20120517 modify*/ -{0xB8, 0xa6,}, /* 20120517 modify*/ -{0xB9, 0xab,}, /* 20120517 modify*/ -{0xBA, 0xa6,}, /* 20120517 modify*/ -{0xBB, 0xab,}, /* 20120517 modify*/ -{0xBC, 0xa6,}, /* 20120517 modify*/ -{0xBD, 0xab,}, /* 20120517 modify*/ -{0xBE, 0xa6,}, /* 20120517 modify*/ -{0xBF, 0xab,}, /* 20120517 modify*/ -{0xc4, 0x37,}, -{0xc5, 0x52,}, -{0xc6, 0x6b,}, -{0xc7, 0x86,}, -{0xc8, 0x38,}, /* 20120517 modify*/ -{0xc9, 0x50,}, /* 20120517 modify*/ -{0xca, 0x38,}, /* 20120517 modify*/ -{0xcb, 0x50,}, /* 20120517 modify*/ -{0xcc, 0x6c,}, /* 20120517 modify*/ -{0xcd, 0x84,}, /* 20120517 modify*/ -{0xce, 0x6c,}, /* 20120517 modify*/ -{0xcf, 0x84,}, /* 20120517 modify*/ -{0xdc, 0x00,}, /* Added*/ -{0xdd, 0xaf,}, /* Added*/ -{0xde, 0x00,}, /* Added*/ -{0xdf, 0x90,}, /* Added*/ -{0xd0, 0x10,}, -{0xd1, 0x14,}, -{0xd2, 0x20,}, -{0xd3, 0x00,}, -/*DCDC */ -{0xd4, 0x04,}, /*DCDC_TIME_TH_ON*/ -{0xd5, 0x04,}, /*DCDC_TIME_TH_OFF */ -{0xd6, 0xe8,}, /*DCDC_AG_TH_ON*/ -{0xd7, 0xe0,}, /*DCDC_AG_TH_OFF*/ -{0xea, 0x8a,}, -{0xF0, 0x01,}, /* clock inversion*/ -{0xF1, 0x01,}, -{0xF2, 0x01,}, -{0xF3, 0x01,}, -{0xF4, 0x01,}, -{0xF5, 0x00,}, -{0x03, 0x10,}, /*page 10*/ -{0x10, 0x01,}, /*Ycbcr422_bit Order: YUYV*/ -{0x11, 0x03,}, -{0x12, 0x30,}, /*y offset[4], dif_offset[5]*/ -{0x13, 0x02,}, /*contrast effet enable : 0x02*/ -{0x34, 0x00,}, /*hidden 10->00 100209*/ -{0x37, 0x01,}, /*yc2d power save */ -{0x3f, 0x04,}, /*100825*/ -{0x40, 0x80,}, /*Y offset */ -{0x41, 0x0a,}, -{0x48, 0x80,}, /*Contrast (Y = constrast * (Y - 128) + 128)/86 */ - -{0x50, 0xf8,}, /*20140404 Dyoffset TH */ - -{0x53, 0x00,}, /*dif_offset option */ -{0x55, 0x30,}, /*dif_offset option diff_offset max */ -{0x60, 0x07,}, -{0x61, 0x83,}, /*blue saturation_C0*/ -{0x62, 0x80,}, /*red saturation_B0*/ -{0x63, 0x80,}, /*auto decresment on AG th*/ -{0x64, 0xff,}, /*auto decresment on DG th*/ -{0x66, 0xe4,}, /*Outdoor saturation step 137fps apply out th */ -{0x67, 0x13,}, /*Outdoor saturation B/R*/ -{0x76, 0x01,}, /* ADD 20121031 */ -{0x79, 0x04,}, /* ADD 20121031 */ -/* Hi 163 */ -/* PAGE 10 START*/ -{0x03, 0x10,}, -{0x80, 0x00,}, /* dsshin --> color enhance*/ -{0xf5, 0x00,}, /* dsshin --> h blank option*/ -{0x03, 0x11,}, /*page 11 D_LPF */ -{0x10, 0x3f,}, /*B[6]:Blue En Dlpf on[4:0] Sky over off : 0x7f->3f*/ -{0x11, 0x20,}, /* Uniform Full GbGr/OV-Nr*/ -{0x12, 0x80,}, /*Blue MaxOpt blue sky max filter optoin rate : 0 0xc0->80*/ -{0x13, 0xb8,}, -{0x30, 0xba,}, /*Outdoor2 H th*/ -{0x31, 0x10,}, /*Outdoor2 L th*/ -{0x32, 0x50,}, /*Outdoor2 gain ratio*/ -{0x33, 0x1d,}, /*Outdoor2 H lum*/ -{0x34, 0x20,}, /*Outdoor2 M lum*/ -{0x35, 0x1f,}, /*Outdoor2 L lum*/ -{0x36, 0xb0,}, /*Outdoor1 H th*/ -{0x37, 0x18,}, /*Outdoor1 L th*/ -{0x38, 0x50,}, /*Outdoor1 gain ratio 0x80->40*/ -{0x39, 0x1d,}, /*Outdoor1 H lum 0x28->1e*/ -{0x3a, 0x20,}, /*Outdoor1 M lum 0x10->15*/ -{0x3b, 0x1f,}, /*Outdoor1 L lum */ -{0x3c, 0x3f,}, /*indoor H th*/ -{0x3d, 0x16,}, /*indoor L th*/ -{0x3e, 0x30,}, /*indoor gain ratio 0x44 6a */ -{0x3f, 0x1a,}, /*indoor H lum 0x12 18 */ -{0x40, 0x60,}, /*indoor M lum 0x18 1c*/ -{0x41, 0x1a,}, /*indoor L lum */ -{0x42, 0x98,}, /*dark1 H th*/ -{0x43, 0x28,}, /*dark1 L th*/ -{0x44, 0x65,}, /*dark1 gain ratio*/ -{0x45, 0x16,}, /*dark1 H lum 0x38->0x28 */ -{0x46, 0x30,}, /*dark1 M lum 0x27->0x17*/ -{0x47, 0x34,}, /*dark1 L lum 0x20->0x1a */ -{0x48, 0x90,}, /*dark2 H th*/ -{0x49, 0x2a,}, /*dark2 L th*/ -{0x4a, 0x65,}, /*dark2 gain ratio*/ -{0x4b, 0x18,}, /*dark2 H lum */ -{0x4c, 0x31,}, /*dark2 M lum*/ -{0x4d, 0x36,}, /*dark2 L lum */ -{0x4e, 0x80,}, /*dark3 H th*/ -{0x4f, 0x30,}, /*dark3 L th*/ -{0x50, 0x65,}, /*dark3 gain ratio*/ -{0x51, 0x19,}, /*dark3 H lum */ -{0x52, 0x31,}, /*dark3 M lum */ -{0x53, 0x36,}, /*dark3 L lum */ -{0x5a, 0x3f,}, /*blue sky mode out1/2 enable 0x27->3f */ -{0x5b, 0x00,}, /*Impulse pixel enable dark123,in,out123*/ -{0x5c, 0x9f,}, /*Indoor maxfilter rate[7:5] | Uncertain onoff[4:0] 0x1f ->0x9f*/ -{0x60, 0x3f,}, /*GbGr all enable*/ -{0x62, 0x0f,}, /*GbGr offset*/ -{0x65, 0x0c,}, /*Outdoor GbGr rate H 100% M 25% L 100%*/ -{0x66, 0x0c,}, /*Indoor GbGr rate H 100% M 25% L 100%*/ -{0x67, 0x00,}, /*dark GbGr rate H/M/L 100%*/ -{0x70, 0x0c,}, /* Abberation On/Off B[1]: Outdoor B[0]: Indoor 07>>c*/ -{0x75, 0xa0,}, /* Outdoor2 Abberation Luminance lvl */ -{0x7d, 0xb4,}, /* Indoor Abberation Luminance lvl*/ -{0x96, 0x08,}, /*indoor/Dark1 edgeoffset1*/ -{0x97, 0x14,}, /*indoor/Dark1 center G value*/ -{0x98, 0xf5,}, /*slope indoor :: left/right graph polarity, slope*/ -{0x99, 0x2a,}, /*indoor uncertain ratio control*/ -{0x9a, 0x20,}, /*Edgeoffset_dark*/ -/*DPC_CTRL*/ -{0x03, 0x12,}, /*Preview DPC off[0x5c] on[0x5d]*/ -{0x20, 0x0f,}, -{0x21, 0x0f,}, -{0x25, 0x00,}, /* 0x30*/ -{0x2a, 0x01,}, -{0x2e, 0x00,}, /*2010.8.25*/ -{0x30, 0x35,}, /*Texture region(most detail)*/ -{0x31, 0xa0,}, /*STD uniform1 most blur region*/ -{0x32, 0xb0,}, /*STD uniform2 2nd blur*/ -{0x33, 0xc0,}, /*STD uniform3 3rd blur*/ -{0x34, 0xd0,}, /*STD normal noise1 4th blur */ -{0x35, 0xe0,}, /*STD normal noise2 5th blur*/ -{0x36, 0xff,}, /*STD normal noise3 6th blur*/ -{0x40, 0x83,}, /*Outdoor2 H th*/ -{0x41, 0x20,}, /*Outdoor2 L th */ -{0x42, 0x08,}, /*Outdoor2 H luminance */ -{0x43, 0x10,}, /*Outdoor2 M luminance */ -{0x44, 0x10,}, /*Outdoor2 l luminance */ -{0x45, 0x50,}, /*Outdoor2 ratio*/ -{0x46, 0x83,}, /*Outdoor1 H th*/ -{0x47, 0x20,}, /*Outdoor1 L th */ -{0x48, 0x08,}, /*Outdoor1 H luminance*/ -{0x49, 0x10,}, /*Outdoor1 M luminance*/ -{0x4a, 0x10,}, /*Outdoor1 L luminance*/ -{0x4b, 0x50,}, /*Outdoor1 ratio*/ -{0x4c, 0x80,}, /*Indoor H th*/ -{0x4d, 0x48,}, /*Indoor L th*/ -{0x4e, 0x30,}, /*indoor H lum*/ -{0x4f, 0x30,}, /*indoor M lum*/ -{0x50, 0x12,}, /*indoor L lum */ -{0x51, 0x70,}, /*indoor ratio 0x10 -> 0x45*/ -{0x52, 0xa8,}, /*dark1 H th*/ -{0x53, 0x30,}, /*dark1 L th */ -{0x54, 0x28,}, /*dark1 H lum */ -{0x55, 0x3e,}, /*dark1 M lum*/ -{0x56, 0x67,}, /*dark1 L lum*/ -{0x57, 0x6a,}, /*dark1 ratio*/ -{0x58, 0xa0,}, /*dark2 H th*/ -{0x59, 0x40,}, /*dark2 L th*/ -{0x5a, 0x28,}, /*dark2 H lum*/ -{0x5b, 0x3f,}, /*dark2 M lum*/ -{0x5c, 0x68,}, /*dark2 L lum*/ -{0x5d, 0x70,}, /*dark2 ratio*/ -{0x5e, 0xa0,}, /*dark3 H th*/ -{0x5f, 0x40,}, /*dark3 L th*/ -{0x60, 0x29,}, /*dark3 H lum*/ -{0x61, 0x3f,}, /*dark3 M lum*/ -{0x62, 0x69,}, /*dark3 L lum*/ -{0x63, 0x6a,}, /*dark3 ratio*/ -/*C-filter(Out2&Out1)*/ -{0x70, 0x10,}, -{0x71, 0x0a,}, -/*C-filter(Indoor&Dark3)*/ -{0x72, 0x10,}, -{0x73, 0x0a,}, -/*C-filter(Dark2&Dark1)*/ -{0x74, 0x18,}, -{0x75, 0x12,}, -{0x80, 0x20,}, -{0x81, 0x40,}, -{0x82, 0x65,}, -{0x85, 0x1a,}, -{0x88, 0x00,}, -{0x89, 0x00,}, -{0x90, 0x5d,}, /*Preview DPC off[0x5c] on[0x5d]*/ -/*DPC-Dark1,2,3*/ -{0xad, 0x07,}, /*10825*/ -{0xae, 0x07,}, /*10825*/ -{0xaf, 0x07,}, /*10825*/ -/*Blue Det..*/ -{0xc5, 0x58,}, /*BlueRange 2010.8.25 {0x40, 0x->2}3 */ -{0xc6, 0x20,}, /*GreenRange 2010.8.25 0x3b->20 */ -{0xd0, 0x88,}, /*2010.8.25*/ -{0xd1, 0x80,}, -{0xd2, 0x17,},/*preview 17, full 67*/ -{0xd3, 0x00,}, -{0xd4, 0x00,}, -{0xd5, 0x0f,},/*preview 0f, full 02*/ -{0xd6, 0xff,}, -{0xd7, 0xff,},/*preview ff, full 18*/ -{0xd8, 0x00,}, -{0xd9, 0x04,}, -/*interpolated with average*/ -{0xdb, 0x38,}, /*resolution issue 0x00->0x18->0x38 */ -{0xd9, 0x04,}, /*strong_edge detect ratio*/ -{0xe0, 0x01,}, /*strong_edge detect ratio*/ -{0x03, 0x13,}, /*page 13 sharpness 1D*/ -{0x10, 0xc5,}, -{0x11, 0x7b,}, -{0x12, 0x0e,}, -{0x14, 0x00,}, -{0x15, 0x11,}, /*added option 1.3M */ -{0x18, 0x30,}, /*added option 1.3M */ -{0x20, 0x15,}, -{0x21, 0x13,}, -{0x22, 0x33,}, -{0x23, 0x08,}, /*hi_clip th1*/ -{0x24, 0x1a,}, /*hi_clip th2*/ -{0x25, 0x06,}, /*low clip th*/ -{0x26, 0x18,}, -{0x27, 0x30,}, -{0x29, 0x10,}, /*time th*/ -{0x2a, 0x30,}, /*pga th*/ -{0x2b, 0x03,}, /*lpf out2*/ -{0x2c, 0x03,}, /*lpf out1*/ -{0x2d, 0x0c,}, -{0x2e, 0x12,}, -{0x2f, 0x12,}, -/*1D Edge*/ -{0x50, 0x0a,}, /*out2 hi nega*/ -{0x53, 0x07,}, /* hi pos*/ -{0x51, 0x0c,}, /* mi nega*/ -{0x54, 0x07,}, /* mi pos*/ -{0x52, 0x0b,}, /* lo nega*/ -{0x55, 0x08,}, /* lo pos*/ -{0x56, 0x0a,}, /*out1 hi nega*/ -{0x59, 0x07,}, /* hi pos */ -{0x57, 0x0c,}, /* mi nega*/ -{0x5a, 0x07,}, /* mi pos */ -{0x58, 0x0b,}, /* lo nega*/ -{0x5b, 0x08,}, /* lo pos */ -/*Indoor Edge*/ -{0x5c, 0x08,}, /*indoor hi nega*/ -{0x5f, 0x07,}, /* hi pos*/ -{0x5d, 0x14,}, /* mid nega */ -{0x60, 0x12,}, /* mid pos */ -{0x5e, 0x0a,}, /* low nega */ -{0x61, 0x08,}, /* low pos*/ -{0x62, 0x08,}, /*dark1 hi nega*/ -{0x65, 0x06,}, /* hi pos */ -{0x63, 0x08,}, /* mid nega */ -{0x66, 0x06,}, /* mid pos */ -{0x64, 0x08,}, /* low nega */ -{0x67, 0x06,}, /* low pos */ -{0x68, 0x07,}, /*dark2 hi nega*/ -{0x6b, 0x05,}, /* hi pos */ -{0x69, 0x07,}, /* mid nega */ -{0x6c, 0x05,}, /* mid pos */ -{0x6a, 0x07,}, /* low nega */ -{0x6d, 0x05,}, /* low pos */ -{0x6e, 0x0a,}, /*dark3 hi nega*/ -{0x71, 0x09,}, /* hi pos */ -{0x6f, 0x0a,}, /* mid nega */ -{0x72, 0x09,}, /* mid pos */ -{0x70, 0x0a,}, /* low nega */ -{0x73, 0x09,}, /* low pos */ - /* 2DY*/ -{0x80, 0xc1,}, -{0x81, 0x1f,}, -{0x82, 0xe1,}, -{0x83, 0x33,}, -{0x90, 0x05,}, -{0x91, 0x05,}, -{0x92, 0x33,}, -{0x93, 0x30,}, -{0x94, 0x03,}, -{0x95, 0x14,}, -{0x97, 0x30,}, -{0x99, 0x30,}, -{0xa0, 0x02,}, /*2d lclp out2 nega*/ -{0xa1, 0x03,}, /*2d lclp out2 pos*/ -{0xa2, 0x02,}, /*2d lclp out1 nega*/ -{0xa3, 0x03,}, /*2d lclp out1 pos*/ -{0xa4, 0x03,}, /*2d lclp in nega*/ -{0xa5, 0x04,}, /*2d lclp in pos*/ -{0xa6, 0x07,}, /*2d lclp dark1 nega*/ -{0xa7, 0x08,}, /*2d lclp dark1 pos*/ -{0xa8, 0x07,}, /*2d lclp dark2 nega*/ -{0xa9, 0x08,}, /*2d lclp dark2 pos*/ -{0xaa, 0x07,}, /*2d lclp dark3 nega*/ -{0xab, 0x08,}, /*2d lclp dark3 pos*/ -{0xb0, 0x10,}, /*out2 H Ne*/ -{0xb3, 0x10,}, /* H Po*/ -{0xb1, 0x1e,}, /* M Ne*/ -{0xb4, 0x1e,}, /* M Po*/ -{0xb2, 0x1f,}, /* L Ne*/ -{0xb5, 0x1e,}, /* L Po*/ -{0xb6, 0x10,}, /*out1 H Ne */ -{0xb9, 0x10,}, /* H Po */ -{0xb7, 0x1e,}, /* M Ne */ -{0xba, 0x1e,}, /* M Po */ -{0xb8, 0x1f,}, /* L Ne */ -{0xbb, 0x1e,}, /* L Po */ -{0xbc, 0x20,}, /*indoor H Ne*/ -{0xbf, 0x1e,}, /* H Po*/ -{0xbd, 0x25,}, /* M Ne*/ -{0xc0, 0x23,}, /* M Po*/ -{0xbe, 0x24,}, /* L Ne*/ -{0xc1, 0x22,}, /* L Po*/ -{0xc2, 0x23,}, /*dark1 H Ne*/ -{0xc5, 0x23,}, /* H Po*/ -{0xc3, 0x29,}, /* M Ne*/ -{0xc6, 0x29,}, /* M Po*/ -{0xc4, 0x25,}, /* L Ne*/ -{0xc7, 0x25,}, /* L Po*/ -{0xc8, 0x1c,}, /*dark2 H Ne*/ -{0xcb, 0x1c,}, /* H Po*/ -{0xc9, 0x25,}, /* M Ne*/ -{0xcc, 0x25,}, /* M Po*/ -{0xca, 0x23,}, /* L Ne*/ -{0xcd, 0x23,}, /* L Po*/ -{0xce, 0x1c,}, /*dark3 H Ne*/ -{0xd1, 0x1c,}, /* H Po*/ -{0xcf, 0x25,}, /* M Ne*/ -{0xd2, 0x25,}, /* M Po*/ -{0xd0, 0x23,}, /* L Ne*/ -{0xd3, 0x23,}, /* L Po*/ -/* PAGE 14 START*/ -{0x03, 0x14,}, -{0x10, 0x31,}, -{0x14, 0x80,}, /* GX*/ -{0x15, 0x80,}, /* GY*/ -{0x16, 0x80,}, /* RX*/ -{0x17, 0x80,}, /* RY*/ -{0x18, 0x80,}, /* BX*/ -{0x19, 0x80,}, /* BY*/ -{0x20, 0x60,}, /* X Center*/ -{0x21, 0x80,}, /* Y Center*/ -{0x22, 0x80,}, -{0x23, 0x80,}, -{0x24, 0x80,}, -{0x30, 0xc8,}, -{0x31, 0x2b,}, -{0x32, 0x00,}, -{0x33, 0x00,}, -{0x34, 0x90,}, -{0x40, 0x60,}, /*R min's set 4e*/ -{0x41, 0x44,}, /*Gr*/ -{0x42, 0x3e,}, /*B*/ -{0x43, 0x44,}, /*Gb*/ -{0x03, 0x15,}, -{0x10, 0x21,}, -{0x14, 0x44,}, /*49*/ -{0x15, 0x34,}, /*38*/ -{0x16, 0x26,}, /*2b*/ -{0x17, 0x2f,}, -/*CMC*/ -{0x30, 0xdd,}, -{0x31, 0x62,}, -{0x32, 0x05,}, -{0x33, 0x26,}, -{0x34, 0xbd,}, -{0x35, 0x17,}, -{0x36, 0x18,}, -{0x37, 0x38,}, -{0x38, 0xd0,}, -{0x40, 0xb0,}, -{0x41, 0x30,}, -{0x42, 0x00,}, -{0x43, 0x00,}, -{0x44, 0x00,}, -{0x45, 0x00,}, -{0x46, 0x99,}, -{0x47, 0x19,}, -{0x48, 0x00,}, -{0x50, 0x16,}, -{0x51, 0xb2,}, -{0x52, 0x1c,}, -{0x53, 0x06,}, -{0x54, 0x20,}, -{0x55, 0xa6,}, -{0x56, 0x0e,}, -{0x57, 0xb2,}, -{0x58, 0x24,}, -{0x03, 0x16,}, -{0x10, 0x31,}, /*GMA_CTL*/ -{0x18, 0x7e,}, /*AG_ON*/ -{0x19, 0x7d,}, /*AG_OFF*/ -{0x1a, 0x0e,}, /*TIME_ON*/ -{0x1b, 0x01,}, /*TIME_OFF*/ -{0x1C, 0xdc,}, /*OUT_ON*/ -{0x1D, 0xfe,}, /*OUT_OFF*/ -{0x30, 0x00,}, -{0x31, 0x07,}, -{0x32, 0x1a,}, -{0x33, 0x37,}, -{0x34, 0x5c,}, -{0x35, 0x7d,}, -{0x36, 0x96,}, -{0x37, 0xa9,}, -{0x38, 0xb7,}, -{0x39, 0xc6,}, -{0x3a, 0xd2,}, -{0x3b, 0xdc,}, -{0x3c, 0xe4,}, -{0x3d, 0xeb,}, -{0x3e, 0xf1,}, -{0x3f, 0xf5,}, -{0x40, 0xf9,}, -{0x41, 0xfd,}, -{0x42, 0xff,}, -{0x50, 0x00,}, -{0x51, 0x03,}, -{0x52, 0x13,}, -{0x53, 0x2e,}, -{0x54, 0x59,}, -{0x55, 0x79,}, -{0x56, 0x90,}, -{0x57, 0xa3,}, -{0x58, 0xb4,}, -{0x59, 0xc2,}, -{0x5a, 0xcd,}, -{0x5b, 0xd7,}, -{0x5c, 0xe0,}, -{0x5d, 0xe5,}, -{0x5e, 0xe9,}, -{0x5f, 0xee,}, -{0x60, 0xf1,}, -{0x61, 0xf3,}, -{0x62, 0xf6,}, -{0x70, 0x07,}, -{0x71, 0x1a,}, -{0x72, 0x2d,}, -{0x73, 0x46,}, -{0x74, 0x6a,}, -{0x75, 0x86,}, -{0x76, 0x9c,}, -{0x77, 0xad,}, -{0x78, 0xbc,}, -{0x79, 0xc9,}, -{0x7a, 0xd4,}, -{0x7b, 0xde,}, -{0x7c, 0xe4,}, -{0x7d, 0xeb,}, -{0x7e, 0xf1,}, -{0x7f, 0xf5,}, -{0x80, 0xf9,}, -{0x81, 0xfd,}, -{0x82, 0xff,}, -{0x03, 0x24,}, /*Resol control */ -{0x60, 0xc5,}, /*edge even frame | 16bit resol | white edge cnt | scene resol enable*/ -{0x61, 0x04,}, /*even frame update */ -{0x64, 0x08,}, -{0x65, 0x00,}, -{0x66, 0x26,}, /*edge th2 H */ -{0x67, 0x00,}, /*edge th2 L */ -{0x03, 0x13,}, -{0x18, 0x31,}, /*flat center Gb/Gr*/ -{0x74, 0x02,}, /*det slope en | gausian filter*/ -{0x75, 0x0d,}, /*1D negative gain det 09 */ -{0x76, 0x0d,}, /*1D postive gain det 08*/ -{0x77, 0x10,}, /*1D hclp2 det*/ -{0x78, 0x08,}, /*outdoor flat threshold*/ -{0x79, 0x10,}, /*indoor flat threshold*/ -{0x81, 0xdf,}, /*det gain controler*/ -{0x86, 0x90,}, /*2D negative gain det */ -{0x87, 0x90,}, /*2D postive gain det */ -{0x96, 0x2a,}, /*2D hclp2 det*/ -{0x03, 0x12,}, /*0x12 page*/ -{0xd0, 0x88,}, -{0xd9, 0xe4,}, -{0x03, 0x18,}, -{0x14, 0x43,}, /*83*/ -/* PAGE 20 START*/ -{0x03, 0x20,}, -{0x11, 0x1c,}, -{0x18, 0x30,}, -{0x1a, 0x08,}, -{0x20, 0x45,},/*weight*/ -{0x21, 0x30,}, -{0x22, 0x10,}, -{0x23, 0x00,}, -{0x24, 0x00,}, -{0x28, 0xe7,}, /* add 20120223*/ -{0x29, 0x0d,}, /* 20100305 ad -> 0d*/ -{0x2a, 0xfd,}, -{0x2b, 0xf8,}, -{0x2c, 0x43,}, /* 20140618 c3 -> 43*/ -{0x2d, 0x5f,}, /* add 20120223*/ -{0x2e, 0x33,}, -{0x30, 0xf8,}, -{0x32, 0x03,}, -{0x33, 0x2e,}, -{0x34, 0x30,}, -{0x35, 0xd4,}, -{0x36, 0xfe,}, -{0x37, 0x32,}, -{0x38, 0x04,}, -{0x39, 0x22,}, -{0x3a, 0xde,}, -{0x3b, 0x22,}, -{0x3c, 0xde,}, -{0x3d, 0xe1,}, -{0x50, 0x45,}, -{0x51, 0x88,}, -{0x56, 0x19,}, -{0x57, 0x81,}, -{0x58, 0x0e,}, -{0x59, 0x6a,}, -{0x5a, 0x04,}, -{0x5e, 0x9d,}, /*AE_AWB_start*/ -{0x5f, 0x76,}, /*AE_AWB_start*/ -{0x70, 0x33,}, /* 6c*/ -{0x71, 0x82,}, /* 82(+8)*/ -{0x76, 0x21,}, -{0x77, 0x71,}, -{0x78, 0x22,}, /* 24*/ -{0x79, 0x23,}, /* Y Target 70 => 25, 72 => 26*/ -{0x7a, 0x23,}, /* 23*/ -{0x7b, 0x22,}, /* 22*/ -{0x7d, 0x23,}, -{0x83, 0x01,}, /*EXP Normal 30 fps */ -{0x84, 0x86,}, -{0x85, 0xa0,}, -{0x86, 0x01,}, /*EXPMin 7500.00 fps*/ -{0x87, 0x90,}, -{0x88, 0x01,}, /*EXP Max(120Hz) 30.00 fps */ -{0x89, 0x86,}, -{0x8a, 0xa0,}, -{0xa5, 0x01,}, /*EXP Max(100Hz) 25.xx fps */ -{0xa6, 0xd1,}, -{0xa7, 0xa0,}, -{0x91, 0x01,}, /*EXP Fix 24.00 fps*/ -{0x92, 0xe8,}, -{0x93, 0x48,}, -{0x8B, 0x75,}, /*EXP100 */ -{0x8C, 0x30,}, -{0x8D, 0x61,}, /*EXP120 */ -{0x8E, 0xa8,}, -{0x9c, 0x0b,}, /*EXP Limit 1000 fps */ -{0x9d, 0xb8,}, -{0x9e, 0x01,}, /*EXP Unit */ -{0x9f, 0x90,}, -{0x98, 0x9d,}, -{0xb0, 0x16,}, -{0xb1, 0x14,}, -{0xb2, 0xf8,}, -{0xb3, 0x14,}, -{0xb4, 0x1b,}, -{0xb5, 0x46,}, -{0xb6, 0x31,}, -{0xb7, 0x29,}, -{0xb8, 0x26,}, -{0xb9, 0x24,}, -{0xba, 0x22,}, -{0xbb, 0x42,}, -{0xbc, 0x41,}, -{0xbd, 0x40,}, -{0xc0, 0x10,}, -{0xc1, 0x38,}, -{0xc2, 0x38,}, -{0xc3, 0x38,}, -{0xc4, 0x07,}, -{0xc8, 0x80,}, -{0xc9, 0x80,}, -{0x10, 0x8c,}, /* ae enable*/ -/* PAGE 20 END*/ -/*AE_Weight*/ -{0x03, 0x21,}, -{0x20, 0x11,}, -{0x21, 0x11,}, -{0x22, 0x11,}, -{0x23, 0x11,}, -{0x24, 0x12,}, -{0x25, 0x22,}, -{0x26, 0x22,}, -{0x27, 0x21,}, -{0x28, 0x12,}, -{0x29, 0x22,}, -{0x2a, 0x22,}, -{0x2b, 0x21,}, -{0x2c, 0x12,}, -{0x2d, 0x23,}, -{0x2e, 0x32,}, -{0x2f, 0x21,}, -{0x30, 0x12,}, -{0x31, 0x23,}, -{0x32, 0x32,}, -{0x33, 0x21,}, -{0x34, 0x12,}, -{0x35, 0x22,}, -{0x36, 0x22,}, -{0x37, 0x21,}, -{0x38, 0x12,}, -{0x39, 0x22,}, -{0x3a, 0x22,}, -{0x3b, 0x21,}, -{0x3c, 0x11,}, -{0x3d, 0x11,}, -{0x3e, 0x11,}, -{0x3f, 0x11,}, -/* PAGE 22 START*/ -{0x03, 0x22,}, -{0x10, 0xfd,}, -{0x11, 0x2e,}, -{0x19, 0x01,}, /* Low On*/ -{0x20, 0x30,}, /* for wb speed*/ -{0x21, 0x40,}, -{0x24, 0x01,}, -{0x25, 0x7e,}, /* for tracking 20120314 */ -{0x30, 0x80,}, /* 20120224 test*/ -{0x31, 0x80,}, -{0x38, 0x11,}, -{0x39, 0x34,}, -{0x40, 0xe3,}, -{0x41, 0x43,}, /* 33*/ -{0x42, 0x22,}, /* 22*/ -{0x43, 0xf3,}, /* f6*/ -{0x44, 0x54,}, /* 44*/ -{0x45, 0x22,}, /* 33*/ -{0x46, 0x00,}, -{0x48, 0x0a,}, -{0x50, 0xb2,}, -{0x51, 0x81,}, -{0x52, 0x98,}, -{0x80, 0x38,}, -{0x81, 0x20,}, -{0x82, 0x38,}, /* 3a*/ -{0x83, 0x56,}, /* R Max*/ -{0x84, 0x20,}, /* R Min*/ -{0x85, 0x53,}, /* B Max*/ -{0x86, 0x20,}, /* B Min*/ -{0x87, 0x46,}, -{0x88, 0x36,}, -{0x89, 0x3a,}, -{0x8a, 0x2f,}, -{0x8b, 0x3d,}, -{0x8c, 0x37,}, -{0x8d, 0x35,}, -{0x8e, 0x32,}, -{0x8f, 0x5d,}, -{0x90, 0x5a,}, -{0x91, 0x56,}, -{0x92, 0x50,}, -{0x93, 0x48,}, -{0x94, 0x3f,}, -{0x95, 0x34,}, -{0x96, 0x2c,}, -{0x97, 0x23,}, -{0x98, 0x20,}, -{0x99, 0x1f,}, -{0x9a, 0x1f,}, -{0x9b, 0x77,}, -{0x9c, 0x77,}, -{0x9d, 0x48,}, -{0x9e, 0x38,}, -{0x9f, 0x30,}, -{0xa0, 0x40,}, -{0xa1, 0x21,}, -{0xa2, 0x6f,}, -{0xa3, 0xff,}, -{0xa4, 0x14,}, /* 1500fps*/ -{0xa5, 0x44,}, /* 700fps*/ -{0xa6, 0xcf,}, -{0xad, 0x40,}, -{0xae, 0x4a,}, -{0xaf, 0x2a,}, /* low temp Rgain*/ -{0xb0, 0x28,}, /* low temp Rgain*/ -{0xb1, 0x00,}, /* 0x20 -> 0x00 0405 modify*/ -{0xb4, 0xbf,}, /* for tracking 20120314*/ -{0xb8, 0xb1,}, /* a2: b-2, R+2 b4 B-3, R+4 lowtemp b0 a1 Spec AWB A modify*/ -{0xb9, 0x00,}, -/* PAGE 22 END*/ -/* PAGE 48 (MiPi 1600x1200)*/ -{0x03, 0x00,}, -/* PLL Setting */ -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x05,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, -{0x03, 0x48,}, -/* MIPI TX Setting */ -{0x10, 0x1c,}, -{0x11, 0x00,}, -{0x12, 0x00,}, -{0x14, 0x00,}, -{0x16, 0x04,}, -{0x17, 0x00,}, -{0x18, 0x80,}, -{0x19, 0x00,}, -{0x1a, 0xa0,}, -{0x1c, 0x02,}, -{0x1d, 0x0e,}, -{0x1e, 0x07,}, -{0x1f, 0x08,}, -{0x22, 0x00,}, -{0x23, 0x01,}, -{0x24, 0x1e,}, -{0x25, 0x00,}, -{0x26, 0x00,}, -{0x27, 0x08,}, -{0x28, 0x00,}, -{0x30, 0x05,}, -{0x31, 0x00,}, -{0x32, 0x07,}, -{0x33, 0x09,}, -{0x34, 0x01,}, -{0x35, 0x01,}, -{0x03, 0x00,}, -{0x01, 0x00,}, -{0xff, 0x28,}, /*400ms Delay*/ -}; - -static struct msm_camera_i2c_reg_conf sr130pc20_Preview_for_initial_50hz[] = { +static struct msm_camera_i2c_reg_conf sr130pc20_Preview[] = { {0x03, 0x00,}, {0x01, 0x01,},/*sleep*/ {0xd0, 0x05,},/*Pll Off*/ @@ -3887,1043 +2966,3 @@ static struct msm_camera_i2c_reg_conf sr130pc20_brightness_P4[] = { {0x03, 0x10,}, {0x40, 0x50,}, }; - -static struct msm_camera_i2c_reg_conf sr130pc20_Preview_for_initial_60hz[] = { -{0x03, 0x00,}, -{0x01, 0x01,},/*sleep*/ -{0xd0, 0x05,},/*Pll Off*/ -{0x03, 0x20,}, -{0x10, 0x0c,},/*AE off (0x0c:60Hz 0x1c:50Hz)*/ -{0x03, 0x22,}, -{0x10, 0x7d,},/*AWB off*/ -{0x03, 0x00,}, -{0x10, 0x11,}, -{0x03, 0x11,}, -{0x5b, 0x00,},/*don't touch*/ -{0x03, 0x12,}, -{0x20, 0x0f,}, -{0x21, 0x0f,}, -{0xd2, 0x17,}, -{0xd5, 0x0f,}, -{0xd7, 0xff,}, -{0x03, 0x13,}, -{0x10, 0xc4,}, -{0x80, 0xc0,}, -{0x03, 0x18,}, -{0x14, 0x43,}, /*83*/ -{0x03, 0x20,}, -{0x10, 0x8c,}, /*AE ON ({0x8c, 0x:6}0Hz {0x9c, 0x:5}0Hz)*/ -{0x03, 0x22,}, -{0x10, 0xfd,}, /*AWB ON*/ - -{0x03, 0x00,}, /*Page 0 PLL on*/ -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x05,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, - -{0x03, 0x48,}, -{0x10, 0x1c,}, -{0x11, 0x00,}, -{0x12, 0x00,}, -{0x14, 0x00,}, -{0x16, 0x04,}, -{0x17, 0x00,}, -{0x18, 0x80,}, -{0x19, 0x00,}, -{0x1a, 0xa0,}, - -{0x1c, 0x02,}, -{0x1d, 0x0e,}, -{0x1e, 0x07,}, -{0x1f, 0x08,}, -{0x22, 0x00,}, -{0x23, 0x01,}, -{0x24, 0x1e,}, -{0x25, 0x00,}, -{0x26, 0x00,}, -{0x27, 0x08,}, -{0x28, 0x00,}, - -{0x30, 0x05,}, -{0x31, 0x00,}, -{0x32, 0x07,}, -{0x33, 0x09,}, -{0x34, 0x01,}, -{0x35, 0x01,}, -{0x03, 0x00,}, -{0x01, 0x00,}, -{0xff, 0x28,}, -}; - -static struct msm_camera_i2c_reg_conf sr130pc20_Init_Reg_60hz[] = { -{0x03, 0x00,}, -{0x01, 0x01,}, /*sleep*/ -{0x01, 0x03,}, /*s/w reset*/ -{0x01, 0x01,}, /*sleep*/ - -{0x08, 0x00,},/*Don't touch*/ -{0x09, 0x37,},/*Don't touch*/ -{0x0a, 0x33,},/*Don't touch*/ - -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x01,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, - -{0x10, 0x11,}, -{0x11, 0x90,}, /*xy flip*/ -{0x12, 0x00,}, -{0x14, 0x88,}, - -{0x03, 0x00,}, -{0x20, 0x00,}, -{0x21, 0x04,}, -{0x22, 0x00,}, -{0x23, 0x04,}, -{0x24, 0x03,}, -{0x25, 0xC0,}, -{0x26, 0x05,}, -{0x27, 0x00,}, - -{0x40, 0x01,}, /*Hblank_280*/ -{0x41, 0x18,}, -{0x42, 0x00,}, /*Vblank 124*/ -{0x43, 0x7c,}, - -{0x03, 0x00,}, /*ESD */ -{0x0b, 0xaa,}, -{0x0c, 0xaa,}, -{0x0d, 0xaa,}, -{0x80, 0x08,}, /*Don't touch */ -{0x81, 0x97,}, /*Don't touch */ -{0x82, 0x90,}, /*Don't touch */ -{0x83, 0x30,}, /*Don't touch */ -{0x84, 0xcc,}, /*Don't touch*/ -{0x85, 0x00,}, /*Don't touch*/ -{0x86, 0xd4,}, /*Don' t touch*/ -{0x87, 0x0f,}, /*Don't touch*/ -{0x88, 0x34,}, /*Don't touch*/ -{0x90, 0x0f,}, /*BLC_TIME_TH_ON*/ -{0x91, 0x0f,}, /*BLC_TIME_TH_OFF */ -{0x92, 0xf0,}, /*BLC_AG_TH_ON*/ -{0x93, 0xe8,}, /*BLC_AG_TH_OFF*/ -{0x94, 0x95,}, /*091202*/ -{0x95, 0x90,}, /*091202 */ -{0x98, 0x38,}, /*Don't touch*/ - -{0xa0, 0x01,}, /* 20100309*/ -{0xa2, 0x01,}, /* 20100309*/ -{0xa4, 0x01,}, /* 20100309*/ -{0xa6, 0x01,}, /* 20100309*/ -{0xa8, 0x00,}, -{0xaa, 0x00,}, -{0xac, 0x00,}, -{0xae, 0x00,}, -{0x99, 0x00,}, -{0x9a, 0x00,}, -{0x9b, 0x00,}, -{0x9c, 0x00,}, - -{0x03, 0x02,}, -{0x12, 0x00,}, /*Don't touch*/ -{0x14, 0x00,}, /*Don't touch*/ -{0x15, 0x00,}, /*Don't touch*/ -{0x18, 0x4C,}, /*Don't touch*/ -{0x19, 0x00,}, /*Don't touch*/ -{0x1A, 0x39,}, /*Don't touch*/ -{0x1B, 0x00,},/*Don't touch*/ -{0x1C, 0x1a,}, /*Don't touch*/ -{0x1D, 0x14,}, /*Don't touch*/ -{0x1E, 0x30,},/*Don't touch*/ -{0x1F, 0x10,},/*Don't touch*/ - -{0x20, 0x77,}, -{0x21, 0xde,}, -{0x22, 0xa7,}, -{0x23, 0x30,}, -{0x24, 0x77,}, -{0x25, 0x10,}, -{0x26, 0x10,}, -{0x27, 0x3c,}, -{0x2b, 0x80,}, -{0x2c, 0x02,}, -{0x2d, 0xa0,}, -{0x2e, 0x00,}, -{0x2f, 0xa7,}, - -{0x30, 0x00,}, -{0x31, 0x99,}, -{0x32, 0x00,}, -{0x33, 0x00,}, -{0x34, 0x22,}, -{0x36, 0x01,}, -{0x37, 0x01,}, -{0x38, 0x88,}, -{0x39, 0x88,}, -{0x3d, 0x03,}, -{0x3e, 0x0d,}, -{0x3f, 0x02,}, - -{0x49, 0xd1,}, -{0x4a, 0x14,}, - -{0x50, 0x21,}, -{0x52, 0x01,}, -{0x53, 0x81,}, -{0x54, 0x10,}, -{0x55, 0x1c,}, -{0x56, 0x11,}, -{0x58, 0x18,}, -{0x59, 0x16,}, -{0x5d, 0xa2,}, -{0x5e, 0x5a,}, - -{0x60, 0x93,}, /* 20120517 modify*/ -{0x61, 0xa4,}, /* 20120517 modify*/ -{0x62, 0x94,}, /* 20120517 modify*/ -{0x63, 0xa3,}, /* 20120517 modify*/ -{0x64, 0x94,}, /* 20120517 modify*/ -{0x65, 0xa3,}, /* 20120517 modify*/ -{0x67, 0x0c,}, -{0x68, 0x0c,}, -{0x69, 0x0c,}, -{0x6a, 0xb4,}, -{0x6b, 0xc4,}, -{0x6c, 0xb5,}, -{0x6d, 0xc2,}, -{0x6e, 0xb5,}, -{0x6f, 0xc0,}, - -{0x70, 0xb6,}, -{0x71, 0xb8,}, -{0x72, 0x95,}, /* 20120517 modify*/ -{0x73, 0xa2,}, /* 20120517 modify*/ -{0x74, 0x95,}, /* 20120517 modify*/ -{0x75, 0xa2,}, /* 20120517 modify*/ -{0x76, 0x95,}, /* 20120517 modify*/ -{0x77, 0xa2,}, /* 20120517 modify*/ -{0x7C, 0x92,}, /* 20120517 modify*/ -{0x7D, 0xff,}, /* 20120517 modify*/ - -{0x80, 0x01,}, /* 20120517 modify*/ -{0x81, 0x8a,}, /* 20120517 modify*/ -{0x82, 0x1e,}, /* 20120517 modify*/ -{0x83, 0x36,}, /* 20120517 modify*/ -{0x84, 0x89,}, /* 20120517 modify*/ -{0x85, 0x8b,}, /* 20120517 modify*/ -{0x86, 0x89,}, /* 20120517 modify*/ -{0x87, 0x8b,}, /* 20120517 modify*/ -{0x88, 0xab,}, -{0x89, 0xbc,}, -{0x8a, 0xac,}, -{0x8b, 0xba,}, -{0x8c, 0xad,}, -{0x8d, 0xb8,}, -{0x8e, 0xae,}, -{0x8f, 0xb2,}, - -{0x90, 0xb3,}, -{0x91, 0xb7,}, -{0x92, 0x52,}, /* 20120517 modify*/ -{0x93, 0x6a,}, /* 20120517 modify*/ -{0x94, 0x89,}, /* 20120517 modify*/ -{0x95, 0x8b,}, /* 20120517 modify*/ -{0x96, 0x89,}, /* 20120517 modify*/ -{0x97, 0x8b,}, /* 20120517 modify*/ - -{0xA0, 0x02,}, -{0xA1, 0x86,}, /* 20120517 modify*/ -{0xA2, 0x02,}, -{0xA3, 0x86,}, /* 20120517 modify*/ -{0xA4, 0x86,}, /* 20120517 modify*/ -{0xA5, 0x02,}, -{0xA6, 0x86,}, /* 20120517 modify*/ -{0xA7, 0x02,}, -{0xA8, 0x92,}, /* 20120517 modify*/ -{0xA9, 0x94,}, /* 20120517 modify*/ -{0xAA, 0x92,}, /* 20120517 modify*/ -{0xAB, 0x94,}, /* 20120517 modify*/ -{0xAC, 0x1c,}, -{0xAD, 0x22,}, -{0xAE, 0x1c,}, -{0xAF, 0x22,}, -{0xB0, 0xa4,}, /* 20120517 modify*/ -{0xB1, 0xae,}, /* 20120517 modify*/ -{0xB2, 0xa4,}, /* 20120517 modify*/ -{0xB3, 0xae,}, /* 20120517 modify*/ -{0xB4, 0xa6,}, /* 20120517 modify*/ -{0xB5, 0xac,}, /* 20120517 modify*/ -{0xB6, 0xa6,}, /* 20120517 modify*/ -{0xB7, 0xac,}, /* 20120517 modify*/ -{0xB8, 0xa6,}, /* 20120517 modify*/ -{0xB9, 0xab,}, /* 20120517 modify*/ -{0xBA, 0xa6,}, /* 20120517 modify*/ -{0xBB, 0xab,}, /* 20120517 modify*/ -{0xBC, 0xa6,}, /* 20120517 modify*/ -{0xBD, 0xab,}, /* 20120517 modify*/ -{0xBE, 0xa6,}, /* 20120517 modify*/ -{0xBF, 0xab,}, /* 20120517 modify*/ -{0xc4, 0x37,}, -{0xc5, 0x52,}, -{0xc6, 0x6b,}, -{0xc7, 0x86,}, -{0xc8, 0x38,}, /* 20120517 modify*/ -{0xc9, 0x50,}, /* 20120517 modify*/ -{0xca, 0x38,}, /* 20120517 modify*/ -{0xcb, 0x50,}, /* 20120517 modify*/ -{0xcc, 0x6c,}, /* 20120517 modify*/ -{0xcd, 0x84,}, /* 20120517 modify*/ -{0xce, 0x6c,}, /* 20120517 modify*/ -{0xcf, 0x84,}, /* 20120517 modify*/ -{0xdc, 0x00,}, /* Added*/ -{0xdd, 0xaf,}, /* Added*/ -{0xde, 0x00,}, /* Added*/ -{0xdf, 0x90,}, /* Added*/ -{0xd0, 0x10,}, -{0xd1, 0x14,}, -{0xd2, 0x20,}, -{0xd3, 0x00,}, -{0xd4, 0x0f,}, /*DCDC_TIME_TH_ON*/ -{0xd5, 0x0f,}, /*DCDC_TIME_TH_OFF */ -{0xd6, 0xf0,}, /*DCDC_AG_TH_ON*/ -{0xd7, 0xe8,}, /*DCDC_AG_TH_OFF*/ -{0xea, 0x8a,}, -{0xF0, 0x01,}, /* clock inversion*/ -{0xF1, 0x01,}, -{0xF2, 0x01,}, -{0xF3, 0x01,}, -{0xF4, 0x01,}, -{0xF5, 0x00,}, - -{0x03, 0x10,}, /*page 10*/ -{0x10, 0x01,}, /*Ycbcr422_bit Order: YUYV*/ -{0x11, 0x03,}, -{0x12, 0x30,}, /*y offset[4], dif_offset[5]*/ -{0x13, 0x02,}, -{0x34, 0x00,}, /*hidden 10->00 100209*/ -{0x37, 0x01,}, /*yc2d power save */ -{0x3f, 0x04,}, /*100825*/ -{0x40, 0x80,}, /*Y offset */ -{0x48, 0x80,}, -{0x53, 0x00,}, /*dif_offset option */ -{0x55, 0x30,}, /*dif_offset option diff_offset max */ - -{0x60, 0x4f,}, /*out color sat en[7] | auto color decrement en[1] / - | manual color sat en[0]*/ - - -{0x61, 0x83,}, /*blue saturation_C0*/ -{0x62, 0x80,}, /*red saturation_B0*/ -{0x63, 0xff,}, /*auto decresment on AG th*/ -{0x64, 0xc0,}, /*auto decresment on DG th*/ -{0x66, 0xe4,}, /*Outdoor saturation step 137fps apply out th */ -{0x67, 0x13,}, /*Outdoor saturation B/R*/ -{0x76, 0x01,}, /* ADD 20121031 */ -{0x79, 0x04,}, /* ADD 20121031 */ - -{0x03, 0x10,}, -{0x80, 0x00,}, /* dsshin --> color enhance*/ -{0xf5, 0x00,}, /* dsshin --> h blank option*/ -{0x03, 0x11,}, /*page 11 D_LPF */ -{0x10, 0x3f,}, /*B[6]:Blue En Dlpf on[4:0] Sky over off : {0x7f, 0x->}3f*/ -{0x11, 0x20,}, /* Uniform Full GbGr/OV-Nr*/ -{0x12, 0x80,}, /*Blue MaxOpt blue sky max filter optoin rate : 0 {0xc0, 0x->}80*/ -{0x13, 0xb8,}, /*dark2[7] | ratio[6:4] | dark3[3] | dark3 maxfilter ratio[2:0] */ -{0x30, 0xba,}, /*Outdoor2 H th*/ -{0x31, 0x10,}, /*Outdoor2 L th*/ -{0x32, 0x50,}, /*Outdoor2 gain ratio*/ -{0x33, 0x1d,}, /*Outdoor2 H lum*/ -{0x34, 0x20,}, /*Outdoor2 M lum*/ -{0x35, 0x1f,}, /*Outdoor2 L lum*/ -{0x36, 0xb0,}, /*Outdoor1 H th*/ -{0x37, 0x18,}, /*Outdoor1 L th*/ -{0x38, 0x50,}, -{0x39, 0x1d,}, -{0x3a, 0x20,}, -{0x3b, 0x1f,}, -{0x3c, 0x3f,}, -{0x3d, 0x16,}, /*indoor L th*/ -{0x3e, 0x30,}, /*indoor gain ratio {0x44, 0x }6a */ -{0x3f, 0x1a,}, /*indoor H lum {0x12, 0x }18 */ -{0x40, 0x60,}, /*indoor M lum {0x18, 0x }1c*/ -{0x41, 0x1a,}, /*indoor L lum {0x18, 0x }3e*/ -{0x42, 0x98,}, /*dark1 H th*/ -{0x43, 0x28,}, /*dark1 L th*/ -{0x44, 0x65,}, /*dark1 gain ratio*/ -{0x45, 0x16,}, /*dark1 H lum 0x38, 0x->0x28, 0x */ -{0x46, 0x30,}, /*dark1 M lum 0x27, 0x->0x17, 0x*/ -{0x47, 0x34,}, /*dark1 L lum 0x20, 0x->0x1a, 0x */ -{0x48, 0x90,}, /*dark2 H th*/ -{0x49, 0x2a,}, /*dark2 L th*/ -{0x4a, 0x65,}, /*dark2 gain ratio*/ -{0x4b, 0x18,}, /*dark2 H lum */ -{0x4c, 0x31,}, /*dark2 M lum*/ -{0x4d, 0x36,}, /*dark2 L lum */ -{0x4e, 0x80,}, /*dark3 H th*/ -{0x4f, 0x30,}, /*dark3 L th*/ -{0x50, 0x65,}, /*dark3 gain ratio*/ -{0x51, 0x19,}, /*dark3 H lum */ -{0x52, 0x31,}, /*dark3 M lum */ -{0x53, 0x36,}, /*dark3 L lum */ -{0x5a, 0x3f,}, /*blue sky mode out1/2 enable {0x27, 0x->}3f */ -{0x5b, 0x00,}, -{0x5c, 0x9f,}, -{0x60, 0x3f,}, /*GbGr all enable*/ -{0x62, 0x0f,}, /*GbGr offset*/ -{0x65, 0x0c,}, /*Outdoor GbGr rate H 100% M 25% L 100%*/ -{0x66, 0x0c,}, /*Indoor GbGr rate H 100% M 25% L 100%*/ -{0x67, 0x00,}, /*dark GbGr rate H/M/L 100%*/ -{0x70, 0x0c,}, /* Abberation On/Off B[1]: Outdoor B[0]: Indoor 07>>c*/ -{0x75, 0xa0,}, /* Outdoor2 Abberation Luminance lvl */ -{0x7d, 0xb4,}, /* Indoor Abberation Luminance lvl*/ - -{0x96, 0x08,}, /*indoor/Dark1 edgeoffset1*/ -{0x97, 0x14,}, /*indoor/Dark1 center G value*/ -{0x98, 0xf5,}, /*slope indoor :: left/right graph polarity, slope*/ -{0x99, 0x2a,}, /*indoor uncertain ratio control*/ -{0x9a, 0x20,}, /*Edgeoffset_dark*/ - - -{0x03, 0x12,}, /*Preview DPC */ -{0x20, 0x0f,}, -{0x21, 0x0f,}, -{0x25, 0x00,}, -{0x2a, 0x01,}, -{0x2e, 0x00,}, /*2010.8.25*/ - -{0x30, 0x35,}, /*Texture region(most detail)*/ -{0x31, 0xa0,}, /*STD uniform1 most blur region*/ -{0x32, 0xb0,}, /*STD uniform2 2nd blur*/ -{0x33, 0xc0,}, /*STD uniform3 3rd blur*/ -{0x34, 0xd0,}, /*STD normal noise1 4th blur */ -{0x35, 0xe0,}, /*STD normal noise2 5th blur*/ -{0x36, 0xff,}, /*STD normal noise3 6th blur*/ - -{0x40, 0x83,}, /*Outdoor2 H th*/ -{0x41, 0x20,}, /*Outdoor2 L th */ -{0x42, 0x08,}, /*Outdoor2 H luminance */ -{0x43, 0x10,}, /*Outdoor2 M luminance */ -{0x44, 0x10,}, /*Outdoor2 l luminance */ -{0x45, 0x50,}, /*Outdoor2 ratio*/ -{0x46, 0x83,}, /*Outdoor1 H th*/ -{0x47, 0x20,}, /*Outdoor1 L th */ -{0x48, 0x08,}, /*Outdoor1 H luminance*/ -{0x49, 0x10,}, /*Outdoor1 M luminance*/ -{0x4a, 0x10,}, /*Outdoor1 L luminance*/ -{0x4b, 0x50,}, /*Outdoor1 ratio*/ -{0x4c, 0x80,}, /*Indoor H th*/ -{0x4d, 0x48,}, /*Indoor L th*/ -{0x4e, 0x30,}, /*indoor H lum*/ -{0x4f, 0x30,}, /*indoor M lum*/ -{0x50, 0x12,}, /*indoor L lum */ -{0x51, 0x70,}, /*indoor ratio {0x10, 0x -}> {0x45, 0x}*/ -{0x52, 0xa8,}, /*dark1 H th*/ -{0x53, 0x30,}, /*dark1 L th */ -{0x54, 0x28,}, /*dark1 H lum */ -{0x55, 0x3e,}, /*dark1 M lum*/ -{0x56, 0x67,}, /*dark1 L lum*/ -{0x57, 0x6a,}, /*dark1 ratio*/ - -{0x58, 0xa0,}, /*dark2 H th*/ -{0x59, 0x40,}, /*dark2 L th*/ -{0x5a, 0x28,}, /*dark2 H lum*/ -{0x5b, 0x3f,}, /*dark2 M lum*/ -{0x5c, 0x68,}, /*dark2 L lum*/ -{0x5d, 0x70,}, /*dark2 ratio*/ -{0x5e, 0xa0,}, /*dark3 H th*/ -{0x5f, 0x40,}, /*dark3 L th*/ -{0x60, 0x29,}, /*dark3 H lum*/ -{0x61, 0x3f,}, /*dark3 M lum*/ -{0x62, 0x69,}, /*dark3 L lum*/ -{0x63, 0x6a,}, /*dark3 ratio*/ -{0x70, 0x10,}, -{0x71, 0x0a,}, -{0x72, 0x10,}, -{0x73, 0x0a,}, -{0x74, 0x18,}, -{0x75, 0x12,}, -{0x80, 0x20,}, -{0x81, 0x40,}, -{0x82, 0x65,}, -{0x85, 0x1a,}, -{0x88, 0x00,}, -{0x89, 0x00,}, -{0x90, 0x5d,}, -{0xad, 0x07,}, /*10825*/ -{0xae, 0x07,}, /*10825*/ -{0xaf, 0x07,}, /*10825*/ -{0xc5, 0x58,}, /*BlueRange 2010.8.25 {0x40, 0x->}23 */ -{0xc6, 0x20,}, /*GreenRange 2010.8.25 {0x3b, 0x->}20 */ -{0xd0, 0x88,}, /*2010.8.25*/ -{0xd1, 0x80,}, -{0xd2, 0x17,},/*preview 17, full 67*/ -{0xd3, 0x00,}, -{0xd4, 0x00,}, -{0xd5, 0x0f,},/*preview 0f, full 02*/ -{0xd6, 0xff,}, -{0xd7, 0xff,},/*preview ff, full 18*/ -{0xd8, 0x00,}, -{0xd9, 0x04,}, -{0xdb, 0x38,}, -{0xd9, 0x04,}, /*strong_edge detect ratio*/ -{0xe0, 0x01,}, /*strong_edge detect ratio*/ - -{0x03, 0x13,}, /*page 13 sharpness 1D*/ -{0x10, 0xc5,}, -{0x11, 0x7b,}, -{0x12, 0x0e,}, -{0x14, 0x00,}, -{0x15, 0x11,}, /*added option 1.3M*/ -{0x18, 0x30,}, /*added option 1.3M*/ -{0x20, 0x15,}, -{0x21, 0x13,}, -{0x22, 0x33,}, -{0x23, 0x08,}, /*hi_clip th1*/ -{0x24, 0x1a,}, /*hi_clip th2*/ -{0x25, 0x06,}, /*low clip th*/ -{0x26, 0x18,}, -{0x27, 0x30,}, -{0x29, 0x10,}, /*time th*/ -{0x2a, 0x30,}, /*pga th*/ - -{0x2b, 0x03,}, /*lpf out2*/ -{0x2c, 0x03,}, /*lpf out1*/ -{0x2d, 0x0c,}, -{0x2e, 0x12,}, -{0x2f, 0x12,}, - -{0x50, 0x0a,}, /*out2 hi nega*/ -{0x53, 0x07,}, /* hi pos*/ -{0x51, 0x0c,}, /* mi nega*/ -{0x54, 0x07,}, /* mi pos*/ -{0x52, 0x0b,}, /* lo nega*/ -{0x55, 0x08,}, /* lo pos*/ - -{0x56, 0x0a,}, /*out1 hi nega*/ -{0x59, 0x07,}, /* hi pos */ -{0x57, 0x0c,}, /* mi nega*/ -{0x5a, 0x07,}, /* mi pos */ -{0x58, 0x0b,}, /* lo nega*/ -{0x5b, 0x08,}, /* lo pos */ - -{0x5c, 0x08,}, /*indoor hi nega*/ -{0x5f, 0x07,}, /* hi pos*/ -{0x5d, 0x14,}, -{0x60, 0x12,}, -{0x5e, 0x0a,}, -{0x61, 0x08,}, /* low pos*/ -{0x62, 0x08,}, /*dark1 hi nega*/ -{0x65, 0x06,}, /* hi pos */ -{0x63, 0x08,}, /* mid nega */ -{0x66, 0x06,}, /* mid pos */ -{0x64, 0x08,}, /* low nega */ -{0x67, 0x06,}, /* low pos */ -{0x68, 0x07,}, /*dark2 hi nega*/ -{0x6b, 0x05,}, /* hi pos */ -{0x69, 0x07,}, /* mid nega */ -{0x6c, 0x05,}, /* mid pos */ -{0x6a, 0x07,}, /* low nega */ -{0x6d, 0x05,}, /* low pos */ - -{0x6e, 0x0a,}, /*dark3 hi nega*/ -{0x71, 0x09,}, /* hi pos */ -{0x6f, 0x0a,}, /* mid nega */ -{0x72, 0x09,}, /* mid pos */ -{0x70, 0x0a,}, /* low nega */ -{0x73, 0x09,}, /* low pos */ -{0x80, 0xc1,}, -{0x81, 0x1f,}, -{0x82, 0xe1,}, -{0x83, 0x33,}, -{0x90, 0x05,}, -{0x91, 0x05,}, -{0x92, 0x33,}, -{0x93, 0x30,}, -{0x94, 0x03,}, -{0x95, 0x14,}, -{0x97, 0x30,}, -{0x99, 0x30,}, -{0xa0, 0x02,}, /*2d lclp out2 nega*/ -{0xa1, 0x03,}, /*2d lclp out2 pos*/ -{0xa2, 0x02,}, /*2d lclp out1 nega*/ -{0xa3, 0x03,}, /*2d lclp out1 pos*/ -{0xa4, 0x03,}, /*2d lclp in nega*/ -{0xa5, 0x04,}, /*2d lclp in pos*/ -{0xa6, 0x07,}, /*2d lclp dark1 nega*/ -{0xa7, 0x08,}, /*2d lclp dark1 pos*/ -{0xa8, 0x07,}, /*2d lclp dark2 nega*/ -{0xa9, 0x08,}, /*2d lclp dark2 pos*/ -{0xaa, 0x07,}, /*2d lclp dark3 nega*/ -{0xab, 0x08,}, /*2d lclp dark3 pos*/ -{0xb0, 0x10,}, /*out2 H Ne*/ -{0xb3, 0x10,}, /* H Po*/ -{0xb1, 0x1e,}, /* M Ne*/ -{0xb4, 0x1e,}, /* M Po*/ -{0xb2, 0x1f,}, /* L Ne*/ -{0xb5, 0x1e,}, /* L Po*/ -{0xb6, 0x10,}, /*out1 H Ne */ -{0xb9, 0x10,}, /* H Po */ -{0xb7, 0x1e,}, /* M Ne */ -{0xba, 0x1e,}, /* M Po */ -{0xb8, 0x1f,}, /* L Ne */ -{0xbb, 0x1e,}, /* L Po */ -{0xbc, 0x20,}, /*indoor H Ne*/ -{0xbf, 0x1e,}, /* H Po*/ -{0xbd, 0x25,}, /* M Ne*/ -{0xc0, 0x23,}, /* M Po*/ -{0xbe, 0x24,}, /* L Ne*/ -{0xc1, 0x22,}, /* L Po*/ - -{0xc2, 0x23,}, /*dark1 H Ne*/ -{0xc5, 0x23,}, /* H Po*/ -{0xc3, 0x29,}, /* M Ne*/ -{0xc6, 0x29,}, /* M Po*/ -{0xc4, 0x25,}, /* L Ne*/ -{0xc7, 0x25,}, /* L Po*/ -{0xc8, 0x1c,}, /*dark2 H Ne*/ -{0xcb, 0x1c,}, /* H Po*/ -{0xc9, 0x25,}, /* M Ne*/ -{0xcc, 0x25,}, /* M Po*/ -{0xca, 0x23,}, /* L Ne*/ -{0xcd, 0x23,}, /* L Po*/ -{0xce, 0x1c,}, /*dark3 H Ne*/ -{0xd1, 0x1c,}, /* H Po*/ -{0xcf, 0x25,}, /* M Ne*/ -{0xd2, 0x25,}, /* M Po*/ -{0xd0, 0x23,}, /* L Ne*/ -{0xd3, 0x23,}, /* L Po*/ -{0x03, 0x14,}, -{0x10, 0x31,}, - -{0x14, 0x80,}, /* GX*/ -{0x15, 0x80,}, /* GY*/ -{0x16, 0x80,}, /* RX*/ -{0x17, 0x80,}, /* RY*/ -{0x18, 0x80,}, /* BX*/ -{0x19, 0x80,}, /* BY*/ -{0x20, 0x60,}, /* X Center*/ -{0x21, 0x80,}, /* Y Center*/ -{0x22, 0x80,}, -{0x23, 0x80,}, -{0x24, 0x80,}, -{0x30, 0xc8,}, -{0x31, 0x2b,}, -{0x32, 0x00,}, -{0x33, 0x00,}, -{0x34, 0x90,}, - -{0x40, 0x60,}, /*R min's set 4e*/ -{0x41, 0x44,}, /*Gr*/ -{0x42, 0x3e,}, /*B*/ -{0x43, 0x44,}, /*Gb*/ -{0x03, 0x15,}, -{0x10, 0x21,}, -{0x14, 0x44,}, /*49*/ -{0x15, 0x34,}, /*38*/ -{0x16, 0x26,}, /*2b*/ -{0x17, 0x2f,}, -{0x30, 0xdd,}, -{0x31, 0x62,}, -{0x32, 0x05,}, -{0x33, 0x26,}, -{0x34, 0xbd,}, -{0x35, 0x17,}, -{0x36, 0x18,}, -{0x37, 0x38,}, -{0x38, 0xd0,}, - -{0x40, 0xb0,}, -{0x41, 0x30,}, -{0x42, 0x00,}, -{0x43, 0x00,}, -{0x44, 0x00,}, -{0x45, 0x00,}, -{0x46, 0x99,}, -{0x47, 0x19,}, -{0x48, 0x00,}, -{0x50, 0x16,}, -{0x51, 0xb2,}, -{0x52, 0x1c,}, -{0x53, 0x06,}, -{0x54, 0x20,}, -{0x55, 0xa6,}, -{0x56, 0x0e,}, -{0x57, 0xb2,}, -{0x58, 0x24,}, -{0x03, 0x16,}, -{0x10, 0x31,}, /*GMA_CTL*/ -{0x18, 0x7e,}, /*AG_ON*/ -{0x19, 0x7d,}, /*AG_OFF*/ -{0x1a, 0x0e,}, /*TIME_ON*/ -{0x1b, 0x01,}, /*TIME_OFF*/ -{0x1C, 0xdc,}, /*OUT_ON*/ -{0x1D, 0xfe,}, /*OUT_OFF*/ - -/*GMA Indoor*/ -{0x30, 0x00,}, -{0x31, 0x07,}, -{0x32, 0x1a,}, -{0x33, 0x37,}, -{0x34, 0x5c,}, -{0x35, 0x7d,}, -{0x36, 0x96,}, -{0x37, 0xa9,}, -{0x38, 0xb7,}, -{0x39, 0xc6,}, -{0x3a, 0xd2,}, -{0x3b, 0xdc,}, -{0x3c, 0xe4,}, -{0x3d, 0xeb,}, -{0x3e, 0xf1,}, -{0x3f, 0xf5,}, -{0x40, 0xf9,}, -{0x41, 0xfd,}, -{0x42, 0xff,}, - -/*RGMA Outdoor*/ -{0x50, 0x00,}, -{0x51, 0x03,}, -{0x52, 0x13,}, -{0x53, 0x2e,}, -{0x54, 0x59,}, -{0x55, 0x79,}, -{0x56, 0x90,}, -{0x57, 0xa3,}, -{0x58, 0xb4,}, -{0x59, 0xc2,}, -{0x5a, 0xcd,}, -{0x5b, 0xd7,}, -{0x5c, 0xe0,}, -{0x5d, 0xe5,}, -{0x5e, 0xe9,}, -{0x5f, 0xee,}, -{0x60, 0xf1,}, -{0x61, 0xf3,}, -{0x62, 0xf6,}, - -/*BGMA Dark*/ -{0x70, 0x03,}, -{0x71, 0x11,}, -{0x72, 0x1f,}, -{0x73, 0x37,}, -{0x74, 0x52,}, -{0x75, 0x6c,}, -{0x76, 0x85,}, -{0x77, 0x9a,}, -{0x78, 0xad,}, -{0x79, 0xbd,}, -{0x7a, 0xcb,}, -{0x7b, 0xd6,}, -{0x7c, 0xe0,}, -{0x7d, 0xe8,}, -{0x7e, 0xef,}, -{0x7f, 0xf4,}, -{0x80, 0xf8,}, -{0x81, 0xfb,}, -{0x82, 0xfe,}, - -{0x03, 0x24,}, /*Resol control */ -{0x60, 0xc5,}, /*edge even frame | 16bit resol | white edge cnt | scene resol enable*/ -{0x61, 0x04,}, /*even frame update */ -{0x64, 0x08,}, -{0x65, 0x00,}, -{0x66, 0x26,}, /*edge th2 H */ -{0x67, 0x00,}, /*edge th2 L */ - -{0x03, 0x13,}, -{0x18, 0x31,}, /*flat center Gb/Gr*/ -{0x74, 0x02,}, /*det slope en | gausian filter*/ -{0x75, 0x0d,}, /*1D negative gain det 09 */ -{0x76, 0x0d,}, /*1D postive gain det 08*/ -{0x77, 0x10,}, /*1D hclp2 det*/ -{0x78, 0x08,}, /*outdoor flat threshold*/ -{0x79, 0x10,}, /*indoor flat threshold*/ - -{0x81, 0xdf,}, /*det gain controler*/ -{0x86, 0x90,}, /*2D negative gain det */ -{0x87, 0x90,}, /*2D postive gain det */ -{0x96, 0x2a,}, /*2D hclp2 det*/ - -{0x03, 0x12,}, /*{0x12, 0x p}age*/ -{0xd0, 0x88,}, -{0xd9, 0xe4,}, - -/* PAGE 18 START*/ -{0x03, 0x18,}, -{0x14, 0x43,}, /*83*/ - -/* PAGE 20 START*/ -{0x03, 0x20,}, -{0x11, 0x1c,}, -{0x18, 0x30,}, -{0x1a, 0x08,}, -{0x20, 0x45,},/*weight*/ -{0x21, 0x30,}, -{0x22, 0x10,}, -{0x23, 0x00,}, -{0x24, 0x00,}, -{0x28, 0xe7,}, /* add 20120223*/ -{0x29, 0x0d,}, /* 20100305 ad -> 0d*/ -{0x2a, 0xfd,}, -{0x2b, 0xf8,}, -{0x2c, 0x43,}, /* 20140618 c3 -> 43*/ -{0x2d, 0x5f,}, /* add 20120223*/ -{0x2e, 0x33,}, -{0x30, 0xf8,}, -{0x32, 0x03,}, -{0x33, 0x2e,}, -{0x34, 0x30,}, -{0x35, 0xd4,}, -{0x36, 0xff,}, /*fe*/ -{0x37, 0x32,}, -{0x38, 0x04,}, -{0x39, 0x22,}, -{0x3a, 0xde,}, -{0x3b, 0x22,}, -{0x3c, 0xde,}, -{0x3d, 0xe1,}, - -{0x50, 0x45,}, -{0x51, 0x88,}, -{0x56, 0x19,}, -{0x57, 0x81,}, -{0x58, 0x0e,}, -{0x59, 0x6a,}, -{0x5a, 0x04,}, -{0x5e, 0x9d,}, /*AE_AWB_start*/ -{0x5f, 0x76,}, /*AE_AWB_start*/ - -{0x70, 0x33,}, /* 6c*/ -{0x71, 0x82,}, /* 82(+8)*/ - -{0x76, 0x21,}, -{0x77, 0x71,}, -{0x78, 0x22,}, /* 24*/ -{0x79, 0x23,}, /* Y Target 70 => 25, 72 => 26*/ -{0x7a, 0x23,}, /* 23*/ -{0x7b, 0x22,}, /* 22*/ -{0x7d, 0x23,}, - -{0x83, 0x01,}, //EXP Normal 30.00 fps -{0x84, 0x86,}, -{0x85, 0xa0,}, -{0x86, 0x01,}, //EXPMin 7500.00 fps -{0x87, 0x90,}, -{0x88, 0x05,}, //EXP Max(120Hz) 8.00 fps -{0x89, 0xb8,}, -{0x8a, 0xd8,}, -{0xa5, 0x05,}, //EXP Max(100Hz) 8.33 fps -{0xa6, 0x7e,}, -{0xa7, 0x40,}, -{0x8B, 0x75,}, /*EXP100 */ -{0x8C, 0x30,}, -{0x8D, 0x61,}, /*EXP120 */ -{0x8E, 0xa8,}, -{0x9c, 0x09,}, /*EXP Limit 1250.00 fps */ -{0x9d, 0x60,}, -{0x9e, 0x01,}, /*EXP Unit */ -{0x9f, 0x90,}, -{0x98, 0x9d,}, - -{0xb0, 0x16,}, -{0xb1, 0x14,}, -{0xb2, 0xf8,}, -{0xb3, 0x14,}, -{0xb4, 0x1b,}, -{0xb5, 0x46,}, -{0xb6, 0x31,}, -{0xb7, 0x29,}, -{0xb8, 0x26,}, -{0xb9, 0x24,}, -{0xba, 0x22,}, -{0xbb, 0x42,}, -{0xbc, 0x41,}, -{0xbd, 0x40,}, -{0xc0, 0x10,}, -{0xc1, 0x38,}, -{0xc2, 0x38,}, -{0xc3, 0x38,}, -{0xc4, 0x07,}, -{0xc8, 0x80,}, -{0xc9, 0x80,}, -{0x10, 0x8c,}, /* ae enable*/ - - -/*AE_Weight*/ -{0x03, 0x21,}, -{0x20, 0x11,}, -{0x21, 0x11,}, -{0x22, 0x11,}, -{0x23, 0x11,}, -{0x24, 0x12,}, -{0x25, 0x22,}, -{0x26, 0x22,}, -{0x27, 0x21,}, -{0x28, 0x12,}, -{0x29, 0x22,}, -{0x2a, 0x22,}, -{0x2b, 0x21,}, -{0x2c, 0x12,}, -{0x2d, 0x23,}, -{0x2e, 0x32,}, -{0x2f, 0x21,}, -{0x30, 0x12,}, -{0x31, 0x23,}, -{0x32, 0x32,}, -{0x33, 0x21,}, -{0x34, 0x12,}, -{0x35, 0x22,}, -{0x36, 0x22,}, -{0x37, 0x21,}, -{0x38, 0x12,}, -{0x39, 0x22,}, -{0x3a, 0x22,}, -{0x3b, 0x21,}, -{0x3c, 0x11,}, -{0x3d, 0x11,}, -{0x3e, 0x11,}, -{0x3f, 0x11,}, - -/* PAGE 22 START*/ -{0x03, 0x22,}, -{0x10, 0xfd,}, -{0x11, 0x2e,}, -{0x19, 0x01,}, /* Low On*/ -{0x20, 0x30,}, /* for wb speed*/ -{0x21, 0x40,}, -{0x24, 0x01,}, -{0x25, 0x7e,}, /* for tracking 20120314 */ - -{0x30, 0x80,}, /* 20120224 test*/ -{0x31, 0x80,}, -{0x38, 0x11,}, -{0x39, 0x34,}, - -{0x40, 0xe8,}, -{0x41, 0x43,}, /* 33*/ -{0x42, 0x22,}, /* 22*/ - -{0x43, 0xf3,}, /* f6*/ -{0x44, 0x54,}, /* 44*/ -{0x45, 0x22,}, /* 33*/ - -{0x46, 0x00,}, -{0x48, 0x0a,}, -{0x50, 0xb2,}, -{0x51, 0x81,}, -{0x52, 0x98,}, - -{0x80, 0x38,}, -{0x81, 0x20,}, -{0x82, 0x38,}, /* 3a*/ - -{0x83, 0x56,}, /* R Max*/ -{0x84, 0x20,}, /* R Min*/ -{0x85, 0x52,}, /* B Max*/ -{0x86, 0x20,}, /* B Min*/ - -{0x87, 0x45,}, -{0x88, 0x3a,}, -{0x89, 0x32,}, -{0x8a, 0x2c,}, - -{0x8b, 0x42,}, -{0x8c, 0x3d,}, -{0x8d, 0x30,}, -{0x8e, 0x2c,}, - -{0x8f, 0x5a,}, -{0x90, 0x59,}, -{0x91, 0x55,}, -{0x92, 0x4e,}, -{0x93, 0x44,}, -{0x94, 0x3a,}, -{0x95, 0x34,}, -{0x96, 0x2c,}, -{0x97, 0x23,}, -{0x98, 0x20,}, -{0x99, 0x1f,}, -{0x9a, 0x1f,}, - -{0x9b, 0x77,}, -{0x9c, 0x77,}, -{0x9d, 0x48,}, -{0x9e, 0x38,}, -{0x9f, 0x30,}, - -{0xa0, 0x40,}, -{0xa1, 0x21,}, -{0xa2, 0x6f,}, -{0xa3, 0xff,}, - -{0xa4, 0x14,}, /* 1500fps*/ -{0xa5, 0x44,}, /* 700fps*/ -{0xa6, 0xcf,}, - -{0xad, 0x40,}, -{0xae, 0x4a,}, - -{0xaf, 0x2a,}, /* low temp Rgain*/ -{0xb0, 0x28,}, /* low temp Rgain*/ - -{0xb1, 0x00,}, /* {0x20, 0x -}> {0x00, 0x 0}405 modify*/ -{0xb4, 0xbf,}, /* for tracking 20120314*/ -{0xb8, 0xb1,}, /* a2: b-2, R+2 b4 B-3, R+4 lowtemp b0 a1 Spec AWB A modify*/ -{0xb9, 0x00,}, -/* PAGE 22 END*/ - -/* PAGE 48 */ -{0x03, 0x00,}, - -/* PLL Setting */ -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x05,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, - -{0x03, 0x48,}, -/* MIPI TX Setting */ -{0x10, 0x1c,}, -{0x11, 0x00,}, -{0x12, 0x00,}, -{0x14, 0x00,}, -{0x16, 0x04,}, -{0x17, 0x00,}, -{0x18, 0x80,}, -{0x19, 0x00,}, -{0x1a, 0xa0,}, -{0x1c, 0x02,}, -{0x1d, 0x0e,}, -{0x1e, 0x07,}, -{0x1f, 0x08,}, -{0x22, 0x00,}, -{0x23, 0x01,}, -{0x24, 0x1e,}, -{0x25, 0x00,}, -{0x26, 0x00,}, -{0x27, 0x08,}, -{0x28, 0x00,}, -{0x30, 0x05,}, -{0x31, 0x00,}, -{0x32, 0x07,}, -{0x33, 0x09,}, -{0x34, 0x01,}, -{0x35, 0x01,}, -{0x03, 0x00,}, -{0x01, 0x00,}, -{0xff, 0x05,}, -}; - diff --git a/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv_ruben.h b/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv_ruben.h index 40b5f204f5b..30c70b74d31 100644 --- a/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv_ruben.h +++ b/drivers/media/platform/msm/camera_v2/sensor/sr130pc20_yuv_ruben.h @@ -1843,7 +1843,7 @@ static struct msm_camera_i2c_reg_conf sr130pc20_VT_Init_Reg[] = { #endif -static struct msm_camera_i2c_reg_conf sr130pc20_camcorder_mode_50hz[] = { +static struct msm_camera_i2c_reg_conf sr130pc20_camcorder_mode[] = { /*0 Page*/ {0x03, 0x00,}, {0x01, 0x01,}, /*sleep*/ @@ -2758,926 +2758,7 @@ static struct msm_camera_i2c_reg_conf sr130pc20_camcorder_mode_50hz[] = { {0xff, 0x28,}, /*400ms Delay*/ }; -static struct msm_camera_i2c_reg_conf sr130pc20_camcorder_mode_60hz[] = { -/*0 Page*/ -{0x03, 0x00,}, -{0x01, 0x01,}, /*sleep*/ -{0x01, 0x03,}, /*s/w reset*/ -{0x01, 0x01,}, /*sleep*/ -{0x08, 0x00,},/*Don't touch*/ -{0x09, 0x37,},/*Don't touch*/ -{0x0a, 0x33,},/*Don't touch*/ -/*PLL Setting*/ -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x01,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, -{0x10, 0x11,}, -{0x11, 0x97,}, /*xy flip*/ -{0x12, 0x00,}, -{0x14, 0x88,}, -{0x03, 0x00,}, -{0x20, 0x00,}, -{0x21, 0x04,}, -{0x22, 0x00,}, -{0x23, 0x04,}, -{0x24, 0x03,}, -{0x25, 0xC0,}, -{0x26, 0x05,}, -{0x27, 0x00,}, -{0x40, 0x01,}, /*Hblank_280*/ -{0x41, 0x18,}, -{0x42, 0x00,}, /*Vblank 124*/ -{0x43, 0x7c,}, -{0x03, 0x00,}, /*ESD */ -{0x0b, 0xaa,}, -{0x0c, 0xaa,}, -{0x0d, 0xaa,}, -/*--------------- BLC*/ -{0x80, 0x08,}, /*Don't touch */ -{0x81, 0x97,}, /*Don't touch */ -{0x82, 0x90,}, /*Don't touch */ -{0x83, 0x30,}, /*Don't touch */ -{0x84, 0xcc,}, /*Don't touch*/ -{0x85, 0x00,}, /*Don't touch*/ -{0x86, 0xd4,}, /*Don' t touch*/ -{0x87, 0x0f,}, /*Don't touch*/ -{0x88, 0x34,}, /*Don't touch*/ -{0x90, 0x04,}, /*BLC_TIME_TH_ON*/ -{0x91, 0x04,}, /*BLC_TIME_TH_OFF */ -{0x92, 0xe8,}, /*BLC_AG_TH_ON*/ -{0x93, 0xe0,}, /*BLC_AG_TH_OFF*/ -{0x94, 0x95,}, /*091202*/ -{0x95, 0x90,}, /*091202 */ -{0x98, 0x38,}, /*Don't touch*/ -/*Dark BLC*/ -{0xa0, 0x01,}, /* 20100309*/ -{0xa2, 0x01,}, /* 20100309*/ -{0xa4, 0x01,}, /* 20100309*/ -{0xa6, 0x01,}, /* 20100309*/ -/*Normal BLC*/ -{0xa8, 0x00,}, -{0xaa, 0x00,}, -{0xac, 0x00,}, -{0xae, 0x00,}, -/*Out BLC*/ -{0x99, 0x00,}, -{0x9a, 0x00,}, -{0x9b, 0x00,}, -{0x9c, 0x00,}, -/*2 Page*/ -{0x03, 0x02,}, -{0x12, 0x00,}, /*Don't touch*/ -{0x14, 0x00,}, /*Don't touch*/ -{0x15, 0x00,}, /*Don't touch*/ -{0x18, 0x4C,}, /*Don't touch*/ -{0x19, 0x00,}, /*Don't touch*/ -{0x1A, 0x39,}, /*Don't touch*/ -{0x1B, 0x00,},/*Don't touch*/ -{0x1C, 0x1a,}, /*Don't touch*/ -{0x1D, 0x14,}, /*Don't touch*/ -{0x1E, 0x30,},/*Don't touch*/ -{0x1F, 0x10,},/*Don't touch*/ -{0x20, 0x77,}, -{0x21, 0xde,}, -{0x22, 0xa7,}, -{0x23, 0x30,}, -{0x24, 0x77,}, -{0x25, 0x10,}, -{0x26, 0x10,}, -{0x27, 0x3c,}, -{0x2b, 0x80,}, -{0x2c, 0x02,}, -{0x2d, 0xa0,}, -{0x2e, 0x00,}, -{0x2f, 0xa7,}, -{0x30, 0x00,}, -{0x31, 0x99,}, -{0x32, 0x00,}, -{0x33, 0x00,}, -{0x34, 0x22,}, -{0x36, 0x01,}, -{0x37, 0x01,}, -{0x38, 0x88,}, -{0x39, 0x88,}, -{0x3d, 0x03,}, -{0x3e, 0x0d,}, -{0x3f, 0x02,}, -{0x49, 0xd1,}, -{0x4a, 0x14,}, -{0x50, 0x21,}, -{0x52, 0x01,}, -{0x53, 0x81,}, -{0x54, 0x10,}, -{0x55, 0x1c,}, -{0x56, 0x11,}, -{0x58, 0x18,}, -{0x59, 0x16,}, -{0x5d, 0xa2,}, -{0x5e, 0x5a,}, -{0x60, 0x93,}, /* 20120517 modify*/ -{0x61, 0xa4,}, /* 20120517 modify*/ -{0x62, 0x94,}, /* 20120517 modify*/ -{0x63, 0xa3,}, /* 20120517 modify*/ -{0x64, 0x94,}, /* 20120517 modify*/ -{0x65, 0xa3,}, /* 20120517 modify*/ -{0x67, 0x0c,}, -{0x68, 0x0c,}, -{0x69, 0x0c,}, -{0x6a, 0xb4,}, -{0x6b, 0xc4,}, -{0x6c, 0xb5,}, -{0x6d, 0xc2,}, -{0x6e, 0xb5,}, -{0x6f, 0xc0,}, -{0x70, 0xb6,}, -{0x71, 0xb8,}, -{0x72, 0x95,}, /* 20120517 modify*/ -{0x73, 0xa2,}, /* 20120517 modify*/ -{0x74, 0x95,}, /* 20120517 modify*/ -{0x75, 0xa2,}, /* 20120517 modify*/ -{0x76, 0x95,}, /* 20120517 modify*/ -{0x77, 0xa2,}, /* 20120517 modify*/ -{0x7C, 0x92,}, /* 20120517 modify*/ -{0x7D, 0xff,}, /* 20120517 modify*/ -{0x80, 0x01,}, /* 20120517 modify*/ -{0x81, 0x8a,}, /* 20120517 modify*/ -{0x82, 0x1e,}, /* 20120517 modify*/ -{0x83, 0x36,}, /* 20120517 modify*/ -{0x84, 0x89,}, /* 20120517 modify*/ -{0x85, 0x8b,}, /* 20120517 modify*/ -{0x86, 0x89,}, /* 20120517 modify*/ -{0x87, 0x8b,}, /* 20120517 modify*/ -{0x88, 0xab,}, -{0x89, 0xbc,}, -{0x8a, 0xac,}, -{0x8b, 0xba,}, -{0x8c, 0xad,}, -{0x8d, 0xb8,}, -{0x8e, 0xae,}, -{0x8f, 0xb2,}, -{0x90, 0xb3,}, -{0x91, 0xb7,}, -{0x92, 0x52,}, /* 20120517 modify*/ -{0x93, 0x6a,}, /* 20120517 modify*/ -{0x94, 0x89,}, /* 20120517 modify*/ -{0x95, 0x8b,}, /* 20120517 modify*/ -{0x96, 0x89,}, /* 20120517 modify*/ -{0x97, 0x8b,}, /* 20120517 modify*/ -{0xA0, 0x02,}, -{0xA1, 0x86,}, /* 20120517 modify*/ -{0xA2, 0x02,}, -{0xA3, 0x86,}, /* 20120517 modify*/ -{0xA4, 0x86,}, /* 20120517 modify*/ -{0xA5, 0x02,}, -{0xA6, 0x86,}, /* 20120517 modify*/ -{0xA7, 0x02,}, -{0xA8, 0x92,}, /* 20120517 modify*/ -{0xA9, 0x94,}, /* 20120517 modify*/ -{0xAA, 0x92,}, /* 20120517 modify*/ -{0xAB, 0x94,}, /* 20120517 modify*/ -{0xAC, 0x1c,}, -{0xAD, 0x22,}, -{0xAE, 0x1c,}, -{0xAF, 0x22,}, -{0xB0, 0xa4,}, /* 20120517 modify*/ -{0xB1, 0xae,}, /* 20120517 modify*/ -{0xB2, 0xa4,}, /* 20120517 modify*/ -{0xB3, 0xae,}, /* 20120517 modify*/ -{0xB4, 0xa6,}, /* 20120517 modify*/ -{0xB5, 0xac,}, /* 20120517 modify*/ -{0xB6, 0xa6,}, /* 20120517 modify*/ -{0xB7, 0xac,}, /* 20120517 modify*/ -{0xB8, 0xa6,}, /* 20120517 modify*/ -{0xB9, 0xab,}, /* 20120517 modify*/ -{0xBA, 0xa6,}, /* 20120517 modify*/ -{0xBB, 0xab,}, /* 20120517 modify*/ -{0xBC, 0xa6,}, /* 20120517 modify*/ -{0xBD, 0xab,}, /* 20120517 modify*/ -{0xBE, 0xa6,}, /* 20120517 modify*/ -{0xBF, 0xab,}, /* 20120517 modify*/ -{0xc4, 0x37,}, -{0xc5, 0x52,}, -{0xc6, 0x6b,}, -{0xc7, 0x86,}, -{0xc8, 0x38,}, /* 20120517 modify*/ -{0xc9, 0x50,}, /* 20120517 modify*/ -{0xca, 0x38,}, /* 20120517 modify*/ -{0xcb, 0x50,}, /* 20120517 modify*/ -{0xcc, 0x6c,}, /* 20120517 modify*/ -{0xcd, 0x84,}, /* 20120517 modify*/ -{0xce, 0x6c,}, /* 20120517 modify*/ -{0xcf, 0x84,}, /* 20120517 modify*/ -{0xdc, 0x00,}, /* Added*/ -{0xdd, 0xaf,}, /* Added*/ -{0xde, 0x00,}, /* Added*/ -{0xdf, 0x90,}, /* Added*/ -{0xd0, 0x10,}, -{0xd1, 0x14,}, -{0xd2, 0x20,}, -{0xd3, 0x00,}, -/*DCDC */ -{0xd4, 0x04,}, /*DCDC_TIME_TH_ON*/ -{0xd5, 0x04,}, /*DCDC_TIME_TH_OFF */ -{0xd6, 0xe8,}, /*DCDC_AG_TH_ON*/ -{0xd7, 0xe0,}, /*DCDC_AG_TH_OFF*/ -{0xea, 0x8a,}, -{0xF0, 0x01,}, /* clock inversion*/ -{0xF1, 0x01,}, -{0xF2, 0x01,}, -{0xF3, 0x01,}, -{0xF4, 0x01,}, -{0xF5, 0x00,}, -{0x03, 0x10,}, /*page 10*/ -{0x10, 0x01,}, /*Ycbcr422_bit Order: YUYV*/ -{0x11, 0x03,}, -{0x12, 0x30,}, /*y offset[4], dif_offset[5]*/ -{0x13, 0x02,}, /*contrast effet enable : 0x02*/ -{0x34, 0x00,}, /*hidden 10->00 100209*/ -{0x37, 0x01,}, /*yc2d power save */ -{0x3f, 0x04,}, /*100825*/ -{0x40, 0x80,}, /*Y offset */ -{0x41, 0x0a,}, -{0x48, 0x80,}, /*Contrast (Y = constrast * (Y - 128) + 128)/86 */ - -{0x50, 0xf8,}, /*20140404 Dyoffset TH */ - -{0x53, 0x00,}, /*dif_offset option */ -{0x55, 0x30,}, /*dif_offset option diff_offset max */ -{0x60, 0x07,}, -{0x61, 0x83,}, /*blue saturation_C0*/ -{0x62, 0x80,}, /*red saturation_B0*/ -{0x63, 0x80,}, /*auto decresment on AG th*/ -{0x64, 0xff,}, /*auto decresment on DG th*/ -{0x66, 0xe4,}, /*Outdoor saturation step 137fps apply out th */ -{0x67, 0x13,}, /*Outdoor saturation B/R*/ -{0x76, 0x01,}, /* ADD 20121031 */ -{0x79, 0x04,}, /* ADD 20121031 */ -/* Hi 163 */ -/* PAGE 10 START*/ -{0x03, 0x10,}, -{0x80, 0x00,}, /* dsshin --> color enhance*/ -{0xf5, 0x00,}, /* dsshin --> h blank option*/ -{0x03, 0x11,}, /*page 11 D_LPF */ -{0x10, 0x3f,}, /*B[6]:Blue En Dlpf on[4:0] Sky over off : 0x7f->3f*/ -{0x11, 0x20,}, /* Uniform Full GbGr/OV-Nr*/ -{0x12, 0x80,}, /*Blue MaxOpt blue sky max filter optoin rate : 0 0xc0->80*/ -{0x13, 0xb8,}, -{0x30, 0xba,}, /*Outdoor2 H th*/ -{0x31, 0x10,}, /*Outdoor2 L th*/ -{0x32, 0x50,}, /*Outdoor2 gain ratio*/ -{0x33, 0x1d,}, /*Outdoor2 H lum*/ -{0x34, 0x20,}, /*Outdoor2 M lum*/ -{0x35, 0x1f,}, /*Outdoor2 L lum*/ -{0x36, 0xb0,}, /*Outdoor1 H th*/ -{0x37, 0x18,}, /*Outdoor1 L th*/ -{0x38, 0x50,}, /*Outdoor1 gain ratio 0x80->40*/ -{0x39, 0x1d,}, /*Outdoor1 H lum 0x28->1e*/ -{0x3a, 0x20,}, /*Outdoor1 M lum 0x10->15*/ -{0x3b, 0x1f,}, /*Outdoor1 L lum */ -{0x3c, 0x3f,}, /*indoor H th*/ -{0x3d, 0x16,}, /*indoor L th*/ -{0x3e, 0x30,}, /*indoor gain ratio 0x44 6a */ -{0x3f, 0x1a,}, /*indoor H lum 0x12 18 */ -{0x40, 0x60,}, /*indoor M lum 0x18 1c*/ -{0x41, 0x1a,}, /*indoor L lum */ -{0x42, 0x98,}, /*dark1 H th*/ -{0x43, 0x28,}, /*dark1 L th*/ -{0x44, 0x65,}, /*dark1 gain ratio*/ -{0x45, 0x16,}, /*dark1 H lum 0x38->0x28 */ -{0x46, 0x30,}, /*dark1 M lum 0x27->0x17*/ -{0x47, 0x34,}, /*dark1 L lum 0x20->0x1a */ -{0x48, 0x90,}, /*dark2 H th*/ -{0x49, 0x2a,}, /*dark2 L th*/ -{0x4a, 0x65,}, /*dark2 gain ratio*/ -{0x4b, 0x18,}, /*dark2 H lum */ -{0x4c, 0x31,}, /*dark2 M lum*/ -{0x4d, 0x36,}, /*dark2 L lum */ -{0x4e, 0x80,}, /*dark3 H th*/ -{0x4f, 0x30,}, /*dark3 L th*/ -{0x50, 0x65,}, /*dark3 gain ratio*/ -{0x51, 0x19,}, /*dark3 H lum */ -{0x52, 0x31,}, /*dark3 M lum */ -{0x53, 0x36,}, /*dark3 L lum */ -{0x5a, 0x3f,}, /*blue sky mode out1/2 enable 0x27->3f */ -{0x5b, 0x00,}, /*Impulse pixel enable dark123,in,out123*/ -{0x5c, 0x9f,}, /*Indoor maxfilter rate[7:5] | Uncertain onoff[4:0] 0x1f ->0x9f*/ -{0x60, 0x3f,}, /*GbGr all enable*/ -{0x62, 0x0f,}, /*GbGr offset*/ -{0x65, 0x0c,}, /*Outdoor GbGr rate H 100% M 25% L 100%*/ -{0x66, 0x0c,}, /*Indoor GbGr rate H 100% M 25% L 100%*/ -{0x67, 0x00,}, /*dark GbGr rate H/M/L 100%*/ -{0x70, 0x0c,}, /* Abberation On/Off B[1]: Outdoor B[0]: Indoor 07>>c*/ -{0x75, 0xa0,}, /* Outdoor2 Abberation Luminance lvl */ -{0x7d, 0xb4,}, /* Indoor Abberation Luminance lvl*/ -{0x96, 0x08,}, /*indoor/Dark1 edgeoffset1*/ -{0x97, 0x14,}, /*indoor/Dark1 center G value*/ -{0x98, 0xf5,}, /*slope indoor :: left/right graph polarity, slope*/ -{0x99, 0x2a,}, /*indoor uncertain ratio control*/ -{0x9a, 0x20,}, /*Edgeoffset_dark*/ -/*DPC_CTRL*/ -{0x03, 0x12,}, /*Preview DPC off[0x5c] on[0x5d]*/ -{0x20, 0x0f,}, -{0x21, 0x0f,}, -{0x25, 0x00,}, /* 0x30*/ -{0x2a, 0x01,}, -{0x2e, 0x00,}, /*2010.8.25*/ -{0x30, 0x35,}, /*Texture region(most detail)*/ -{0x31, 0xa0,}, /*STD uniform1 most blur region*/ -{0x32, 0xb0,}, /*STD uniform2 2nd blur*/ -{0x33, 0xc0,}, /*STD uniform3 3rd blur*/ -{0x34, 0xd0,}, /*STD normal noise1 4th blur */ -{0x35, 0xe0,}, /*STD normal noise2 5th blur*/ -{0x36, 0xff,}, /*STD normal noise3 6th blur*/ -{0x40, 0x83,}, /*Outdoor2 H th*/ -{0x41, 0x20,}, /*Outdoor2 L th */ -{0x42, 0x08,}, /*Outdoor2 H luminance */ -{0x43, 0x10,}, /*Outdoor2 M luminance */ -{0x44, 0x10,}, /*Outdoor2 l luminance */ -{0x45, 0x50,}, /*Outdoor2 ratio*/ -{0x46, 0x83,}, /*Outdoor1 H th*/ -{0x47, 0x20,}, /*Outdoor1 L th */ -{0x48, 0x08,}, /*Outdoor1 H luminance*/ -{0x49, 0x10,}, /*Outdoor1 M luminance*/ -{0x4a, 0x10,}, /*Outdoor1 L luminance*/ -{0x4b, 0x50,}, /*Outdoor1 ratio*/ -{0x4c, 0x80,}, /*Indoor H th*/ -{0x4d, 0x48,}, /*Indoor L th*/ -{0x4e, 0x30,}, /*indoor H lum*/ -{0x4f, 0x30,}, /*indoor M lum*/ -{0x50, 0x12,}, /*indoor L lum */ -{0x51, 0x70,}, /*indoor ratio 0x10 -> 0x45*/ -{0x52, 0xa8,}, /*dark1 H th*/ -{0x53, 0x30,}, /*dark1 L th */ -{0x54, 0x28,}, /*dark1 H lum */ -{0x55, 0x3e,}, /*dark1 M lum*/ -{0x56, 0x67,}, /*dark1 L lum*/ -{0x57, 0x6a,}, /*dark1 ratio*/ -{0x58, 0xa0,}, /*dark2 H th*/ -{0x59, 0x40,}, /*dark2 L th*/ -{0x5a, 0x28,}, /*dark2 H lum*/ -{0x5b, 0x3f,}, /*dark2 M lum*/ -{0x5c, 0x68,}, /*dark2 L lum*/ -{0x5d, 0x70,}, /*dark2 ratio*/ -{0x5e, 0xa0,}, /*dark3 H th*/ -{0x5f, 0x40,}, /*dark3 L th*/ -{0x60, 0x29,}, /*dark3 H lum*/ -{0x61, 0x3f,}, /*dark3 M lum*/ -{0x62, 0x69,}, /*dark3 L lum*/ -{0x63, 0x6a,}, /*dark3 ratio*/ -/*C-filter(Out2&Out1)*/ -{0x70, 0x10,}, -{0x71, 0x0a,}, -/*C-filter(Indoor&Dark3)*/ -{0x72, 0x10,}, -{0x73, 0x0a,}, -/*C-filter(Dark2&Dark1)*/ -{0x74, 0x18,}, -{0x75, 0x12,}, -{0x80, 0x20,}, -{0x81, 0x40,}, -{0x82, 0x65,}, -{0x85, 0x1a,}, -{0x88, 0x00,}, -{0x89, 0x00,}, -{0x90, 0x5d,}, /*Preview DPC off[0x5c] on[0x5d]*/ -/*DPC-Dark1,2,3*/ -{0xad, 0x07,}, /*10825*/ -{0xae, 0x07,}, /*10825*/ -{0xaf, 0x07,}, /*10825*/ -/*Blue Det..*/ -{0xc5, 0x58,}, /*BlueRange 2010.8.25 {0x40, 0x->2}3 */ -{0xc6, 0x20,}, /*GreenRange 2010.8.25 0x3b->20 */ -{0xd0, 0x88,}, /*2010.8.25*/ -{0xd1, 0x80,}, -{0xd2, 0x17,},/*preview 17, full 67*/ -{0xd3, 0x00,}, -{0xd4, 0x00,}, -{0xd5, 0x0f,},/*preview 0f, full 02*/ -{0xd6, 0xff,}, -{0xd7, 0xff,},/*preview ff, full 18*/ -{0xd8, 0x00,}, -{0xd9, 0x04,}, -/*interpolated with average*/ -{0xdb, 0x38,}, /*resolution issue 0x00->0x18->0x38 */ -{0xd9, 0x04,}, /*strong_edge detect ratio*/ -{0xe0, 0x01,}, /*strong_edge detect ratio*/ -{0x03, 0x13,}, /*page 13 sharpness 1D*/ -{0x10, 0xc5,}, -{0x11, 0x7b,}, -{0x12, 0x0e,}, -{0x14, 0x00,}, -{0x15, 0x11,}, /*added option 1.3M */ -{0x18, 0x30,}, /*added option 1.3M */ -{0x20, 0x15,}, -{0x21, 0x13,}, -{0x22, 0x33,}, -{0x23, 0x08,}, /*hi_clip th1*/ -{0x24, 0x1a,}, /*hi_clip th2*/ -{0x25, 0x06,}, /*low clip th*/ -{0x26, 0x18,}, -{0x27, 0x30,}, -{0x29, 0x10,}, /*time th*/ -{0x2a, 0x30,}, /*pga th*/ -{0x2b, 0x03,}, /*lpf out2*/ -{0x2c, 0x03,}, /*lpf out1*/ -{0x2d, 0x0c,}, -{0x2e, 0x12,}, -{0x2f, 0x12,}, -/*1D Edge*/ -{0x50, 0x0a,}, /*out2 hi nega*/ -{0x53, 0x07,}, /* hi pos*/ -{0x51, 0x0c,}, /* mi nega*/ -{0x54, 0x07,}, /* mi pos*/ -{0x52, 0x0b,}, /* lo nega*/ -{0x55, 0x08,}, /* lo pos*/ -{0x56, 0x0a,}, /*out1 hi nega*/ -{0x59, 0x07,}, /* hi pos */ -{0x57, 0x0c,}, /* mi nega*/ -{0x5a, 0x07,}, /* mi pos */ -{0x58, 0x0b,}, /* lo nega*/ -{0x5b, 0x08,}, /* lo pos */ -/*Indoor Edge*/ -{0x5c, 0x08,}, /*indoor hi nega*/ -{0x5f, 0x07,}, /* hi pos*/ -{0x5d, 0x14,}, /* mid nega */ -{0x60, 0x12,}, /* mid pos */ -{0x5e, 0x0a,}, /* low nega */ -{0x61, 0x08,}, /* low pos*/ -{0x62, 0x08,}, /*dark1 hi nega*/ -{0x65, 0x06,}, /* hi pos */ -{0x63, 0x08,}, /* mid nega */ -{0x66, 0x06,}, /* mid pos */ -{0x64, 0x08,}, /* low nega */ -{0x67, 0x06,}, /* low pos */ -{0x68, 0x07,}, /*dark2 hi nega*/ -{0x6b, 0x05,}, /* hi pos */ -{0x69, 0x07,}, /* mid nega */ -{0x6c, 0x05,}, /* mid pos */ -{0x6a, 0x07,}, /* low nega */ -{0x6d, 0x05,}, /* low pos */ -{0x6e, 0x0a,}, /*dark3 hi nega*/ -{0x71, 0x09,}, /* hi pos */ -{0x6f, 0x0a,}, /* mid nega */ -{0x72, 0x09,}, /* mid pos */ -{0x70, 0x0a,}, /* low nega */ -{0x73, 0x09,}, /* low pos */ - /* 2DY*/ -{0x80, 0xc1,}, -{0x81, 0x1f,}, -{0x82, 0xe1,}, -{0x83, 0x33,}, -{0x90, 0x05,}, -{0x91, 0x05,}, -{0x92, 0x33,}, -{0x93, 0x30,}, -{0x94, 0x03,}, -{0x95, 0x14,}, -{0x97, 0x30,}, -{0x99, 0x30,}, -{0xa0, 0x02,}, /*2d lclp out2 nega*/ -{0xa1, 0x03,}, /*2d lclp out2 pos*/ -{0xa2, 0x02,}, /*2d lclp out1 nega*/ -{0xa3, 0x03,}, /*2d lclp out1 pos*/ -{0xa4, 0x03,}, /*2d lclp in nega*/ -{0xa5, 0x04,}, /*2d lclp in pos*/ -{0xa6, 0x07,}, /*2d lclp dark1 nega*/ -{0xa7, 0x08,}, /*2d lclp dark1 pos*/ -{0xa8, 0x07,}, /*2d lclp dark2 nega*/ -{0xa9, 0x08,}, /*2d lclp dark2 pos*/ -{0xaa, 0x07,}, /*2d lclp dark3 nega*/ -{0xab, 0x08,}, /*2d lclp dark3 pos*/ -{0xb0, 0x10,}, /*out2 H Ne*/ -{0xb3, 0x10,}, /* H Po*/ -{0xb1, 0x1e,}, /* M Ne*/ -{0xb4, 0x1e,}, /* M Po*/ -{0xb2, 0x1f,}, /* L Ne*/ -{0xb5, 0x1e,}, /* L Po*/ -{0xb6, 0x10,}, /*out1 H Ne */ -{0xb9, 0x10,}, /* H Po */ -{0xb7, 0x1e,}, /* M Ne */ -{0xba, 0x1e,}, /* M Po */ -{0xb8, 0x1f,}, /* L Ne */ -{0xbb, 0x1e,}, /* L Po */ -{0xbc, 0x20,}, /*indoor H Ne*/ -{0xbf, 0x1e,}, /* H Po*/ -{0xbd, 0x25,}, /* M Ne*/ -{0xc0, 0x23,}, /* M Po*/ -{0xbe, 0x24,}, /* L Ne*/ -{0xc1, 0x22,}, /* L Po*/ -{0xc2, 0x23,}, /*dark1 H Ne*/ -{0xc5, 0x23,}, /* H Po*/ -{0xc3, 0x29,}, /* M Ne*/ -{0xc6, 0x29,}, /* M Po*/ -{0xc4, 0x25,}, /* L Ne*/ -{0xc7, 0x25,}, /* L Po*/ -{0xc8, 0x1c,}, /*dark2 H Ne*/ -{0xcb, 0x1c,}, /* H Po*/ -{0xc9, 0x25,}, /* M Ne*/ -{0xcc, 0x25,}, /* M Po*/ -{0xca, 0x23,}, /* L Ne*/ -{0xcd, 0x23,}, /* L Po*/ -{0xce, 0x1c,}, /*dark3 H Ne*/ -{0xd1, 0x1c,}, /* H Po*/ -{0xcf, 0x25,}, /* M Ne*/ -{0xd2, 0x25,}, /* M Po*/ -{0xd0, 0x23,}, /* L Ne*/ -{0xd3, 0x23,}, /* L Po*/ -/* PAGE 14 START*/ -{0x03, 0x14,}, -{0x10, 0x31,}, -{0x14, 0x80,}, /* GX*/ -{0x15, 0x80,}, /* GY*/ -{0x16, 0x80,}, /* RX*/ -{0x17, 0x80,}, /* RY*/ -{0x18, 0x80,}, /* BX*/ -{0x19, 0x80,}, /* BY*/ -{0x20, 0x60,}, /* X Center*/ -{0x21, 0x80,}, /* Y Center*/ -{0x22, 0x80,}, -{0x23, 0x80,}, -{0x24, 0x80,}, -{0x30, 0xc8,}, -{0x31, 0x2b,}, -{0x32, 0x00,}, -{0x33, 0x00,}, -{0x34, 0x90,}, -{0x40, 0x60,}, /*R min's set 4e*/ -{0x41, 0x44,}, /*Gr*/ -{0x42, 0x3e,}, /*B*/ -{0x43, 0x44,}, /*Gb*/ -{0x03, 0x15,}, -{0x10, 0x21,}, -{0x14, 0x44,}, /*49*/ -{0x15, 0x34,}, /*38*/ -{0x16, 0x26,}, /*2b*/ -{0x17, 0x2f,}, -/*CMC*/ -{0x30, 0xdd,}, -{0x31, 0x62,}, -{0x32, 0x05,}, -{0x33, 0x26,}, -{0x34, 0xbd,}, -{0x35, 0x17,}, -{0x36, 0x18,}, -{0x37, 0x38,}, -{0x38, 0xd0,}, -{0x40, 0xb0,}, -{0x41, 0x30,}, -{0x42, 0x00,}, -{0x43, 0x00,}, -{0x44, 0x00,}, -{0x45, 0x00,}, -{0x46, 0x99,}, -{0x47, 0x19,}, -{0x48, 0x00,}, -{0x50, 0x16,}, -{0x51, 0xb2,}, -{0x52, 0x1c,}, -{0x53, 0x06,}, -{0x54, 0x20,}, -{0x55, 0xa6,}, -{0x56, 0x0e,}, -{0x57, 0xb2,}, -{0x58, 0x24,}, -{0x03, 0x16,}, -{0x10, 0x31,}, /*GMA_CTL*/ -{0x18, 0x7e,}, /*AG_ON*/ -{0x19, 0x7d,}, /*AG_OFF*/ -{0x1a, 0x0e,}, /*TIME_ON*/ -{0x1b, 0x01,}, /*TIME_OFF*/ -{0x1C, 0xdc,}, /*OUT_ON*/ -{0x1D, 0xfe,}, /*OUT_OFF*/ -{0x30, 0x00,}, -{0x31, 0x07,}, -{0x32, 0x1a,}, -{0x33, 0x37,}, -{0x34, 0x5c,}, -{0x35, 0x7d,}, -{0x36, 0x96,}, -{0x37, 0xa9,}, -{0x38, 0xb7,}, -{0x39, 0xc6,}, -{0x3a, 0xd2,}, -{0x3b, 0xdc,}, -{0x3c, 0xe4,}, -{0x3d, 0xeb,}, -{0x3e, 0xf1,}, -{0x3f, 0xf5,}, -{0x40, 0xf9,}, -{0x41, 0xfd,}, -{0x42, 0xff,}, -{0x50, 0x00,}, -{0x51, 0x03,}, -{0x52, 0x13,}, -{0x53, 0x2e,}, -{0x54, 0x59,}, -{0x55, 0x79,}, -{0x56, 0x90,}, -{0x57, 0xa3,}, -{0x58, 0xb4,}, -{0x59, 0xc2,}, -{0x5a, 0xcd,}, -{0x5b, 0xd7,}, -{0x5c, 0xe0,}, -{0x5d, 0xe5,}, -{0x5e, 0xe9,}, -{0x5f, 0xee,}, -{0x60, 0xf1,}, -{0x61, 0xf3,}, -{0x62, 0xf6,}, -{0x70, 0x07,}, -{0x71, 0x1a,}, -{0x72, 0x2d,}, -{0x73, 0x46,}, -{0x74, 0x6a,}, -{0x75, 0x86,}, -{0x76, 0x9c,}, -{0x77, 0xad,}, -{0x78, 0xbc,}, -{0x79, 0xc9,}, -{0x7a, 0xd4,}, -{0x7b, 0xde,}, -{0x7c, 0xe4,}, -{0x7d, 0xeb,}, -{0x7e, 0xf1,}, -{0x7f, 0xf5,}, -{0x80, 0xf9,}, -{0x81, 0xfd,}, -{0x82, 0xff,}, -{0x03, 0x24,}, /*Resol control */ -{0x60, 0xc5,}, /*edge even frame | 16bit resol | white edge cnt | scene resol enable*/ -{0x61, 0x04,}, /*even frame update */ -{0x64, 0x08,}, -{0x65, 0x00,}, -{0x66, 0x26,}, /*edge th2 H */ -{0x67, 0x00,}, /*edge th2 L */ -{0x03, 0x13,}, -{0x18, 0x31,}, /*flat center Gb/Gr*/ -{0x74, 0x02,}, /*det slope en | gausian filter*/ -{0x75, 0x0d,}, /*1D negative gain det 09 */ -{0x76, 0x0d,}, /*1D postive gain det 08*/ -{0x77, 0x10,}, /*1D hclp2 det*/ -{0x78, 0x08,}, /*outdoor flat threshold*/ -{0x79, 0x10,}, /*indoor flat threshold*/ -{0x81, 0xdf,}, /*det gain controler*/ -{0x86, 0x90,}, /*2D negative gain det */ -{0x87, 0x90,}, /*2D postive gain det */ -{0x96, 0x2a,}, /*2D hclp2 det*/ -{0x03, 0x12,}, /*0x12 page*/ -{0xd0, 0x88,}, -{0xd9, 0xe4,}, -{0x03, 0x18,}, -{0x14, 0x43,}, /*83*/ -/* PAGE 20 START*/ -{0x03, 0x20,}, -{0x11, 0x1c,}, -{0x18, 0x30,}, -{0x1a, 0x08,}, -{0x20, 0x45,},/*weight*/ -{0x21, 0x30,}, -{0x22, 0x10,}, -{0x23, 0x00,}, -{0x24, 0x00,}, -{0x28, 0xe7,}, /* add 20120223*/ -{0x29, 0x0d,}, /* 20100305 ad -> 0d*/ -{0x2a, 0xfd,}, -{0x2b, 0xf8,}, -{0x2c, 0x43,}, /* 20140618 c3 -> 43*/ -{0x2d, 0x5f,}, /* add 20120223*/ -{0x2e, 0x33,}, -{0x30, 0xf8,}, -{0x32, 0x03,}, -{0x33, 0x2e,}, -{0x34, 0x30,}, -{0x35, 0xd4,}, -{0x36, 0xfe,}, -{0x37, 0x32,}, -{0x38, 0x04,}, -{0x39, 0x22,}, -{0x3a, 0xde,}, -{0x3b, 0x22,}, -{0x3c, 0xde,}, -{0x3d, 0xe1,}, -{0x50, 0x45,}, -{0x51, 0x88,}, -{0x56, 0x19,}, -{0x57, 0x81,}, -{0x58, 0x0e,}, -{0x59, 0x6a,}, -{0x5a, 0x04,}, -{0x5e, 0x9d,}, /*AE_AWB_start*/ -{0x5f, 0x76,}, /*AE_AWB_start*/ -{0x70, 0x33,}, /* 6c*/ -{0x71, 0x82,}, /* 82(+8)*/ -{0x76, 0x21,}, -{0x77, 0x71,}, -{0x78, 0x22,}, /* 24*/ -{0x79, 0x23,}, /* Y Target 70 => 25, 72 => 26*/ -{0x7a, 0x23,}, /* 23*/ -{0x7b, 0x22,}, /* 22*/ -{0x7d, 0x23,}, -{0x83, 0x01,}, /*EXP Normal 30 fps */ -{0x84, 0x86,}, -{0x85, 0xa0,}, -{0x86, 0x01,}, /*EXPMin 7500.00 fps*/ -{0x87, 0x90,}, -{0x88, 0x01,}, /*EXP Max(120Hz) 30.00 fps */ -{0x89, 0x86,}, -{0x8a, 0xa0,}, -{0xa5, 0x01,}, /*EXP Max(100Hz) 25.xx fps */ -{0xa6, 0xd1,}, -{0xa7, 0xa0,}, -{0x91, 0x01,}, /*EXP Fix 24.00 fps*/ -{0x92, 0xe8,}, -{0x93, 0x48,}, -{0x8B, 0x75,}, /*EXP100 */ -{0x8C, 0x30,}, -{0x8D, 0x61,}, /*EXP120 */ -{0x8E, 0xa8,}, -{0x9c, 0x0b,}, /*EXP Limit 1000 fps */ -{0x9d, 0xb8,}, -{0x9e, 0x01,}, /*EXP Unit */ -{0x9f, 0x90,}, -{0x98, 0x9d,}, -{0xb0, 0x16,}, -{0xb1, 0x14,}, -{0xb2, 0xf8,}, -{0xb3, 0x14,}, -{0xb4, 0x1b,}, -{0xb5, 0x46,}, -{0xb6, 0x31,}, -{0xb7, 0x29,}, -{0xb8, 0x26,}, -{0xb9, 0x24,}, -{0xba, 0x22,}, -{0xbb, 0x42,}, -{0xbc, 0x41,}, -{0xbd, 0x40,}, -{0xc0, 0x10,}, -{0xc1, 0x38,}, -{0xc2, 0x38,}, -{0xc3, 0x38,}, -{0xc4, 0x07,}, -{0xc8, 0x80,}, -{0xc9, 0x80,}, -{0x10, 0x8c,}, /* ae enable*/ -/* PAGE 20 END*/ -/*AE_Weight*/ -{0x03, 0x21,}, -{0x20, 0x11,}, -{0x21, 0x11,}, -{0x22, 0x11,}, -{0x23, 0x11,}, -{0x24, 0x12,}, -{0x25, 0x22,}, -{0x26, 0x22,}, -{0x27, 0x21,}, -{0x28, 0x12,}, -{0x29, 0x22,}, -{0x2a, 0x22,}, -{0x2b, 0x21,}, -{0x2c, 0x12,}, -{0x2d, 0x23,}, -{0x2e, 0x32,}, -{0x2f, 0x21,}, -{0x30, 0x12,}, -{0x31, 0x23,}, -{0x32, 0x32,}, -{0x33, 0x21,}, -{0x34, 0x12,}, -{0x35, 0x22,}, -{0x36, 0x22,}, -{0x37, 0x21,}, -{0x38, 0x12,}, -{0x39, 0x22,}, -{0x3a, 0x22,}, -{0x3b, 0x21,}, -{0x3c, 0x11,}, -{0x3d, 0x11,}, -{0x3e, 0x11,}, -{0x3f, 0x11,}, -/* PAGE 22 START*/ -{0x03, 0x22,}, -{0x10, 0xfd,}, -{0x11, 0x2e,}, -{0x19, 0x01,}, /* Low On*/ -{0x20, 0x30,}, /* for wb speed*/ -{0x21, 0x40,}, -{0x24, 0x01,}, -{0x25, 0x7e,}, /* for tracking 20120314 */ -{0x30, 0x80,}, /* 20120224 test*/ -{0x31, 0x80,}, -{0x38, 0x11,}, -{0x39, 0x34,}, -{0x40, 0xe3,}, -{0x41, 0x43,}, /* 33*/ -{0x42, 0x22,}, /* 22*/ -{0x43, 0xf3,}, /* f6*/ -{0x44, 0x54,}, /* 44*/ -{0x45, 0x22,}, /* 33*/ -{0x46, 0x00,}, -{0x48, 0x0a,}, -{0x50, 0xb2,}, -{0x51, 0x81,}, -{0x52, 0x98,}, -{0x80, 0x38,}, -{0x81, 0x20,}, -{0x82, 0x38,}, /* 3a*/ -{0x83, 0x56,}, /* R Max*/ -{0x84, 0x20,}, /* R Min*/ -{0x85, 0x53,}, /* B Max*/ -{0x86, 0x20,}, /* B Min*/ -{0x87, 0x46,}, -{0x88, 0x36,}, -{0x89, 0x3a,}, -{0x8a, 0x2f,}, -{0x8b, 0x3d,}, -{0x8c, 0x37,}, -{0x8d, 0x35,}, -{0x8e, 0x32,}, -{0x8f, 0x5d,}, -{0x90, 0x5a,}, -{0x91, 0x56,}, -{0x92, 0x50,}, -{0x93, 0x48,}, -{0x94, 0x3f,}, -{0x95, 0x34,}, -{0x96, 0x2c,}, -{0x97, 0x23,}, -{0x98, 0x20,}, -{0x99, 0x1f,}, -{0x9a, 0x1f,}, -{0x9b, 0x77,}, -{0x9c, 0x77,}, -{0x9d, 0x48,}, -{0x9e, 0x38,}, -{0x9f, 0x30,}, -{0xa0, 0x40,}, -{0xa1, 0x21,}, -{0xa2, 0x6f,}, -{0xa3, 0xff,}, -{0xa4, 0x14,}, /* 1500fps*/ -{0xa5, 0x44,}, /* 700fps*/ -{0xa6, 0xcf,}, -{0xad, 0x40,}, -{0xae, 0x4a,}, -{0xaf, 0x2a,}, /* low temp Rgain*/ -{0xb0, 0x28,}, /* low temp Rgain*/ -{0xb1, 0x00,}, /* 0x20 -> 0x00 0405 modify*/ -{0xb4, 0xbf,}, /* for tracking 20120314*/ -{0xb8, 0xb1,}, /* a2: b-2, R+2 b4 B-3, R+4 lowtemp b0 a1 Spec AWB A modify*/ -{0xb9, 0x00,}, -/* PAGE 22 END*/ -/* PAGE 48 (MiPi 1600x1200)*/ -{0x03, 0x00,}, -/* PLL Setting */ -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x05,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, -{0x03, 0x48,}, -/* MIPI TX Setting */ -{0x10, 0x1c,}, -{0x11, 0x00,}, -{0x12, 0x00,}, -{0x14, 0x00,}, -{0x16, 0x04,}, -{0x17, 0x00,}, -{0x18, 0x80,}, -{0x19, 0x00,}, -{0x1a, 0xa0,}, -{0x1c, 0x02,}, -{0x1d, 0x0e,}, -{0x1e, 0x07,}, -{0x1f, 0x08,}, -{0x22, 0x00,}, -{0x23, 0x01,}, -{0x24, 0x1e,}, -{0x25, 0x00,}, -{0x26, 0x00,}, -{0x27, 0x08,}, -{0x28, 0x00,}, -{0x30, 0x05,}, -{0x31, 0x00,}, -{0x32, 0x07,}, -{0x33, 0x09,}, -{0x34, 0x01,}, -{0x35, 0x01,}, -{0x03, 0x00,}, -{0x01, 0x00,}, -{0xff, 0x28,}, /*400ms Delay*/ -}; - -static struct msm_camera_i2c_reg_conf sr130pc20_Preview_for_initial_50hz[] = { +static struct msm_camera_i2c_reg_conf sr130pc20_Preview[] = { {0x03, 0x00,}, {0x01, 0x01,},/*sleep*/ {0xd0, 0x05,},/*Pll Off*/ @@ -3908,1042 +2989,3 @@ static struct msm_camera_i2c_reg_conf sr130pc20_brightness_P4[] = { {0x03, 0x10,}, {0x40, 0x50,}, }; - -static struct msm_camera_i2c_reg_conf sr130pc20_Preview_for_initial_60hz[] = { -{0x03, 0x00,}, -{0x01, 0x01,},/*sleep*/ -{0xd0, 0x05,},/*Pll Off*/ -{0x03, 0x20,}, -{0x10, 0x0c,},/*AE off (0x0c:60Hz 0x1c:50Hz)*/ -{0x03, 0x22,}, -{0x10, 0x7d,},/*AWB off*/ -{0x03, 0x00,}, -{0x10, 0x11,}, -{0x03, 0x11,}, -{0x5b, 0x00,},/*don't touch*/ -{0x03, 0x12,}, -{0x20, 0x0f,}, -{0x21, 0x0f,}, -{0xd2, 0x17,}, -{0xd5, 0x0f,}, -{0xd7, 0xff,}, -{0x03, 0x13,}, -{0x10, 0xc4,}, -{0x80, 0xc0,}, -{0x03, 0x18,}, -{0x14, 0x43,}, /*83*/ -{0x03, 0x20,}, -{0x10, 0x8c,}, /*AE ON ({0x8c, 0x:6}0Hz {0x9c, 0x:5}0Hz)*/ -{0x03, 0x22,}, -{0x10, 0xfd,}, /*AWB ON*/ - -{0x03, 0x00,}, /*Page 0 PLL on*/ -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x05,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, - -{0x03, 0x48,}, -{0x10, 0x1c,}, -{0x11, 0x00,}, -{0x12, 0x00,}, -{0x14, 0x00,}, -{0x16, 0x04,}, -{0x17, 0x00,}, -{0x18, 0x80,}, -{0x19, 0x00,}, -{0x1a, 0xa0,}, - -{0x1c, 0x02,}, -{0x1d, 0x0e,}, -{0x1e, 0x07,}, -{0x1f, 0x08,}, -{0x22, 0x00,}, -{0x23, 0x01,}, -{0x24, 0x1e,}, -{0x25, 0x00,}, -{0x26, 0x00,}, -{0x27, 0x08,}, -{0x28, 0x00,}, - -{0x30, 0x05,}, -{0x31, 0x00,}, -{0x32, 0x07,}, -{0x33, 0x09,}, -{0x34, 0x01,}, -{0x35, 0x01,}, -{0x03, 0x00,}, -{0x01, 0x00,}, -{0xff, 0x28,}, -}; - -static struct msm_camera_i2c_reg_conf sr130pc20_Init_Reg_60hz[] = { -{0x03, 0x00,}, -{0x01, 0x01,}, /*sleep*/ -{0x01, 0x03,}, /*s/w reset*/ -{0x01, 0x01,}, /*sleep*/ - -{0x08, 0x00,},/*Don't touch*/ -{0x09, 0x37,},/*Don't touch*/ -{0x0a, 0x33,},/*Don't touch*/ - -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x01,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, - -{0x10, 0x11,}, -{0x11, 0x93,}, /*xy flip*/ -{0x12, 0x00,}, -{0x14, 0x88,}, - -{0x03, 0x00,}, -{0x20, 0x00,}, -{0x21, 0x04,}, -{0x22, 0x00,}, -{0x23, 0x04,}, -{0x24, 0x03,}, -{0x25, 0xC0,}, -{0x26, 0x05,}, -{0x27, 0x00,}, - -{0x40, 0x01,}, /*Hblank_280*/ -{0x41, 0x18,}, -{0x42, 0x00,}, /*Vblank 124*/ -{0x43, 0x7c,}, - -{0x03, 0x00,}, /*ESD */ -{0x0b, 0xaa,}, -{0x0c, 0xaa,}, -{0x0d, 0xaa,}, -{0x80, 0x08,}, /*Don't touch */ -{0x81, 0x97,}, /*Don't touch */ -{0x82, 0x90,}, /*Don't touch */ -{0x83, 0x30,}, /*Don't touch */ -{0x84, 0xcc,}, /*Don't touch*/ -{0x85, 0x00,}, /*Don't touch*/ -{0x86, 0xd4,}, /*Don' t touch*/ -{0x87, 0x0f,}, /*Don't touch*/ -{0x88, 0x34,}, /*Don't touch*/ -{0x90, 0x0f,}, /*BLC_TIME_TH_ON*/ -{0x91, 0x0f,}, /*BLC_TIME_TH_OFF */ -{0x92, 0xf0,}, /*BLC_AG_TH_ON*/ -{0x93, 0xe8,}, /*BLC_AG_TH_OFF*/ -{0x94, 0x95,}, /*091202*/ -{0x95, 0x90,}, /*091202 */ -{0x98, 0x38,}, /*Don't touch*/ - -{0xa0, 0x01,}, /* 20100309*/ -{0xa2, 0x01,}, /* 20100309*/ -{0xa4, 0x01,}, /* 20100309*/ -{0xa6, 0x01,}, /* 20100309*/ -{0xa8, 0x00,}, -{0xaa, 0x00,}, -{0xac, 0x00,}, -{0xae, 0x00,}, -{0x99, 0x00,}, -{0x9a, 0x00,}, -{0x9b, 0x00,}, -{0x9c, 0x00,}, - -{0x03, 0x02,}, -{0x12, 0x00,}, /*Don't touch*/ -{0x14, 0x00,}, /*Don't touch*/ -{0x15, 0x00,}, /*Don't touch*/ -{0x18, 0x4C,}, /*Don't touch*/ -{0x19, 0x00,}, /*Don't touch*/ -{0x1A, 0x39,}, /*Don't touch*/ -{0x1B, 0x00,},/*Don't touch*/ -{0x1C, 0x1a,}, /*Don't touch*/ -{0x1D, 0x14,}, /*Don't touch*/ -{0x1E, 0x30,},/*Don't touch*/ -{0x1F, 0x10,},/*Don't touch*/ - -{0x20, 0x77,}, -{0x21, 0xde,}, -{0x22, 0xa7,}, -{0x23, 0x30,}, -{0x24, 0x77,}, -{0x25, 0x10,}, -{0x26, 0x10,}, -{0x27, 0x3c,}, -{0x2b, 0x80,}, -{0x2c, 0x02,}, -{0x2d, 0xa0,}, -{0x2e, 0x00,}, -{0x2f, 0xa7,}, - -{0x30, 0x00,}, -{0x31, 0x99,}, -{0x32, 0x00,}, -{0x33, 0x00,}, -{0x34, 0x22,}, -{0x36, 0x01,}, -{0x37, 0x01,}, -{0x38, 0x88,}, -{0x39, 0x88,}, -{0x3d, 0x03,}, -{0x3e, 0x0d,}, -{0x3f, 0x02,}, - -{0x49, 0xd1,}, -{0x4a, 0x14,}, - -{0x50, 0x21,}, -{0x52, 0x01,}, -{0x53, 0x81,}, -{0x54, 0x10,}, -{0x55, 0x1c,}, -{0x56, 0x11,}, -{0x58, 0x18,}, -{0x59, 0x16,}, -{0x5d, 0xa2,}, -{0x5e, 0x5a,}, - -{0x60, 0x93,}, /* 20120517 modify*/ -{0x61, 0xa4,}, /* 20120517 modify*/ -{0x62, 0x94,}, /* 20120517 modify*/ -{0x63, 0xa3,}, /* 20120517 modify*/ -{0x64, 0x94,}, /* 20120517 modify*/ -{0x65, 0xa3,}, /* 20120517 modify*/ -{0x67, 0x0c,}, -{0x68, 0x0c,}, -{0x69, 0x0c,}, -{0x6a, 0xb4,}, -{0x6b, 0xc4,}, -{0x6c, 0xb5,}, -{0x6d, 0xc2,}, -{0x6e, 0xb5,}, -{0x6f, 0xc0,}, - -{0x70, 0xb6,}, -{0x71, 0xb8,}, -{0x72, 0x95,}, /* 20120517 modify*/ -{0x73, 0xa2,}, /* 20120517 modify*/ -{0x74, 0x95,}, /* 20120517 modify*/ -{0x75, 0xa2,}, /* 20120517 modify*/ -{0x76, 0x95,}, /* 20120517 modify*/ -{0x77, 0xa2,}, /* 20120517 modify*/ -{0x7C, 0x92,}, /* 20120517 modify*/ -{0x7D, 0xff,}, /* 20120517 modify*/ - -{0x80, 0x01,}, /* 20120517 modify*/ -{0x81, 0x8a,}, /* 20120517 modify*/ -{0x82, 0x1e,}, /* 20120517 modify*/ -{0x83, 0x36,}, /* 20120517 modify*/ -{0x84, 0x89,}, /* 20120517 modify*/ -{0x85, 0x8b,}, /* 20120517 modify*/ -{0x86, 0x89,}, /* 20120517 modify*/ -{0x87, 0x8b,}, /* 20120517 modify*/ -{0x88, 0xab,}, -{0x89, 0xbc,}, -{0x8a, 0xac,}, -{0x8b, 0xba,}, -{0x8c, 0xad,}, -{0x8d, 0xb8,}, -{0x8e, 0xae,}, -{0x8f, 0xb2,}, - -{0x90, 0xb3,}, -{0x91, 0xb7,}, -{0x92, 0x52,}, /* 20120517 modify*/ -{0x93, 0x6a,}, /* 20120517 modify*/ -{0x94, 0x89,}, /* 20120517 modify*/ -{0x95, 0x8b,}, /* 20120517 modify*/ -{0x96, 0x89,}, /* 20120517 modify*/ -{0x97, 0x8b,}, /* 20120517 modify*/ - -{0xA0, 0x02,}, -{0xA1, 0x86,}, /* 20120517 modify*/ -{0xA2, 0x02,}, -{0xA3, 0x86,}, /* 20120517 modify*/ -{0xA4, 0x86,}, /* 20120517 modify*/ -{0xA5, 0x02,}, -{0xA6, 0x86,}, /* 20120517 modify*/ -{0xA7, 0x02,}, -{0xA8, 0x92,}, /* 20120517 modify*/ -{0xA9, 0x94,}, /* 20120517 modify*/ -{0xAA, 0x92,}, /* 20120517 modify*/ -{0xAB, 0x94,}, /* 20120517 modify*/ -{0xAC, 0x1c,}, -{0xAD, 0x22,}, -{0xAE, 0x1c,}, -{0xAF, 0x22,}, -{0xB0, 0xa4,}, /* 20120517 modify*/ -{0xB1, 0xae,}, /* 20120517 modify*/ -{0xB2, 0xa4,}, /* 20120517 modify*/ -{0xB3, 0xae,}, /* 20120517 modify*/ -{0xB4, 0xa6,}, /* 20120517 modify*/ -{0xB5, 0xac,}, /* 20120517 modify*/ -{0xB6, 0xa6,}, /* 20120517 modify*/ -{0xB7, 0xac,}, /* 20120517 modify*/ -{0xB8, 0xa6,}, /* 20120517 modify*/ -{0xB9, 0xab,}, /* 20120517 modify*/ -{0xBA, 0xa6,}, /* 20120517 modify*/ -{0xBB, 0xab,}, /* 20120517 modify*/ -{0xBC, 0xa6,}, /* 20120517 modify*/ -{0xBD, 0xab,}, /* 20120517 modify*/ -{0xBE, 0xa6,}, /* 20120517 modify*/ -{0xBF, 0xab,}, /* 20120517 modify*/ -{0xc4, 0x37,}, -{0xc5, 0x52,}, -{0xc6, 0x6b,}, -{0xc7, 0x86,}, -{0xc8, 0x38,}, /* 20120517 modify*/ -{0xc9, 0x50,}, /* 20120517 modify*/ -{0xca, 0x38,}, /* 20120517 modify*/ -{0xcb, 0x50,}, /* 20120517 modify*/ -{0xcc, 0x6c,}, /* 20120517 modify*/ -{0xcd, 0x84,}, /* 20120517 modify*/ -{0xce, 0x6c,}, /* 20120517 modify*/ -{0xcf, 0x84,}, /* 20120517 modify*/ -{0xdc, 0x00,}, /* Added*/ -{0xdd, 0xaf,}, /* Added*/ -{0xde, 0x00,}, /* Added*/ -{0xdf, 0x90,}, /* Added*/ -{0xd0, 0x10,}, -{0xd1, 0x14,}, -{0xd2, 0x20,}, -{0xd3, 0x00,}, -{0xd4, 0x0f,}, /*DCDC_TIME_TH_ON*/ -{0xd5, 0x0f,}, /*DCDC_TIME_TH_OFF */ -{0xd6, 0xf0,}, /*DCDC_AG_TH_ON*/ -{0xd7, 0xe8,}, /*DCDC_AG_TH_OFF*/ -{0xea, 0x8a,}, -{0xF0, 0x01,}, /* clock inversion*/ -{0xF1, 0x01,}, -{0xF2, 0x01,}, -{0xF3, 0x01,}, -{0xF4, 0x01,}, -{0xF5, 0x00,}, - -{0x03, 0x10,}, /*page 10*/ -{0x10, 0x01,}, /*Ycbcr422_bit Order: YUYV*/ -{0x11, 0x03,}, -{0x12, 0x30,}, /*y offset[4], dif_offset[5]*/ -{0x13, 0x02,}, -{0x34, 0x00,}, /*hidden 10->00 100209*/ -{0x37, 0x01,}, /*yc2d power save */ -{0x3f, 0x04,}, /*100825*/ -{0x40, 0x80,}, /*Y offset */ -{0x48, 0x80,}, -{0x53, 0x00,}, /*dif_offset option */ -{0x55, 0x30,}, /*dif_offset option diff_offset max */ - -{0x60, 0x4f,}, /*out color sat en[7] | auto color decrement en[1] / - | manual color sat en[0]*/ - - -{0x61, 0x83,}, /*blue saturation_C0*/ -{0x62, 0x80,}, /*red saturation_B0*/ -{0x63, 0xff,}, /*auto decresment on AG th*/ -{0x64, 0xc0,}, /*auto decresment on DG th*/ -{0x66, 0xe4,}, /*Outdoor saturation step 137fps apply out th */ -{0x67, 0x13,}, /*Outdoor saturation B/R*/ -{0x76, 0x01,}, /* ADD 20121031 */ -{0x79, 0x04,}, /* ADD 20121031 */ - -{0x03, 0x10,}, -{0x80, 0x00,}, /* dsshin --> color enhance*/ -{0xf5, 0x00,}, /* dsshin --> h blank option*/ -{0x03, 0x11,}, /*page 11 D_LPF */ -{0x10, 0x3f,}, /*B[6]:Blue En Dlpf on[4:0] Sky over off : {0x7f, 0x->}3f*/ -{0x11, 0x20,}, /* Uniform Full GbGr/OV-Nr*/ -{0x12, 0x80,}, /*Blue MaxOpt blue sky max filter optoin rate : 0 {0xc0, 0x->}80*/ -{0x13, 0xb8,}, /*dark2[7] | ratio[6:4] | dark3[3] | dark3 maxfilter ratio[2:0] */ -{0x30, 0xba,}, /*Outdoor2 H th*/ -{0x31, 0x10,}, /*Outdoor2 L th*/ -{0x32, 0x50,}, /*Outdoor2 gain ratio*/ -{0x33, 0x1d,}, /*Outdoor2 H lum*/ -{0x34, 0x20,}, /*Outdoor2 M lum*/ -{0x35, 0x1f,}, /*Outdoor2 L lum*/ -{0x36, 0xb0,}, /*Outdoor1 H th*/ -{0x37, 0x18,}, /*Outdoor1 L th*/ -{0x38, 0x50,}, -{0x39, 0x1d,}, -{0x3a, 0x20,}, -{0x3b, 0x1f,}, -{0x3c, 0x3f,}, -{0x3d, 0x16,}, /*indoor L th*/ -{0x3e, 0x30,}, /*indoor gain ratio {0x44, 0x }6a */ -{0x3f, 0x1a,}, /*indoor H lum {0x12, 0x }18 */ -{0x40, 0x60,}, /*indoor M lum {0x18, 0x }1c*/ -{0x41, 0x1a,}, /*indoor L lum {0x18, 0x }3e*/ -{0x42, 0x98,}, /*dark1 H th*/ -{0x43, 0x28,}, /*dark1 L th*/ -{0x44, 0x65,}, /*dark1 gain ratio*/ -{0x45, 0x16,}, /*dark1 H lum 0x38, 0x->0x28, 0x */ -{0x46, 0x30,}, /*dark1 M lum 0x27, 0x->0x17, 0x*/ -{0x47, 0x34,}, /*dark1 L lum 0x20, 0x->0x1a, 0x */ -{0x48, 0x90,}, /*dark2 H th*/ -{0x49, 0x2a,}, /*dark2 L th*/ -{0x4a, 0x65,}, /*dark2 gain ratio*/ -{0x4b, 0x18,}, /*dark2 H lum */ -{0x4c, 0x31,}, /*dark2 M lum*/ -{0x4d, 0x36,}, /*dark2 L lum */ -{0x4e, 0x80,}, /*dark3 H th*/ -{0x4f, 0x30,}, /*dark3 L th*/ -{0x50, 0x65,}, /*dark3 gain ratio*/ -{0x51, 0x19,}, /*dark3 H lum */ -{0x52, 0x31,}, /*dark3 M lum */ -{0x53, 0x36,}, /*dark3 L lum */ -{0x5a, 0x3f,}, /*blue sky mode out1/2 enable {0x27, 0x->}3f */ -{0x5b, 0x00,}, -{0x5c, 0x9f,}, -{0x60, 0x3f,}, /*GbGr all enable*/ -{0x62, 0x0f,}, /*GbGr offset*/ -{0x65, 0x0c,}, /*Outdoor GbGr rate H 100% M 25% L 100%*/ -{0x66, 0x0c,}, /*Indoor GbGr rate H 100% M 25% L 100%*/ -{0x67, 0x00,}, /*dark GbGr rate H/M/L 100%*/ -{0x70, 0x0c,}, /* Abberation On/Off B[1]: Outdoor B[0]: Indoor 07>>c*/ -{0x75, 0xa0,}, /* Outdoor2 Abberation Luminance lvl */ -{0x7d, 0xb4,}, /* Indoor Abberation Luminance lvl*/ - -{0x96, 0x08,}, /*indoor/Dark1 edgeoffset1*/ -{0x97, 0x14,}, /*indoor/Dark1 center G value*/ -{0x98, 0xf5,}, /*slope indoor :: left/right graph polarity, slope*/ -{0x99, 0x2a,}, /*indoor uncertain ratio control*/ -{0x9a, 0x20,}, /*Edgeoffset_dark*/ - - -{0x03, 0x12,}, /*Preview DPC */ -{0x20, 0x0f,}, -{0x21, 0x0f,}, -{0x25, 0x00,}, -{0x2a, 0x01,}, -{0x2e, 0x00,}, /*2010.8.25*/ - -{0x30, 0x35,}, /*Texture region(most detail)*/ -{0x31, 0xa0,}, /*STD uniform1 most blur region*/ -{0x32, 0xb0,}, /*STD uniform2 2nd blur*/ -{0x33, 0xc0,}, /*STD uniform3 3rd blur*/ -{0x34, 0xd0,}, /*STD normal noise1 4th blur */ -{0x35, 0xe0,}, /*STD normal noise2 5th blur*/ -{0x36, 0xff,}, /*STD normal noise3 6th blur*/ - -{0x40, 0x83,}, /*Outdoor2 H th*/ -{0x41, 0x20,}, /*Outdoor2 L th */ -{0x42, 0x08,}, /*Outdoor2 H luminance */ -{0x43, 0x10,}, /*Outdoor2 M luminance */ -{0x44, 0x10,}, /*Outdoor2 l luminance */ -{0x45, 0x50,}, /*Outdoor2 ratio*/ -{0x46, 0x83,}, /*Outdoor1 H th*/ -{0x47, 0x20,}, /*Outdoor1 L th */ -{0x48, 0x08,}, /*Outdoor1 H luminance*/ -{0x49, 0x10,}, /*Outdoor1 M luminance*/ -{0x4a, 0x10,}, /*Outdoor1 L luminance*/ -{0x4b, 0x50,}, /*Outdoor1 ratio*/ -{0x4c, 0x80,}, /*Indoor H th*/ -{0x4d, 0x48,}, /*Indoor L th*/ -{0x4e, 0x30,}, /*indoor H lum*/ -{0x4f, 0x30,}, /*indoor M lum*/ -{0x50, 0x12,}, /*indoor L lum */ -{0x51, 0x70,}, /*indoor ratio {0x10, 0x -}> {0x45, 0x}*/ -{0x52, 0xa8,}, /*dark1 H th*/ -{0x53, 0x30,}, /*dark1 L th */ -{0x54, 0x28,}, /*dark1 H lum */ -{0x55, 0x3e,}, /*dark1 M lum*/ -{0x56, 0x67,}, /*dark1 L lum*/ -{0x57, 0x6a,}, /*dark1 ratio*/ - -{0x58, 0xa0,}, /*dark2 H th*/ -{0x59, 0x40,}, /*dark2 L th*/ -{0x5a, 0x28,}, /*dark2 H lum*/ -{0x5b, 0x3f,}, /*dark2 M lum*/ -{0x5c, 0x68,}, /*dark2 L lum*/ -{0x5d, 0x70,}, /*dark2 ratio*/ -{0x5e, 0xa0,}, /*dark3 H th*/ -{0x5f, 0x40,}, /*dark3 L th*/ -{0x60, 0x29,}, /*dark3 H lum*/ -{0x61, 0x3f,}, /*dark3 M lum*/ -{0x62, 0x69,}, /*dark3 L lum*/ -{0x63, 0x6a,}, /*dark3 ratio*/ -{0x70, 0x10,}, -{0x71, 0x0a,}, -{0x72, 0x10,}, -{0x73, 0x0a,}, -{0x74, 0x18,}, -{0x75, 0x12,}, -{0x80, 0x20,}, -{0x81, 0x40,}, -{0x82, 0x65,}, -{0x85, 0x1a,}, -{0x88, 0x00,}, -{0x89, 0x00,}, -{0x90, 0x5d,}, -{0xad, 0x07,}, /*10825*/ -{0xae, 0x07,}, /*10825*/ -{0xaf, 0x07,}, /*10825*/ -{0xc5, 0x58,}, /*BlueRange 2010.8.25 {0x40, 0x->}23 */ -{0xc6, 0x20,}, /*GreenRange 2010.8.25 {0x3b, 0x->}20 */ -{0xd0, 0x88,}, /*2010.8.25*/ -{0xd1, 0x80,}, -{0xd2, 0x17,},/*preview 17, full 67*/ -{0xd3, 0x00,}, -{0xd4, 0x00,}, -{0xd5, 0x0f,},/*preview 0f, full 02*/ -{0xd6, 0xff,}, -{0xd7, 0xff,},/*preview ff, full 18*/ -{0xd8, 0x00,}, -{0xd9, 0x04,}, -{0xdb, 0x38,}, -{0xd9, 0x04,}, /*strong_edge detect ratio*/ -{0xe0, 0x01,}, /*strong_edge detect ratio*/ - -{0x03, 0x13,}, /*page 13 sharpness 1D*/ -{0x10, 0xc5,}, -{0x11, 0x7b,}, -{0x12, 0x0e,}, -{0x14, 0x00,}, -{0x15, 0x11,}, /*added option 1.3M*/ -{0x18, 0x30,}, /*added option 1.3M*/ -{0x20, 0x15,}, -{0x21, 0x13,}, -{0x22, 0x33,}, -{0x23, 0x08,}, /*hi_clip th1*/ -{0x24, 0x1a,}, /*hi_clip th2*/ -{0x25, 0x06,}, /*low clip th*/ -{0x26, 0x18,}, -{0x27, 0x30,}, -{0x29, 0x10,}, /*time th*/ -{0x2a, 0x30,}, /*pga th*/ - -{0x2b, 0x03,}, /*lpf out2*/ -{0x2c, 0x03,}, /*lpf out1*/ -{0x2d, 0x0c,}, -{0x2e, 0x12,}, -{0x2f, 0x12,}, - -{0x50, 0x0a,}, /*out2 hi nega*/ -{0x53, 0x07,}, /* hi pos*/ -{0x51, 0x0c,}, /* mi nega*/ -{0x54, 0x07,}, /* mi pos*/ -{0x52, 0x0b,}, /* lo nega*/ -{0x55, 0x08,}, /* lo pos*/ - -{0x56, 0x0a,}, /*out1 hi nega*/ -{0x59, 0x07,}, /* hi pos */ -{0x57, 0x0c,}, /* mi nega*/ -{0x5a, 0x07,}, /* mi pos */ -{0x58, 0x0b,}, /* lo nega*/ -{0x5b, 0x08,}, /* lo pos */ - -{0x5c, 0x08,}, /*indoor hi nega*/ -{0x5f, 0x07,}, /* hi pos*/ -{0x5d, 0x14,}, -{0x60, 0x12,}, -{0x5e, 0x0a,}, -{0x61, 0x08,}, /* low pos*/ -{0x62, 0x08,}, /*dark1 hi nega*/ -{0x65, 0x06,}, /* hi pos */ -{0x63, 0x08,}, /* mid nega */ -{0x66, 0x06,}, /* mid pos */ -{0x64, 0x08,}, /* low nega */ -{0x67, 0x06,}, /* low pos */ -{0x68, 0x07,}, /*dark2 hi nega*/ -{0x6b, 0x05,}, /* hi pos */ -{0x69, 0x07,}, /* mid nega */ -{0x6c, 0x05,}, /* mid pos */ -{0x6a, 0x07,}, /* low nega */ -{0x6d, 0x05,}, /* low pos */ - -{0x6e, 0x0a,}, /*dark3 hi nega*/ -{0x71, 0x09,}, /* hi pos */ -{0x6f, 0x0a,}, /* mid nega */ -{0x72, 0x09,}, /* mid pos */ -{0x70, 0x0a,}, /* low nega */ -{0x73, 0x09,}, /* low pos */ -{0x80, 0xc1,}, -{0x81, 0x1f,}, -{0x82, 0xe1,}, -{0x83, 0x33,}, -{0x90, 0x05,}, -{0x91, 0x05,}, -{0x92, 0x33,}, -{0x93, 0x30,}, -{0x94, 0x03,}, -{0x95, 0x14,}, -{0x97, 0x30,}, -{0x99, 0x30,}, -{0xa0, 0x02,}, /*2d lclp out2 nega*/ -{0xa1, 0x03,}, /*2d lclp out2 pos*/ -{0xa2, 0x02,}, /*2d lclp out1 nega*/ -{0xa3, 0x03,}, /*2d lclp out1 pos*/ -{0xa4, 0x03,}, /*2d lclp in nega*/ -{0xa5, 0x04,}, /*2d lclp in pos*/ -{0xa6, 0x07,}, /*2d lclp dark1 nega*/ -{0xa7, 0x08,}, /*2d lclp dark1 pos*/ -{0xa8, 0x07,}, /*2d lclp dark2 nega*/ -{0xa9, 0x08,}, /*2d lclp dark2 pos*/ -{0xaa, 0x07,}, /*2d lclp dark3 nega*/ -{0xab, 0x08,}, /*2d lclp dark3 pos*/ -{0xb0, 0x10,}, /*out2 H Ne*/ -{0xb3, 0x10,}, /* H Po*/ -{0xb1, 0x1e,}, /* M Ne*/ -{0xb4, 0x1e,}, /* M Po*/ -{0xb2, 0x1f,}, /* L Ne*/ -{0xb5, 0x1e,}, /* L Po*/ -{0xb6, 0x10,}, /*out1 H Ne */ -{0xb9, 0x10,}, /* H Po */ -{0xb7, 0x1e,}, /* M Ne */ -{0xba, 0x1e,}, /* M Po */ -{0xb8, 0x1f,}, /* L Ne */ -{0xbb, 0x1e,}, /* L Po */ -{0xbc, 0x20,}, /*indoor H Ne*/ -{0xbf, 0x1e,}, /* H Po*/ -{0xbd, 0x25,}, /* M Ne*/ -{0xc0, 0x23,}, /* M Po*/ -{0xbe, 0x24,}, /* L Ne*/ -{0xc1, 0x22,}, /* L Po*/ - -{0xc2, 0x23,}, /*dark1 H Ne*/ -{0xc5, 0x23,}, /* H Po*/ -{0xc3, 0x29,}, /* M Ne*/ -{0xc6, 0x29,}, /* M Po*/ -{0xc4, 0x25,}, /* L Ne*/ -{0xc7, 0x25,}, /* L Po*/ -{0xc8, 0x1c,}, /*dark2 H Ne*/ -{0xcb, 0x1c,}, /* H Po*/ -{0xc9, 0x25,}, /* M Ne*/ -{0xcc, 0x25,}, /* M Po*/ -{0xca, 0x23,}, /* L Ne*/ -{0xcd, 0x23,}, /* L Po*/ -{0xce, 0x1c,}, /*dark3 H Ne*/ -{0xd1, 0x1c,}, /* H Po*/ -{0xcf, 0x25,}, /* M Ne*/ -{0xd2, 0x25,}, /* M Po*/ -{0xd0, 0x23,}, /* L Ne*/ -{0xd3, 0x23,}, /* L Po*/ -{0x03, 0x14,}, -{0x10, 0x31,}, - -{0x14, 0x80,}, /* GX*/ -{0x15, 0x80,}, /* GY*/ -{0x16, 0x80,}, /* RX*/ -{0x17, 0x80,}, /* RY*/ -{0x18, 0x80,}, /* BX*/ -{0x19, 0x80,}, /* BY*/ -{0x20, 0x60,}, /* X Center*/ -{0x21, 0x80,}, /* Y Center*/ -{0x22, 0x80,}, -{0x23, 0x80,}, -{0x24, 0x80,}, -{0x30, 0xc8,}, -{0x31, 0x2b,}, -{0x32, 0x00,}, -{0x33, 0x00,}, -{0x34, 0x90,}, - -{0x40, 0x60,}, /*R min's set 4e*/ -{0x41, 0x44,}, /*Gr*/ -{0x42, 0x3e,}, /*B*/ -{0x43, 0x44,}, /*Gb*/ -{0x03, 0x15,}, -{0x10, 0x21,}, -{0x14, 0x44,}, /*49*/ -{0x15, 0x34,}, /*38*/ -{0x16, 0x26,}, /*2b*/ -{0x17, 0x2f,}, -{0x30, 0xdd,}, -{0x31, 0x62,}, -{0x32, 0x05,}, -{0x33, 0x26,}, -{0x34, 0xbd,}, -{0x35, 0x17,}, -{0x36, 0x18,}, -{0x37, 0x38,}, -{0x38, 0xd0,}, - -{0x40, 0xb0,}, -{0x41, 0x30,}, -{0x42, 0x00,}, -{0x43, 0x00,}, -{0x44, 0x00,}, -{0x45, 0x00,}, -{0x46, 0x99,}, -{0x47, 0x19,}, -{0x48, 0x00,}, -{0x50, 0x16,}, -{0x51, 0xb2,}, -{0x52, 0x1c,}, -{0x53, 0x06,}, -{0x54, 0x20,}, -{0x55, 0xa6,}, -{0x56, 0x0e,}, -{0x57, 0xb2,}, -{0x58, 0x24,}, -{0x03, 0x16,}, -{0x10, 0x31,}, /*GMA_CTL*/ -{0x18, 0x7e,}, /*AG_ON*/ -{0x19, 0x7d,}, /*AG_OFF*/ -{0x1a, 0x0e,}, /*TIME_ON*/ -{0x1b, 0x01,}, /*TIME_OFF*/ -{0x1C, 0xdc,}, /*OUT_ON*/ -{0x1D, 0xfe,}, /*OUT_OFF*/ - -/*GMA Indoor*/ -{0x30, 0x00,}, -{0x31, 0x07,}, -{0x32, 0x1a,}, -{0x33, 0x37,}, -{0x34, 0x5c,}, -{0x35, 0x7d,}, -{0x36, 0x96,}, -{0x37, 0xa9,}, -{0x38, 0xb7,}, -{0x39, 0xc6,}, -{0x3a, 0xd2,}, -{0x3b, 0xdc,}, -{0x3c, 0xe4,}, -{0x3d, 0xeb,}, -{0x3e, 0xf1,}, -{0x3f, 0xf5,}, -{0x40, 0xf9,}, -{0x41, 0xfd,}, -{0x42, 0xff,}, - -/*RGMA Outdoor*/ -{0x50, 0x00,}, -{0x51, 0x03,}, -{0x52, 0x13,}, -{0x53, 0x2e,}, -{0x54, 0x59,}, -{0x55, 0x79,}, -{0x56, 0x90,}, -{0x57, 0xa3,}, -{0x58, 0xb4,}, -{0x59, 0xc2,}, -{0x5a, 0xcd,}, -{0x5b, 0xd7,}, -{0x5c, 0xe0,}, -{0x5d, 0xe5,}, -{0x5e, 0xe9,}, -{0x5f, 0xee,}, -{0x60, 0xf1,}, -{0x61, 0xf3,}, -{0x62, 0xf6,}, - -/*BGMA Dark*/ -{0x70, 0x03,}, -{0x71, 0x11,}, -{0x72, 0x1f,}, -{0x73, 0x37,}, -{0x74, 0x52,}, -{0x75, 0x6c,}, -{0x76, 0x85,}, -{0x77, 0x9a,}, -{0x78, 0xad,}, -{0x79, 0xbd,}, -{0x7a, 0xcb,}, -{0x7b, 0xd6,}, -{0x7c, 0xe0,}, -{0x7d, 0xe8,}, -{0x7e, 0xef,}, -{0x7f, 0xf4,}, -{0x80, 0xf8,}, -{0x81, 0xfb,}, -{0x82, 0xfe,}, - -{0x03, 0x24,}, /*Resol control */ -{0x60, 0xc5,}, /*edge even frame | 16bit resol | white edge cnt | scene resol enable*/ -{0x61, 0x04,}, /*even frame update */ -{0x64, 0x08,}, -{0x65, 0x00,}, -{0x66, 0x26,}, /*edge th2 H */ -{0x67, 0x00,}, /*edge th2 L */ - -{0x03, 0x13,}, -{0x18, 0x31,}, /*flat center Gb/Gr*/ -{0x74, 0x02,}, /*det slope en | gausian filter*/ -{0x75, 0x0d,}, /*1D negative gain det 09 */ -{0x76, 0x0d,}, /*1D postive gain det 08*/ -{0x77, 0x10,}, /*1D hclp2 det*/ -{0x78, 0x08,}, /*outdoor flat threshold*/ -{0x79, 0x10,}, /*indoor flat threshold*/ - -{0x81, 0xdf,}, /*det gain controler*/ -{0x86, 0x90,}, /*2D negative gain det */ -{0x87, 0x90,}, /*2D postive gain det */ -{0x96, 0x2a,}, /*2D hclp2 det*/ - -{0x03, 0x12,}, /*{0x12, 0x p}age*/ -{0xd0, 0x88,}, -{0xd9, 0xe4,}, - -/* PAGE 18 START*/ -{0x03, 0x18,}, -{0x14, 0x43,}, /*83*/ - -/* PAGE 20 START*/ -{0x03, 0x20,}, -{0x11, 0x1c,}, -{0x18, 0x30,}, -{0x1a, 0x08,}, -{0x20, 0x45,},/*weight*/ -{0x21, 0x30,}, -{0x22, 0x10,}, -{0x23, 0x00,}, -{0x24, 0x00,}, -{0x28, 0xe7,}, /* add 20120223*/ -{0x29, 0x0d,}, /* 20100305 ad -> 0d*/ -{0x2a, 0xfd,}, -{0x2b, 0xf8,}, -{0x2c, 0x43,}, /* 20140618 c3 -> 43*/ -{0x2d, 0x5f,}, /* add 20120223*/ -{0x2e, 0x33,}, -{0x30, 0xf8,}, -{0x32, 0x03,}, -{0x33, 0x2e,}, -{0x34, 0x30,}, -{0x35, 0xd4,}, -{0x36, 0xff,}, /*fe*/ -{0x37, 0x32,}, -{0x38, 0x04,}, -{0x39, 0x22,}, -{0x3a, 0xde,}, -{0x3b, 0x22,}, -{0x3c, 0xde,}, -{0x3d, 0xe1,}, - -{0x50, 0x45,}, -{0x51, 0x88,}, -{0x56, 0x19,}, -{0x57, 0x81,}, -{0x58, 0x0e,}, -{0x59, 0x6a,}, -{0x5a, 0x04,}, -{0x5e, 0x9d,}, /*AE_AWB_start*/ -{0x5f, 0x76,}, /*AE_AWB_start*/ - -{0x70, 0x33,}, /* 6c*/ -{0x71, 0x82,}, /* 82(+8)*/ - -{0x76, 0x21,}, -{0x77, 0x71,}, -{0x78, 0x22,}, /* 24*/ -{0x79, 0x23,}, /* Y Target 70 => 25, 72 => 26*/ -{0x7a, 0x23,}, /* 23*/ -{0x7b, 0x22,}, /* 22*/ -{0x7d, 0x23,}, - -{0x83, 0x01,}, //EXP Normal 30.00 fps -{0x84, 0x86,}, -{0x85, 0xa0,}, -{0x86, 0x01,}, //EXPMin 7500.00 fps -{0x87, 0x90,}, -{0x88, 0x05,}, //EXP Max(120Hz) 8.00 fps -{0x89, 0xb8,}, -{0x8a, 0xd8,}, -{0xa5, 0x05,}, //EXP Max(100Hz) 8.33 fps -{0xa6, 0x7e,}, -{0xa7, 0x40,}, -{0x8B, 0x75,}, /*EXP100 */ -{0x8C, 0x30,}, -{0x8D, 0x61,}, /*EXP120 */ -{0x8E, 0xa8,}, -{0x9c, 0x09,}, /*EXP Limit 1250.00 fps */ -{0x9d, 0x60,}, -{0x9e, 0x01,}, /*EXP Unit */ -{0x9f, 0x90,}, -{0x98, 0x9d,}, - -{0xb0, 0x16,}, -{0xb1, 0x14,}, -{0xb2, 0xf8,}, -{0xb3, 0x14,}, -{0xb4, 0x1b,}, -{0xb5, 0x46,}, -{0xb6, 0x31,}, -{0xb7, 0x29,}, -{0xb8, 0x26,}, -{0xb9, 0x24,}, -{0xba, 0x22,}, -{0xbb, 0x42,}, -{0xbc, 0x41,}, -{0xbd, 0x40,}, -{0xc0, 0x10,}, -{0xc1, 0x38,}, -{0xc2, 0x38,}, -{0xc3, 0x38,}, -{0xc4, 0x07,}, -{0xc8, 0x80,}, -{0xc9, 0x80,}, -{0x10, 0x8c,}, /* ae enable*/ - - -/*AE_Weight*/ -{0x03, 0x21,}, -{0x20, 0x11,}, -{0x21, 0x11,}, -{0x22, 0x11,}, -{0x23, 0x11,}, -{0x24, 0x12,}, -{0x25, 0x22,}, -{0x26, 0x22,}, -{0x27, 0x21,}, -{0x28, 0x12,}, -{0x29, 0x22,}, -{0x2a, 0x22,}, -{0x2b, 0x21,}, -{0x2c, 0x12,}, -{0x2d, 0x23,}, -{0x2e, 0x32,}, -{0x2f, 0x21,}, -{0x30, 0x12,}, -{0x31, 0x23,}, -{0x32, 0x32,}, -{0x33, 0x21,}, -{0x34, 0x12,}, -{0x35, 0x22,}, -{0x36, 0x22,}, -{0x37, 0x21,}, -{0x38, 0x12,}, -{0x39, 0x22,}, -{0x3a, 0x22,}, -{0x3b, 0x21,}, -{0x3c, 0x11,}, -{0x3d, 0x11,}, -{0x3e, 0x11,}, -{0x3f, 0x11,}, - -/* PAGE 22 START*/ -{0x03, 0x22,}, -{0x10, 0xfd,}, -{0x11, 0x2e,}, -{0x19, 0x01,}, /* Low On*/ -{0x20, 0x30,}, /* for wb speed*/ -{0x21, 0x40,}, -{0x24, 0x01,}, -{0x25, 0x7e,}, /* for tracking 20120314 */ - -{0x30, 0x80,}, /* 20120224 test*/ -{0x31, 0x80,}, -{0x38, 0x11,}, -{0x39, 0x34,}, - -{0x40, 0xe8,}, -{0x41, 0x43,}, /* 33*/ -{0x42, 0x22,}, /* 22*/ - -{0x43, 0xf3,}, /* f6*/ -{0x44, 0x54,}, /* 44*/ -{0x45, 0x22,}, /* 33*/ - -{0x46, 0x00,}, -{0x48, 0x0a,}, -{0x50, 0xb2,}, -{0x51, 0x81,}, -{0x52, 0x98,}, - -{0x80, 0x38,}, -{0x81, 0x20,}, -{0x82, 0x38,}, /* 3a*/ - -{0x83, 0x56,}, /* R Max*/ -{0x84, 0x20,}, /* R Min*/ -{0x85, 0x52,}, /* B Max*/ -{0x86, 0x20,}, /* B Min*/ - -{0x87, 0x45,}, -{0x88, 0x3a,}, -{0x89, 0x32,}, -{0x8a, 0x2c,}, - -{0x8b, 0x42,}, -{0x8c, 0x3d,}, -{0x8d, 0x30,}, -{0x8e, 0x2c,}, - -{0x8f, 0x5a,}, -{0x90, 0x59,}, -{0x91, 0x55,}, -{0x92, 0x4e,}, -{0x93, 0x44,}, -{0x94, 0x3a,}, -{0x95, 0x34,}, -{0x96, 0x2c,}, -{0x97, 0x23,}, -{0x98, 0x20,}, -{0x99, 0x1f,}, -{0x9a, 0x1f,}, - -{0x9b, 0x77,}, -{0x9c, 0x77,}, -{0x9d, 0x48,}, -{0x9e, 0x38,}, -{0x9f, 0x30,}, - -{0xa0, 0x40,}, -{0xa1, 0x21,}, -{0xa2, 0x6f,}, -{0xa3, 0xff,}, - -{0xa4, 0x14,}, /* 1500fps*/ -{0xa5, 0x44,}, /* 700fps*/ -{0xa6, 0xcf,}, - -{0xad, 0x40,}, -{0xae, 0x4a,}, - -{0xaf, 0x2a,}, /* low temp Rgain*/ -{0xb0, 0x28,}, /* low temp Rgain*/ - -{0xb1, 0x00,}, /* {0x20, 0x -}> {0x00, 0x 0}405 modify*/ -{0xb4, 0xbf,}, /* for tracking 20120314*/ -{0xb8, 0xb1,}, /* a2: b-2, R+2 b4 B-3, R+4 lowtemp b0 a1 Spec AWB A modify*/ -{0xb9, 0x00,}, -/* PAGE 22 END*/ - -/* PAGE 48 */ -{0x03, 0x00,}, - -/* PLL Setting */ -{0xd0, 0x05,}, -{0xd1, 0x30,}, -{0xd2, 0x05,}, -{0xd3, 0x20,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x85,}, -{0xd0, 0x95,}, - -{0x03, 0x48,}, -/* MIPI TX Setting */ -{0x10, 0x1c,}, -{0x11, 0x00,}, -{0x12, 0x00,}, -{0x14, 0x00,}, -{0x16, 0x04,}, -{0x17, 0x00,}, -{0x18, 0x80,}, -{0x19, 0x00,}, -{0x1a, 0xa0,}, -{0x1c, 0x02,}, -{0x1d, 0x0e,}, -{0x1e, 0x07,}, -{0x1f, 0x08,}, -{0x22, 0x00,}, -{0x23, 0x01,}, -{0x24, 0x1e,}, -{0x25, 0x00,}, -{0x26, 0x00,}, -{0x27, 0x08,}, -{0x28, 0x00,}, -{0x30, 0x05,}, -{0x31, 0x00,}, -{0x32, 0x07,}, -{0x33, 0x09,}, -{0x34, 0x01,}, -{0x35, 0x01,}, -{0x03, 0x00,}, -{0x01, 0x00,}, -{0xff, 0x05,}, -}; diff --git a/drivers/media/platform/msm/camera_v2/sensor/sr352_yuv.c b/drivers/media/platform/msm/camera_v2/sensor/sr352_yuv.c index c195c96cad8..cf8027a74b1 100644 --- a/drivers/media/platform/msm/camera_v2/sensor/sr352_yuv.c +++ b/drivers/media/platform/msm/camera_v2/sensor/sr352_yuv.c @@ -155,7 +155,7 @@ void sr352_get_ev_data_preflash_func2(struct msm_sensor_ctrl_t *s_ctrl); void sr352_set_ev_data_mainFlash_func3(struct msm_sensor_ctrl_t *s_ctrl); void sr352_return_ev_data_func4(struct msm_sensor_ctrl_t *s_ctrl); void sr352_actuator_softlanding(struct msm_sensor_ctrl_t *s_ctrl); -void sr352_ae_stable_without_af(struct msm_sensor_ctrl_t *s_ctrl, int flicker_type); +void sr352_ae_stable_without_af(struct msm_sensor_ctrl_t *s_ctrl); static int sr352_is_required_flash(struct msm_sensor_ctrl_t *s_ctrl, int flash_mode); void sr352_set_af_mode(struct msm_sensor_ctrl_t *s_ctrl, int mode); void sr352_recording_landing(struct msm_sensor_ctrl_t *s_ctrl); @@ -386,12 +386,12 @@ int32_t sr352_set_scene_mode(struct msm_sensor_ctrl_t *s_ctrl, int mode) } -int32_t sr352_set_ae_awb_lock(struct msm_sensor_ctrl_t *s_ctrl, int mode, int flicker_type) +int32_t sr352_set_ae_awb_lock(struct msm_sensor_ctrl_t *s_ctrl, int mode) { int32_t rc = 0; CDBG("mode = %d", mode); - if(flicker_type == MSM_CAM_FLICKER_60HZ) { + if(ANTIBANDING_60HZ) { if(mode) { rc = SR352_WRITE_LIST(sr352_AEAWB_Lock_60Hz); } else { @@ -456,7 +456,7 @@ int32_t sr352_set_metering(struct msm_sensor_ctrl_t *s_ctrl, int mode) return rc; } -int32_t sr352_set_resolution(struct msm_sensor_ctrl_t *s_ctrl, int mode, int flicker_type) +int32_t sr352_set_resolution(struct msm_sensor_ctrl_t *s_ctrl, int mode) { int32_t rc = 0; CDBG("mode = %d", mode); @@ -500,10 +500,10 @@ int32_t sr352_set_resolution(struct msm_sensor_ctrl_t *s_ctrl, int mode, int fli else { rc = SR352_WRITE_LIST_BURST(sr352_recording_50Hz_HD); } - if(flicker_type == MSM_CAM_FLICKER_50HZ) { - rc = SR352_WRITE_LIST(sr352_HD_50hz_setting); - } else { + if(ANTIBANDING_60HZ) { rc = SR352_WRITE_LIST(sr352_HD_60hz_setting); + } else { + rc = SR352_WRITE_LIST(sr352_HD_50hz_setting); } #if defined (AF_FLASH_SUPPORT) SR352_WRITE_LIST(sr352_HD_AF_Init_Reg); @@ -523,25 +523,16 @@ int32_t sr352_set_resolution(struct msm_sensor_ctrl_t *s_ctrl, int mode, int fli case MSM_SENSOR_RES_6: rc = SR352_WRITE_LIST(sr352_preview_320_240); break; -#ifdef CONFIG_MACH_MILLETLTE_KOR - case MSM_SENSOR_RES_7: - rc = SR352_WRITE_LIST(sr352_preview_352_288); - break; - case MSM_SENSOR_RES_8: - rc = SR352_WRITE_LIST(sr352_preview_176_144); - break; -#else case MSM_SENSOR_RES_7: rc = SR352_WRITE_LIST(sr352_preview_176_144); break; -#endif default: pr_err("%s: Setting %d is invalid\n", __func__, mode); } return rc; } -void sr352_init_camera(struct msm_sensor_ctrl_t *s_ctrl , int flicker_type) +void sr352_init_camera(struct msm_sensor_ctrl_t *s_ctrl) { int32_t rc = 0; if(settings_type == 1) { @@ -555,10 +546,10 @@ void sr352_init_camera(struct msm_sensor_ctrl_t *s_ctrl , int flicker_type) #if defined (AF_FLASH_SUPPORT) SR352_WRITE_LIST(sr352_AF_Init_Reg); #endif - if(flicker_type == MSM_CAM_FLICKER_50HZ) { - rc = SR352_WRITE_LIST(sr352_50hz_setting); - } else { + if(ANTIBANDING_60HZ) { rc = SR352_WRITE_LIST(sr352_60hz_setting); + } else { + rc = SR352_WRITE_LIST(sr352_50hz_setting); } if(rc <0) { pr_err("%s:%d error writing 50hz failed\n", __func__, __LINE__); @@ -647,7 +638,6 @@ int32_t sr352_sensor_config(struct msm_sensor_ctrl_t *s_ctrl, int32_t rc = 0; int32_t i = 0; mutex_lock(s_ctrl->msm_sensor_mutex); - sr352_ctrl.settings.flicker = cdata->flicker_type; switch (cdata->cfgtype) { case CFG_GET_SENSOR_INFO: @@ -677,7 +667,7 @@ int32_t sr352_sensor_config(struct msm_sensor_ctrl_t *s_ctrl, sr352_regs_table_init("/data/"REG_SET_FILE); pr_err("/data/"REG_SET_FILE" inside CFG_SET_INIT_SETTING"); #endif - sr352_init_camera(s_ctrl , cdata->flicker_type); + sr352_init_camera(s_ctrl); #if !defined (AF_FLASH_SUPPORT) //Stop stream and start in START_STREAM @@ -689,7 +679,7 @@ int32_t sr352_sensor_config(struct msm_sensor_ctrl_t *s_ctrl, if (sr352_ctrl.prev_mode == CAMERA_MODE_RECORDING && sr352_ctrl.settings.resolution == MSM_SENSOR_RES_3) { - sr352_init_camera(s_ctrl , cdata->flicker_type); + sr352_init_camera(s_ctrl); //Stop stream and start in START_STREAM SR352_WRITE_LIST(sr352_stop_stream); CDBG("CFG CFG_SET_RESOLUTION - HD Recording mode off"); @@ -718,12 +708,12 @@ int32_t sr352_sensor_config(struct msm_sensor_ctrl_t *s_ctrl, switch(sr352_ctrl.op_mode) { case CAMERA_MODE_PREVIEW: { - sr352_set_resolution(s_ctrl , sr352_ctrl.settings.resolution , cdata->flicker_type); + sr352_set_resolution(s_ctrl , sr352_ctrl.settings.resolution); #if !defined(AF_FLASH_SUPPORT) if (sr352_ctrl.prev_mode == CAMERA_MODE_RECORDING && sr352_ctrl.settings.prev_resolution == MSM_SENSOR_RES_3) { - sr352_set_ae_awb_lock(s_ctrl, 0, cdata->flicker_type); + sr352_set_ae_awb_lock(s_ctrl, 0); msleep(100); } @@ -737,21 +727,17 @@ int32_t sr352_sensor_config(struct msm_sensor_ctrl_t *s_ctrl, { #if defined (AF_FLASH_SUPPORT) if (!is_af_run) - sr352_ae_stable_without_af(s_ctrl,sr352_ctrl.settings.flicker); + sr352_ae_stable_without_af(s_ctrl); if (need_main_flash) { SR352_WRITE_LIST(sr352_stop_stream); - if(sr352_ctrl.settings.flicker == MSM_CAM_FLICKER_60HZ) { - SR352_WRITE_LIST(sr352_AfterPreFlash_FlashRegTable4_1_60Hz); - } else { - SR352_WRITE_LIST(sr352_AfterPreFlash_FlashRegTable4_1); - } + SR352_WRITE_LIST(sr352_AfterPreFlash_FlashRegTable4_1); sr352_set_ev_data_mainFlash_func3(s_ctrl); set_led_flash(MSM_CAMERA_LED_HIGH); SR352_WRITE_LIST(sr352_StartMainFlash_FlashRegTable5); flash_status = MSM_CAMERA_LED_HIGH; } #endif - sr352_set_resolution(s_ctrl , sr352_ctrl.settings.resolution , cdata->flicker_type); + sr352_set_resolution(s_ctrl , sr352_ctrl.settings.resolution); } break; case CAMERA_MODE_RECORDING: @@ -764,10 +750,10 @@ int32_t sr352_sensor_config(struct msm_sensor_ctrl_t *s_ctrl, #endif if ( sr352_ctrl.settings.resolution == MSM_SENSOR_RES_3 ) { CDBG("CFG writing *** sr352_recording_50Hz_HD"); - sr352_set_resolution( s_ctrl , sr352_ctrl.settings.resolution , cdata->flicker_type ); + sr352_set_resolution( s_ctrl , sr352_ctrl.settings.resolution); } else { CDBG("CFG writing *** sr352_recording_50Hz_30fps"); - sr352_set_resolution( s_ctrl , MSM_SENSOR_RES_5 , cdata->flicker_type); + sr352_set_resolution( s_ctrl , MSM_SENSOR_RES_5); if(settings_type == 1) { rc = SR352_WRITE_LIST(sr352_recording_50Hz_30fps_01); } @@ -793,11 +779,7 @@ int32_t sr352_sensor_config(struct msm_sensor_ctrl_t *s_ctrl, if (flash_status == MSM_CAMERA_LED_HIGH) { set_led_flash(MSM_CAMERA_LED_OFF); flash_status = MSM_CAMERA_LED_OFF; - if(sr352_ctrl.settings.flicker == MSM_CAM_FLICKER_60HZ) { - SR352_WRITE_LIST(sr352_AfterMainFlash_FlashRegTable6_60Hz); - } else { - SR352_WRITE_LIST(sr352_AfterMainFlash_FlashRegTable6); - } + SR352_WRITE_LIST(sr352_AfterMainFlash_FlashRegTable6); sr352_return_ev_data_func4(s_ctrl); SR352_WRITE_LIST(sr352_EndMainFlash_FlashRegTable7); need_main_flash = 0; @@ -1097,33 +1079,21 @@ int32_t sr352_sensor_config(struct msm_sensor_ctrl_t *s_ctrl, #if defined (AF_FLASH_SUPPORT) -void sr352_ae_stable_without_af(struct msm_sensor_ctrl_t *s_ctrl, int flicker_type) +void sr352_ae_stable_without_af(struct msm_sensor_ctrl_t *s_ctrl) { is_preflash = sr352_is_required_flash(s_ctrl, flash_mode); if (is_preflash) { memset(&Flash, 0, sizeof(Flash)); - if(flicker_type == MSM_CAM_FLICKER_60HZ) { - SR352_WRITE_LIST(sr352_StartPreFlash_FlashRegTable1_60Hz); - sr352_get_ev_data_flash_Off_func1(s_ctrl); - SR352_WRITE_LIST(sr352_ReadyPreFlash_FlashRegTable2_60Hz); - } else { - SR352_WRITE_LIST(sr352_StartPreFlash_FlashRegTable1); - sr352_get_ev_data_flash_Off_func1(s_ctrl); - SR352_WRITE_LIST(sr352_ReadyPreFlash_FlashRegTable2); - } + SR352_WRITE_LIST(sr352_StartPreFlash_FlashRegTable1); + sr352_get_ev_data_flash_Off_func1(s_ctrl); + SR352_WRITE_LIST(sr352_ReadyPreFlash_FlashRegTable2); set_led_flash(MSM_CAMERA_LED_LOW); flash_status = MSM_CAMERA_LED_LOW; need_main_flash = 1; msleep(600); /* AE become stable here */ - if(flicker_type == MSM_CAM_FLICKER_60HZ) { - SR352_WRITE_LIST(sr352_AfterPreFlash_FlashRegTable3_60Hz); - sr352_get_ev_data_preflash_func2(s_ctrl); - SR352_WRITE_LIST(sr352_EndPreFlash_FlashRegTable4_60Hz); - } else { - SR352_WRITE_LIST(sr352_AfterPreFlash_FlashRegTable3); - sr352_get_ev_data_preflash_func2(s_ctrl); - SR352_WRITE_LIST(sr352_EndPreFlash_FlashRegTable4); - } + SR352_WRITE_LIST(sr352_AfterPreFlash_FlashRegTable3); + sr352_get_ev_data_preflash_func2(s_ctrl); + SR352_WRITE_LIST(sr352_EndPreFlash_FlashRegTable4); msleep(50); set_led_flash(MSM_CAMERA_LED_OFF); msleep(300); @@ -1942,7 +1912,7 @@ void sr352_cancel_af(struct msm_sensor_ctrl_t *s_ctrl) SR352_WRITE_ADDR(0x11, focus_reg); } -int32_t sr352_set_af_status(struct msm_sensor_ctrl_t *s_ctrl, int status, int initial_pos, int flicker_type) +int32_t sr352_set_af_status(struct msm_sensor_ctrl_t *s_ctrl, int status, int initial_pos) { int rc = -EINVAL; @@ -1954,15 +1924,9 @@ int32_t sr352_set_af_status(struct msm_sensor_ctrl_t *s_ctrl, int status, int in if (is_preflash) { memset(&Flash, 0, sizeof(Flash)); - if(flicker_type == MSM_CAM_FLICKER_60HZ) { - SR352_WRITE_LIST(sr352_StartPreFlash_FlashRegTable1_60Hz); - sr352_get_ev_data_flash_Off_func1(s_ctrl); - SR352_WRITE_LIST(sr352_ReadyPreFlash_FlashRegTable2_60Hz); - } else { - SR352_WRITE_LIST(sr352_StartPreFlash_FlashRegTable1); - sr352_get_ev_data_flash_Off_func1(s_ctrl); - SR352_WRITE_LIST(sr352_ReadyPreFlash_FlashRegTable2); - } + SR352_WRITE_LIST(sr352_StartPreFlash_FlashRegTable1); + sr352_get_ev_data_flash_Off_func1(s_ctrl); + SR352_WRITE_LIST(sr352_ReadyPreFlash_FlashRegTable2); set_led_flash(MSM_CAMERA_LED_LOW); flash_status = MSM_CAMERA_LED_LOW; rc = SENSOR_AF_PRE_FLASH_ON; @@ -1976,15 +1940,9 @@ int32_t sr352_set_af_status(struct msm_sensor_ctrl_t *s_ctrl, int status, int in case SENSOR_AF_PRE_FLASH_OFF: CDBG("SENSOR_AF_PRE_FLASH_OFF\n"); if (is_preflash) { - if(flicker_type == MSM_CAM_FLICKER_60HZ) { - SR352_WRITE_LIST(sr352_AfterPreFlash_FlashRegTable3_60Hz); - sr352_get_ev_data_preflash_func2(s_ctrl); - SR352_WRITE_LIST(sr352_EndPreFlash_FlashRegTable4_60Hz); - } else { - SR352_WRITE_LIST(sr352_AfterPreFlash_FlashRegTable3); - sr352_get_ev_data_preflash_func2(s_ctrl); - SR352_WRITE_LIST(sr352_EndPreFlash_FlashRegTable4); - } + SR352_WRITE_LIST(sr352_AfterPreFlash_FlashRegTable3); + sr352_get_ev_data_preflash_func2(s_ctrl); + SR352_WRITE_LIST(sr352_EndPreFlash_FlashRegTable4); if (!is_touchaf) msleep(100); @@ -2105,10 +2063,10 @@ int32_t sr352_sensor_native_control(struct msm_sensor_ctrl_t *s_ctrl, #if defined (AF_FLASH_SUPPORT) if(!flash_mode){ CDBG("EXT_CAM_SET_AE_AWB, !flash_mode"); - sr352_set_ae_awb_lock(s_ctrl, sr352_ctrl.settings.aeawblock, sr352_ctrl.settings.flicker); + sr352_set_ae_awb_lock(s_ctrl, sr352_ctrl.settings.aeawblock); } #else - sr352_set_ae_awb_lock(s_ctrl, sr352_ctrl.settings.aeawblock, sr352_ctrl.settings.flicker); + sr352_set_ae_awb_lock(s_ctrl, sr352_ctrl.settings.aeawblock); #endif break; #if defined (AF_FLASH_SUPPORT) @@ -2122,7 +2080,7 @@ int32_t sr352_sensor_native_control(struct msm_sensor_ctrl_t *s_ctrl, CDBG("DAFF EXT_CAM_SET_AF_STATUS: %d : %d\n", cam_info->value_1, cam_info->value_2); cam_info->value_1 = sr352_set_af_status(s_ctrl, cam_info->value_1, - cam_info->value_2, sr352_ctrl.settings.flicker); + cam_info->value_2); if (!copy_to_user((void *)argp, (const void *)&cam_info, sizeof(cam_info))) @@ -2169,11 +2127,7 @@ int32_t sr352_sensor_native_control(struct msm_sensor_ctrl_t *s_ctrl, if (flash_status == MSM_CAMERA_LED_HIGH) { set_led_flash(MSM_CAMERA_LED_OFF); flash_status = MSM_CAMERA_LED_OFF; - if(sr352_ctrl.settings.flicker == MSM_CAM_FLICKER_60HZ) { - SR352_WRITE_LIST(sr352_AfterMainFlash_FlashRegTable6_60Hz); - } else { - SR352_WRITE_LIST(sr352_AfterMainFlash_FlashRegTable6); - } + SR352_WRITE_LIST(sr352_AfterMainFlash_FlashRegTable6); sr352_return_ev_data_func4(s_ctrl); SR352_WRITE_LIST(sr352_EndMainFlash_FlashRegTable7); need_main_flash = 0; @@ -2203,7 +2157,6 @@ void sr352_set_default_settings(void) sr352_ctrl.settings.effect = CAMERA_EFFECT_OFF; sr352_ctrl.settings.scenemode = CAMERA_SCENE_AUTO; sr352_ctrl.settings.aeawblock = 0; - sr352_ctrl.settings.flicker = MSM_CAM_FLICKER_50HZ; } #ifndef NO_BURST diff --git a/drivers/media/platform/msm/camera_v2/sensor/sr352_yuv.h b/drivers/media/platform/msm/camera_v2/sensor/sr352_yuv.h index 5a50692e310..d66c3fce5ff 100644 --- a/drivers/media/platform/msm/camera_v2/sensor/sr352_yuv.h +++ b/drivers/media/platform/msm/camera_v2/sensor/sr352_yuv.h @@ -17609,57 +17609,6 @@ static struct msm_camera_i2c_reg_conf sr352_preview_320_240[] ={ }; -#ifdef CONFIG_MACH_MILLETLTE_KOR -static struct msm_camera_i2c_reg_conf sr352_preview_352_288[] ={ -{0x03, 0xc1,}, -{0x10, 0x06,}, // ssd tranfer disable -{0xff, 0x01,}, - -{0x03, 0x00,}, -{0x01, 0x01,}, // Sleep On - -{0x03, 0xc1,}, -{0x10, 0x07,}, // ssd tranfer enable - -/////////////////////////////////////////// -// Scaler 352_288 -/////////////////////////////////////////// -{0x03, 0x19,}, -{0x10, 0x00,}, //hw scaler off -{0x14, 0x03,}, //sawtooth on 320_240 176_144 pre filter //Bit[5] on - -//Scaler -{0x03, 0xc0,}, -{0xa0, 0x00,}, //fw scaler off -{0xa2, 0x01,}, //width -{0xa3, 0x60,}, -{0xa4, 0x01,}, //height -{0xa5, 0x20,}, - -{0xa1, 0x00,}, //zoom step -{0xa0, 0xc0,}, //fw scaler on - -{0x03, 0x19,}, -{0x10, 0x07,}, //hw scaler on - -/////////////////////////////////////////// -// 05 Page MIPI Size -/////////////////////////////////////////// -{0x03, 0x05,}, // Page05 - -{0x30, 0x02,}, // l_pkt_wc_h // Pre = 352 * 2 (YUV) -{0x31, 0xc0,}, // l_pkt_wc_l -//------------------------------------// - -{0x03, 0x00,}, -{0x1e, 0x01,}, // frame update -{0x01, 0x00,}, // Sleep Off - -{0xff, 0x01,}, //delay 10ms -}; -#endif - - static struct msm_camera_i2c_reg_conf sr352_preview_800_480[] ={ {0x03, 0xc1,}, {0x10, 0x06,}, // ssd tranfer disable diff --git a/drivers/media/platform/msm/camera_v2/sensor/sr352_yuv_matisse.h b/drivers/media/platform/msm/camera_v2/sensor/sr352_yuv_matisse.h index 21a1f1ccc2f..2f55ad9f2f3 100644 --- a/drivers/media/platform/msm/camera_v2/sensor/sr352_yuv_matisse.h +++ b/drivers/media/platform/msm/camera_v2/sensor/sr352_yuv_matisse.h @@ -36442,7 +36442,6 @@ static struct msm_camera_i2c_reg_conf sr352_50hz_setting[] = { {0x03, 0xc7,}, {0x10, 0x70,}, //AE Off (Band Off) 50hz 70, 60hz 50 {0x12, 0x30,}, // Fast speed -{0x13, 0x61,}, {0x15, 0xc0,}, // SSD Patch Weight Y Mean On {0x1e, 0x03,}, // Band1 Step @@ -36607,7 +36606,6 @@ static struct msm_camera_i2c_reg_conf sr352_60hz_setting[] = { {0x03, 0xc7,}, {0x10, 0x50,}, //AE Off (Band Off) 50hz 70, 60hz 50 {0x12, 0x30,}, // Fast speed -{0x13, 0x61,}, {0x15, 0xc0,}, // SSD Patch Weight Y Mean On {0x1e, 0x03,}, // Band1 Step @@ -36695,7 +36693,7 @@ static struct msm_camera_i2c_reg_conf sr352_HD_60hz_setting[] = { /////////////////////////////////////////////////////////////////////////////// //Shutter Setting {0x03, 0xc7,}, -{0x10, 0x10,}, // AE Off (Band Off) 50hz 30, 60hz 10 +{0x10, 0x30,}, // AE Off (Band Off) 50hz 30, 60hz 10 {0x12, 0x03,}, // Slow AE {0x15, 0xc0,}, // SSD Patch Weight Y Mean On diff --git a/drivers/media/platform/msm/camera_v2/sensor/sr352_yuv_rubens.h b/drivers/media/platform/msm/camera_v2/sensor/sr352_yuv_rubens.h index 71610f36d7f..261e9319777 100644 --- a/drivers/media/platform/msm/camera_v2/sensor/sr352_yuv_rubens.h +++ b/drivers/media/platform/msm/camera_v2/sensor/sr352_yuv_rubens.h @@ -37970,78 +37970,6 @@ static struct msm_camera_i2c_reg_conf sr352_StartPreFlash_FlashRegTable1[]={ }; -static struct msm_camera_i2c_reg_conf sr352_StartPreFlash_FlashRegTable1_60Hz[]={ - -{0x03, 0xc7}, //SW ExpMax 15fps -{0xb3, 0x3f}, -{0xb4, 0x80}, -{0xb5, 0x00}, -{0xb6, 0x00}, - -{0xb7, 0x3f}, -{0xb8, 0x80}, -{0xb9, 0x00}, -{0xba, 0x00}, - -{0xbb, 0x3f}, -{0xbc, 0x80}, -{0xbd, 0x00}, -{0xbe, 0x00}, - -{0x32, 0x00}, -{0x33, 0x36}, -{0x34, 0xC9}, -{0x35, 0x00}, -{0x6F, 0x08},//SW ExpMaxStep 15fps - -{0x03, 0x20}, //HW ExpMax 15fps -{0x24, 0x00}, -{0x25, 0x36}, -{0x26, 0xC9}, -{0x27, 0x00}, - -{0x03, 0xD3}, // Adaptive start -{0x85, 0x70}, // Cb _Sat_Dark1 -{0x86, 0x70}, // Cb _Sat_Dark2 -{0x8B, 0x70}, // Cr _Sat_Dark1 -{0x8C, 0x70}, // Cr _Sat_Dark2 -{0xB4, 0x80}, // LSC3_Ind_LowTmp gain g 80 -{0xB5, 0x80}, // LSC4_Ind_LowTmp gain b 80 -{0xB6, 0x7A}, // LSC5_Ind_LowTmp gain r 82 -{0xBA, 0x80}, // LSC3_Ind_MiddleTmp gain g 80 -{0xBB, 0x80}, // LSC4_Ind_MiddleTmp gain b 80 -{0xBC, 0x6E}, // LSC5_Ind_MiddleTmp gain r 74 -{0xC0, 0x80}, // LSC3_Ind_HighTmp gain g 80 -{0xC1, 0x80}, // LSC4_Ind_HighTmp gain b 80 -{0xC2, 0x6E}, // LSC5_Ind_HighTmp gain r 74 -{0xC6, 0x84}, // LSC3_Dark1_LowTmp gain g 68 -{0xC7, 0x84}, // LSC4_Dark1_LowTmp gain b 65 -{0xC8, 0x6A}, // LSC5_Dark1_LowTmp gain r 62 -{0xCC, 0x84}, // LSC3_Dark1_MiddleTmp gain g 68 -{0xCD, 0x84}, // LSC4_Dark1_MiddleTmp gain b 65 -{0xCE, 0x6A}, // LSC5_Dark1_MiddleTmp gain r 62 -{0xD2, 0x84}, // LSC3_Dark1_HighTmp gain g 68 -{0xD3, 0x84}, // LSC4_Dark1_HighTmp gain b 65 -{0xD4, 0x6A}, // LSC5_Dark1_HighTmp gain r 62 -{0xD8, 0x84}, // LSC3_Dark2 gain g 68 -{0xD9, 0x84}, // LSC4_Dark2 gain b 65 -{0xDA, 0x6A}, // LSC5_Dark2 gain r 52 - -{0x03, 0x00}, -{0xFF, 0x23}, // 350ms delay(unit=10ms) - -{0x03, 0xC7}, -{0x10, 0x50}, -{0x03, 0xC8}, -{0x10, 0x00}, - -{0x03, 0xCF}, -{0x2C, 0x06}, - -{0xFF, 0x0A}, // 100ms delay(unit=10ms) - -}; - static struct msm_camera_i2c_reg_conf sr352_ReadyPreFlash_FlashRegTable2[]={ {0x03, 0xC7}, {0x10, 0xF0}, //AE on @@ -38110,74 +38038,6 @@ static struct msm_camera_i2c_reg_conf sr352_ReadyPreFlash_FlashRegTable2[]={ {0x10, 0xD3}, }; -static struct msm_camera_i2c_reg_conf sr352_ReadyPreFlash_FlashRegTable2_60Hz[]={ -{0x03, 0xC7}, -{0x10, 0xD0}, //AE on 60Hz -{0x12, 0x70}, //AE Speed Hi -{0x03, 0xC8}, -{0x10, 0x00}, -{0x14, 0x8F}, -{0x17, 0x77}, //AWB speed1 -{0x18, 0x77}, //AWB speed2 -{0x22, 0x80}, //AWB MaxStepInc -{0x91, 0x20}, -{0x92, 0x20}, -{0x03, 0xCA}, -{0xA1, 0x80}, -{0xA2, 0x00}, -{0xA3, 0x00}, -{0x03, 0xC8}, - -{0xEB, 0x11}, //Indoor_aCtmpWgt -{0xEC, 0x11}, //Indoor_aCtmpWgt_a01 -{0xED, 0x11}, //Indoor_aCtmpWgt_a02 -{0xEE, 0x11}, //Indoor_aCtmpWgt_a03 -{0xEF, 0x11}, //Indoor_aCtmpWgt_a04 -{0xF0, 0x11}, //Indoor_aCtmpWgt_a05 -{0xF1, 0x11}, //Indoor_aCtmpWgt_a06 -{0xF2, 0x11}, //Indoor_aCtmpWgt_a07 -{0xF3, 0x11}, //Indoor_aCtmpWgt_a08 -{0xF4, 0x12}, //Indoor_aCtmpWgt_a09 -{0xF5, 0x64}, //Indoor_aCtmpWgt_a10 -{0xF6, 0x11}, //Indoor_aCtmpWgt_a11 -{0xF7, 0x18}, //Indoor_aCtmpWgt_a12 -{0xF8, 0xFA}, //Indoor_aCtmpWgt_a13 -{0xF9, 0x11}, //Indoor_aCtmpWgt_a14 -{0xFA, 0x48}, //Indoor_aCtmpWgt_a15 -{0xFB, 0x82}, //Indoor_aCtmpWgt_a16 -{0xFC, 0x11}, //Indoor_aCtmpWgt_a17 -{0xFD, 0x11}, //Indoor_aCtmpWgt_a18 - -{0x03, 0xC9}, //c9 page - -{0x10, 0x11}, //Indoor_aCtmpWgt_a19 -{0x11, 0x11}, //Indoor_aCtmpWgt_a20 -{0x12, 0x11}, //Indoor_aCtmpWgt_a21 -{0x13, 0x11}, //Indoor_aCtmpWgt_a22 -{0x14, 0x11}, //Indoor_aCtmpWgt_a23 -{0x15, 0x10}, //Indoor_aCtmpWgt_a24 - -{0x2B, 0x28}, //Indoor_aRgTgtOfs -{0x2C, 0x24}, //Indoor_aRgTgtOfs_a01 -{0x2D, 0x20}, //Indoor_aRgTgtOfs_a02 -{0x2E, 0x1C}, //Indoor_aRgTgtOfs_a03 //h80->h84 Hando Extend MaxMax choi 0618 -{0x2F, 0x18}, //Indoor_aRgTgtOfs_a04 //h04->h00 choi 0618 -{0x30, 0xB0}, //Indoor_aBgTgtOfs -{0x31, 0xAC}, //Indoor_aBgTgtOfs_a01 -{0x32, 0xA4}, //Indoor_aBgTgtOfs_a02 -{0x33, 0x9C}, //Indoor_aBgTgtOfs_a03 //h84->h8a Hando Extend MaxMax choi 0618 -{0x34, 0x90}, //Indoor_aBgTgtOfs_a04 //h00->h84 0618 choi -{0x35, 0x38}, //bRgDefTgt //indoor -{0x36, 0x00}, //bBgDefTgt //indoor - -{0x03, 0xCA}, -{0x23, 0x00}, //0x92 //bRgDefTgt //Outdoor -{0x24, 0x8D}, //0x8D //bBgDefTgt //Outdoor -{0x03, 0xC8}, -{0x11, 0xC1}, -{0x10, 0xD3}, -}; - static struct msm_camera_i2c_reg_conf sr352_AfterPreFlash_FlashRegTable3[]={ {0x03, 0xC7}, {0x10, 0x70}, // AE Off 50hz 70, 60hz 50 @@ -38186,14 +38046,6 @@ static struct msm_camera_i2c_reg_conf sr352_AfterPreFlash_FlashRegTable3[]={ {0xFF, 0x0D}, // 130ms delay(unit=10ms) }; -static struct msm_camera_i2c_reg_conf sr352_AfterPreFlash_FlashRegTable3_60Hz[]={ -{0x03, 0xC7}, -{0x10, 0x50}, // AE Off 50hz 70, 60hz 50 -{0x03, 0xC8}, // AWB Off -{0x10, 0x52}, -{0xFF, 0x0D}, // 130ms delay(unit=10ms) -}; - static struct msm_camera_i2c_reg_conf sr352_EndPreFlash_FlashRegTable4[]={ {0x03, 0xC7}, {0x10, 0xF0}, // AE ON @@ -38202,13 +38054,6 @@ static struct msm_camera_i2c_reg_conf sr352_EndPreFlash_FlashRegTable4[]={ {0xFF, 0x0D}, // 130ms delay(unit=10ms) }; -static struct msm_camera_i2c_reg_conf sr352_EndPreFlash_FlashRegTable4_60Hz[]={ -{0x03, 0xC7}, -{0x10, 0xD0}, // AE ON -{0x03, 0xC8}, // AWB ON -{0x10, 0xD2}, -{0xFF, 0x0D}, // 130ms delay(unit=10ms) -}; static struct msm_camera_i2c_reg_conf sr352_AfterPreFlash_FlashRegTable4_1[]={ {0x03, 0xC7}, @@ -38220,16 +38065,6 @@ static struct msm_camera_i2c_reg_conf sr352_AfterPreFlash_FlashRegTable4_1[]={ }; -static struct msm_camera_i2c_reg_conf sr352_AfterPreFlash_FlashRegTable4_1_60Hz[]={ -{0x03, 0xC7}, -{0x10, 0x50}, // AE Off 50hz 70, 60hz 50 -{0x03, 0xC8}, // AWB Off -{0x10, 0x52}, - -{0xFF, 0x0D}, // 130ms delay(unit=10ms) - -}; - static struct msm_camera_i2c_reg_conf sr352_StartMainFlash_FlashRegTable5[]={ {0xFF, 0x01}, // Array end flag @@ -38372,143 +38207,6 @@ static struct msm_camera_i2c_reg_conf sr352_AfterMainFlash_FlashRegTable6[]={ {0x24, 0x8D}, // bBgDefTgt //Outdoor }; -static struct msm_camera_i2c_reg_conf sr352_AfterMainFlash_FlashRegTable6_60Hz[]={ - -{0x03, 0xC1}, -{0x10, 0x06}, // ssd tranfer disable - -{0x03, 0xc7}, -{0xb3, 0x40}, -{0xb4, 0x12}, -{0xb5, 0x00}, -{0xb6, 0x00}, - -{0xb7, 0x40}, -{0xb8, 0x26}, -{0xb9, 0x00}, -{0xba, 0x00}, - -{0xbb, 0x40}, -{0xbc, 0x70}, -{0xbd, 0x00}, -{0xbe, 0x00}, - -{0x03, 0xc7}, // SW ExpMax 8fps -{0x32, 0x00}, -{0x33, 0x66}, -{0x34, 0xB8}, -{0x35, 0xE0}, -{0x6F, 0x0F}, //SW ExpMaxStep 8fps - -{0x03, 0x20}, //HW ExpMax 8fps -{0x24, 0x00}, -{0x25, 0x66}, -{0x26, 0xB8}, -{0x27, 0xE0}, - -{0x03, 0xCA}, -{0xA1, 0x00}, -{0xA3, 0x00}, -{0x03, 0x26}, -{0x30, 0x28}, // Preview // sleep off -{0x03, 0xC7}, -{0x10, 0x50}, -{0x03, 0xC8}, -{0x10, 0x00}, -{0x03, 0xD3}, // Adaptive -{0x83, 0x98}, // Cb_Outdoor -{0x84, 0x95}, // Cb _Sat_Indoor -{0x85, 0xA0}, // Cb _Sat_Dark1 -{0x86, 0x8A}, // Cb _Sat_Dark2 -{0x87, 0x88}, // Cb _Sat_LowTemp -{0x88, 0x96}, // Cb _Sat_HighTemp -{0x89, 0x88}, // Cr _Sat_Outdoor -{0x8A, 0x90}, // Cr _Sat_Indoor -{0x8B, 0xA0}, // Cr _Sat_Dark1 -{0x8C, 0x84}, // Cr _Sat_Dark2 -{0x8D, 0x75}, // Cr _Sat_LowTemp -{0x8E, 0x96}, // Cr _Sat_HighTemp -{0xB4, 0x80}, // LSC3_Ind_LowTmp gain g -{0xB5, 0x80}, // LSC4_Ind_LowTmp gain b -{0xB6, 0x82}, // LSC5_Ind_LowTmp gain r -{0xBA, 0x80}, // LSC3_Ind_MiddleTmp gain g -{0xBB, 0x80}, // LSC4_Ind_MiddleTmp gain b -{0xBC, 0x74}, // LSC5_Ind_MiddleTmp gain r -{0xC0, 0x80}, // LSC3_Ind_HighTmp gain g -{0xC1, 0x80}, // LSC4_Ind_HighTmp gain b -{0xC2, 0x74}, // LSC5_Ind_HighTmp gain r -{0xC6, 0x68}, // LSC3_Dark1_LowTmp gain g -{0xC7, 0x65}, // LSC4_Dark1_LowTmp gain b -{0xC8, 0x62}, // LSC5_Dark1_LowTmp gain r -{0xCC, 0x68}, // LSC3_Dark1_MiddleTmp gain g -{0xCD, 0x65}, // LSC4_Dark1_MiddleTmp gain b -{0xCE, 0x62}, // LSC5_Dark1_MiddleTmp gain r -{0xD2, 0x68}, // LSC3_Dark1_HighTmp gain g -{0xD3, 0x65}, // LSC4_Dark1_HighTmp gain b -{0xD4, 0x62}, // LSC5_Dark1_HighTmp gain r -{0xD8, 0x68}, // LSC3_Dark2 gain g -{0xD9, 0x65}, // LSC4_Dark2 gain b -{0xDA, 0x62}, // LSC5_Dark2 gain r - -{0x03, 0xC8}, // AWB Speed option recovery form Flash AWB -{0x14, 0x9F}, -{0x17, 0x34}, // AWB speed1 -{0x18, 0x55}, // AWB speed2 -{0x22, 0x30}, // AWB MaxStep -{0x03, 0xC8}, - -{0xEB, 0x11}, // Indoor_aCtmpWgt -{0xEC, 0x11}, // Indoor_aCtmpWgt_a01 -{0xED, 0x12}, // Indoor_aCtmpWgt_a02 -{0xEE, 0x11}, // Indoor_aCtmpWgt_a03 -{0xEF, 0x11}, // Indoor_aCtmpWgt_a04 -{0xF0, 0x33}, // Indoor_aCtmpWgt_a05 -{0xF1, 0x11}, // Indoor_aCtmpWgt_a06 -{0xF2, 0x14}, // Indoor_aCtmpWgt_a07 -{0xF3, 0x43}, // Indoor_aCtmpWgt_a08 -{0xF4, 0x11}, // Indoor_aCtmpWgt_a09 -{0xF5, 0x55}, // Indoor_aCtmpWgt_a10 -{0xF6, 0x41}, // Indoor_aCtmpWgt_a11 -{0xF7, 0x16}, // Indoor_aCtmpWgt_a12 -{0xF8, 0x65}, // Indoor_aCtmpWgt_a13 -{0xF9, 0x11}, // Indoor_aCtmpWgt_a14 -{0xFA, 0x48}, // Indoor_aCtmpWgt_a15 -{0xFB, 0x61}, // Indoor_aCtmpWgt_a16 -{0xFC, 0x11}, // Indoor_aCtmpWgt_a17 -{0xFD, 0x46}, // Indoor_aCtmpWgt_a18 - -{0x03, 0xC9}, // c9 page - -{0x10, 0x11}, // Indoor_aCtmpWgt_a19 -{0x11, 0x11}, // Indoor_aCtmpWgt_a20 -{0x12, 0x23}, // Indoor_aCtmpWgt_a21 -{0x13, 0x11}, // Indoor_aCtmpWgt_a22 -{0x14, 0x11}, // Indoor_aCtmpWgt_a23 -{0x15, 0x10}, // Indoor_aCtmpWgt_a24 - -{0x26, 0x3E}, // Indoor_aTgtAngle -{0x27, 0x42}, // Indoor_aTgtAngle_a01 -{0x28, 0x4D}, // Indoor_aTgtAngle_a02 -{0x29, 0x52}, // Indoor_aTgtAngle_a03 //h50->h4e Hando Extend MaxMax choi 0618 -{0x2A, 0x77}, // Indoor_aTgtAngle_a04 -{0x2B, 0x12}, // Indoor_aRgTgtOfs -{0x2C, 0x90}, // Indoor_aRgTgtOfs_a01 -{0x2D, 0x90}, // Indoor_aRgTgtOfs_a02 -{0x2E, 0x05}, // Indoor_aRgTgtOfs_a03 //h80->h84 Hando Extend MaxMax choi 0618 -{0x2F, 0x0E}, // Indoor_aRgTgtOfs_a04 //h04->h00 choi 0618 -{0x30, 0xCC}, // Indoor_aBgTgtOfs -{0x31, 0xA7}, // Indoor_aBgTgtOfs_a01 -{0x32, 0xA7}, // Indoor_aBgTgtOfs_a02 -{0x33, 0x82}, // Indoor_aBgTgtOfs_a03 //h84->h8a Hando Extend MaxMax choi 0618 -{0x34, 0x83}, // Indoor_aBgTgtOfs_a04 //h00->h84 0618 choi -{0x35, 0x24}, // 24 bRgDefTgt //indoor -{0x36, 0x00}, // 00bBgDefTgt //indoor - -{0x03, 0xCA}, -{0x23, 0x92}, // bRgDefTgt //Outdoor -{0x24, 0x8D}, // bBgDefTgt //Outdoor -}; - static struct msm_camera_i2c_reg_conf sr352_EndMainFlash_FlashRegTable7[]={ {0x03, 0xC0}, // AE, AWB frame skip {0x55, 0x04}, diff --git a/include/media/msm_cam_sensor.h b/include/media/msm_cam_sensor.h index 95d2ea02709..e6e08deb1b9 100644 --- a/include/media/msm_cam_sensor.h +++ b/include/media/msm_cam_sensor.h @@ -448,7 +448,7 @@ enum camerab_mode_t { struct sensorb_cfg_data { int cfgtype; -#if defined(CONFIG_S5K4ECGX) || defined(CONFIG_SR030PC50) || defined(CONFIG_SR352) || defined(CONFIG_SR200PC20) || defined(CONFIG_SR130PC20) +#if defined(CONFIG_SEC_ATLANTIC_PROJECT) int flicker_type; #endif union {