1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
|
#ifndef GC0329_H
#define GC0329_H
// Scene Mode
uint8_t gc0329_scene_mode_auto[] = {
};
uint8_t gc0329_scene_mode_night[] = {
};
// White Balance
uint8_t gc0329_wb_auto [] = {
0xfe, 0x00,
0x77, 0x57,
0x78, 0x4d,
0x79, 0x45,
0x42, 0xfe, //AWB on
};
uint8_t gc0329_wb_incandescent [] = {
0xfe, 0x00,
0x42, 0xfc,
0x77, 0x48,
0x78, 0x40,
0x79, 0x5c,
};
uint8_t gc0329_wb_fluorescent [] = {
0xfe, 0x00,
0x42, 0xfc,
0x77, 0x40,
0x78, 0x42,
0x79, 0x50,
};
uint8_t gc0329_wb_daylight [] = {
0xfe, 0x00,
0x42, 0xfc,
0x77, 0x74,
0x78, 0x52,
0x79, 0x40,
};
uint8_t gc0329_wb_cloudy [] = {
0xfe, 0x00,
0x42, 0xfc,
0x77, 0x8c,
0x78, 0x50,
0x79, 0x40,
};
uint8_t gc0329_wb_tungsten [] = {
0xfe, 0x00,
0x42, 0xfc,
0x77, 0x40,
0x78, 0x54,
0x79, 0x70,
};
// Exposure
uint8_t gc0329_exposure_neg6[] = {
0xfe, 0x00,
0xd5, 0xe0,
0xfe, 0x01,
0x13, 0x40,
0xfe, 0x00,
};
uint8_t gc0329_exposure_neg3[] = {
0xfe, 0x00,
0xd5, 0xf0,
0xfe, 0x01,
0x13, 0x48,
0xfe, 0x00,
};
uint8_t gc0329_exposure_zero[] = {
0xfe, 0x00,
0xd5, 0x04, /// 00
0xfe, 0x01,
0x13, 0x6a,
0xfe, 0x00,
};
uint8_t gc0329_exposure_pos3[] = {
0xfe, 0x00,
0xd5, 0x10,
0xfe, 0x01,
0x13, 0x70,
0xfe, 0x00,
};
uint8_t gc0329_exposure_pos6[] = {
0xfe, 0x00,
0xd5, 0x20,
0xfe, 0x01,
0x13, 0x80,
0xfe, 0x00,
};
// Color Effect
uint8_t gc0329_colorfx_none[] = {
0xfe, 0x00,
0x43 , 0x00,
};
uint8_t gc0329_colorfx_bw[] = {
0xfe, 0x00,
0x43 , 0x02,
0xda , 0x00,
0xdb , 0x00,
};
uint8_t gc0329_colorfx_sepia[] = {
0xfe, 0x00,
0x43 , 0x02,
0xda , 0xd0,
0xdb , 0x28,
};
uint8_t gc0329_colorfx_negative[] = {
0xfe, 0x00,
0x43 , 0x01,
};
uint8_t gc0329_colorfx_emboss[] = {
};
uint8_t gc0329_colorfx_sketch[] = {
};
uint8_t gc0329_colorfx_sky_blue[] = {
0xfe, 0x00,
0x43 , 0x02,
0xda , 0x50,
0xdb , 0xe0,
};
uint8_t gc0329_colorfx_grass_green[] = {
0xfe, 0x00,
0x43 , 0x02,
0xda , 0xc0,
0xdb , 0xc0,
};
uint8_t gc0329_colorfx_skin_whiten[] = {
};
uint8_t gc0329_colorfx_vivid[] = {
};
// Brightness
uint8_t gc0329_brightness_neg4[] = {
};
uint8_t gc0329_brightness_neg3[] = {
};
uint8_t gc0329_brightness_neg2[] = {
};
uint8_t gc0329_brightness_neg1[] = {
};
uint8_t gc0329_brightness_zero[] = {
};
uint8_t gc0329_brightness_pos1[] = {
};
uint8_t gc0329_brightness_pos2[] = {
};
uint8_t gc0329_brightness_pos3[] = {
};
uint8_t gc0329_brightness_pos4[] = {
};
// Contrast
uint8_t gc0329_contrast_neg4[] = {
};
uint8_t gc0329_contrast_neg3[] = {
};
uint8_t gc0329_contrast_neg2[] = {
};
uint8_t gc0329_contrast_neg1[] = {
};
uint8_t gc0329_contrast_zero[] = {
};
uint8_t gc0329_contrast_pos1[] = {
};
uint8_t gc0329_contrast_pos2[] = {
};
uint8_t gc0329_contrast_pos3[] = {
};
uint8_t gc0329_contrast_pos4[] = {
};
// Saturation
uint8_t gc0329_saturation_neg4[] = {
};
uint8_t gc0329_saturation_neg3[] = {
};
uint8_t gc0329_saturation_neg2[] = {
};
uint8_t gc0329_saturation_neg1[] = {
};
uint8_t gc0329_saturation_zero[] = {
};
uint8_t gc0329_saturation_pos1[] = {
};
uint8_t gc0329_saturation_pos2[] = {
};
uint8_t gc0329_saturation_pos3[] = {
};
uint8_t gc0329_saturation_pos4[] = {
};
// Resolution
// QCIF
uint8_t gc0329_176x144[]={
};
uint8_t gc0329_320x240[]={
0x59, 0x22,
};
uint8_t gc0329_640x480[]={
0x59, 0x11,
};
// Initiliztion
uint8_t gc0329_default_regs_init[] = {
0xfe, 0x80,
0xfc, 0x12,
0xfc, 0x12,
0xfe, 0x00,
0xfa, 0x00,
0xf0, 0x07,
0xf1, 0x01,
0x73, 0x90,
0x74, 0x80,
0x75, 0x80,
0x76, 0x94,
0xfc, 0x16,
0x05, 0x01,
0x06, 0xfa,
0x07, 0x00,
0x08, 0x70,
0xfe, 0x01,
0x29, 0x00,
0x2a, 0x64,
0x2b, 0x02,
0x2c, 0x58,
0x2d, 0x04,
0x2e, 0xb0,
0x2f, 0x06,
0x30, 0x40,
0x31, 0x09,
0x32, 0xc4,
0x33, 0x20,
0xfe, 0x00,
0x0a, 0x00,
0x0c, 0x00,
0x17, 0x14,
0x19, 0x05,
0x1b, 0x24,
0x1c, 0x04,
0x1e, 0x00,
0x1f, 0xc8,
0x20, 0x00,
0x21, 0x48,
0x23, 0x22,
0x24, 0x16,
0x26, 0xf7,
0x28, 0x7f,
0x29, 0x00,
0x32, 0x00,
0x33, 0x20,
0x34, 0x20,
0x35, 0x20,
0x36, 0x20,
0x3b, 0x04,
0x3c, 0x04,
0x3d, 0x04,
0x3e, 0x04,
0x40, 0xff,
0x41, 0x00,
0x42, 0xfe,
0x46, 0x02,
0x4b, 0xcb,
0x4d, 0x01,
0x4f, 0x01,
0x70, 0x48,
0x80, 0xe7,
0x82, 0x55,
0x87, 0x4a,
0xfe, 0x01,
0x18, 0x22,
0xfe, 0x00,
0x9c, 0x0a,
0xa4, 0x50,
0xa5, 0x21,
0xa7, 0x35,
0xdd, 0x54,
0x95, 0x35,
0xfe, 0x00,
///gamma
/*
0xbf, 0x06,
0xc0, 0x14,
0xc1, 0x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0x24,
0xbc, 0x2a,
0xc0, 0x17,
0xc1, 0x13,
0xc2, 0x17,
0xc6, 0x21,
0xc7, 0x1c,
0xc8, 0x1c,
0xb7, 0x00,
0xb8, 0x00,
0xb9, 0x00,
0xbd, 0x00,
0xbe, 0x00,
0xbf, 0x00,
0xc3, 0x00,
0xc4, 0x00,
0xc5, 0x00,
0xc9, 0x00,
0xca, 0x00,
0xcb, 0x00,
0xa4, 0x00,
0xa5, 0x00,
0xa6, 0x00,
0xa7, 0x00,
0xfe, 0x00,
0xfe,0x01,
0x18,0x22,
0x21,0xc0,
0x06,0x12,
0x08,0x9c,
0x51,0x28,
0x52,0x10,
0x53,0x20,
0x54,0x40,
0x55,0x16,
0x56,0x30,
0x58,0x60,
0x59,0x08,
0x5c,0x35,
0x5d,0x72,
0x67,0x80,
0x68,0x60,
0x69,0x90,
0x6c,0x30,
0x6d,0x60,
0x70,0x10,
0xfe,0x00,
0x9c,0x0a,
0xa0,0xaf,
0xa2,0xff,
0xa4,0x60,
0xa5,0x31,
0xa7,0x35,
0x42,0xfe,
0xd1,0x34,
0xd2,0x34,
0xd3,0x3b,
0xd5,0x0c,
0xfe,0x00,
0xa0, 0xaf,
0xa2, 0xff,
0x44, 0xa2,
};
uint8_t gc0329_default_regs_exit[] = {
};
#endif
|