|
23 | 23 | */
|
24 | 24 |
|
25 | 25 | // from signature finder
|
26 |
| -#define CAM_DRYOS 1 |
27 |
| -#define CAM_DRYOS_2_3_R39 1 // Defined for cameras with DryOS version R39 or higher |
28 |
| -#define CAM_DRYOS_2_3_R47 1 // Defined for cameras with DryOS version R47 or higher |
29 |
| -#define CAM_DRYOS_2_3_R59 1 // Defined for cameras with DryOS version R59 or higher |
30 |
| -#define CAM_ILC 1 // Camera has interchangeable lens |
31 |
| -#define CAM_HAS_WIFI 1 // Firmware has wifi support |
| 26 | +#define CAM_DRYOS 1 |
| 27 | +#define CAM_DRYOS_2_3_R39 1 // Defined for cameras with DryOS version R39 or higher |
| 28 | +#define CAM_DRYOS_2_3_R47 1 // Defined for cameras with DryOS version R47 or higher |
| 29 | +#define CAM_DRYOS_2_3_R59 1 // Defined for cameras with DryOS version R59 or higher |
| 30 | +#define CAM_ILC 1 // Camera has interchangeable lens |
| 31 | +#define CAM_HAS_WIFI 1 // Firmware has wifi support |
32 | 32 | #undef CAM_UNCACHED_BIT
|
33 |
| -#define CAM_UNCACHED_BIT 0x40000000 // Found @0xe01e8654 |
34 |
| -#undef CAM_HAS_ND_FILTER // Camera does not have an ND filter |
| 33 | +#define CAM_UNCACHED_BIT 0x40000000 // Found @0xe01e8654 |
| 34 | +#undef CAM_HAS_ND_FILTER // Camera does not have an ND filter |
35 | 35 |
|
36 | 36 | // handwritten
|
37 |
| -#define CAM_PROPSET 12 |
38 |
| -#define CAM_HAS_CMOS 1 |
| 37 | +#define CAM_PROPSET 12 |
| 38 | +#define CAM_HAS_CMOS 1 |
39 | 39 |
|
40 |
| -#define CAM_RAW_ROWPIX 6112 |
41 |
| -#define CAM_RAW_ROWS 4060 |
42 |
| -#define CAM_JPEG_WIDTH 6000 |
43 |
| -#define CAM_JPEG_HEIGHT 4000 |
44 |
| -#define CAM_ACTIVE_AREA_X1 84 |
45 |
| -#define CAM_ACTIVE_AREA_Y1 46 |
46 |
| -#define CAM_ACTIVE_AREA_X2 6084 |
47 |
| -#define CAM_ACTIVE_AREA_Y2 4046 |
| 40 | +#define CAM_RAW_ROWPIX 6112 |
| 41 | +#define CAM_RAW_ROWS 4060 |
| 42 | +#define CAM_JPEG_WIDTH 6000 |
| 43 | +#define CAM_JPEG_HEIGHT 4000 |
| 44 | +#define CAM_ACTIVE_AREA_X1 84 |
| 45 | +#define CAM_ACTIVE_AREA_Y1 46 |
| 46 | +#define CAM_ACTIVE_AREA_X2 6084 |
| 47 | +#define CAM_ACTIVE_AREA_Y2 4046 |
48 | 48 | #undef CAM_SENSOR_BITS_PER_PIXEL
|
49 |
| -#define CAM_SENSOR_BITS_PER_PIXEL 14 |
50 |
| -#define CAM_DNG_LENS_INFO { 180,10,550,10,35,10,56,10 } // 18-55mm |
51 |
| -#define cam_CFAPattern 0x02010100 |
52 |
| -#define cam_CalibrationIlluminant1 17 // Standard light A |
53 |
| -#define cam_CalibrationIlluminant2 21 // D65 |
| 49 | +#define CAM_SENSOR_BITS_PER_PIXEL 14 |
| 50 | +#define CAM_DNG_LENS_INFO { 180,10,550,10,35,10,56,10 } // 18-55mm |
| 51 | +#define cam_CFAPattern 0x02010100 |
| 52 | +#define cam_CalibrationIlluminant1 17 // Standard light A |
| 53 | +#define cam_CalibrationIlluminant2 21 // D65 |
54 | 54 |
|
55 |
| -#define CAM_HAS_CANON_RAW 1 |
56 |
| -#define CAM_ADJUSTABLE_ALT_BUTTON 1 |
57 |
| -#define CAM_ALT_BUTTON_NAMES { "Playback", "WiFi" } |
58 |
| -#define CAM_ALT_BUTTON_OPTIONS { KEY_PLAYBACK, KEY_WIFI } |
59 |
| -#define CAM_HAS_VIDEO_BUTTON 1 |
| 55 | +#define DRAW_ON_ACTIVE_BITMAP_BUFFER_ONLY 1 |
| 56 | +#undef CAM_BITMAP_WIDTH |
| 57 | +#undef CAM_BITMAP_HEIGHT |
| 58 | +#undef CAM_SCREEN_WIDTH |
| 59 | +#undef CAM_SCREEN_HEIGHT |
| 60 | +#define CAM_BITMAP_WIDTH 736 |
| 61 | +#define CAM_BITMAP_HEIGHT 480 |
| 62 | +#define CAM_SCREEN_WIDTH 720 |
| 63 | +#define CAM_SCREEN_HEIGHT 480 |
| 64 | + |
| 65 | +#define CAM_HAS_CANON_RAW 1 |
| 66 | +#define CAM_ADJUSTABLE_ALT_BUTTON 1 |
| 67 | +#define CAM_ALT_BUTTON_NAMES { "Playback", "WiFi" } |
| 68 | +#define CAM_ALT_BUTTON_OPTIONS { KEY_PLAYBACK, KEY_WIFI } |
| 69 | +#define CAM_HAS_VIDEO_BUTTON 1 |
60 | 70 | #undef CAM_HAS_ERASE_BUTTON
|
| 71 | +#undef CAM_USE_ZOOM_FOR_MF |
| 72 | + |
| 73 | +#define CAM_3ARG_DebugAssert 1 |
| 74 | +#define CAM_FILE_COUNTER_IS_VAR 1 |
| 75 | +#define CAM_DATE_FOLDER_NAMING 0x80 |
| 76 | +#define CAM_QUALITY_OVERRIDE 1 |
| 77 | +#define CAM_CALC_BLACK_LEVEL 1 |
| 78 | +#define CAM_SHOW_OSD_IN_SHOOT_MENU 1 |
| 79 | +#define CAM_AV_OVERRIDE_IRIS_FIX 1 |
| 80 | +#define CAM_DRIVE_MODE_FROM_TIMER_MODE 1 |
61 | 81 |
|
62 |
| -#define CAM_3ARG_DebugAssert 1 // confirmed with Ghidra |
63 |
| -#define CAM_FILE_COUNTER_IS_VAR 1 |
64 |
| -#define CAM_DATE_FOLDER_NAMING 0x80 |
65 |
| -#define CAM_QUALITY_OVERRIDE 1 |
66 |
| -#define CAM_CALC_BLACK_LEVEL 1 |
67 |
| -#define CAM_SHOW_OSD_IN_SHOOT_MENU 1 |
68 |
| -#define CAM_AV_OVERRIDE_IRIS_FIX 1 |
69 |
| -#define CAM_DRIVE_MODE_FROM_TIMER_MODE 1 |
| 82 | +#undef CAM_CAN_UNLOCK_OPTICAL_ZOOM_IN_VIDEO |
| 83 | +#undef CAM_CHDK_HAS_EXT_VIDEO_MENU |
| 84 | +#undef CAM_VIDEO_CONTROL |
| 85 | +#define CAM_SIMPLE_MOVIE_STATUS 1 |
| 86 | +#define CAM_IS_VID_REC_WORKS 1 |
70 | 87 |
|
71 | 88 | #undef CAM_AF_LED
|
72 |
| -#define CAM_AF_LED 1 |
| 89 | +#define CAM_AF_LED 1 |
73 | 90 |
|
74 | 91 | #undef CAM_CIRCLE_OF_CONFUSION
|
75 |
| -#define CAM_CIRCLE_OF_CONFUSION 19 // APSC - CoC value for camera/sensor (see http://www.dofmaster.com/digital_coc.html) |
| 92 | +#define CAM_CIRCLE_OF_CONFUSION 19 // APSC - CoC value for camera/sensor (see http://www.dofmaster.com/digital_coc.html) |
76 | 93 |
|
77 |
| -#define CAM_SD_OVER_IN_AF 1 |
78 |
| -#define CAM_SD_OVER_IN_MF 1 |
| 94 | +#define CAM_SD_OVER_IN_AF 1 |
| 95 | +#define CAM_SD_OVER_IN_MF 1 |
79 | 96 |
|
80 | 97 | #undef CAM_USB_EVENTID
|
81 |
| -#define CAM_USB_EVENTID 0x302 // Levent ID for USB control |
| 98 | +#define CAM_USB_EVENTID 0x302 // Levent ID for USB control |
0 commit comments