lightdrift-libraw 1.0.0-alpha.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (487) hide show
  1. package/CHANGELOG.md +374 -0
  2. package/LICENSE +21 -0
  3. package/README.md +757 -0
  4. package/binding.gyp +38 -0
  5. package/deps/LibRaw-Source/LibRaw-0.21.4/.clang-format +4 -0
  6. package/deps/LibRaw-Source/LibRaw-0.21.4/COPYRIGHT +27 -0
  7. package/deps/LibRaw-Source/LibRaw-0.21.4/Changelog.txt +2802 -0
  8. package/deps/LibRaw-Source/LibRaw-0.21.4/DEVELOPER-NOTES +20 -0
  9. package/deps/LibRaw-Source/LibRaw-0.21.4/GoPro/dng-sdk-1_4-allow-VC5-validate.diff +21 -0
  10. package/deps/LibRaw-Source/LibRaw-0.21.4/GoPro/dng-sdk-1_6-hide-ccVc5-definitiion.diff +15 -0
  11. package/deps/LibRaw-Source/LibRaw-0.21.4/GoPro/dng-sdk-allow-VC5-validate.diff +21 -0
  12. package/deps/LibRaw-Source/LibRaw-0.21.4/GoPro/gpr_read_image.cpp.diff +29 -0
  13. package/deps/LibRaw-Source/LibRaw-0.21.4/GoPro/gpr_read_image.h.diff +12 -0
  14. package/deps/LibRaw-Source/LibRaw-0.21.4/INSTALL +51 -0
  15. package/deps/LibRaw-Source/LibRaw-0.21.4/LICENSE.CDDL +340 -0
  16. package/deps/LibRaw-Source/LibRaw-0.21.4/LICENSE.LGPL +458 -0
  17. package/deps/LibRaw-Source/LibRaw-0.21.4/LibRaw.pro +19 -0
  18. package/deps/LibRaw-Source/LibRaw-0.21.4/LibRaw.sln +123 -0
  19. package/deps/LibRaw-Source/LibRaw-0.21.4/Makefile.am +140 -0
  20. package/deps/LibRaw-Source/LibRaw-0.21.4/Makefile.devel.nopp +230 -0
  21. package/deps/LibRaw-Source/LibRaw-0.21.4/Makefile.devel.noppr2i +227 -0
  22. package/deps/LibRaw-Source/LibRaw-0.21.4/Makefile.dist +501 -0
  23. package/deps/LibRaw-Source/LibRaw-0.21.4/Makefile.in +1849 -0
  24. package/deps/LibRaw-Source/LibRaw-0.21.4/Makefile.mingw +297 -0
  25. package/deps/LibRaw-Source/LibRaw-0.21.4/Makefile.msvc +628 -0
  26. package/deps/LibRaw-Source/LibRaw-0.21.4/README.DNGSDK.txt +43 -0
  27. package/deps/LibRaw-Source/LibRaw-0.21.4/README.GoPro.txt +112 -0
  28. package/deps/LibRaw-Source/LibRaw-0.21.4/README.RawSpeed.txt +62 -0
  29. package/deps/LibRaw-Source/LibRaw-0.21.4/README.cmake +9 -0
  30. package/deps/LibRaw-Source/LibRaw-0.21.4/README.demosaic-packs +17 -0
  31. package/deps/LibRaw-Source/LibRaw-0.21.4/README.md +106 -0
  32. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed/rawspeed.cpucount-unix.patch +15 -0
  33. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed/rawspeed.qmake-pro-files.patch +84 -0
  34. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed/rawspeed.samsung-decoder.patch +39 -0
  35. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed/rawspeed.uncompressed-color-dng.patch +13 -0
  36. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed/rawspeed.win32-dll.patch +186 -0
  37. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed/rawspeed_xmldata.cpp +4115 -0
  38. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed3/README.md +69 -0
  39. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed3/patches/01.CameraMeta-extensibility.patch +13 -0
  40. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed3/patches/02.Makernotes-processing.patch +36 -0
  41. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed3/patches/03.remove-limits-and-logging.patch +245 -0
  42. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed3/patches/04.clang-cl-compatibility.patch +37 -0
  43. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed3/rawspeed3_c_api/rawspeed3_capi.cpp +251 -0
  44. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed3/rawspeed3_c_api/rawspeed3_capi.h +83 -0
  45. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed3/rawspeed3_c_api/rawspeed3_capi_test.cpp +71 -0
  46. package/deps/LibRaw-Source/LibRaw-0.21.4/RawSpeed3/rawspeed3_c_api/rsxml2c.sh +5 -0
  47. package/deps/LibRaw-Source/LibRaw-0.21.4/aclocal.m4 +1446 -0
  48. package/deps/LibRaw-Source/LibRaw-0.21.4/autom4te.cache/output.0 +19332 -0
  49. package/deps/LibRaw-Source/LibRaw-0.21.4/autom4te.cache/output.1 +19332 -0
  50. package/deps/LibRaw-Source/LibRaw-0.21.4/autom4te.cache/output.2 +19332 -0
  51. package/deps/LibRaw-Source/LibRaw-0.21.4/autom4te.cache/requests +544 -0
  52. package/deps/LibRaw-Source/LibRaw-0.21.4/autom4te.cache/traces.0 +3028 -0
  53. package/deps/LibRaw-Source/LibRaw-0.21.4/autom4te.cache/traces.1 +665 -0
  54. package/deps/LibRaw-Source/LibRaw-0.21.4/autom4te.cache/traces.2 +3028 -0
  55. package/deps/LibRaw-Source/LibRaw-0.21.4/bin/.keep_me +2 -0
  56. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/4channels.pro +5 -0
  57. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/4channels.vcxproj +145 -0
  58. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/4channels.vcxproj.filters +18 -0
  59. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/dcraw_emu.pro +6 -0
  60. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/dcraw_emu.vcxproj +145 -0
  61. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/dcraw_emu.vcxproj.filters +18 -0
  62. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/dcraw_half.pro +6 -0
  63. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/dcraw_half.vcxproj +145 -0
  64. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/dcraw_half.vcxproj.filters +18 -0
  65. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/half_mt.pro +10 -0
  66. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/libraw-common-lib.pro +28 -0
  67. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/libraw-common.pro +8 -0
  68. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/libraw.pro +70 -0
  69. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/libraw.vcxproj +234 -0
  70. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/libraw.vcxproj.filters +295 -0
  71. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/mem_image.pro +6 -0
  72. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/mem_image.vcxproj +145 -0
  73. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/mem_image.vcxproj.filters +18 -0
  74. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/multirender_test.pro +6 -0
  75. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/multirender_test.vcxproj +145 -0
  76. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/multirender_test.vcxproj.filters +18 -0
  77. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/openbayer_sample.pro +6 -0
  78. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/openbayer_sample.vcxproj +145 -0
  79. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/openbayer_sample.vcxproj.filters +18 -0
  80. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/postprocessing_benchmark.pro +4 -0
  81. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/postprocessing_benchmark.vcxproj +145 -0
  82. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/postprocessing_benchmark.vcxproj.filters +18 -0
  83. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/raw-identify.pro +6 -0
  84. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/raw-identify.vcxproj +145 -0
  85. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/raw-identify.vcxproj.filters +18 -0
  86. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/rawtextdump.pro +6 -0
  87. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/rawtextdump.vcxproj +145 -0
  88. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/rawtextdump.vcxproj.filters +18 -0
  89. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/simple_dcraw.pro +6 -0
  90. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/simple_dcraw.vcxproj +145 -0
  91. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/simple_dcraw.vcxproj.filters +18 -0
  92. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/unprocessed_raw.pro +6 -0
  93. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/unprocessed_raw.vcxproj +145 -0
  94. package/deps/LibRaw-Source/LibRaw-0.21.4/buildfiles/unprocessed_raw.vcxproj.filters +18 -0
  95. package/deps/LibRaw-Source/LibRaw-0.21.4/compile +347 -0
  96. package/deps/LibRaw-Source/LibRaw-0.21.4/config.guess +1433 -0
  97. package/deps/LibRaw-Source/LibRaw-0.21.4/config.sub +1804 -0
  98. package/deps/LibRaw-Source/LibRaw-0.21.4/configure +19332 -0
  99. package/deps/LibRaw-Source/LibRaw-0.21.4/configure.ac +153 -0
  100. package/deps/LibRaw-Source/LibRaw-0.21.4/depcomp +791 -0
  101. package/deps/LibRaw-Source/LibRaw-0.21.4/doc/API-C.html +187 -0
  102. package/deps/LibRaw-Source/LibRaw-0.21.4/doc/API-CXX.html +881 -0
  103. package/deps/LibRaw-Source/LibRaw-0.21.4/doc/API-datastruct.html +1341 -0
  104. package/deps/LibRaw-Source/LibRaw-0.21.4/doc/API-notes.html +305 -0
  105. package/deps/LibRaw-Source/LibRaw-0.21.4/doc/API-overview.html +66 -0
  106. package/deps/LibRaw-Source/LibRaw-0.21.4/doc/Install-LibRaw.html +124 -0
  107. package/deps/LibRaw-Source/LibRaw-0.21.4/doc/Samples-LibRaw.html +213 -0
  108. package/deps/LibRaw-Source/LibRaw-0.21.4/doc/Why-LibRaw.html +65 -0
  109. package/deps/LibRaw-Source/LibRaw-0.21.4/doc/index.html +38 -0
  110. package/deps/LibRaw-Source/LibRaw-0.21.4/install-sh +501 -0
  111. package/deps/LibRaw-Source/LibRaw-0.21.4/internal/dcraw_defs.h +66 -0
  112. package/deps/LibRaw-Source/LibRaw-0.21.4/internal/dcraw_fileio_defs.h +25 -0
  113. package/deps/LibRaw-Source/LibRaw-0.21.4/internal/defines.h +193 -0
  114. package/deps/LibRaw-Source/LibRaw-0.21.4/internal/dmp_include.h +27 -0
  115. package/deps/LibRaw-Source/LibRaw-0.21.4/internal/libraw_cameraids.h +320 -0
  116. package/deps/LibRaw-Source/LibRaw-0.21.4/internal/libraw_cxx_defs.h +133 -0
  117. package/deps/LibRaw-Source/LibRaw-0.21.4/internal/libraw_internal_funcs.h +412 -0
  118. package/deps/LibRaw-Source/LibRaw-0.21.4/internal/var_defines.h +215 -0
  119. package/deps/LibRaw-Source/LibRaw-0.21.4/internal/x3f_tools.h +539 -0
  120. package/deps/LibRaw-Source/LibRaw-0.21.4/lib/Makefile +3 -0
  121. package/deps/LibRaw-Source/LibRaw-0.21.4/libraw/libraw.h +534 -0
  122. package/deps/LibRaw-Source/LibRaw-0.21.4/libraw/libraw_alloc.h +148 -0
  123. package/deps/LibRaw-Source/LibRaw-0.21.4/libraw/libraw_const.h +814 -0
  124. package/deps/LibRaw-Source/LibRaw-0.21.4/libraw/libraw_datastream.h +410 -0
  125. package/deps/LibRaw-Source/LibRaw-0.21.4/libraw/libraw_internal.h +341 -0
  126. package/deps/LibRaw-Source/LibRaw-0.21.4/libraw/libraw_types.h +1175 -0
  127. package/deps/LibRaw-Source/LibRaw-0.21.4/libraw/libraw_version.h +63 -0
  128. package/deps/LibRaw-Source/LibRaw-0.21.4/libraw.pc.in +12 -0
  129. package/deps/LibRaw-Source/LibRaw-0.21.4/libraw_r.pc.in +12 -0
  130. package/deps/LibRaw-Source/LibRaw-0.21.4/ltmain.sh +11147 -0
  131. package/deps/LibRaw-Source/LibRaw-0.21.4/m4/ax_openmp.m4 +99 -0
  132. package/deps/LibRaw-Source/LibRaw-0.21.4/m4/libtool.m4 +8369 -0
  133. package/deps/LibRaw-Source/LibRaw-0.21.4/m4/ltoptions.m4 +437 -0
  134. package/deps/LibRaw-Source/LibRaw-0.21.4/m4/ltsugar.m4 +124 -0
  135. package/deps/LibRaw-Source/LibRaw-0.21.4/m4/ltversion.m4 +23 -0
  136. package/deps/LibRaw-Source/LibRaw-0.21.4/m4/lt~obsolete.m4 +99 -0
  137. package/deps/LibRaw-Source/LibRaw-0.21.4/missing +215 -0
  138. package/deps/LibRaw-Source/LibRaw-0.21.4/object/.keep_me +0 -0
  139. package/deps/LibRaw-Source/LibRaw-0.21.4/rsxml2c.sh +6 -0
  140. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/4channels.cpp +174 -0
  141. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/Makefile +2 -0
  142. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/dcraw_emu.cpp +670 -0
  143. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/dcraw_half.c +78 -0
  144. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/half_mt.c +178 -0
  145. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/half_mt_win32.c +212 -0
  146. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/mem_image_sample.cpp +282 -0
  147. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/multirender_test.cpp +107 -0
  148. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/openbayer_sample.cpp +65 -0
  149. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/postprocessing_benchmark.cpp +223 -0
  150. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/raw-identify.cpp +743 -0
  151. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/rawtextdump.cpp +144 -0
  152. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/simple_dcraw.cpp +217 -0
  153. package/deps/LibRaw-Source/LibRaw-0.21.4/samples/unprocessed_raw.cpp +319 -0
  154. package/deps/LibRaw-Source/LibRaw-0.21.4/shlib-version.sh +11 -0
  155. package/deps/LibRaw-Source/LibRaw-0.21.4/src/Makefile +2 -0
  156. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/canon_600.cpp +225 -0
  157. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/crx.cpp +2781 -0
  158. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/decoders_dcraw.cpp +1816 -0
  159. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/decoders_libraw.cpp +873 -0
  160. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/decoders_libraw_dcrdefs.cpp +411 -0
  161. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/dng.cpp +284 -0
  162. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/fp_dng.cpp +689 -0
  163. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/fuji_compressed.cpp +1210 -0
  164. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/generic.cpp +101 -0
  165. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/kodak_decoders.cpp +524 -0
  166. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/load_mfbacks.cpp +936 -0
  167. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/smal.cpp +181 -0
  168. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/unpack.cpp +508 -0
  169. package/deps/LibRaw-Source/LibRaw-0.21.4/src/decoders/unpack_thumb.cpp +405 -0
  170. package/deps/LibRaw-Source/LibRaw-0.21.4/src/demosaic/aahd_demosaic.cpp +781 -0
  171. package/deps/LibRaw-Source/LibRaw-0.21.4/src/demosaic/ahd_demosaic.cpp +355 -0
  172. package/deps/LibRaw-Source/LibRaw-0.21.4/src/demosaic/dcb_demosaic.cpp +900 -0
  173. package/deps/LibRaw-Source/LibRaw-0.21.4/src/demosaic/dht_demosaic.cpp +1033 -0
  174. package/deps/LibRaw-Source/LibRaw-0.21.4/src/demosaic/misc_demosaic.cpp +420 -0
  175. package/deps/LibRaw-Source/LibRaw-0.21.4/src/demosaic/xtrans_demosaic.cpp +434 -0
  176. package/deps/LibRaw-Source/LibRaw-0.21.4/src/integration/dngsdk_glue.cpp +416 -0
  177. package/deps/LibRaw-Source/LibRaw-0.21.4/src/integration/rawspeed_glue.cpp +286 -0
  178. package/deps/LibRaw-Source/LibRaw-0.21.4/src/libraw_c_api.cpp +457 -0
  179. package/deps/LibRaw-Source/LibRaw-0.21.4/src/libraw_datastream.cpp +1046 -0
  180. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/adobepano.cpp +154 -0
  181. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/canon.cpp +1335 -0
  182. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/ciff.cpp +411 -0
  183. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/cr3_parser.cpp +896 -0
  184. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/epson.cpp +96 -0
  185. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/exif_gps.cpp +430 -0
  186. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/fuji.cpp +1427 -0
  187. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/hasselblad_model.cpp +538 -0
  188. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/identify.cpp +3167 -0
  189. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/identify_tools.cpp +140 -0
  190. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/kodak.cpp +363 -0
  191. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/leica.cpp +375 -0
  192. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/makernotes.cpp +786 -0
  193. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/mediumformat.cpp +521 -0
  194. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/minolta.cpp +110 -0
  195. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/misc_parsers.cpp +694 -0
  196. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/nikon.cpp +1051 -0
  197. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/normalize_model.cpp +1451 -0
  198. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/olympus.cpp +685 -0
  199. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/p1.cpp +192 -0
  200. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/pentax.cpp +675 -0
  201. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/samsung.cpp +182 -0
  202. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/sony.cpp +2320 -0
  203. package/deps/LibRaw-Source/LibRaw-0.21.4/src/metadata/tiff.cpp +2198 -0
  204. package/deps/LibRaw-Source/LibRaw-0.21.4/src/postprocessing/aspect_ratio.cpp +113 -0
  205. package/deps/LibRaw-Source/LibRaw-0.21.4/src/postprocessing/dcraw_process.cpp +259 -0
  206. package/deps/LibRaw-Source/LibRaw-0.21.4/src/postprocessing/mem_image.cpp +292 -0
  207. package/deps/LibRaw-Source/LibRaw-0.21.4/src/postprocessing/postprocessing_aux.cpp +413 -0
  208. package/deps/LibRaw-Source/LibRaw-0.21.4/src/postprocessing/postprocessing_ph.cpp +31 -0
  209. package/deps/LibRaw-Source/LibRaw-0.21.4/src/postprocessing/postprocessing_utils.cpp +190 -0
  210. package/deps/LibRaw-Source/LibRaw-0.21.4/src/postprocessing/postprocessing_utils_dcrdefs.cpp +308 -0
  211. package/deps/LibRaw-Source/LibRaw-0.21.4/src/preprocessing/ext_preprocess.cpp +127 -0
  212. package/deps/LibRaw-Source/LibRaw-0.21.4/src/preprocessing/preprocessing_ph.cpp +24 -0
  213. package/deps/LibRaw-Source/LibRaw-0.21.4/src/preprocessing/raw2image.cpp +560 -0
  214. package/deps/LibRaw-Source/LibRaw-0.21.4/src/preprocessing/subtract_black.cpp +91 -0
  215. package/deps/LibRaw-Source/LibRaw-0.21.4/src/tables/cameralist.cpp +1268 -0
  216. package/deps/LibRaw-Source/LibRaw-0.21.4/src/tables/colorconst.cpp +57 -0
  217. package/deps/LibRaw-Source/LibRaw-0.21.4/src/tables/colordata.cpp +1841 -0
  218. package/deps/LibRaw-Source/LibRaw-0.21.4/src/tables/wblists.cpp +217 -0
  219. package/deps/LibRaw-Source/LibRaw-0.21.4/src/utils/curves.cpp +154 -0
  220. package/deps/LibRaw-Source/LibRaw-0.21.4/src/utils/decoder_info.cpp +413 -0
  221. package/deps/LibRaw-Source/LibRaw-0.21.4/src/utils/init_close_utils.cpp +340 -0
  222. package/deps/LibRaw-Source/LibRaw-0.21.4/src/utils/open.cpp +1269 -0
  223. package/deps/LibRaw-Source/LibRaw-0.21.4/src/utils/phaseone_processing.cpp +101 -0
  224. package/deps/LibRaw-Source/LibRaw-0.21.4/src/utils/read_utils.cpp +176 -0
  225. package/deps/LibRaw-Source/LibRaw-0.21.4/src/utils/thumb_utils.cpp +338 -0
  226. package/deps/LibRaw-Source/LibRaw-0.21.4/src/utils/utils_dcraw.cpp +330 -0
  227. package/deps/LibRaw-Source/LibRaw-0.21.4/src/utils/utils_libraw.cpp +673 -0
  228. package/deps/LibRaw-Source/LibRaw-0.21.4/src/write/apply_profile.cpp +76 -0
  229. package/deps/LibRaw-Source/LibRaw-0.21.4/src/write/file_write.cpp +338 -0
  230. package/deps/LibRaw-Source/LibRaw-0.21.4/src/write/tiff_writer.cpp +73 -0
  231. package/deps/LibRaw-Source/LibRaw-0.21.4/src/write/write_ph.cpp +39 -0
  232. package/deps/LibRaw-Source/LibRaw-0.21.4/src/x3f/x3f_parse_process.cpp +708 -0
  233. package/deps/LibRaw-Source/LibRaw-0.21.4/src/x3f/x3f_utils_patched.cpp +2119 -0
  234. package/deps/LibRaw-Source/LibRaw-0.21.4/version.sh +16 -0
  235. package/deps/LibRaw-Win64/LibRaw-0.21.4/.clang-format +4 -0
  236. package/deps/LibRaw-Win64/LibRaw-0.21.4/COPYRIGHT +27 -0
  237. package/deps/LibRaw-Win64/LibRaw-0.21.4/Changelog.txt +2802 -0
  238. package/deps/LibRaw-Win64/LibRaw-0.21.4/DEVELOPER-NOTES +20 -0
  239. package/deps/LibRaw-Win64/LibRaw-0.21.4/GoPro/dng-sdk-1_4-allow-VC5-validate.diff +21 -0
  240. package/deps/LibRaw-Win64/LibRaw-0.21.4/GoPro/dng-sdk-1_6-hide-ccVc5-definitiion.diff +15 -0
  241. package/deps/LibRaw-Win64/LibRaw-0.21.4/GoPro/dng-sdk-allow-VC5-validate.diff +21 -0
  242. package/deps/LibRaw-Win64/LibRaw-0.21.4/GoPro/gpr_read_image.cpp.diff +29 -0
  243. package/deps/LibRaw-Win64/LibRaw-0.21.4/GoPro/gpr_read_image.h.diff +12 -0
  244. package/deps/LibRaw-Win64/LibRaw-0.21.4/INSTALL +51 -0
  245. package/deps/LibRaw-Win64/LibRaw-0.21.4/LICENSE.CDDL +340 -0
  246. package/deps/LibRaw-Win64/LibRaw-0.21.4/LICENSE.LGPL +458 -0
  247. package/deps/LibRaw-Win64/LibRaw-0.21.4/LibRaw.pro +19 -0
  248. package/deps/LibRaw-Win64/LibRaw-0.21.4/LibRaw.sln +123 -0
  249. package/deps/LibRaw-Win64/LibRaw-0.21.4/Makefile.am +140 -0
  250. package/deps/LibRaw-Win64/LibRaw-0.21.4/Makefile.devel.nopp +230 -0
  251. package/deps/LibRaw-Win64/LibRaw-0.21.4/Makefile.devel.noppr2i +227 -0
  252. package/deps/LibRaw-Win64/LibRaw-0.21.4/Makefile.dist +501 -0
  253. package/deps/LibRaw-Win64/LibRaw-0.21.4/Makefile.in +1849 -0
  254. package/deps/LibRaw-Win64/LibRaw-0.21.4/Makefile.mingw +297 -0
  255. package/deps/LibRaw-Win64/LibRaw-0.21.4/Makefile.msvc +628 -0
  256. package/deps/LibRaw-Win64/LibRaw-0.21.4/README.DNGSDK.txt +43 -0
  257. package/deps/LibRaw-Win64/LibRaw-0.21.4/README.GoPro.txt +112 -0
  258. package/deps/LibRaw-Win64/LibRaw-0.21.4/README.RawSpeed.txt +62 -0
  259. package/deps/LibRaw-Win64/LibRaw-0.21.4/README.cmake +9 -0
  260. package/deps/LibRaw-Win64/LibRaw-0.21.4/README.demosaic-packs +17 -0
  261. package/deps/LibRaw-Win64/LibRaw-0.21.4/README.md +106 -0
  262. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed/rawspeed.cpucount-unix.patch +15 -0
  263. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed/rawspeed.qmake-pro-files.patch +84 -0
  264. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed/rawspeed.samsung-decoder.patch +39 -0
  265. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed/rawspeed.uncompressed-color-dng.patch +13 -0
  266. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed/rawspeed.win32-dll.patch +186 -0
  267. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed/rawspeed_xmldata.cpp +4115 -0
  268. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed3/README.md +69 -0
  269. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed3/patches/01.CameraMeta-extensibility.patch +13 -0
  270. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed3/patches/02.Makernotes-processing.patch +36 -0
  271. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed3/patches/03.remove-limits-and-logging.patch +245 -0
  272. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed3/patches/04.clang-cl-compatibility.patch +37 -0
  273. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed3/rawspeed3_c_api/rawspeed3_capi.cpp +251 -0
  274. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed3/rawspeed3_c_api/rawspeed3_capi.h +83 -0
  275. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed3/rawspeed3_c_api/rawspeed3_capi_test.cpp +71 -0
  276. package/deps/LibRaw-Win64/LibRaw-0.21.4/RawSpeed3/rawspeed3_c_api/rsxml2c.sh +5 -0
  277. package/deps/LibRaw-Win64/LibRaw-0.21.4/aclocal.m4 +1446 -0
  278. package/deps/LibRaw-Win64/LibRaw-0.21.4/autom4te.cache/output.0 +19332 -0
  279. package/deps/LibRaw-Win64/LibRaw-0.21.4/autom4te.cache/output.1 +19332 -0
  280. package/deps/LibRaw-Win64/LibRaw-0.21.4/autom4te.cache/output.2 +19332 -0
  281. package/deps/LibRaw-Win64/LibRaw-0.21.4/autom4te.cache/requests +544 -0
  282. package/deps/LibRaw-Win64/LibRaw-0.21.4/autom4te.cache/traces.0 +3028 -0
  283. package/deps/LibRaw-Win64/LibRaw-0.21.4/autom4te.cache/traces.1 +665 -0
  284. package/deps/LibRaw-Win64/LibRaw-0.21.4/autom4te.cache/traces.2 +3028 -0
  285. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/.keep_me +2 -0
  286. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/4channels.exe +0 -0
  287. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/dcraw_emu.exe +0 -0
  288. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/dcraw_half.exe +0 -0
  289. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/half_mt.exe +0 -0
  290. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/libraw.dll +0 -0
  291. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/mem_image.exe +0 -0
  292. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/multirender_test.exe +0 -0
  293. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/openbayer_sample.exe +0 -0
  294. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/postprocessing_benchmark.exe +0 -0
  295. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/raw-identify.exe +0 -0
  296. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/rawtextdump.exe +0 -0
  297. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/simple_dcraw.exe +0 -0
  298. package/deps/LibRaw-Win64/LibRaw-0.21.4/bin/unprocessed_raw.exe +0 -0
  299. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/4channels.pro +5 -0
  300. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/4channels.vcxproj +145 -0
  301. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/4channels.vcxproj.filters +18 -0
  302. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/dcraw_emu.pro +6 -0
  303. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/dcraw_emu.vcxproj +145 -0
  304. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/dcraw_emu.vcxproj.filters +18 -0
  305. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/dcraw_half.pro +6 -0
  306. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/dcraw_half.vcxproj +145 -0
  307. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/dcraw_half.vcxproj.filters +18 -0
  308. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/half_mt.pro +10 -0
  309. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/libraw-common-lib.pro +28 -0
  310. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/libraw-common.pro +8 -0
  311. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/libraw.pro +70 -0
  312. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/libraw.vcxproj +234 -0
  313. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/libraw.vcxproj.filters +295 -0
  314. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/mem_image.pro +6 -0
  315. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/mem_image.vcxproj +145 -0
  316. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/mem_image.vcxproj.filters +18 -0
  317. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/multirender_test.pro +6 -0
  318. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/multirender_test.vcxproj +145 -0
  319. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/multirender_test.vcxproj.filters +18 -0
  320. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/openbayer_sample.pro +6 -0
  321. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/openbayer_sample.vcxproj +145 -0
  322. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/openbayer_sample.vcxproj.filters +18 -0
  323. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/postprocessing_benchmark.pro +4 -0
  324. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/postprocessing_benchmark.vcxproj +145 -0
  325. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/postprocessing_benchmark.vcxproj.filters +18 -0
  326. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/raw-identify.pro +6 -0
  327. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/raw-identify.vcxproj +145 -0
  328. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/raw-identify.vcxproj.filters +18 -0
  329. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/rawtextdump.pro +6 -0
  330. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/rawtextdump.vcxproj +145 -0
  331. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/rawtextdump.vcxproj.filters +18 -0
  332. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/simple_dcraw.pro +6 -0
  333. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/simple_dcraw.vcxproj +145 -0
  334. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/simple_dcraw.vcxproj.filters +18 -0
  335. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/unprocessed_raw.pro +6 -0
  336. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/unprocessed_raw.vcxproj +145 -0
  337. package/deps/LibRaw-Win64/LibRaw-0.21.4/buildfiles/unprocessed_raw.vcxproj.filters +18 -0
  338. package/deps/LibRaw-Win64/LibRaw-0.21.4/compile +347 -0
  339. package/deps/LibRaw-Win64/LibRaw-0.21.4/config.guess +1433 -0
  340. package/deps/LibRaw-Win64/LibRaw-0.21.4/config.sub +1804 -0
  341. package/deps/LibRaw-Win64/LibRaw-0.21.4/configure +19332 -0
  342. package/deps/LibRaw-Win64/LibRaw-0.21.4/configure.ac +153 -0
  343. package/deps/LibRaw-Win64/LibRaw-0.21.4/depcomp +791 -0
  344. package/deps/LibRaw-Win64/LibRaw-0.21.4/doc/API-C.html +187 -0
  345. package/deps/LibRaw-Win64/LibRaw-0.21.4/doc/API-CXX.html +881 -0
  346. package/deps/LibRaw-Win64/LibRaw-0.21.4/doc/API-datastruct.html +1341 -0
  347. package/deps/LibRaw-Win64/LibRaw-0.21.4/doc/API-notes.html +305 -0
  348. package/deps/LibRaw-Win64/LibRaw-0.21.4/doc/API-overview.html +66 -0
  349. package/deps/LibRaw-Win64/LibRaw-0.21.4/doc/Install-LibRaw.html +124 -0
  350. package/deps/LibRaw-Win64/LibRaw-0.21.4/doc/Samples-LibRaw.html +213 -0
  351. package/deps/LibRaw-Win64/LibRaw-0.21.4/doc/Why-LibRaw.html +65 -0
  352. package/deps/LibRaw-Win64/LibRaw-0.21.4/doc/index.html +38 -0
  353. package/deps/LibRaw-Win64/LibRaw-0.21.4/install-sh +501 -0
  354. package/deps/LibRaw-Win64/LibRaw-0.21.4/internal/dcraw_defs.h +66 -0
  355. package/deps/LibRaw-Win64/LibRaw-0.21.4/internal/dcraw_fileio_defs.h +25 -0
  356. package/deps/LibRaw-Win64/LibRaw-0.21.4/internal/defines.h +193 -0
  357. package/deps/LibRaw-Win64/LibRaw-0.21.4/internal/dmp_include.h +27 -0
  358. package/deps/LibRaw-Win64/LibRaw-0.21.4/internal/libraw_cameraids.h +320 -0
  359. package/deps/LibRaw-Win64/LibRaw-0.21.4/internal/libraw_cxx_defs.h +133 -0
  360. package/deps/LibRaw-Win64/LibRaw-0.21.4/internal/libraw_internal_funcs.h +412 -0
  361. package/deps/LibRaw-Win64/LibRaw-0.21.4/internal/var_defines.h +215 -0
  362. package/deps/LibRaw-Win64/LibRaw-0.21.4/internal/x3f_tools.h +539 -0
  363. package/deps/LibRaw-Win64/LibRaw-0.21.4/lib/Makefile +3 -0
  364. package/deps/LibRaw-Win64/LibRaw-0.21.4/lib/libraw.exp +0 -0
  365. package/deps/LibRaw-Win64/LibRaw-0.21.4/lib/libraw.lib +0 -0
  366. package/deps/LibRaw-Win64/LibRaw-0.21.4/lib/libraw_static.lib +0 -0
  367. package/deps/LibRaw-Win64/LibRaw-0.21.4/libraw/libraw.h +534 -0
  368. package/deps/LibRaw-Win64/LibRaw-0.21.4/libraw/libraw_alloc.h +148 -0
  369. package/deps/LibRaw-Win64/LibRaw-0.21.4/libraw/libraw_const.h +814 -0
  370. package/deps/LibRaw-Win64/LibRaw-0.21.4/libraw/libraw_datastream.h +410 -0
  371. package/deps/LibRaw-Win64/LibRaw-0.21.4/libraw/libraw_internal.h +341 -0
  372. package/deps/LibRaw-Win64/LibRaw-0.21.4/libraw/libraw_types.h +1175 -0
  373. package/deps/LibRaw-Win64/LibRaw-0.21.4/libraw/libraw_version.h +63 -0
  374. package/deps/LibRaw-Win64/LibRaw-0.21.4/libraw.pc.in +12 -0
  375. package/deps/LibRaw-Win64/LibRaw-0.21.4/libraw_r.pc.in +12 -0
  376. package/deps/LibRaw-Win64/LibRaw-0.21.4/ltmain.sh +11147 -0
  377. package/deps/LibRaw-Win64/LibRaw-0.21.4/m4/ax_openmp.m4 +99 -0
  378. package/deps/LibRaw-Win64/LibRaw-0.21.4/m4/libtool.m4 +8369 -0
  379. package/deps/LibRaw-Win64/LibRaw-0.21.4/m4/ltoptions.m4 +437 -0
  380. package/deps/LibRaw-Win64/LibRaw-0.21.4/m4/ltsugar.m4 +124 -0
  381. package/deps/LibRaw-Win64/LibRaw-0.21.4/m4/ltversion.m4 +23 -0
  382. package/deps/LibRaw-Win64/LibRaw-0.21.4/m4/lt~obsolete.m4 +99 -0
  383. package/deps/LibRaw-Win64/LibRaw-0.21.4/missing +215 -0
  384. package/deps/LibRaw-Win64/LibRaw-0.21.4/object/.keep_me +0 -0
  385. package/deps/LibRaw-Win64/LibRaw-0.21.4/rsxml2c.sh +6 -0
  386. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/4channels.cpp +174 -0
  387. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/Makefile +2 -0
  388. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/dcraw_emu.cpp +670 -0
  389. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/dcraw_half.c +78 -0
  390. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/half_mt.c +178 -0
  391. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/half_mt_win32.c +212 -0
  392. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/mem_image_sample.cpp +282 -0
  393. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/multirender_test.cpp +107 -0
  394. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/openbayer_sample.cpp +65 -0
  395. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/postprocessing_benchmark.cpp +223 -0
  396. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/raw-identify.cpp +743 -0
  397. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/rawtextdump.cpp +144 -0
  398. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/simple_dcraw.cpp +217 -0
  399. package/deps/LibRaw-Win64/LibRaw-0.21.4/samples/unprocessed_raw.cpp +319 -0
  400. package/deps/LibRaw-Win64/LibRaw-0.21.4/shlib-version.sh +11 -0
  401. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/Makefile +2 -0
  402. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/canon_600.cpp +225 -0
  403. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/crx.cpp +2781 -0
  404. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/decoders_dcraw.cpp +1816 -0
  405. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/decoders_libraw.cpp +873 -0
  406. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/decoders_libraw_dcrdefs.cpp +411 -0
  407. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/dng.cpp +284 -0
  408. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/fp_dng.cpp +689 -0
  409. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/fuji_compressed.cpp +1210 -0
  410. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/generic.cpp +101 -0
  411. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/kodak_decoders.cpp +524 -0
  412. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/load_mfbacks.cpp +936 -0
  413. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/smal.cpp +181 -0
  414. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/unpack.cpp +508 -0
  415. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/decoders/unpack_thumb.cpp +405 -0
  416. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/demosaic/aahd_demosaic.cpp +781 -0
  417. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/demosaic/ahd_demosaic.cpp +355 -0
  418. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/demosaic/dcb_demosaic.cpp +900 -0
  419. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/demosaic/dht_demosaic.cpp +1033 -0
  420. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/demosaic/misc_demosaic.cpp +420 -0
  421. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/demosaic/xtrans_demosaic.cpp +434 -0
  422. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/integration/dngsdk_glue.cpp +416 -0
  423. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/integration/rawspeed_glue.cpp +286 -0
  424. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/libraw_c_api.cpp +457 -0
  425. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/libraw_datastream.cpp +1046 -0
  426. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/adobepano.cpp +154 -0
  427. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/canon.cpp +1335 -0
  428. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/ciff.cpp +411 -0
  429. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/cr3_parser.cpp +896 -0
  430. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/epson.cpp +96 -0
  431. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/exif_gps.cpp +430 -0
  432. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/fuji.cpp +1427 -0
  433. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/hasselblad_model.cpp +538 -0
  434. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/identify.cpp +3167 -0
  435. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/identify_tools.cpp +140 -0
  436. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/kodak.cpp +363 -0
  437. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/leica.cpp +375 -0
  438. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/makernotes.cpp +786 -0
  439. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/mediumformat.cpp +521 -0
  440. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/minolta.cpp +110 -0
  441. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/misc_parsers.cpp +694 -0
  442. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/nikon.cpp +1051 -0
  443. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/normalize_model.cpp +1451 -0
  444. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/olympus.cpp +685 -0
  445. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/p1.cpp +192 -0
  446. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/pentax.cpp +675 -0
  447. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/samsung.cpp +182 -0
  448. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/sony.cpp +2320 -0
  449. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/metadata/tiff.cpp +2198 -0
  450. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/postprocessing/aspect_ratio.cpp +113 -0
  451. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/postprocessing/dcraw_process.cpp +259 -0
  452. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/postprocessing/mem_image.cpp +292 -0
  453. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/postprocessing/postprocessing_aux.cpp +413 -0
  454. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/postprocessing/postprocessing_ph.cpp +31 -0
  455. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/postprocessing/postprocessing_utils.cpp +190 -0
  456. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/postprocessing/postprocessing_utils_dcrdefs.cpp +308 -0
  457. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/preprocessing/ext_preprocess.cpp +127 -0
  458. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/preprocessing/preprocessing_ph.cpp +24 -0
  459. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/preprocessing/raw2image.cpp +560 -0
  460. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/preprocessing/subtract_black.cpp +91 -0
  461. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/tables/cameralist.cpp +1268 -0
  462. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/tables/colorconst.cpp +57 -0
  463. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/tables/colordata.cpp +1841 -0
  464. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/tables/wblists.cpp +217 -0
  465. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/utils/curves.cpp +154 -0
  466. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/utils/decoder_info.cpp +413 -0
  467. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/utils/init_close_utils.cpp +340 -0
  468. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/utils/open.cpp +1269 -0
  469. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/utils/phaseone_processing.cpp +101 -0
  470. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/utils/read_utils.cpp +176 -0
  471. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/utils/thumb_utils.cpp +338 -0
  472. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/utils/utils_dcraw.cpp +330 -0
  473. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/utils/utils_libraw.cpp +673 -0
  474. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/write/apply_profile.cpp +76 -0
  475. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/write/file_write.cpp +338 -0
  476. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/write/tiff_writer.cpp +73 -0
  477. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/write/write_ph.cpp +39 -0
  478. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/x3f/x3f_parse_process.cpp +708 -0
  479. package/deps/LibRaw-Win64/LibRaw-0.21.4/src/x3f/x3f_utils_patched.cpp +2119 -0
  480. package/deps/LibRaw-Win64/LibRaw-0.21.4/version.sh +16 -0
  481. package/lib/index.d.ts +324 -0
  482. package/lib/index.js +761 -0
  483. package/package.json +97 -0
  484. package/src/addon.cpp +8 -0
  485. package/src/libraw_wrapper.cpp +1223 -0
  486. package/src/libraw_wrapper.h +109 -0
  487. package/src/libraw_wrapper_new.cpp +853 -0
@@ -0,0 +1,193 @@
1
+ /*
2
+ Copyright 2008-2021 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
+ This file is generated from Dave Coffin's dcraw.c
14
+ dcraw.c -- Dave Coffin's raw photo decoder
15
+ Copyright 1997-2010 by Dave Coffin, dcoffin a cybercom o net
16
+
17
+ Look into dcraw homepage (probably http://cybercom.net/~dcoffin/dcraw/)
18
+ for more information
19
+ */
20
+
21
+ #ifndef LIBRAW_INT_DEFINES_H
22
+ #define LIBRAW_INT_DEFINES_H
23
+ #ifndef USE_JPEG
24
+ #define NO_JPEG
25
+ #endif
26
+ #ifndef USE_JASPER
27
+ #define NO_JASPER
28
+ #endif
29
+ #define DCRAW_VERSION "9.26"
30
+
31
+ #ifndef _GNU_SOURCE
32
+ #define _GNU_SOURCE
33
+ #endif
34
+ #define _USE_MATH_DEFINES
35
+ #include <ctype.h>
36
+ #include <errno.h>
37
+ #include <fcntl.h>
38
+ #include <float.h>
39
+ #include <limits.h>
40
+ #include <math.h>
41
+ #include <setjmp.h>
42
+ #include <stdio.h>
43
+ #include <stdlib.h>
44
+ #include <string.h>
45
+ #include <time.h>
46
+ #include <sys/types.h>
47
+ #ifdef __CYGWIN__
48
+ #include <io.h>
49
+ #endif
50
+ #if defined LIBRAW_WIN32_CALLS
51
+ #include <sys/utime.h>
52
+ #ifndef LIBRAW_NO_WINSOCK2
53
+ #include <winsock2.h>
54
+ #pragma comment(lib, "ws2_32.lib")
55
+ #endif
56
+ #define snprintf _snprintf
57
+ #define strcasecmp stricmp
58
+ #define strncasecmp strnicmp
59
+ #else
60
+ #include <unistd.h>
61
+ #include <utime.h>
62
+ #include <netinet/in.h>
63
+ typedef long long INT64;
64
+ typedef unsigned long long UINT64;
65
+ #endif
66
+
67
+ #ifdef NODEPS
68
+ #define NO_JASPER
69
+ #define NO_JPEG
70
+ #define NO_LCMS
71
+ #endif
72
+ #ifndef NO_JASPER
73
+ #include <jasper/jasper.h> /* Decode Red camera movies */
74
+ #endif
75
+ #ifndef NO_JPEG
76
+ #include <jpeglib.h> /* Decode compressed Kodak DC120 photos */
77
+ #endif /* and Adobe Lossy DNGs */
78
+ #ifndef NO_LCMS
79
+ #ifdef USE_LCMS
80
+ #include <lcms.h> /* Support color profiles */
81
+ #else
82
+ #include <lcms2.h> /* Support color profiles */
83
+ #endif
84
+ #endif
85
+ #ifdef LOCALEDIR
86
+ #include <libintl.h>
87
+ #define _(String) gettext(String)
88
+ #else
89
+ #define _(String) (String)
90
+ #endif
91
+
92
+ #ifdef LJPEG_DECODE
93
+ #error Please compile dcraw.c by itself.
94
+ #error Do not link it with ljpeg_decode.
95
+ #endif
96
+
97
+ #ifndef LONG_BIT
98
+ #define LONG_BIT (8 * sizeof(long))
99
+ #endif
100
+ #define FORC(cnt) for (c = 0; c < cnt; c++)
101
+ #define FORC3 FORC(3)
102
+ #define FORC4 FORC(4)
103
+ #define FORCC for (c = 0; c < colors && c < 4; c++)
104
+
105
+ #define SQR(x) ((x) * (x))
106
+ #define ABS(x) (((int)(x) ^ ((int)(x) >> 31)) - ((int)(x) >> 31))
107
+ #define MIN(a, b) ((a) < (b) ? (a) : (b))
108
+ #define MAX(a, b) ((a) > (b) ? (a) : (b))
109
+ #define LIM(x, min, max) MAX(min, MIN(x, max))
110
+ #define ULIM(x, y, z) ((y) < (z) ? LIM(x, y, z) : LIM(x, z, y))
111
+ #define CLIP(x) LIM((int)(x), 0, 65535)
112
+ #define CLIP15(x) LIM((int)(x), 0, 32767)
113
+ #define SWAP(a, b) \
114
+ { \
115
+ a = a + b; \
116
+ b = a - b; \
117
+ a = a - b; \
118
+ }
119
+
120
+ #define my_swap(type, i, j) \
121
+ { \
122
+ type t = i; \
123
+ i = j; \
124
+ j = t; \
125
+ }
126
+
127
+ #ifdef __GNUC__
128
+ inline
129
+ #elif defined(_MSC_VER)
130
+ __forceinline
131
+ #else
132
+ static
133
+ #endif
134
+ float fMAX(float a, float b) { return MAX(a, b); }
135
+
136
+ /*
137
+ In order to inline this calculation, I make the risky
138
+ assumption that all filter patterns can be described
139
+ by a repeating pattern of eight rows and two columns
140
+
141
+ Do not use the FC or BAYER macros with the Leaf CatchLight,
142
+ because its pattern is 16x16, not 2x8.
143
+
144
+ Return values are either 0/1/2/3 = G/M/C/Y or 0/1/2/3 = R/G1/B/G2
145
+
146
+ PowerShot 600 PowerShot A50 PowerShot Pro70 Pro90 & G1
147
+ 0xe1e4e1e4: 0x1b4e4b1e: 0x1e4b4e1b: 0xb4b4b4b4:
148
+
149
+ 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5
150
+ 0 G M G M G M 0 C Y C Y C Y 0 Y C Y C Y C 0 G M G M G M
151
+ 1 C Y C Y C Y 1 M G M G M G 1 M G M G M G 1 Y C Y C Y C
152
+ 2 M G M G M G 2 Y C Y C Y C 2 C Y C Y C Y
153
+ 3 C Y C Y C Y 3 G M G M G M 3 G M G M G M
154
+ 4 C Y C Y C Y 4 Y C Y C Y C
155
+ PowerShot A5 5 G M G M G M 5 G M G M G M
156
+ 0x1e4e1e4e: 6 Y C Y C Y C 6 C Y C Y C Y
157
+ 7 M G M G M G 7 M G M G M G
158
+ 0 1 2 3 4 5
159
+ 0 C Y C Y C Y
160
+ 1 G M G M G M
161
+ 2 C Y C Y C Y
162
+ 3 M G M G M G
163
+
164
+ All RGB cameras use one of these Bayer grids:
165
+
166
+ 0x16161616: 0x61616161: 0x49494949: 0x94949494:
167
+
168
+ 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5 0 1 2 3 4 5
169
+ 0 B G B G B G 0 G R G R G R 0 G B G B G B 0 R G R G R G
170
+ 1 G R G R G R 1 B G B G B G 1 R G R G R G 1 G B G B G B
171
+ 2 B G B G B G 2 G R G R G R 2 G B G B G B 2 R G R G R G
172
+ 3 G R G R G R 3 B G B G B G 3 R G R G R G 3 G B G B G B
173
+ */
174
+
175
+ // _RGBG means R, G1, B, G2 sequence
176
+ #define GRBG_2_RGBG(q) (q ^ (q >> 1) ^ 1)
177
+ #define RGGB_2_RGBG(q) (q ^ (q >> 1))
178
+ #define BG2RG1_2_RGBG(q) (q ^ 2)
179
+ #define G2BRG1_2_RGBG(q) (q ^ (q >> 1) ^ 3)
180
+ #define GRGB_2_RGBG(q) (q ^ 1)
181
+ #define RBGG_2_RGBG(q) ((q >> 1) | ((q & 1) << 1))
182
+
183
+ #define RAWINDEX(row, col) ((row)*raw_width + (col))
184
+ #define RAW(row, col) raw_image[(row)*raw_width + (col)]
185
+ #define BAYER(row, col) \
186
+ image[((row) >> shrink) * iwidth + ((col) >> shrink)][FC(row, col)]
187
+
188
+ #define BAYER2(row, col) \
189
+ image[((row) >> shrink) * iwidth + ((col) >> shrink)][fcol(row, col)]
190
+ #define BAYERC(row, col, c) \
191
+ imgdata.image[((row) >> IO.shrink) * S.iwidth + ((col) >> IO.shrink)][c]
192
+
193
+ #endif
@@ -0,0 +1,27 @@
1
+ /* -*- C++ -*-
2
+ * Copyright 2019-2021 LibRaw LLC (info@libraw.org)
3
+ *
4
+
5
+ LibRaw is free software; you can redistribute it and/or modify
6
+ it under the terms of the one of two licenses as you choose:
7
+
8
+ 1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1
9
+ (See file LICENSE.LGPL provided in LibRaw distribution archive for details).
10
+
11
+ 2. COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
12
+ (See file LICENSE.CDDL provided in LibRaw distribution archive for details).
13
+
14
+ */
15
+
16
+ #ifndef DMP_INCLUDE_H
17
+ #define DMP_INCLUDE_H
18
+
19
+ #define LIBRAW_LIBRARY_BUILD
20
+ #define LIBRAW_IO_REDEFINED
21
+ #include "libraw/libraw.h"
22
+ #include "internal/defines.h"
23
+ #define SRC_USES_SHRINK
24
+ #define SRC_USES_BLACK
25
+ #define SRC_USES_CURVE
26
+
27
+ #endif
@@ -0,0 +1,320 @@
1
+ /* -*- C++ -*-
2
+ * File: internal/libraw_cameraids.h
3
+ * Copyright 2008-2021 LibRaw LLC (info@libraw.org)
4
+ * Created: Sat Aug 17, 2020
5
+
6
+ LibRaw is free software; you can redistribute it and/or modify
7
+ it under the terms of the one of two licenses as you choose:
8
+
9
+ 1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1
10
+ (See file LICENSE.LGPL provided in LibRaw distribution archive for details).
11
+
12
+ 2. COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
13
+ (See file LICENSE.CDDL provided in LibRaw distribution archive for details).
14
+
15
+ */
16
+
17
+ #ifndef LIBRAW_CONST_H
18
+ #define LIBRAW_CONST_H
19
+
20
+ #define CanonID_EOS_M50 0x00000412ULL
21
+ #define CanonID_EOS_M6_Mark_II 0x00000811ULL
22
+ #define CanonID_EOS_M200 0x00000812ULL
23
+ #define CanonID_EOS_D30 0x01140000ULL
24
+ #define CanonID_EOS_D60 0x01668000ULL
25
+ #define CanonID_EOS_M3 0x03740000ULL
26
+ #define CanonID_EOS_M10 0x03840000ULL
27
+ #define CanonID_EOS_M5 0x03940000ULL
28
+ #define CanonID_EOS_M100 0x03980000ULL
29
+ #define CanonID_EOS_M6 0x04070000ULL
30
+ #define CanonID_EOS_1D (0x80000000ULL + 0x001ULL)
31
+ #define CanonID_EOS_1Ds (0x80000000ULL + 0x167ULL)
32
+ #define CanonID_EOS_10D (0x80000000ULL + 0x168ULL)
33
+ #define CanonID_EOS_1D_Mark_III (0x80000000ULL + 0x169ULL)
34
+ #define CanonID_EOS_300D (0x80000000ULL + 0x170ULL)
35
+ #define CanonID_EOS_1D_Mark_II (0x80000000ULL + 0x174ULL)
36
+ #define CanonID_EOS_20D (0x80000000ULL + 0x175ULL)
37
+ #define CanonID_EOS_450D (0x80000000ULL + 0x176ULL)
38
+ #define CanonID_EOS_1Ds_Mark_II (0x80000000ULL + 0x188ULL)
39
+ #define CanonID_EOS_350D (0x80000000ULL + 0x189ULL)
40
+ #define CanonID_EOS_40D (0x80000000ULL + 0x190ULL)
41
+ #define CanonID_EOS_5D (0x80000000ULL + 0x213ULL)
42
+ #define CanonID_EOS_1Ds_Mark_III (0x80000000ULL + 0x215ULL)
43
+ #define CanonID_EOS_5D_Mark_II (0x80000000ULL + 0x218ULL)
44
+ #define CanonID_EOS_1D_Mark_II_N (0x80000000ULL + 0x232ULL)
45
+ #define CanonID_EOS_30D (0x80000000ULL + 0x234ULL)
46
+ #define CanonID_EOS_400D (0x80000000ULL + 0x236ULL)
47
+ #define CanonID_EOS_7D (0x80000000ULL + 0x250ULL)
48
+ #define CanonID_EOS_500D (0x80000000ULL + 0x252ULL)
49
+ #define CanonID_EOS_1000D (0x80000000ULL + 0x254ULL)
50
+ #define CanonID_EOS_50D (0x80000000ULL + 0x261ULL)
51
+ #define CanonID_EOS_1D_X (0x80000000ULL + 0x269ULL)
52
+ #define CanonID_EOS_550D (0x80000000ULL + 0x270ULL)
53
+ #define CanonID_EOS_1D_Mark_IV (0x80000000ULL + 0x281ULL)
54
+ #define CanonID_EOS_5D_Mark_III (0x80000000ULL + 0x285ULL)
55
+ #define CanonID_EOS_600D (0x80000000ULL + 0x286ULL)
56
+ #define CanonID_EOS_60D (0x80000000ULL + 0x287ULL)
57
+ #define CanonID_EOS_1100D (0x80000000ULL + 0x288ULL)
58
+ #define CanonID_EOS_7D_Mark_II (0x80000000ULL + 0x289ULL)
59
+ #define CanonID_EOS_650D (0x80000000ULL + 0x301ULL)
60
+ #define CanonID_EOS_6D (0x80000000ULL + 0x302ULL)
61
+ #define CanonID_EOS_1D_C (0x80000000ULL + 0x324ULL)
62
+ #define CanonID_EOS_70D (0x80000000ULL + 0x325ULL)
63
+ #define CanonID_EOS_700D (0x80000000ULL + 0x326ULL)
64
+ #define CanonID_EOS_1200D (0x80000000ULL + 0x327ULL)
65
+ #define CanonID_EOS_1D_X_Mark_II (0x80000000ULL + 0x328ULL)
66
+ #define CanonID_EOS_M (0x80000000ULL + 0x331ULL)
67
+ #define CanonID_EOS_100D (0x80000000ULL + 0x346ULL)
68
+ #define CanonID_EOS_760D (0x80000000ULL + 0x347ULL)
69
+ #define CanonID_EOS_5D_Mark_IV (0x80000000ULL + 0x349ULL)
70
+ #define CanonID_EOS_80D (0x80000000ULL + 0x350ULL)
71
+ #define CanonID_EOS_M2 (0x80000000ULL + 0x355ULL)
72
+ #define CanonID_EOS_5DS (0x80000000ULL + 0x382ULL)
73
+ #define CanonID_EOS_750D (0x80000000ULL + 0x393ULL)
74
+ #define CanonID_EOS_5DS_R (0x80000000ULL + 0x401ULL)
75
+ #define CanonID_EOS_1300D (0x80000000ULL + 0x404ULL)
76
+ #define CanonID_EOS_800D (0x80000000ULL + 0x405ULL)
77
+ #define CanonID_EOS_6D_Mark_II (0x80000000ULL + 0x406ULL)
78
+ #define CanonID_EOS_77D (0x80000000ULL + 0x408ULL)
79
+ #define CanonID_EOS_200D (0x80000000ULL + 0x417ULL)
80
+ #define CanonID_EOS_R5 (0x80000000ULL + 0x421ULL)
81
+ #define CanonID_EOS_3000D (0x80000000ULL + 0x422ULL)
82
+ #define CanonID_EOS_R (0x80000000ULL + 0x424ULL)
83
+ #define CanonID_EOS_1D_X_Mark_III (0x80000000ULL + 0x428ULL)
84
+ #define CanonID_EOS_1500D (0x80000000ULL + 0x432ULL)
85
+ #define CanonID_EOS_RP (0x80000000ULL + 0x433ULL)
86
+ #define CanonID_EOS_850D (0x80000000ULL + 0x435ULL)
87
+ #define CanonID_EOS_250D (0x80000000ULL + 0x436ULL)
88
+ #define CanonID_EOS_90D (0x80000000ULL + 0x437ULL)
89
+ #define CanonID_EOS_R3 (0x80000000ULL + 0x450ULL)
90
+ #define CanonID_EOS_R6 (0x80000000ULL + 0x453ULL)
91
+ #define CanonID_EOS_R7 (0x80000000ULL + 0x464ULL)
92
+ #define CanonID_EOS_R10 (0x80000000ULL + 0x465ULL)
93
+ #define CanonID_EOS_M50_Mark_II (0x80000000ULL + 0x468ULL)
94
+
95
+ // CanonID_EOS_D2000C after Canon's TIFF2CR2 convertor:
96
+ #define CanonID_EOS_D2000C (0x80000000ULL + 0x520ULL)
97
+ // CanonID_EOS_D6000C id after Canon's TIFF2CR2 convertor:
98
+ #define CanonID_EOS_D6000C (0x80000000ULL + 0x560ULL)
99
+
100
+ #define OlyID_str2hex(str) ((unsigned long long)str[0]<<32 | str[1]<<24 | str[2]<<16 | str[3]<<8 | str[4])
101
+ #define OlyID_E_20 OlyID_str2hex("D4029")
102
+ #define OlyID_E_1 OlyID_str2hex("D4040")
103
+ #define OlyID_E_300 OlyID_str2hex("D4041")
104
+ #define OlyID_SP_550UZ OlyID_str2hex("D4321")
105
+ #define OlyID_SP_510UZ OlyID_str2hex("D4322")
106
+ #define OlyID_SP_560UZ OlyID_str2hex("D4355")
107
+ #define OlyID_SP_570UZ OlyID_str2hex("D4364")
108
+ #define OlyID_SP_565UZ OlyID_str2hex("D4374")
109
+ #define OlyID_XZ_1 OlyID_str2hex("D4401")
110
+ #define OlyID_XZ_2 OlyID_str2hex("D4531")
111
+ #define OlyID_XZ_10 OlyID_str2hex("D4546")
112
+ #define OlyID_STYLUS_1 OlyID_str2hex("D4572")
113
+ #define OlyID_SH_2 OlyID_str2hex("D4585")
114
+ #define OlyID_TG_4 OlyID_str2hex("D4586")
115
+ #define OlyID_TG_5 OlyID_str2hex("D4593")
116
+ #define OlyID_TG_6 OlyID_str2hex("D4603")
117
+ #define OlyID_E_10 OlyID_str2hex("D4842")
118
+ #define OlyID_AIR_A01 OlyID_str2hex("K0055")
119
+ #define OlyID_NORMA OlyID_str2hex("NORMA")
120
+ #define OlyID_E_330 OlyID_str2hex("S0003")
121
+ #define OlyID_E_500 OlyID_str2hex("S0004")
122
+ #define OlyID_E_400 OlyID_str2hex("S0009")
123
+ #define OlyID_E_510 OlyID_str2hex("S0010")
124
+ #define OlyID_E_3 OlyID_str2hex("S0011")
125
+ #define OlyID_E_410 OlyID_str2hex("S0013")
126
+ #define OlyID_E_420 OlyID_str2hex("S0016")
127
+ #define OlyID_E_30 OlyID_str2hex("S0017")
128
+ #define OlyID_E_520 OlyID_str2hex("S0018")
129
+ #define OlyID_E_P1 OlyID_str2hex("S0019")
130
+ #define OlyID_E_620 OlyID_str2hex("S0023")
131
+ #define OlyID_E_P2 OlyID_str2hex("S0026")
132
+ #define OlyID_E_PL1 OlyID_str2hex("S0027")
133
+ #define OlyID_E_450 OlyID_str2hex("S0029")
134
+ #define OlyID_E_600 OlyID_str2hex("S0030")
135
+ #define OlyID_E_P3 OlyID_str2hex("S0032")
136
+ #define OlyID_E_5 OlyID_str2hex("S0033")
137
+ #define OlyID_E_PL2 OlyID_str2hex("S0034")
138
+ #define OlyID_E_M5 OlyID_str2hex("S0036")
139
+ #define OlyID_E_PL3 OlyID_str2hex("S0038")
140
+ #define OlyID_E_PM1 OlyID_str2hex("S0039")
141
+ #define OlyID_E_PL1s OlyID_str2hex("S0040")
142
+ #define OlyID_E_PL5 OlyID_str2hex("S0042")
143
+ #define OlyID_E_PM2 OlyID_str2hex("S0043")
144
+ #define OlyID_E_P5 OlyID_str2hex("S0044")
145
+ #define OlyID_E_PL6 OlyID_str2hex("S0045")
146
+ #define OlyID_E_PL7 OlyID_str2hex("S0046")
147
+ #define OlyID_E_M1 OlyID_str2hex("S0047")
148
+ #define OlyID_E_M10 OlyID_str2hex("S0051")
149
+ #define OlyID_E_M5_Mark_II OlyID_str2hex("S0052")
150
+ #define OlyID_E_M10_Mark_II OlyID_str2hex("S0059")
151
+ #define OlyID_PEN_F OlyID_str2hex("S0061")
152
+ #define OlyID_E_PL8 OlyID_str2hex("S0065")
153
+ #define OlyID_E_M1_Mark_II OlyID_str2hex("S0067")
154
+ #define OlyID_E_M10_Mark_III OlyID_str2hex("S0068")
155
+ #define OlyID_E_PL9 OlyID_str2hex("S0076")
156
+ #define OlyID_E_M1X OlyID_str2hex("S0080")
157
+ #define OlyID_E_PL10 OlyID_str2hex("S0085")
158
+ #define OlyID_E_M10_Mark_IV OlyID_str2hex("S0088")
159
+ #define OlyID_E_M5_Mark_III OlyID_str2hex("S0089")
160
+ #define OlyID_E_M1_Mark_III OlyID_str2hex("S0092")
161
+ #define OlyID_E_P7 OlyID_str2hex("S0093")
162
+ #define OlyID_OM_1 OlyID_str2hex("S0095")
163
+ #define OlyID_C_3030Z OlyID_str2hex("SX351")
164
+ #define OlyID_C_5050Z OlyID_str2hex("SX558")
165
+ #define OlyID_C_350Z OlyID_str2hex("SX751")
166
+ #define OlyID_C_740UZ OlyID_str2hex("SX754")
167
+ #define OlyID_C_5060WZ OlyID_str2hex("SX756")
168
+ #define OlyID_C_8080WZ OlyID_str2hex("SX757")
169
+ #define OlyID_C_770UZ OlyID_str2hex("SX772")
170
+ #define OlyID_C_7070WZ OlyID_str2hex("SX851")
171
+ #define OlyID_C_7000Z OlyID_str2hex("SX852")
172
+ #define OlyID_SP_500UZ OlyID_str2hex("SX853")
173
+ #define OlyID_SP_310 OlyID_str2hex("SX854")
174
+ #define OlyID_SP_350 OlyID_str2hex("SX855")
175
+ #define OlyID_SP_320 OlyID_str2hex("SX873")
176
+
177
+ #define PentaxID_Optio_S 0x1296cULL
178
+ #define PentaxID_Optio_S_V101 0x12971ULL
179
+ #define PentaxID_staristD 0x12994ULL
180
+ #define PentaxID_Optio_33WR 0x129c6ULL
181
+ #define PentaxID_Optio_S4 0x129d5ULL
182
+ #define PentaxID_Optio_750Z 0x12a66ULL
183
+ #define PentaxID_staristDS 0x12aa2ULL
184
+ #define PentaxID_staristDL 0x12b1aULL
185
+ #define PentaxID_staristDS2 0x12b60ULL
186
+ #define PentaxID_GX_1S 0x12b62ULL
187
+ #define PentaxID_staristDL2 0x12b7eULL
188
+ #define PentaxID_GX_1L 0x12b80ULL
189
+ #define PentaxID_K100D 0x12b9cULL
190
+ #define PentaxID_K110D 0x12b9dULL
191
+ #define PentaxID_K100D_Super 0x12ba2ULL
192
+ #define PentaxID_K10D 0x12c1eULL
193
+ #define PentaxID_GX10 0x12c20ULL
194
+ #define PentaxID_K20D 0x12cd2ULL
195
+ #define PentaxID_GX20 0x12cd4ULL
196
+ #define PentaxID_K200D 0x12cfaULL
197
+ #define PentaxID_K2000 0x12d72ULL
198
+ #define PentaxID_K_m 0x12d73ULL
199
+ #define PentaxID_K_7 0x12db8ULL
200
+ #define PentaxID_K_x 0x12dfeULL
201
+ #define PentaxID_645D 0x12e08ULL
202
+ #define PentaxID_K_r 0x12e6cULL
203
+ #define PentaxID_K_5 0x12e76ULL
204
+ #define PentaxID_Q 0x12ee4ULL
205
+ #define PentaxID_K_01 0x12ef8ULL
206
+ #define PentaxID_K_30 0x12f52ULL
207
+ #define PentaxID_Q10 0x12f66ULL
208
+ #define PentaxID_K_5_II 0x12f70ULL
209
+ #define PentaxID_K_5_II_s 0x12f71ULL
210
+ #define PentaxID_Q7 0x12f7aULL
211
+ #define PentaxID_MX_1 0x12f84ULL
212
+ #define PentaxID_K_50 0x12fb6ULL
213
+ #define PentaxID_K_3 0x12fc0ULL
214
+ #define PentaxID_K_500 0x12fcaULL
215
+ #define PentaxID_645Z 0x13010ULL
216
+ #define PentaxID_K_S1 0x1301aULL
217
+ #define PentaxID_K_S2 0x13024ULL
218
+ #define PentaxID_Q_S1 0x1302eULL
219
+ #define PentaxID_K_1 0x13092ULL
220
+ #define PentaxID_K_3_II 0x1309cULL
221
+ #define PentaxID_GR_III 0x1320eULL
222
+ #define PentaxID_K_70 0x13222ULL
223
+ #define PentaxID_KP 0x1322cULL
224
+ #define PentaxID_K_1_Mark_II 0x13240ULL
225
+ #define PentaxID_K_3_III 0x13254ULL
226
+ #define PentaxID_GR_IIIx 0x1329aULL
227
+
228
+ #define SonyID_DSC_R1 0x002ULL
229
+ #define SonyID_DSLR_A100 0x100ULL
230
+ #define SonyID_DSLR_A900 0x101ULL
231
+ #define SonyID_DSLR_A700 0x102ULL
232
+ #define SonyID_DSLR_A200 0x103ULL
233
+ #define SonyID_DSLR_A350 0x104ULL
234
+ #define SonyID_DSLR_A300 0x105ULL
235
+ #define SonyID_DSLR_A900_APSC 0x106ULL
236
+ #define SonyID_DSLR_A380 0x107ULL
237
+ #define SonyID_DSLR_A330 0x108ULL
238
+ #define SonyID_DSLR_A230 0x109ULL
239
+ #define SonyID_DSLR_A290 0x10aULL
240
+ #define SonyID_DSLR_A850 0x10dULL
241
+ #define SonyID_DSLR_A850_APSC 0x10eULL
242
+ #define SonyID_DSLR_A550 0x111ULL
243
+ #define SonyID_DSLR_A500 0x112ULL
244
+ #define SonyID_DSLR_A450 0x113ULL
245
+ #define SonyID_NEX_5 0x116ULL
246
+ #define SonyID_NEX_3 0x117ULL
247
+ #define SonyID_SLT_A33 0x118ULL
248
+ #define SonyID_SLT_A55 0x119ULL
249
+ #define SonyID_DSLR_A560 0x11aULL
250
+ #define SonyID_DSLR_A580 0x11bULL
251
+ #define SonyID_NEX_C3 0x11cULL
252
+ #define SonyID_SLT_A35 0x11dULL
253
+ #define SonyID_SLT_A65 0x11eULL
254
+ #define SonyID_SLT_A77 0x11fULL
255
+ #define SonyID_NEX_5N 0x120ULL
256
+ #define SonyID_NEX_7 0x121ULL
257
+ #define SonyID_NEX_VG20 0x122ULL
258
+ #define SonyID_SLT_A37 0x123ULL
259
+ #define SonyID_SLT_A57 0x124ULL
260
+ #define SonyID_NEX_F3 0x125ULL
261
+ #define SonyID_SLT_A99 0x126ULL
262
+ #define SonyID_NEX_6 0x127ULL
263
+ #define SonyID_NEX_5R 0x128ULL
264
+ #define SonyID_DSC_RX100 0x129ULL
265
+ #define SonyID_DSC_RX1 0x12aULL
266
+ #define SonyID_NEX_VG900 0x12bULL
267
+ #define SonyID_NEX_VG30 0x12cULL
268
+ #define SonyID_ILCE_3000 0x12eULL
269
+ #define SonyID_SLT_A58 0x12fULL
270
+ #define SonyID_NEX_3N 0x131ULL
271
+ #define SonyID_ILCE_7 0x132ULL
272
+ #define SonyID_NEX_5T 0x133ULL
273
+ #define SonyID_DSC_RX100M2 0x134ULL
274
+ #define SonyID_DSC_RX10 0x135ULL
275
+ #define SonyID_DSC_RX1R 0x136ULL
276
+ #define SonyID_ILCE_7R 0x137ULL
277
+ #define SonyID_ILCE_6000 0x138ULL
278
+ #define SonyID_ILCE_5000 0x139ULL
279
+ #define SonyID_DSC_RX100M3 0x13dULL
280
+ #define SonyID_ILCE_7S 0x13eULL
281
+ #define SonyID_ILCA_77M2 0x13fULL
282
+ #define SonyID_ILCE_5100 0x153ULL
283
+ #define SonyID_ILCE_7M2 0x154ULL
284
+ #define SonyID_DSC_RX100M4 0x155ULL
285
+ #define SonyID_DSC_RX10M2 0x156ULL
286
+ #define SonyID_DSC_RX1RM2 0x158ULL
287
+ #define SonyID_ILCE_QX1 0x15aULL
288
+ #define SonyID_ILCE_7RM2 0x15bULL
289
+ #define SonyID_ILCE_7SM2 0x15eULL
290
+ #define SonyID_ILCA_68 0x161ULL
291
+ #define SonyID_ILCA_99M2 0x162ULL
292
+ #define SonyID_DSC_RX10M3 0x163ULL
293
+ #define SonyID_DSC_RX100M5 0x164ULL
294
+ #define SonyID_ILCE_6300 0x165ULL
295
+ #define SonyID_ILCE_9 0x166ULL
296
+ #define SonyID_ILCE_6500 0x168ULL
297
+ #define SonyID_ILCE_7RM3 0x16aULL
298
+ #define SonyID_ILCE_7M3 0x16bULL
299
+ #define SonyID_DSC_RX0 0x16cULL
300
+ #define SonyID_DSC_RX10M4 0x16dULL
301
+ #define SonyID_DSC_RX100M6 0x16eULL
302
+ #define SonyID_DSC_HX99 0x16fULL
303
+ #define SonyID_DSC_RX100M5A 0x171ULL
304
+ #define SonyID_ILCE_6400 0x173ULL
305
+ #define SonyID_DSC_RX0M2 0x174ULL
306
+ #define SonyID_DSC_RX100M7 0x176ULL
307
+ #define SonyID_ILCE_7RM4 0x177ULL
308
+ #define SonyID_ILCE_9M2 0x178ULL
309
+ #define SonyID_ILCE_6600 0x17aULL
310
+ #define SonyID_ILCE_6100 0x17bULL
311
+ #define SonyID_ZV_1 0x17cULL
312
+ #define SonyID_ILCE_7C 0x17dULL
313
+ #define SonyID_ZV_E10 0x17eULL
314
+ #define SonyID_ILCE_7SM3 0x17fULL
315
+ #define SonyID_ILCE_1 0x180ULL
316
+ #define SonyID_ILME_FX3 0x181ULL
317
+ #define SonyID_ILCE_7RM3A 0x182ULL
318
+ #define SonyID_ILCE_7RM4A 0x183ULL
319
+ #define SonyID_ILCE_7M4 0x184ULL
320
+ #endif
@@ -0,0 +1,133 @@
1
+ /* -*- C++ -*-
2
+ * File: internal/libraw_cxx_defs.h
3
+ * Copyright 2008-2021 LibRaw LLC (info@libraw.org)
4
+ * Created: Sat Aug 17, 2020
5
+
6
+ LibRaw is free software; you can redistribute it and/or modify
7
+ it under the terms of the one of two licenses as you choose:
8
+
9
+ 1. GNU LESSER GENERAL PUBLIC LICENSE version 2.1
10
+ (See file LICENSE.LGPL provided in LibRaw distribution archive for details).
11
+
12
+ 2. COMMON DEVELOPMENT AND DISTRIBUTION LICENSE (CDDL) Version 1.0
13
+ (See file LICENSE.CDDL provided in LibRaw distribution archive for details).
14
+
15
+ */
16
+
17
+ #ifndef _LIBRAW_CXX_DEFS_H
18
+ #define _LIBRAW_CXX_DEFS_H
19
+
20
+ #include <math.h>
21
+ #include <errno.h>
22
+ #include <float.h>
23
+ #include <new>
24
+ #include <exception>
25
+ #include <sys/types.h>
26
+ #include <sys/stat.h>
27
+ #define LIBRAW_LIBRARY_BUILD
28
+ #include "libraw/libraw.h"
29
+ #include "internal/defines.h"
30
+ #ifdef USE_ZLIB
31
+ #include <zlib.h>
32
+ #endif
33
+
34
+ #ifndef LIBRAW_WIN32_CALLS
35
+ #include <netinet/in.h>
36
+ #else
37
+ #ifndef LIBRAW_NO_WINSOCK2
38
+ #include <winsock2.h>
39
+ #endif
40
+ #include <io.h>
41
+ #endif
42
+
43
+ #ifdef USE_RAWSPEED
44
+ #include <RawSpeed/StdAfx.h>
45
+ #include <RawSpeed/FileMap.h>
46
+ #include <RawSpeed/RawParser.h>
47
+ #include <RawSpeed/RawDecoder.h>
48
+ #include <RawSpeed/CameraMetaData.h>
49
+ #include <RawSpeed/ColorFilterArray.h>
50
+ extern const char *_rawspeed_data_xml[];
51
+ extern const int RAWSPEED_DATA_COUNT;
52
+ class CameraMetaDataLR : public RawSpeed::CameraMetaData
53
+ {
54
+ public:
55
+ CameraMetaDataLR() : CameraMetaData() {}
56
+ CameraMetaDataLR(char *filename) : RawSpeed::CameraMetaData(filename) {}
57
+ CameraMetaDataLR(char *data, int sz);
58
+ };
59
+
60
+ CameraMetaDataLR *make_camera_metadata();
61
+
62
+ #endif
63
+
64
+ #ifdef USE_DNGSDK
65
+ #include "dng_host.h"
66
+ #include "dng_negative.h"
67
+ #include "dng_simple_image.h"
68
+ #include "dng_info.h"
69
+ #endif
70
+
71
+ #define P1 imgdata.idata
72
+ #define S imgdata.sizes
73
+ #define O imgdata.params
74
+ #define C imgdata.color
75
+ #define T imgdata.thumbnail
76
+ #define MN imgdata.makernotes
77
+ #define IO libraw_internal_data.internal_output_params
78
+ #define ID libraw_internal_data.internal_data
79
+
80
+ #define makeIs(idx) (imgdata.idata.maker_index == idx)
81
+ #define mnCamID imgdata.lens.makernotes.CamID
82
+
83
+ #define EXCEPTION_HANDLER(e) \
84
+ do \
85
+ { \
86
+ switch (e) \
87
+ { \
88
+ case LIBRAW_EXCEPTION_MEMPOOL: \
89
+ recycle(); \
90
+ return LIBRAW_MEMPOOL_OVERFLOW; \
91
+ case LIBRAW_EXCEPTION_ALLOC: \
92
+ recycle(); \
93
+ return LIBRAW_UNSUFFICIENT_MEMORY; \
94
+ case LIBRAW_EXCEPTION_TOOBIG: \
95
+ recycle(); \
96
+ return LIBRAW_TOO_BIG; \
97
+ case LIBRAW_EXCEPTION_DECODE_RAW: \
98
+ case LIBRAW_EXCEPTION_DECODE_JPEG: \
99
+ recycle(); \
100
+ return LIBRAW_DATA_ERROR; \
101
+ case LIBRAW_EXCEPTION_DECODE_JPEG2000: \
102
+ recycle(); \
103
+ return LIBRAW_DATA_ERROR; \
104
+ case LIBRAW_EXCEPTION_IO_EOF: \
105
+ case LIBRAW_EXCEPTION_IO_CORRUPT: \
106
+ recycle(); \
107
+ return LIBRAW_IO_ERROR; \
108
+ case LIBRAW_EXCEPTION_CANCELLED_BY_CALLBACK: \
109
+ recycle(); \
110
+ return LIBRAW_CANCELLED_BY_CALLBACK; \
111
+ case LIBRAW_EXCEPTION_BAD_CROP: \
112
+ recycle(); \
113
+ return LIBRAW_BAD_CROP; \
114
+ case LIBRAW_EXCEPTION_UNSUPPORTED_FORMAT: \
115
+ recycle(); \
116
+ return LIBRAW_FILE_UNSUPPORTED; \
117
+ default: \
118
+ return LIBRAW_UNSPECIFIED_ERROR; \
119
+ } \
120
+ } while (0)
121
+
122
+ // copy-n-paste from image pipe
123
+ #define MIN(a, b) ((a) < (b) ? (a) : (b))
124
+ #define MAX(a, b) ((a) > (b) ? (a) : (b))
125
+ #define LIM(x, min, max) MAX(min, MIN(x, max))
126
+ #ifndef CLIP
127
+ #define CLIP(x) LIM(x, 0, 65535)
128
+ #endif
129
+ #define THUMB_READ_BEYOND 16384
130
+
131
+ #define ZERO(a) memset(&a, 0, sizeof(a))
132
+
133
+ #endif