source: trunk/core/raw_merge.h @ 1569

Revision 1569, 853 bytes checked in by philmoz, 16 months ago (diff)

Update trunk with latest changes from reyalp-flt branch.

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