| Rev | Line | |
|---|
| [515] | 1 | #ifndef RAW_MERGE_H |
|---|
| 2 | #define RAW_MERGE_H |
|---|
| 3 | |
|---|
| [594] | 4 | #define RAW_OPERATION_SUM 0 |
|---|
| 5 | #define RAW_OPERATION_AVERAGE 1 |
|---|
| [515] | 6 | |
|---|
| [1467] | 7 | |
|---|
| 8 | struct librawop_sym{ |
|---|
| 9 | int (*raw_merge_start)(int action); |
|---|
| 10 | void (*raw_merge_add_file)(const char * filename); |
|---|
| 11 | void (*raw_merge_end)(void); |
|---|
| 12 | int (*raw_subtract)(const char *from, const char *sub, const char *dest); |
|---|
| 13 | }; |
|---|
| 14 | |
|---|
| 15 | // Defines of exported to chdk symbols |
|---|
| 16 | #ifdef THIS_IS_CHDK_CORE |
|---|
| 17 | // This section is for CHDK core |
|---|
| 18 | |
|---|
| 19 | extern struct librawop_sym librawop; |
|---|
| 20 | |
|---|
| 21 | #else |
|---|
| 22 | // This section is for module |
|---|
| 23 | |
|---|
| [515] | 24 | int raw_merge_start(int action); |
|---|
| [594] | 25 | void raw_merge_add_file(const char * filename); |
|---|
| [515] | 26 | void raw_merge_end(void); |
|---|
| 27 | int raw_subtract(const char *from, const char *sub, const char *dest); |
|---|
| 28 | #endif |
|---|
| [1467] | 29 | |
|---|
| 30 | #endif |
|---|
Note: See
TracBrowser
for help on using the repository browser.