1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23 #define CAM_PROPSET 4
24 #define CAM_DRYOS 1
25 #define CAM_DRYOS_2_3_R39 1
26
27 #define CAM_DATE_FOLDER_NAMING 0x400
28
29 #define CAM_RAW_ROWPIX 3816
30 #define CAM_RAW_ROWS 2784
31 #undef CAM_EMUL_KEYPRESS_DURATION
32 #define CAM_EMUL_KEYPRESS_DURATION 100
33 #define EXMEM_HEAP_SKIP (0x08000000-0x07D08A00)
34 #define EXMEM_BUFFER_SIZE (1024*1024*2)
35
36 #undef CAM_HAS_IRIS_DIAPHRAGM
37 #define CAM_HAS_ND_FILTER 1
38
39 #define CAM_ADJUSTABLE_ALT_BUTTON 1
40 #define CAM_ALT_BUTTON_NAMES { "Video", "Playback" }
41 #define CAM_ALT_BUTTON_OPTIONS { KEY_VIDEO, KEY_PLAYBACK }
42 #undef CAM_HAS_DISP_BUTTON
43
44
45 #undef CAM_CAN_UNLOCK_OPTICAL_ZOOM_IN_VIDEO
46
47
48 #define CAM_HAS_VIDEO_BUTTON 1
49 #define CAM_VIDEO_QUALITY_ONLY 1
50 #undef CAM_VIDEO_CONTROL
51 #define CAM_MULTIPART 1
52 #define CAM_HAS_JOGDIAL 1
53 #undef CAM_USE_ZOOM_FOR_MF
54
55 #undef CAM_UNCACHED_BIT
56 #define CAM_UNCACHED_BIT 0x40000000
57
58 #define CAM_DNG_LENS_INFO { 63,10, 630,10, 34,10, 56,10 }
59
60 #define cam_CFAPattern 0x01020001
61
62 #define CAM_COLORMATRIX1 \
63 13124, 10000, -5329, 10000, -1390, 10000, \
64 -3602, 10000, 11658, 10000, 1944, 10000, \
65 -1612, 10000, 2863, 10000, 4885, 10000
66
67 #define cam_CalibrationIlluminant1 1
68
69 #define CAM_JPEG_WIDTH 3648
70 #define CAM_JPEG_HEIGHT 2736
71
72
73
74 #define CAM_ACTIVE_AREA_X1 32
75 #define CAM_ACTIVE_AREA_Y1 24
76 #define CAM_ACTIVE_AREA_X2 3816-120
77 #define CAM_ACTIVE_AREA_Y2 2784-20
78
79
80 #define PARAM_CAMERA_NAME 4
81 #undef CAM_SENSOR_BITS_PER_PIXEL
82 #define CAM_SENSOR_BITS_PER_PIXEL 12
83
84 #undef CAM_HAS_ERASE_BUTTON
85 #define CAM_SHOW_OSD_IN_SHOOT_MENU 1
86
87 #undef CAM_SCREEN_WIDTH
88 #undef CAM_BITMAP_WIDTH
89 #undef CAM_BITMAP_HEIGHT
90 #define CAM_SCREEN_WIDTH 480
91 #define CAM_BITMAP_WIDTH 960
92 #define CAM_BITMAP_HEIGHT 270
93
94 #undef CAM_USES_ASPECT_CORRECTION
95 #define CAM_USES_ASPECT_CORRECTION 1
96
97 #undef EDGE_HMARGIN
98 #define EDGE_HMARGIN 10
99
100
101 #define CAM_ZEBRA_NOBUF 1
102
103 #define CAM_QUALITY_OVERRIDE 1
104 #define CAM_AF_SCAN_DURING_VIDEO_RECORD 1
105
106 #define CAM_HAS_CMOS 1
107
108 #define DRAW_ON_ACTIVE_BITMAP_BUFFER_ONLY 1
109 #define CAM_HAS_FILEWRITETASK_HOOK 1
110
111
112
113
114
115 #define ASM_SAFE_ENTER \
116 "STMFD SP!, {R0-R12,LR}\n" \
117 "MRS R0, CPSR\n" \
118 "STR R0,[SP,#-4]!\n" \
119 "LDR R0,[SP,#4]\n"
120
121
122
123 #define ASM_SAFE_LEAVE \
124 "LDR R0,[SP],#4\n" \
125 "MSR CPSR_cxsf,R0\n" \
126 "LDMFD SP!, {R0-R12,LR}\n"
127
128 #define ASM_SAFE(asmcode) \
129 ASM_SAFE_ENTER \
130 asmcode \
131 ASM_SAFE_LEAVE
132
133
134
135 #define CAM_SD_OVER_IN_AFL 1
136 #define CAM_SD_OVER_IN_MF 1
137
138