1
2
3 #ifndef DNG_H
4 #define DNG_H
5
6 #include "flt.h"
7
8
9 #include "remotecap.h"
10
11
12 #define DNG_VERSION {3,1}
13
14
15 typedef struct
16 {
17 base_interface_t base;
18
19 void (*create_badpixel_bin)();
20 int (*raw_init_badpixel_bin)();
21 void (*capture_data_for_exif)(void);
22 void (*load_bad_pixels_list_b)(char* filename);
23 int (*badpixel_list_loaded_b)(void);
24
25 int (*convert_dng_to_chdk_raw)(char* fn);
26 int (*write_dng)(char* rawadr, char* altrawadr);
27 void (*load_dng_to_rawbuffer)(char *fn, char *rawadr);
28
29
30 void (*create_dng_header_for_ptp)(ptp_data_chunk *pdc);
31 void (*free_dng_header_for_ptp)(void);
32 } libdng_sym;
33
34 extern libdng_sym* libdng;
35
36 #endif