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 * This file is provided for compatibility w/ old build scripts/tools: 8 * It includes multiple separate files that should be built separately 9 * if new build tools are used 10 11 1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1 12 (See file LICENSE.LGPL provided in LibRaw distribution archive for details). 13 14 2. COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0 15 (See file LICENSE.CDDL provided in LibRaw distribution archive for details). 16 17 */ 18 19 #include <math.h> 20 21 #define LIBRAW_LIBRARY_BUILD 22 #define LIBRAW_IO_REDEFINED 23 #include "libraw/libraw.h" 24 #include "internal/defines.h" 25 #define SRC_USES_SHRINK 26 #define SRC_USES_BLACK 27 #define SRC_USES_CURVE 28 29 /* DHT and AAHD are LGPL licensed, so include them */ 30 #include "../src/demosaic/dht_demosaic.cpp" 31 #include "../src/demosaic/aahd_demosaic.cpp" 32 #include "internal/var_defines.h" 33 34 /* DCB is BSD licensed, so include it */ 35 #include "../src/demosaic/dcb_demosaic.cpp" 36