📄 s5x532.h
字号:
{0x0b,0x00},
{0x0c,0x00},
{0x0d,0x00}, // GB Shading of RGB Shading
{0x0e,0x00},
{0x0f,0x00},
{0x10,0x00},
{0x11,0x00}, // B Shading of RGB Shading
{0x12,0x00},
{0x13,0x00},
{0x14,0x00},
/// Y Shading
{0x2d,0xd0}, //e0 //d6 //e0
{0x2e,0xb0}, //c0 //aa //c0
{0x2f,0xa0}, //95 //a0
{0x30,0x88}, //86 //88 //80
{0x31,0x88}, //86 //88 //80
{0x32,0xa0}, //95 //a0
{0x33,0xb0}, //c0 //aa //c0
{0x34,0xd0}, //e0 //d6 //e0
{0x35,0xd0}, //e0
{0x36,0xb0}, //ba //a6
{0x37,0x98}, //94 //90
{0x38,0x88}, //80
{0x39,0x88}, //80
{0x3a,0x98}, //94 //90
{0x3b,0xb0}, //ba //a6
{0x3c,0xd0}, //e0
////////////////////////////////////////////////
// page 7
{0xec,0x07},
{0x11,0xfe}, // GGain_Offset
{0x17,0x40}, // lower AWB Ggain because G is stronger than R/B
//s1742 // modify AWB Ggain to make <1.46> =0x40(x1)
{0x3c,0x00}, //adjust AWB internal window boundary to decrease skin color tracking
// to dectect 50Hz flicker in 25Mhz 7.5fps
{0x60,0x10}, // adjust flicker thres
{0x62,0x11}, // adjust edge detection boundary
{0x63,0x04},
{0x69,0x10}, // for mirror
{0x70,0x80}, // BLC Off
// AE weight
{0x80,0x10}, //40
{0x81,0x00}, //10
{0x82,0x01}, //10
{0x83,0x02}, //10
{0x84,0x02}, //30
///////////////////////////////
// control start position(hsync hblank )
// to remove broken pixel width on left side
{0xec,0x01},
{0x78,0x3d}, // HBLK START
{0x82,0x3d}, // HS656 START
{0xec,0x03},
{0x5e,0x3d},
{0x68,0x3d},
{0xec,0x04},
// {0x0e,0x3d},
// {0x18,0x3d},
{0x36,0x3d},
{0x40,0x3d},
////////////////////////////
// Control Gain
{0xec,0x00},
{0x78,0x60}, //Total gain x4 (Only Analog x4)
{0x2d,0x5a}, //Frame AE start
{0x82,0x5A}, //Color Suppress AGC Min
////////////////////////////
// Control BPRM
// CIS BPR always off
{0xec,0x00},
{0x7e,0x87}, //Color Suppress On, Y gain On, Digital clamp On, DBPRM On
{0x86,0x01}, //DBPR AGC MIN
{0x87,0x00}, //DBPRM THRES. MIN
//s8710 //DBPRM THRES. MIN.. optimize between BPR and Pseudo color
{0xec,0x07},
{0x21,0x90}, //50 //DBPRM THRES. MAX
{0x22,0x20}, //DBPR AGC MAX
////////////////////////////
// improve AE speed
{0xec,0x00},
{0x92,0x80}, //AE ratio high
{0xec,0x07},
{0x10,0x30}, // AGC predict ON
//*********************************************************
// If you change MCLK or Frame rate, you change below register
//*********************************************************
/////////////////////////////
///Adjust Global Gain
{0xec,0x02},
{0x1f,0x0f}, // if MCLK is 25Mhz
/////////////////////////////
///Flicker setting
{0xec,0x00},
{0x72,0x7d}, // if MCLK is 25Mhz
/////////////////////////////
// Adjust Vblank depth
/// Make 25Mhz 7.5fps
{0xec,0x02},
{0x17,0x00},
{0x18,0x8c},
{0xec,0x04},
{0x01,0x00},
{0x02,0x8c},
//*********************************************************
/////////////////////////////
///Flicker setting
{0xec,0x00},
{0x74,0x18}, // Auto Flicker start 60hz for 7.5fps
/////////////////////////////
// Frame AE
{0xec,0x00},
{0x73,0x11}, // frame 1/2
/////////////////////// 1213 setting
{0xec,0x01}, //sdtv
{0x19,0x4d},
{0x1a,0x96},
{0x1b,0x1d},
{0x4a,0x41},
{0x48,0xea},
{0x47,0x41},
{0x49,0xf5},
{0xec,0x00},
{0x44,0x2e},
{0x45,0x2c},
{0x5f,0x18},
{0xec,0x07},
{0x21,0x9c},
{0x22,0x58},
{0xec,0x00}, // bpr
{0x87,0x00},
{0x86,0x48},
{0xec,0x01},
{0x8b,0x23}, // Full YC
{0x35,0xff}, //Y gamma
{0x5c,0xff}, //C gamma
{0xec,0x00}, //Bally adatpion
{0x74,0x04}, // Auto Flicker start 60hz for 7.5fps
{0x73,0x51},
// {0x72,0x78}, //MCLK 24Mhz
// {0x72,0xA0}, //MCLK 32Mhz
{0x72,0xF0}, //MCLK 48Mhz
{0xec,0x04},
{0x01,0x05}, //4fps
{0x02,0x8c},
/*
{0xec,0x03},
{0x57,0x03},
{0x58,0x09},
{0x5b,0x02},
{0x5c,0x84},
{0x5f,0x02},
{0x60,0x84},
{0x69,0x02},
{0x6a,0x84},
{0x63,0x02},
{0x64,0x04},
{0x6d,0x02},
{0x6e,0x04},
{0x65,0x02},
{0x66,0x10},
{0x6f,0x02},
{0x70,0x10},
{0xec,0x03},
{0x5e,0x38},
{0x52,0x48}, //30fps
*/
{0xec,0x02},
{0x02,0x0d}, //9bit
{0x1f,0x07}, //global gain
{0xec,0x07},
{0x63,0x0a},
/*
{0xec,0x03},
{0x56,0x04}, // 04->05 05->04
{0xec,0x04},
{0x06,0x05}, // 04->05
*/
{0xec,0x07}, //bpr by pyo
{0x21,0x9c},
{0x22,0x58},
{0xec,0x00},
{0x87,0x00},
{0x86,0x48}, //bpr by pyo
{0x02,0x30},
{0xec,0x01},
{0x21,0x40},
{0x22,0x40},
{0x23,0x00},
{0x24,0x00},
{0xec,0x00},
{0x6d,0x00},
{0x6c,0xf0},
{0x86,0x10},
{0xec,0x07},
{0x9d,0x10},
{0xec,0x00},
{0x75,0x05},
{0x96,0x06},
{0x78,0x68},
{0x66,0x02},
{0x94,0x03},
{0x97,0x03},
#if (MEGAPIXEL_CAMMODE==0)
/* Only for VGA Mode */
{0xec,0x07}, //bpr by pyo
{0x21,0x9c},
{0x22,0x58},
{0xec,0x00},
{0x87,0x00},
{0x86,0x48}, //bpr by pyo
{0xec,0x02},
{0x02,0x0d}, //9bit
{0x1f,0x07}, //global gain
{0xec,0x01},
{0x21,0x40},
{0x22,0x40},
{0x23,0x00},
{0x24,0x00},
{0xec,0x00},
{0x7b,0x00},
{0x73,0x51},
{0x02,0x01},
// {0x02,0x30},
#else
{0xec,0x07},
{0x21,0x90},
{0x22,0x60},
{0xec,0x00},
{0x87,0x00},
{0x86,0x20},
{0xec,0x02},
{0x02,0x0f},
{0x1f,0x0f},
{0xec,0x01},
{0x21,0x50},
{0x22,0x50},
{0x23,0x10},
{0x24,0x10},
{0xec,0x00},
// {0x7b,0xff},
{0x73,0x00},
{0x02,0x00},
#endif
};
#endif
#endif // _S5X532_H_
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -