1 /*
2   Copyright 2008-2013 LibRaw LLC (info@libraw.org)
3 
4 LibRaw is free software; you can redistribute it and/or modify
5 it under the terms of the one of two licenses as you choose:
6 
7 1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1
8    (See file LICENSE.LGPL provided in LibRaw distribution archive for details).
9 
10 2. COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
11    (See file LICENSE.CDDL provided in LibRaw distribution archive for details).
12 
13 */
14 
15 #include <math.h>
16 
17 #define CLASS LibRaw::
18 
19 #include "libraw/libraw_types.h"
20 #define LIBRAW_LIBRARY_BUILD
21 #define LIBRAW_IO_REDEFINED
22 #include "libraw/libraw.h"
23 #include "internal/defines.h"
24 #define SRC_USES_SHRINK
25 #define SRC_USES_BLACK
26 #define SRC_USES_CURVE
27 
28 /* DHT and AAHD are LGPL licensed, so include them */
29 #include "./dht_demosaic.cpp"
30 #include "./aahd_demosaic.cpp"
31 #include "internal/var_defines.h"
32 
33 /* DCB is BSD licensed, so include it */
34 #include "./dcb_demosaicing.c"
35 
36