PicoCamera
0.2.0
Camera library for RP2040 with an esp32-camera compatible API
GitHub
Toggle main menu visibility
载入中...
搜索中...
未找到
gc2145_settings.h
1
/*
2
* This file is part of the PicoCamera project.
3
* https://github.com/umeiko/PicoCamera
4
*
5
* Author: umeko <umeko@stu.xmu.edu.cn>
6
* License: MIT
7
*/
8
9
/*
10
* GC2145 default initialization register table.
11
* Ported verbatim from esp32-camera's private_include/gc2145_settings.h
12
* (Apache-2.0), comments preserved as-is.
13
*
14
* The table is terminated by {REGLIST_TAIL, 0x00}; REG_DLY as the register
15
* field marks a delay in milliseconds (not used by this table today).
16
*/
17
#ifndef __GC2145_SETTINGS_H__
18
#define __GC2145_SETTINGS_H__
19
20
#include <stdint.h>
21
22
#define REG_DLY 0xffff
23
#define REGLIST_TAIL 0x0000
/* Array end token */
24
25
static
const
uint16_t gc2145_default_init_regs[][2] = {
26
{0xfe, 0xf0},
27
{0xfe, 0xf0},
28
{0xfe, 0xf0},
29
30
{0xfc, 0x06},
31
{0xf6, 0x00},
32
33
{0xf7, 0x1d},
//37 //17 //37 //1d//05
34
{0xf8, 0x83},
//87 //83 //82
35
{0xfa, 0x00},
36
{0xf9, 0xfe},
//ff
37
{0xfd, 0x00},
38
{0xc2, 0x00},
39
{0xf2, 0x0f},
43
{0xfe, 0x00},
44
45
{0x03, 0x04},
//exp time
46
{0x04, 0x62},
//exp time
47
48
{0x05, 0x01},
//00 //hb[11:8]
49
{0x06, 0x3b},
//0b //hb
50
51
{0x09, 0x00},
//row start
52
{0x0a, 0x00},
//
53
{0x0b, 0x00},
//col start
54
{0x0c, 0x00},
55
{0x0d, 0x04},
//height
56
{0x0e, 0xc0},
57
{0x0f, 0x06},
//width
58
{0x10, 0x52},
59
60
{0x12, 0x2e},
//sh_delay 太短 YUV出图异常
61
{0x17, 0x14},
//CISCTL Mode1 [1:0]mirror flip
62
{0x18, 0x22},
//sdark mode
63
{0x19, 0x0f},
// AD pipe number
64
{0x1a, 0x01},
//AD manual switch mode
65
66
{0x1b, 0x4b},
//48 restg Width,SH width
67
{0x1c, 0x07},
//06 帧率快后,横条纹 //12 //TX Width,Space Width
68
{0x1d, 0x10},
//double reset
69
{0x1e, 0x88},
//90//98 //fix 竖线//Analog Mode1,TX high,Coln_r
70
{0x1f, 0x78},
//78 //38 //18 //Analog Mode2,txlow
71
{0x20, 0x03},
//07 //Analog Mode3,comv,ad_clk mode
72
{0x21, 0x40},
//10//20//40 //fix 灯管横条纹
73
{0x22, 0xa0},
//d0//f0 //a2 //Vref vpix FPN严重
74
{0x24, 0x1e},
75
{0x25, 0x01},
//col sel
76
{0x26, 0x10},
//Analog PGA gain1
77
{0x2d, 0x60},
//40//40 //txl drv mode
78
{0x30, 0x01},
//Analog Mode4
79
{0x31, 0x90},
//b0//70 // Analog Mode7 [7:5]rsgh_r灯管横条纹[4:3]isp_g
80
{0x33, 0x06},
//03//02//01 //EQ_hstart_width
81
{0x34, 0x01},
82
//
86
{0x80, 0xff},
//outdoor gamma_en, GAMMA_en, CC_en, EE_en, INTP_en, DN_en, DD_en,LSC_en
87
{0x81, 0x24},
//26//24 //BLK dither mode, ll_y_en ,skin_en, edge SA, new_skin_mode, autogray_en,ll_gamma_en,BFF test image
88
{0x82, 0xfa},
//FA //auto_SA, auto_EE, auto_DN, auto_DD, auto_LSC, ABS_en, AWB_en, NA
89
{0x83, 0x00},
//special_effect
90
{0x84, 0x02},
//output format
91
{0x86, 0x03},
//c2 //46 //c2 //sync mode
92
{0x88, 0x03},
//[1]ctl_auto_gating [0]out_auto_gating
93
{0x89, 0x03},
//bypass disable
94
{0x85, 0x30},
//60//frame start cut
95
{0x8a, 0x00},
//ISP_quiet_mode,close aaa pclk,BLK gate mode,exception,close first pipe clock,close dndd clock,close intp clock,DIV_gatedclk_en
96
{0x8b, 0x00},
//[7:6]BFF_gate_mode,[5]BLK switch gain,[4]protect exp,[3:2]pipe gate mode,[1]not split sram,[0]dark current update
97
98
{0xb0, 0x55},
//60 //global gain
99
{0xc3, 0x00},
//[7:4]auto_exp_gamma_th1[11:8],[3:0]auto_exp_gamma_th2[11:8]
100
{0xc4, 0x80},
//auto_exp_gamma_th1[7:0] into
101
{0xc5, 0x90},
//auto_exp_gamma_th2[7:0] out //outdoor gamma
102
{0xc6, 0x38},
//auto_gamma_th1
103
{0xc7, 0x40},
//auto_gamma_th2
104
105
{0xec, 0x06},
//measure window
106
{0xed, 0x04},
107
{0xee, 0x60},
//16 col
108
{0xef, 0x90},
//8 row
109
110
{0xb6, 0x01},
//[0]aec en
111
112
{0x90, 0x01},
//crop
113
{0x91, 0x00},
114
{0x92, 0x00},
115
{0x93, 0x00},
116
{0x94, 0x00},
//08
117
{0x95, 0x04},
118
{0x96, 0xb0},
119
{0x97, 0x06},
120
{0x98, 0x40},
121
125
{0x18, 0x02},
126
{0x40, 0x42},
//2b //27
127
{0x41, 0x00},
//80 //dark row sel
128
{0x43, 0x54},
//[7:4]BLK start not smooth [3:0]output start frame
129
130
{0x5e, 0x00},
//00//10 //18
131
{0x5f, 0x00},
//00//10 //18
132
{0x60, 0x00},
//00//10 //18
133
{0x61, 0x00},
//00///10 //18
134
{0x62, 0x00},
//00//10 //18
135
{0x63, 0x00},
//00//10 //18
136
{0x64, 0x00},
//00/10 //18
137
{0x65, 0x00},
//00//10 //18
138
{0x66, 0x20},
//1e
139
{0x67, 0x20},
//1e
140
{0x68, 0x20},
//1e
141
{0x69, 0x20},
//1e
142
143
144
{0x76, 0x00},
//0f
145
146
{0x6a, 0x00},
//06
147
{0x6b, 0x00},
//06
148
{0x6c, 0x3e},
//06
149
{0x6d, 0x3e},
//06
150
{0x6e, 0x3f},
//06
151
{0x6f, 0x3f},
//06
152
{0x70, 0x00},
//06
153
{0x71, 0x00},
//06 //manual offset
154
155
{0x76, 0x00},
//1f//add offset
156
{0x72, 0xf0},
//[7:4]BLK DD th [3:0]BLK various th
157
{0x7e, 0x3c},
//ndark
158
{0x7f, 0x00},
159
160
{0xfe, 0x02},
161
{0x48, 0x15},
162
{0x49, 0x00},
//04//04 //ASDE OFFSET SLOPE
163
{0x4b, 0x0b},
//ASDE y OFFSET SLOPE
164
{0xfe, 0x00},
165
169
{0xfe, 0x01},
170
171
{0x01, 0x04},
//AEC X1
172
{0x02, 0xc0},
//AEC X2
173
{0x03, 0x04},
//AEC Y1
174
{0x04, 0x90},
//AEC Y2
175
{0x05, 0x30},
//20 //AEC center X1
176
{0x06, 0x90},
//40 //AEC center X2
177
{0x07, 0x20},
//30 //AEC center Y1
178
{0x08, 0x70},
//60 //AEC center Y2
179
180
{0x09, 0x00},
//AEC show mode
181
{0x0a, 0xc2},
//[7]col gain enable
182
{0x0b, 0x11},
//AEC every N
183
{0x0c, 0x10},
//AEC_mode3 center weight
184
{0x13, 0x40},
//2a //AEC Y target
185
{0x17, 0x00},
//AEC ignore mode
186
{0x1c, 0x11},
//
187
{0x1e, 0x61},
//
188
{0x1f, 0x30},
//40//50 //max pre gain
189
{0x20, 0x40},
//60//40 //max post gain
190
{0x22, 0x80},
//AEC outdoor THD
191
{0x23, 0x20},
//target_Y_low_limit
192
{0xfe, 0x02},
193
{0x0f, 0x04},
//05
194
{0xfe, 0x01},
195
196
{0x12, 0x35},
//35 //[5:4]group_size [3]slope_disable [2]outdoor_enable [0]histogram_enable
197
{0x15, 0x50},
//target_Y_high_limit
198
{0x10, 0x31},
//num_thd_high
199
{0x3e, 0x28},
//num_thd_low
200
{0x3f, 0xe0},
//luma_thd
201
{0x40, 0x20},
//luma_slope
202
{0x41, 0x0f},
//color_diff
203
204
{0xfe, 0x02},
205
{0x0f, 0x05},
//max_col_level
209
{0xfe, 0x02},
//page2
210
{0x90, 0x6c},
//ac //eeintp mode1
211
{0x91, 0x03},
//02 ////eeintp mode2
212
{0x92, 0xc8},
//44 //low criteria for direction
213
{0x94, 0x66},
214
{0x95, 0xb5},
215
{0x97, 0x64},
//78 ////edge effect
216
{0xa2, 0x11},
//fix direction
217
{0xfe, 0x00},
218
222
{0xfe, 0x02},
223
{0x80, 0xc1},
//c1 //[7]share mode [6]skin mode [5]is 5x5 mode [1:0]noise value select 0:2 1:2.5 2:3 3:4
224
{0x81, 0x08},
//
225
{0x82, 0x08},
//signal a 0.6
226
{0x83, 0x08},
//04 //signal b 2.5
227
228
{0x84, 0x0a},
//10 //05 dark_DD_TH
229
{0x86, 0xf0},
//a0 Y_value_dd_th2
230
{0x87, 0x50},
//90 Y_value_dd_th3
231
{0x88, 0x15},
//60 Y_value_dd_th4
232
233
{0x89, 0x50},
//80 // asde th2
234
{0x8a, 0x30},
//60 // asde th3
235
{0x8b, 0x10},
//30 // asde th4
236
240
{0xfe, 0x01},
//page 1
241
{0x21, 0x14},
//luma_value_div_sel(分频,与0xef呈2倍关系,增大1,0xef的值减小1倍)
242
//ff ef luma_value read_only
243
244
{0xfe, 0x02},
//page2
245
{0xa3, 0x40},
//ASDE_low_luma_value_LSC_th_H
246
{0xa4, 0x20},
//ASDE_low_luma_value_LSC_th_L
247
248
{0xa5, 0x40},
//80 //ASDE_LSC_gain_dec_slope_H
249
{0xa6, 0x80},
// 80 //ASDE_LSC_gain_dec_slope_L
250
//ff a7 ASDE_LSC_gain_dec //read only
251
252
{0xab, 0x40},
//50 //ASDE_low_luma_value_OT_th
253
254
{0xae, 0x0c},
//[3]EE1_effect_inc_or_dec_high,[2]EE2_effect_inc_or_dec_high,
255
//[1]EE1_effect_inc_or_dec_low,[0]EE2_effect_inc_or_dec_low, 1:inc 0:dec
256
257
{0xb3, 0x34},
//44 //ASDE_EE1_effect_slope_low,ASDE_EE2_effect_slope_low
258
{0xb4, 0x44},
//12 //ASDE_EE1_effect_slope_high,ASDE_EE2_effect_slope_high
259
260
{0xb6, 0x38},
//40//40 //ASDE_auto_saturation_dec_slope
261
{0xb7, 0x02},
//04 //ASDE_sub_saturation_slope
262
{0xb9, 0x30},
//[7:0]ASDE_auto_saturation_low_limit
263
{0x3c, 0x08},
//[3:0]auto gray_dec_slope
264
{0x3d, 0x30},
//[7:0]auto gray_dec_th
265
266
267
{0x4b, 0x0d},
//y offset slope
268
{0x4c, 0x20},
//y offset limit
269
270
{0xfe, 0x00},
271
//
274
{0xfe, 0x02},
275
{0x10, 0x10},
276
{0x11, 0x15},
277
{0x12, 0x1a},
278
{0x13, 0x1f},
279
{0x14, 0x2c},
280
{0x15, 0x39},
281
{0x16, 0x45},
282
{0x17, 0x54},
283
{0x18, 0x69},
284
{0x19, 0x7d},
285
{0x1a, 0x8f},
286
{0x1b, 0x9d},
287
{0x1c, 0xa9},
288
{0x1d, 0xbd},
289
{0x1e, 0xcd},
290
{0x1f, 0xd9},
291
{0x20, 0xe3},
292
{0x21, 0xea},
293
{0x22, 0xef},
294
{0x23, 0xf5},
295
{0x24, 0xf9},
296
{0x25, 0xff},
297
299
{0xfe, 0x02},
300
{0x26, 0x0f},
301
{0x27, 0x14},
302
{0x28, 0x19},
303
{0x29, 0x1e},
304
{0x2a, 0x27},
305
{0x2b, 0x33},
306
{0x2c, 0x3b},
307
{0x2d, 0x45},
308
{0x2e, 0x59},
309
{0x2f, 0x69},
310
{0x30, 0x7c},
311
{0x31, 0x89},
312
{0x32, 0x98},
313
{0x33, 0xae},
314
{0x34, 0xc0},
315
{0x35, 0xcf},
316
{0x36, 0xda},
317
{0x37, 0xe2},
318
{0x38, 0xe9},
319
{0x39, 0xf3},
320
{0x3a, 0xf9},
321
{0x3b, 0xff},
322
326
{0xfe, 0x02},
327
{0xd1, 0x30},
//32 //
328
{0xd2, 0x30},
//32 //
329
{0xd3, 0x45},
330
{0xdd, 0x14},
//edge sa
331
{0xde, 0x86},
//asde auto gray
332
{0xed, 0x01},
//
333
{0xee, 0x28},
334
{0xef, 0x30},
335
{0xd8, 0xd8},
//autogray protecy
336
340
{0xfe, 0x01},
341
{0xa1, 0x80},
// center_row
342
{0xa2, 0x80},
// center_col
343
{0xa4, 0x00},
// sign of b1
344
{0xa5, 0x00},
// sign of b1
345
{0xa6, 0x70},
// sign of b4
346
{0xa7, 0x00},
// sign of b4
347
{0xa8, 0x77},
// sign of b22
348
{0xa9, 0x77},
// sign of b22
349
{0xaa, 0x1f},
// Q1_b1 of R
350
{0xab, 0x0d},
// Q1_b1 of G
351
{0xac, 0x19},
// Q1_b1 of B
352
{0xad, 0x24},
// Q2_b1 of R
353
{0xae, 0x0e},
// Q2_b1 of G
354
{0xaf, 0x1d},
// Q2_b1 of B
355
{0xb0, 0x12},
// Q3_b1 of R
356
{0xb1, 0x0c},
// Q3_b1 of G
357
{0xb2, 0x06},
// Q3_b1 of B
358
{0xb3, 0x13},
// Q4_b1 of R
359
{0xb4, 0x10},
// Q4_b1 of G
360
{0xb5, 0x0c},
// Q4_b1 of B
361
{0xb6, 0x6a},
// right_b2 of R
362
{0xb7, 0x46},
// right_b2 of G
363
{0xb8, 0x40},
// right_b2 of B
364
{0xb9, 0x0b},
// right_b4 of R
365
{0xba, 0x04},
// right_b4 of G
366
{0xbb, 0x00},
// right_b4 of B
367
{0xbc, 0x53},
// left_b2 of R
368
{0xbd, 0x37},
// left_b2 of G
369
{0xbe, 0x2d},
// left_b2 of B
370
{0xbf, 0x0a},
// left_b4 of R
371
{0xc0, 0x0a},
// left_b4 of G
372
{0xc1, 0x14},
// left_b4 of B
373
{0xc2, 0x34},
// up_b2 of R
374
{0xc3, 0x22},
// up_b2 of G
375
{0xc4, 0x18},
// up_b2 of B
376
{0xc5, 0x23},
// up_b4 of R
377
{0xc6, 0x0f},
// up_b4 of G
378
{0xc7, 0x3c},
// up_b4 of B
379
{0xc8, 0x20},
// down_b2 of R
380
{0xc9, 0x1f},
// down_b2 of G
381
{0xca, 0x17},
// down_b2 of B
382
{0xcb, 0x2d},
// down_b4 of R
383
{0xcc, 0x12},
// down_b4 of G
384
{0xcd, 0x20},
// down_b4 of B
385
{0xd0, 0x61},
// right_up_b22 of R
386
{0xd1, 0x2f},
// right_up_b22 of G
387
{0xd2, 0x39},
// right_up_b22 of B
388
{0xd3, 0x45},
// right_down_b22 of R
389
{0xd4, 0x2c},
// right_down_b22 of G
390
{0xd5, 0x21},
// right_down_b22 of B
391
{0xd6, 0x64},
// left_up_b22 of R
392
{0xd7, 0x2d},
// left_up_b22 of G
393
{0xd8, 0x30},
// left_up_b22 of B
394
{0xd9, 0x42},
// left_down_b22 of R
395
{0xda, 0x27},
// left_down_b22 of G
396
{0xdb, 0x13},
// left_down_b22 of B
397
{0xfe, 0x00},
398
402
{0xfe, 0x01},
403
404
{0x4f, 0x00},
405
{0x4f, 0x00},
406
{0x4b, 0x01},
407
{0x4f, 0x00},
408
409
410
{0x4c, 0x01},
411
{0x4d, 0x6f},
412
{0x4e, 0x02},
413
{0x4c, 0x01},
414
{0x4d, 0x70},
415
416
{0x4e, 0x02},
417
{0x4c, 0x01},
418
{0x4d, 0x8f},
419
{0x4e, 0x02},
420
421
{0x4c, 0x01},
422
{0x4d, 0x90},
423
{0x4e, 0x02},
//light
424
425
426
{0x4c, 0x01},
427
{0x4d, 0xed},
428
{0x4e, 0x33},
//light
429
{0x4c, 0x01},
430
{0x4d, 0xcd},
431
{0x4e, 0x33},
//light
432
{0x4c, 0x01},
433
{0x4d, 0xec},
434
{0x4e, 0x03},
//light
435
436
{0x4c, 0x01},
437
{0x4d, 0x6c},
438
{0x4e, 0x03},
439
{0x4c, 0x01},
440
{0x4d, 0x6d},
441
{0x4e, 0x03},
442
{0x4c, 0x01},
443
{0x4d, 0x6e},
444
{0x4e, 0x03},
445
{0x4c, 0x01},
446
{0x4d, 0x8c},
447
{0x4e, 0x03},
448
{0x4c, 0x01},
449
{0x4d, 0x8d},
450
{0x4e, 0x03},
451
{0x4c, 0x01},
452
{0x4d, 0x8e},
453
{0x4e, 0x03},
454
{0x4c, 0x01},
455
{0x4d, 0xab},
456
{0x4e, 0x03},
457
{0x4c, 0x01},
458
{0x4d, 0xac},
459
{0x4e, 0x03},
460
{0x4c, 0x01},
461
{0x4d, 0xad},
462
{0x4e, 0x03},
463
{0x4c, 0x01},
464
{0x4d, 0xae},
465
{0x4e, 0x03},
466
{0x4c, 0x01},
467
{0x4d, 0xcb},
468
{0x4e, 0x03},
469
470
{0x4c, 0x01},
471
{0x4d, 0xcc},
472
{0x4e, 0x03},
473
{0x4c, 0x01},
474
{0x4d, 0xce},
475
{0x4e, 0x03},
476
{0x4c, 0x01},
477
{0x4d, 0xeb},
478
{0x4e, 0x03},
479
{0x4c, 0x01},
480
{0x4d, 0xec},
481
{0x4e, 0x03},
482
{0x4c, 0x01},
483
{0x4d, 0xee},
484
{0x4e, 0x03},
485
{0x4c, 0x02},
486
{0x4d, 0x0c},
487
{0x4e, 0x03},
488
{0x4c, 0x02},
489
{0x4d, 0x0d},
490
{0x4e, 0x03},
491
{0x4c, 0x01},
492
{0x4d, 0xea},
493
{0x4e, 0x03},
494
{0x4c, 0x01},
495
{0x4d, 0xaf},
496
{0x4e, 0x03},
//dark
497
{0x4c, 0x01},
498
{0x4d, 0xcf},
499
{0x4e, 0x03},
//dark
500
501
{0x4c, 0x01},
502
{0x4d, 0xca},
503
{0x4e, 0x04},
//light
504
{0x4c, 0x02},
505
{0x4d, 0x0b},
506
{0x4e, 0x05},
//light
507
{0x4c, 0x02},
508
{0x4d, 0xc8},
509
{0x4e, 0x06},
//light 100lux
510
{0x4c, 0x02},
511
{0x4d, 0xa8},
512
513
{0x4e, 0x06},
//light
514
{0x4c, 0x02},
515
{0x4d, 0xa9},
516
{0x4e, 0x06},
//light
517
518
519
{0x4c, 0x02},
520
{0x4d, 0x89},
521
{0x4e, 0x06},
//400lux
522
{0x4c, 0x02},
523
{0x4d, 0x69},
524
{0x4e, 0x06},
//f12
525
{0x4c, 0x02},
526
{0x4d, 0x6a},
527
{0x4e, 0x06},
//f12
528
{0x4c, 0x02},
529
{0x4d, 0xc7},
530
{0x4e, 0x07},
531
{0x4c, 0x02},
532
{0x4d, 0xe7},
533
{0x4e, 0x07},
//100lux
534
{0x4c, 0x03},
535
{0x4d, 0x07},
536
{0x4e, 0x07},
//light
537
538
{0x4c, 0x02},
539
{0x4d, 0xe8},
540
{0x4e, 0x07},
541
{0x4c, 0x02},
542
{0x4d, 0xe9},
543
{0x4e, 0x07},
544
{0x4c, 0x03},
545
{0x4d, 0x08},
546
{0x4e, 0x07},
547
{0x4c, 0x03},
548
{0x4d, 0x09},
549
{0x4e, 0x07},
550
{0x4c, 0x03},
551
{0x4d, 0x27},
552
{0x4e, 0x07},
553
{0x4c, 0x03},
554
{0x4d, 0x28},
555
{0x4e, 0x07},
556
{0x4c, 0x03},
557
{0x4d, 0x29},
558
{0x4e, 0x07},
559
{0x4c, 0x03},
560
{0x4d, 0x47},
561
{0x4e, 0x07},
562
{0x4c, 0x03},
563
{0x4d, 0x48},
564
{0x4e, 0x07},
565
{0x4c, 0x03},
566
{0x4d, 0x49},
567
{0x4e, 0x07},
568
{0x4c, 0x03},
569
{0x4d, 0x67},
570
{0x4e, 0x07},
571
{0x4c, 0x03},
572
{0x4d, 0x68},
573
{0x4e, 0x07},
574
{0x4c, 0x03},
575
{0x4d, 0x69},
576
{0x4e, 0x07},
577
578
{0x4f, 0x01},
579
{0xfe, 0x01},
580
{0x50, 0x80},
//AWB_PRE_mode
581
{0x51, 0xa8},
//AWB_pre_THD_min[7:0]
582
{0x52, 0x57},
//AWB_pre_THD_min[15:8] Dominiate luma 0.25=639c 0.22=57a8
583
{0x53, 0x38},
//AWB_pre_THD_min_MIX[7:0]
584
{0x54, 0xc7},
//AWB_pre_THD_min_MIX[15:8] Mix luma 0.5
585
586
{0x56, 0x0e},
//AWB_tone mode
587
{0x58, 0x08},
//AWB_C_num_sel,AWB_D_num_sel
588
{0x5b, 0x00},
//AWB_mix_mode
589
590
{0x5c, 0x74},
//green_num0[7:0]
591
{0x5d, 0x8b},
//green_num0[15:8] 0.35
592
593
{0x61, 0xd3},
//R2G_stand0
594
{0x62, 0xb5},
//B2G_stand0
595
{0x63, 0x00},
//88//a4 //AWB gray mode [7]enable
596
{0x65, 0x04},
//AWB margin
597
598
{0x67, 0xb2},
//R2G_stand3[7:0] FF/CWF
599
{0x68, 0xac},
//B2G_stand3[7:0]
600
{0x69, 0x00},
//R2G_stand4[9:8] B2G_stand4[9:8] R2G_stand3[9:8] B2G_stand3[9:8]
601
{0x6a, 0xb2},
//R2G_stand4[7:0] TL84/TL84&CWF
602
{0x6b, 0xac},
//B2G_stand4[7:0]
603
{0x6c, 0xb2},
//R2G_stand5[7:0] A
604
{0x6d, 0xac},
//B2G_stand5[7:0]
605
{0x6e, 0x40},
//AWB_skin_weight R2G_stand5[9:8] B2G_stand5[9:8]
606
{0x6f, 0x18},
//AWB_indoor_THD (0x21=17 calculate)
607
{0x73, 0x00},
//AWB_indoor_mode
608
609
{0x70, 0x10},
//AWB low luma TH
610
{0x71, 0xe8},
//AWB outdoor TH
611
{0x72, 0xc0},
//outdoor mode
612
{0x74, 0x01},
//[2:0]AWB skip mode 2x2,4x4,4x8,8x8
613
{0x75, 0x01},
//[1:0]AWB_every_N
614
{0x7f, 0x08},
//[3]gray world frame start
615
616
{0x76, 0x70},
//R limit
617
{0x77, 0x58},
//G limit
618
{0x78, 0xa0},
//d8 //B limit
619
620
{0xfe, 0x00},
621
//
625
{0xfe, 0x02},
626
627
{0xc0, 0x01},
//[5:4] CC mode [0]CCT enable
628
629
{0xC1, 0x50},
//D50/D65
630
{0xc2, 0xF9},
631
{0xc3, 0x00},
//0
632
{0xc4, 0xe8},
//e0
633
{0xc5, 0x48},
634
{0xc6, 0xf0},
635
636
637
{0xC7, 0x50},
638
{0xc8, 0xf2},
639
{0xc9, 0x00},
640
{0xcA, 0xE0},
641
{0xcB, 0x45},
642
{0xcC, 0xec},
643
644
{0xCd, 0x45},
645
{0xce, 0xf0},
646
{0xcf, 0x00},
647
{0xe3, 0xf0},
648
{0xe4, 0x45},
649
{0xe5, 0xe8},
650
651
652
{0xfe, 0x00},
653
654
{0xf2, 0x0f},
655
656
658
{0xfe, 0x00},
659
660
{0xf7, 0x1d},
661
{0xf8, 0x84},
662
{0xfa, 0x00},
663
664
{0x05, 0x01},
//hb
665
{0x06, 0x3b},
666
{0x07, 0x01},
//Vb
667
{0x08, 0x0b},
668
669
{0xfe, 0x01},
670
{0x25, 0x01},
671
{0x26, 0x32},
//step
672
{0x27, 0x03},
//8.15fps
673
{0x28, 0x96},
674
{0x29, 0x03},
//8.15fps
675
{0x2a, 0x96},
676
{0x2b, 0x03},
//8.15fps
677
{0x2c, 0x96},
678
{0x2d, 0x04},
//8.15fps
679
{0x2e, 0x62},
680
{0x3c, 0x00},
681
{0xfe, 0x00},
682
684
{0xfe, 0x00},
685
{0x18, 0x22},
686
{0xfe, 0x02},
687
{0x40, 0xbf},
688
{0x46, 0xcf},
689
{0xfe, 0x00},
690
691
{0xfe, 0x00},
692
693
{0xf7, 0x1d},
694
{0xf8, 0x84},
695
{0xfa, 0x10},
696
697
{0x05, 0x01},
//hb
698
{0x06, 0x18},
699
{0x07, 0x00},
//Vb
700
{0x08, 0x2e},
701
702
{0xfe, 0x01},
703
{0x25, 0x00},
704
{0x26, 0xa2},
//step
705
{0x27, 0x01},
706
{0x28, 0xe6},
707
{0x29, 0x01},
708
{0x2a, 0xe6},
709
{0x2b, 0x01},
710
{0x2c, 0xe6},
711
{0x2d, 0x04},
// AEC_exp_level4[12:8]
712
{0x2e, 0x62},
// AEC_exp_level4[7:0]
713
{0x3c, 0x00},
714
{0xfe, 0x00},
715
716
{0x09, 0x01},
//row start
717
{0x0a, 0xd0},
//
718
{0x0b, 0x02},
//col start
719
{0x0c, 0x70},
720
{0x0d, 0x01},
//height
721
{0x0e, 0x00},
722
{0x0f, 0x01},
//width
723
{0x10, 0x50},
724
725
{0x90, 0x01},
//crop
726
{0x91, 0x00},
727
{0x92, 0x00},
728
{0x93, 0x00},
729
{0x94, 0x00},
730
{0x95, 0x00},
731
{0x96, 0xf0},
732
{0x97, 0x01},
733
{0x98, 0x40},
734
735
736
{REGLIST_TAIL, 0x00},
737
};
738
739
#endif
// __GC2145_SETTINGS_H__
English version
制作者
doxygen
1.18.0