├── .clang-format ├── .gitattributes ├── .gitignore ├── .gitmodules ├── .travis.yml ├── CMakeLists.txt ├── Gemfile ├── LICENSE_1_0.txt ├── README.md ├── _config.yml ├── appveyor.yml ├── bin ├── CMakeLists.txt ├── colorist-benchmark │ ├── CMakeLists.txt │ ├── benchmark.coffee │ └── main.c ├── colorist-test │ ├── CMakeLists.txt │ ├── main.c │ ├── main.h │ ├── test_coverage.c │ ├── test_io.c │ └── test_strings.c ├── colorist-yuv │ ├── CMakeLists.txt │ └── main.c └── colorist │ ├── CMakeLists.txt │ └── main.c ├── docs ├── Cookbook.md ├── Usage.md └── profiles │ ├── HDR_HD_ST2084.icc │ ├── HDR_P3_D65_ST2084.icc │ └── HDR_UHD_ST2084.icc ├── emscripten ├── colorist.js ├── index.html ├── post.js └── test.js ├── ext ├── CMakeLists.txt ├── cJSON │ ├── .github │ │ └── CONTRIBUTING.md │ ├── .gitignore │ ├── .travis.yml │ ├── CHANGELOG.md │ ├── CMakeLists.txt │ ├── CONTRIBUTORS.md │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── appveyor.yml │ ├── cJSON.c │ ├── cJSON.h │ ├── cJSON_Utils.c │ ├── cJSON_Utils.h │ ├── fuzzing │ │ ├── .gitignore │ │ ├── CMakeLists.txt │ │ ├── afl-prepare-linux.sh │ │ ├── afl.c │ │ ├── afl.sh │ │ ├── inputs │ │ │ ├── test1 │ │ │ ├── test10 │ │ │ ├── test11 │ │ │ ├── test2 │ │ │ ├── test3 │ │ │ ├── test3.bu │ │ │ ├── test3.uf │ │ │ ├── test3.uu │ │ │ ├── test4 │ │ │ ├── test5 │ │ │ ├── test6 │ │ │ ├── test7 │ │ │ ├── test8 │ │ │ └── test9 │ │ └── json.dict │ ├── library_config │ │ ├── cJSONConfig.cmake.in │ │ ├── cJSONConfigVersion.cmake.in │ │ ├── libcjson.pc.in │ │ └── libcjson_utils.pc.in │ ├── test.c │ ├── tests │ │ ├── CMakeLists.txt │ │ ├── cjson_add.c │ │ ├── common.h │ │ ├── compare_tests.c │ │ ├── inputs │ │ │ ├── test1 │ │ │ ├── test1.expected │ │ │ ├── test10 │ │ │ ├── test10.expected │ │ │ ├── test11 │ │ │ ├── test11.expected │ │ │ ├── test2 │ │ │ ├── test2.expected │ │ │ ├── test3 │ │ │ ├── test3.expected │ │ │ ├── test4 │ │ │ ├── test4.expected │ │ │ ├── test5 │ │ │ ├── test5.expected │ │ │ ├── test6 │ │ │ ├── test7 │ │ │ ├── test7.expected │ │ │ ├── test8 │ │ │ ├── test8.expected │ │ │ ├── test9 │ │ │ └── test9.expected │ │ ├── json-patch-tests │ │ │ ├── .editorconfig │ │ │ ├── .gitignore │ │ │ ├── .npmignore │ │ │ ├── README.md │ │ │ ├── cjson-utils-tests.json │ │ │ ├── package.json │ │ │ ├── spec_tests.json │ │ │ └── tests.json │ │ ├── json_patch_tests.c │ │ ├── misc_tests.c │ │ ├── misc_utils_tests.c │ │ ├── old_utils_tests.c │ │ ├── parse_array.c │ │ ├── parse_examples.c │ │ ├── parse_hex4.c │ │ ├── parse_number.c │ │ ├── parse_object.c │ │ ├── parse_string.c │ │ ├── parse_value.c │ │ ├── parse_with_opts.c │ │ ├── print_array.c │ │ ├── print_number.c │ │ ├── print_object.c │ │ ├── print_string.c │ │ ├── print_value.c │ │ ├── readme_examples.c │ │ └── unity │ │ │ ├── .gitattributes │ │ │ ├── .gitignore │ │ │ ├── .travis.yml │ │ │ ├── README.md │ │ │ ├── auto │ │ │ ├── colour_prompt.rb │ │ │ ├── colour_reporter.rb │ │ │ ├── generate_config.yml │ │ │ ├── generate_module.rb │ │ │ ├── generate_test_runner.rb │ │ │ ├── parse_output.rb │ │ │ ├── stylize_as_junit.rb │ │ │ ├── test_file_filter.rb │ │ │ ├── type_sanitizer.rb │ │ │ ├── unity_test_summary.py │ │ │ ├── unity_test_summary.rb │ │ │ └── unity_to_junit.py │ │ │ ├── docs │ │ │ ├── ThrowTheSwitchCodingStandard.md │ │ │ ├── UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf │ │ │ ├── UnityAssertionsReference.md │ │ │ ├── UnityConfigurationGuide.md │ │ │ ├── UnityGettingStartedGuide.md │ │ │ ├── UnityHelperScriptsGuide.md │ │ │ └── license.txt │ │ │ ├── examples │ │ │ ├── example_1 │ │ │ │ ├── makefile │ │ │ │ ├── readme.txt │ │ │ │ └── src │ │ │ │ │ ├── ProductionCode.c │ │ │ │ │ ├── ProductionCode.h │ │ │ │ │ ├── ProductionCode2.c │ │ │ │ │ └── ProductionCode2.h │ │ │ ├── example_2 │ │ │ │ ├── makefile │ │ │ │ ├── readme.txt │ │ │ │ └── src │ │ │ │ │ ├── ProductionCode.c │ │ │ │ │ ├── ProductionCode.h │ │ │ │ │ ├── ProductionCode2.c │ │ │ │ │ └── ProductionCode2.h │ │ │ ├── example_3 │ │ │ │ ├── helper │ │ │ │ │ ├── UnityHelper.c │ │ │ │ │ └── UnityHelper.h │ │ │ │ ├── rakefile.rb │ │ │ │ ├── rakefile_helper.rb │ │ │ │ ├── readme.txt │ │ │ │ ├── src │ │ │ │ │ ├── ProductionCode.c │ │ │ │ │ ├── ProductionCode.h │ │ │ │ │ ├── ProductionCode2.c │ │ │ │ │ └── ProductionCode2.h │ │ │ │ └── target_gcc_32.yml │ │ │ └── unity_config.h │ │ │ ├── extras │ │ │ ├── eclipse │ │ │ │ └── error_parsers.txt │ │ │ └── fixture │ │ │ │ ├── rakefile.rb │ │ │ │ ├── rakefile_helper.rb │ │ │ │ ├── readme.txt │ │ │ │ └── src │ │ │ │ ├── unity_fixture.c │ │ │ │ ├── unity_fixture.h │ │ │ │ ├── unity_fixture_internals.h │ │ │ │ └── unity_fixture_malloc_overrides.h │ │ │ ├── release │ │ │ ├── build.info │ │ │ └── version.info │ │ │ └── src │ │ │ ├── unity.c │ │ │ ├── unity.h │ │ │ └── unity_internals.h │ └── valgrind.supp ├── gb │ ├── gb_math.c │ └── gb_math.h ├── genHeader │ ├── CMakeLists.txt │ └── genHeader.c ├── jpeg │ ├── Makefile.am │ ├── Makefile.in │ ├── README │ ├── aclocal.m4 │ ├── ar-lib │ ├── cderror.h │ ├── cdjpeg.c │ ├── cdjpeg.h │ ├── change.log │ ├── cjpeg.1 │ ├── cjpeg.c │ ├── ckconfig.c │ ├── coderules.txt │ ├── config.guess │ ├── config.sub │ ├── configure │ ├── configure.ac │ ├── depcomp │ ├── djpeg.1 │ ├── djpeg.c │ ├── example.c │ ├── filelist.txt │ ├── install-sh │ ├── install.txt │ ├── jaricom.c │ ├── jcapimin.c │ ├── jcapistd.c │ ├── jcarith.c │ ├── jccoefct.c │ ├── jccolor.c │ ├── jcdctmgr.c │ ├── jchuff.c │ ├── jcinit.c │ ├── jcmainct.c │ ├── jcmarker.c │ ├── jcmaster.c │ ├── jcomapi.c │ ├── jconfig.bcc │ ├── jconfig.cfg │ ├── jconfig.dj │ ├── jconfig.h │ ├── jconfig.mac │ ├── jconfig.manx │ ├── jconfig.mc6 │ ├── jconfig.sas │ ├── jconfig.st │ ├── jconfig.txt │ ├── jconfig.vc │ ├── jconfig.vms │ ├── jconfig.wat │ ├── jcparam.c │ ├── jcprepct.c │ ├── jcsample.c │ ├── jctrans.c │ ├── jdapimin.c │ ├── jdapistd.c │ ├── jdarith.c │ ├── jdatadst.c │ ├── jdatasrc.c │ ├── jdcoefct.c │ ├── jdcolor.c │ ├── jdct.h │ ├── jddctmgr.c │ ├── jdhuff.c │ ├── jdinput.c │ ├── jdmainct.c │ ├── jdmarker.c │ ├── jdmaster.c │ ├── jdmerge.c │ ├── jdpostct.c │ ├── jdsample.c │ ├── jdtrans.c │ ├── jerror.c │ ├── jerror.h │ ├── jfdctflt.c │ ├── jfdctfst.c │ ├── jfdctint.c │ ├── jidctflt.c │ ├── jidctfst.c │ ├── jidctint.c │ ├── jinclude.h │ ├── jmemansi.c │ ├── jmemdos.c │ ├── jmemdosa.asm │ ├── jmemmac.c │ ├── jmemmgr.c │ ├── jmemname.c │ ├── jmemnobs.c │ ├── jmemsys.h │ ├── jmorecfg.h │ ├── jpegint.h │ ├── jpeglib.h │ ├── jpegtran.1 │ ├── jpegtran.c │ ├── jquant1.c │ ├── jquant2.c │ ├── jutils.c │ ├── jversion.h │ ├── libjpeg.map │ ├── libjpeg.txt │ ├── ltmain.sh │ ├── makcjpeg.st │ ├── makdjpeg.st │ ├── makeadsw.vc6 │ ├── makeasln.v10 │ ├── makecdep.vc6 │ ├── makecdsp.vc6 │ ├── makecfil.v10 │ ├── makecmak.vc6 │ ├── makecvcx.v10 │ ├── makeddep.vc6 │ ├── makeddsp.vc6 │ ├── makedfil.v10 │ ├── makedmak.vc6 │ ├── makedvcx.v10 │ ├── makefile.ansi │ ├── makefile.bcc │ ├── makefile.dj │ ├── makefile.manx │ ├── makefile.mc6 │ ├── makefile.mms │ ├── makefile.sas │ ├── makefile.unix │ ├── makefile.vc │ ├── makefile.vms │ ├── makefile.wat │ ├── makejdep.vc6 │ ├── makejdsp.vc6 │ ├── makejdsw.vc6 │ ├── makejfil.v10 │ ├── makejmak.vc6 │ ├── makejsln.v10 │ ├── makejvcx.v10 │ ├── makeproj.mac │ ├── makerdep.vc6 │ ├── makerdsp.vc6 │ ├── makerfil.v10 │ ├── makermak.vc6 │ ├── makervcx.v10 │ ├── maketdep.vc6 │ ├── maketdsp.vc6 │ ├── maketfil.v10 │ ├── maketmak.vc6 │ ├── maketvcx.v10 │ ├── makewdep.vc6 │ ├── makewdsp.vc6 │ ├── makewfil.v10 │ ├── makewmak.vc6 │ ├── makewvcx.v10 │ ├── makljpeg.st │ ├── maktjpeg.st │ ├── makvms.opt │ ├── missing │ ├── rdbmp.c │ ├── rdcolmap.c │ ├── rdgif.c │ ├── rdjpgcom.1 │ ├── rdjpgcom.c │ ├── rdppm.c │ ├── rdrle.c │ ├── rdswitch.c │ ├── rdtarga.c │ ├── structure.txt │ ├── testimg.bmp │ ├── testimg.jpg │ ├── testimg.ppm │ ├── testimgp.jpg │ ├── testorig.jpg │ ├── testprog.jpg │ ├── transupp.c │ ├── transupp.h │ ├── usage.txt │ ├── wizard.txt │ ├── wrbmp.c │ ├── wrgif.c │ ├── wrjpgcom.1 │ ├── wrjpgcom.c │ ├── wrppm.c │ ├── wrrle.c │ └── wrtarga.c ├── jxrlib │ ├── CMakeLists.txt │ ├── LICENSE │ ├── Makefile │ ├── README.md │ ├── bin │ │ ├── hdr2hdr.exe │ │ └── imagecomp.exe │ ├── common │ │ └── include │ │ │ ├── guiddef.h │ │ │ ├── wmsal.h │ │ │ ├── wmspecstring.h │ │ │ ├── wmspecstrings_adt.h │ │ │ ├── wmspecstrings_strict.h │ │ │ └── wmspecstrings_undef.h │ ├── doc │ │ ├── JPEGXR_DPK_Spec_1.0.doc │ │ └── readme.txt │ ├── image │ │ ├── decode │ │ │ ├── JXRTranscode.c │ │ │ ├── decode.c │ │ │ ├── decode.h │ │ │ ├── postprocess.c │ │ │ ├── segdec.c │ │ │ ├── strInvTransform.c │ │ │ ├── strPredQuantDec.c │ │ │ ├── strdec.c │ │ │ └── strdec_x86.c │ │ ├── encode │ │ │ ├── encode.c │ │ │ ├── encode.h │ │ │ ├── segenc.c │ │ │ ├── strFwdTransform.c │ │ │ ├── strPredQuantEnc.c │ │ │ ├── strenc.c │ │ │ └── strenc_x86.c │ │ ├── sys │ │ │ ├── adapthuff.c │ │ │ ├── ansi.h │ │ │ ├── common.h │ │ │ ├── image.c │ │ │ ├── perfTimer.h │ │ │ ├── perfTimerANSI.c │ │ │ ├── strPredQuant.c │ │ │ ├── strTransform.c │ │ │ ├── strTransform.h │ │ │ ├── strcodec.c │ │ │ ├── strcodec.h │ │ │ ├── windowsmediaphoto.h │ │ │ └── xplatform_image.h │ │ ├── vc11projects │ │ │ ├── CommonLib_vc11.vcxproj │ │ │ ├── DecodeLib_vc11.vcxproj │ │ │ └── EncodeLib_vc11.vcxproj │ │ ├── vc12projects │ │ │ ├── CommonLib_vc12.vcxproj │ │ │ ├── DecodeLib_vc12.vcxproj │ │ │ └── EncodeLib_vc12.vcxproj │ │ ├── vc14projects │ │ │ ├── CommonLib_vc14.vcxproj │ │ │ ├── DecodeLib_vc14.vcxproj │ │ │ └── EncodeLib_vc14.vcxproj │ │ └── x86 │ │ │ └── x86.h │ ├── jxrencoderdecoder │ │ ├── JXRDec420.c │ │ ├── JXRDec420_vc11.vcxproj │ │ ├── JXRDec420_vc12.vcxproj │ │ ├── JXRDec420_vc14.vcxproj │ │ ├── JXRDecApp_vc11.vcxproj │ │ ├── JXRDecApp_vc12.vcxproj │ │ ├── JXRDecApp_vc14.vcxproj │ │ ├── JXREnc420_vc11.vcxproj │ │ ├── JXREnc420_vc12.vcxproj │ │ ├── JXREnc420_vc14.vcxproj │ │ ├── JXREncApp_vc11.vcxproj │ │ ├── JXREncApp_vc12.vcxproj │ │ ├── JXREncApp_vc14.vcxproj │ │ ├── JXR_vc11.sln │ │ ├── JXR_vc12.sln │ │ ├── JXR_vc14.sln │ │ ├── JxrDecApp.c │ │ ├── JxrEnc420.c │ │ └── JxrEncApp.c │ ├── jxrgluelib │ │ ├── JXRGlue.c │ │ ├── JXRGlue.h │ │ ├── JXRGlueJxr.c │ │ ├── JXRGlueLib_vc11.vcxproj │ │ ├── JXRGlueLib_vc12.vcxproj │ │ ├── JXRGlueLib_vc14.vcxproj │ │ ├── JXRGluePFC.c │ │ ├── JXRMeta.c │ │ └── JXRMeta.h │ ├── jxrtestlib │ │ ├── JXRTest.c │ │ ├── JXRTest.h │ │ ├── JXRTestBmp.c │ │ ├── JXRTestHdr.c │ │ ├── JXRTestLib_vc11.vcxproj │ │ ├── JXRTestLib_vc12.vcxproj │ │ ├── JXRTestLib_vc14.vcxproj │ │ ├── JXRTestPnm.c │ │ ├── JXRTestTif.c │ │ └── JXRTestYUV.c │ └── libjxr.pc.in ├── libjpeg-turbo │ ├── BUILDING.md │ ├── Brewfile │ ├── CMakeLists.txt │ ├── ChangeLog.md │ ├── LICENSE.md │ ├── README.ijg │ ├── README.md │ ├── cderror.h │ ├── cdjpeg.c │ ├── cdjpeg.h │ ├── change.log │ ├── cjpeg.1 │ ├── cjpeg.c │ ├── cmakescripts │ │ ├── BuildPackages.cmake │ │ ├── GNUInstallDirs.cmake │ │ ├── cmake_uninstall.cmake.in │ │ └── testclean.cmake │ ├── cmyk.h │ ├── coderules.txt │ ├── djpeg.1 │ ├── djpeg.c │ ├── doc │ │ └── html │ │ │ ├── annotated.html │ │ │ ├── bc_s.png │ │ │ ├── bdwn.png │ │ │ ├── classes.html │ │ │ ├── closed.png │ │ │ ├── doxygen-extra.css │ │ │ ├── doxygen.css │ │ │ ├── doxygen.png │ │ │ ├── dynsections.js │ │ │ ├── ftv2blank.png │ │ │ ├── ftv2cl.png │ │ │ ├── ftv2doc.png │ │ │ ├── ftv2folderclosed.png │ │ │ ├── ftv2folderopen.png │ │ │ ├── ftv2lastnode.png │ │ │ ├── ftv2link.png │ │ │ ├── ftv2mlastnode.png │ │ │ ├── ftv2mnode.png │ │ │ ├── ftv2mo.png │ │ │ ├── ftv2node.png │ │ │ ├── ftv2ns.png │ │ │ ├── ftv2plastnode.png │ │ │ ├── ftv2pnode.png │ │ │ ├── ftv2splitbar.png │ │ │ ├── ftv2vertline.png │ │ │ ├── functions.html │ │ │ ├── functions_vars.html │ │ │ ├── group___turbo_j_p_e_g.html │ │ │ ├── index.html │ │ │ ├── jquery.js │ │ │ ├── modules.html │ │ │ ├── nav_f.png │ │ │ ├── nav_g.png │ │ │ ├── nav_h.png │ │ │ ├── open.png │ │ │ ├── search │ │ │ ├── all_63.html │ │ │ ├── all_63.js │ │ │ ├── all_64.html │ │ │ ├── all_64.js │ │ │ ├── all_68.html │ │ │ ├── all_68.js │ │ │ ├── all_6e.html │ │ │ ├── all_6e.js │ │ │ ├── all_6f.html │ │ │ ├── all_6f.js │ │ │ ├── all_72.html │ │ │ ├── all_72.js │ │ │ ├── all_74.html │ │ │ ├── all_74.js │ │ │ ├── all_77.html │ │ │ ├── all_77.js │ │ │ ├── all_78.html │ │ │ ├── all_78.js │ │ │ ├── all_79.html │ │ │ ├── all_79.js │ │ │ ├── classes_74.html │ │ │ ├── classes_74.js │ │ │ ├── close.png │ │ │ ├── enums_74.html │ │ │ ├── enums_74.js │ │ │ ├── enumvalues_74.html │ │ │ ├── enumvalues_74.js │ │ │ ├── functions_74.html │ │ │ ├── functions_74.js │ │ │ ├── groups_74.html │ │ │ ├── groups_74.js │ │ │ ├── mag_sel.png │ │ │ ├── nomatches.html │ │ │ ├── search.css │ │ │ ├── search.js │ │ │ ├── search_l.png │ │ │ ├── search_m.png │ │ │ ├── search_r.png │ │ │ ├── typedefs_74.html │ │ │ ├── typedefs_74.js │ │ │ ├── variables_63.html │ │ │ ├── variables_63.js │ │ │ ├── variables_64.html │ │ │ ├── variables_64.js │ │ │ ├── variables_68.html │ │ │ ├── variables_68.js │ │ │ ├── variables_6e.html │ │ │ ├── variables_6e.js │ │ │ ├── variables_6f.html │ │ │ ├── variables_6f.js │ │ │ ├── variables_72.html │ │ │ ├── variables_72.js │ │ │ ├── variables_74.html │ │ │ ├── variables_74.js │ │ │ ├── variables_77.html │ │ │ ├── variables_77.js │ │ │ ├── variables_78.html │ │ │ ├── variables_78.js │ │ │ ├── variables_79.html │ │ │ └── variables_79.js │ │ │ ├── structtjregion.html │ │ │ ├── structtjscalingfactor.html │ │ │ ├── structtjtransform.html │ │ │ ├── sync_off.png │ │ │ ├── sync_on.png │ │ │ ├── tab_a.png │ │ │ ├── tab_b.png │ │ │ ├── tab_h.png │ │ │ ├── tab_s.png │ │ │ └── tabs.css │ ├── doxygen-extra.css │ ├── doxygen.config │ ├── example.txt │ ├── jaricom.c │ ├── java │ │ ├── CMakeLists.txt │ │ ├── MANIFEST.MF │ │ ├── README │ │ ├── TJBench.java │ │ ├── TJExample.java │ │ ├── TJUnitTest.java │ │ ├── doc │ │ │ ├── allclasses-frame.html │ │ │ ├── allclasses-noframe.html │ │ │ ├── constant-values.html │ │ │ ├── deprecated-list.html │ │ │ ├── help-doc.html │ │ │ ├── index-all.html │ │ │ ├── index.html │ │ │ ├── org │ │ │ │ └── libjpegturbo │ │ │ │ │ └── turbojpeg │ │ │ │ │ ├── TJ.html │ │ │ │ │ ├── TJCompressor.html │ │ │ │ │ ├── TJCustomFilter.html │ │ │ │ │ ├── TJDecompressor.html │ │ │ │ │ ├── TJException.html │ │ │ │ │ ├── TJScalingFactor.html │ │ │ │ │ ├── TJTransform.html │ │ │ │ │ ├── TJTransformer.html │ │ │ │ │ ├── YUVImage.html │ │ │ │ │ ├── package-frame.html │ │ │ │ │ ├── package-summary.html │ │ │ │ │ └── package-tree.html │ │ │ ├── overview-tree.html │ │ │ ├── package-list │ │ │ ├── resources │ │ │ │ ├── background.gif │ │ │ │ ├── tab.gif │ │ │ │ ├── titlebar.gif │ │ │ │ └── titlebar_end.gif │ │ │ ├── script.js │ │ │ ├── serialized-form.html │ │ │ └── stylesheet.css │ │ ├── org │ │ │ └── libjpegturbo │ │ │ │ └── turbojpeg │ │ │ │ ├── TJ.java │ │ │ │ ├── TJCompressor.java │ │ │ │ ├── TJCustomFilter.java │ │ │ │ ├── TJDecompressor.java │ │ │ │ ├── TJException.java │ │ │ │ ├── TJLoader-unix.java.in │ │ │ │ ├── TJLoader-win.java.in │ │ │ │ ├── TJScalingFactor.java │ │ │ │ ├── TJTransform.java │ │ │ │ ├── TJTransformer.java │ │ │ │ └── YUVImage.java │ │ ├── org_libjpegturbo_turbojpeg_TJ.h │ │ ├── org_libjpegturbo_turbojpeg_TJCompressor.h │ │ ├── org_libjpegturbo_turbojpeg_TJDecompressor.h │ │ └── org_libjpegturbo_turbojpeg_TJTransformer.h │ ├── jcapimin.c │ ├── jcapistd.c │ ├── jcarith.c │ ├── jccoefct.c │ ├── jccolext.c │ ├── jccolor.c │ ├── jcdctmgr.c │ ├── jchuff.c │ ├── jchuff.h │ ├── jcicc.c │ ├── jcinit.c │ ├── jcmainct.c │ ├── jcmarker.c │ ├── jcmaster.c │ ├── jcomapi.c │ ├── jconfig.h.in │ ├── jconfig.txt │ ├── jconfigint.h.in │ ├── jcparam.c │ ├── jcphuff.c │ ├── jcprepct.c │ ├── jcsample.c │ ├── jcstest.c │ ├── jctrans.c │ ├── jdapimin.c │ ├── jdapistd.c │ ├── jdarith.c │ ├── jdatadst-tj.c │ ├── jdatadst.c │ ├── jdatasrc-tj.c │ ├── jdatasrc.c │ ├── jdcoefct.c │ ├── jdcoefct.h │ ├── jdcol565.c │ ├── jdcolext.c │ ├── jdcolor.c │ ├── jdct.h │ ├── jddctmgr.c │ ├── jdhuff.c │ ├── jdhuff.h │ ├── jdicc.c │ ├── jdinput.c │ ├── jdmainct.c │ ├── jdmainct.h │ ├── jdmarker.c │ ├── jdmaster.c │ ├── jdmaster.h │ ├── jdmerge.c │ ├── jdmrg565.c │ ├── jdmrgext.c │ ├── jdphuff.c │ ├── jdpostct.c │ ├── jdsample.c │ ├── jdsample.h │ ├── jdtrans.c │ ├── jerror.c │ ├── jerror.h │ ├── jfdctflt.c │ ├── jfdctfst.c │ ├── jfdctint.c │ ├── jidctflt.c │ ├── jidctfst.c │ ├── jidctint.c │ ├── jidctred.c │ ├── jinclude.h │ ├── jmemmgr.c │ ├── jmemnobs.c │ ├── jmemsys.h │ ├── jmorecfg.h │ ├── jpeg_nbits_table.h │ ├── jpegcomp.h │ ├── jpegint.h │ ├── jpeglib.h │ ├── jpegtran.1 │ ├── jpegtran.c │ ├── jquant1.c │ ├── jquant2.c │ ├── jsimd.h │ ├── jsimd_none.c │ ├── jsimddct.h │ ├── jstdhuff.c │ ├── jutils.c │ ├── jversion.h │ ├── libjpeg.map.in │ ├── libjpeg.txt │ ├── md5 │ │ ├── CMakeLists.txt │ │ ├── md5.c │ │ ├── md5.h │ │ ├── md5cmp.c │ │ └── md5hl.c │ ├── rdbmp.c │ ├── rdcolmap.c │ ├── rdgif.c │ ├── rdjpgcom.1 │ ├── rdjpgcom.c │ ├── rdppm.c │ ├── rdrle.c │ ├── rdswitch.c │ ├── rdtarga.c │ ├── release │ │ ├── Distribution.xml.in │ │ ├── License.rtf │ │ ├── ReadMe.txt │ │ ├── Welcome.rtf │ │ ├── deb-control.in │ │ ├── installer.nsi.in │ │ ├── libjpeg.pc.in │ │ ├── libturbojpeg.pc.in │ │ ├── makecygwinpkg.in │ │ ├── makedpkg.in │ │ ├── makemacpkg.in │ │ ├── makerpm.in │ │ ├── makesrpm.in │ │ ├── maketarball.in │ │ ├── rpm.spec.in │ │ └── uninstall.in │ ├── sharedlib │ │ └── CMakeLists.txt │ ├── simd │ │ ├── CMakeLists.txt │ │ ├── arm │ │ │ ├── jsimd.c │ │ │ └── jsimd_neon.S │ │ ├── arm64 │ │ │ ├── jsimd.c │ │ │ └── jsimd_neon.S │ │ ├── gas-preprocessor.in │ │ ├── i386 │ │ │ ├── jccolext-avx2.asm │ │ │ ├── jccolext-mmx.asm │ │ │ ├── jccolext-sse2.asm │ │ │ ├── jccolor-avx2.asm │ │ │ ├── jccolor-mmx.asm │ │ │ ├── jccolor-sse2.asm │ │ │ ├── jcgray-avx2.asm │ │ │ ├── jcgray-mmx.asm │ │ │ ├── jcgray-sse2.asm │ │ │ ├── jcgryext-avx2.asm │ │ │ ├── jcgryext-mmx.asm │ │ │ ├── jcgryext-sse2.asm │ │ │ ├── jchuff-sse2.asm │ │ │ ├── jcphuff-sse2.asm │ │ │ ├── jcsample-avx2.asm │ │ │ ├── jcsample-mmx.asm │ │ │ ├── jcsample-sse2.asm │ │ │ ├── jdcolext-avx2.asm │ │ │ ├── jdcolext-mmx.asm │ │ │ ├── jdcolext-sse2.asm │ │ │ ├── jdcolor-avx2.asm │ │ │ ├── jdcolor-mmx.asm │ │ │ ├── jdcolor-sse2.asm │ │ │ ├── jdmerge-avx2.asm │ │ │ ├── jdmerge-mmx.asm │ │ │ ├── jdmerge-sse2.asm │ │ │ ├── jdmrgext-avx2.asm │ │ │ ├── jdmrgext-mmx.asm │ │ │ ├── jdmrgext-sse2.asm │ │ │ ├── jdsample-avx2.asm │ │ │ ├── jdsample-mmx.asm │ │ │ ├── jdsample-sse2.asm │ │ │ ├── jfdctflt-3dn.asm │ │ │ ├── jfdctflt-sse.asm │ │ │ ├── jfdctfst-mmx.asm │ │ │ ├── jfdctfst-sse2.asm │ │ │ ├── jfdctint-avx2.asm │ │ │ ├── jfdctint-mmx.asm │ │ │ ├── jfdctint-sse2.asm │ │ │ ├── jidctflt-3dn.asm │ │ │ ├── jidctflt-sse.asm │ │ │ ├── jidctflt-sse2.asm │ │ │ ├── jidctfst-mmx.asm │ │ │ ├── jidctfst-sse2.asm │ │ │ ├── jidctint-avx2.asm │ │ │ ├── jidctint-mmx.asm │ │ │ ├── jidctint-sse2.asm │ │ │ ├── jidctred-mmx.asm │ │ │ ├── jidctred-sse2.asm │ │ │ ├── jquant-3dn.asm │ │ │ ├── jquant-mmx.asm │ │ │ ├── jquant-sse.asm │ │ │ ├── jquantf-sse2.asm │ │ │ ├── jquanti-avx2.asm │ │ │ ├── jquanti-sse2.asm │ │ │ ├── jsimd.c │ │ │ └── jsimdcpu.asm │ │ ├── jsimd.h │ │ ├── loongson │ │ │ ├── jccolext-mmi.c │ │ │ ├── jccolor-mmi.c │ │ │ ├── jcsample-mmi.c │ │ │ ├── jcsample.h │ │ │ ├── jdcolext-mmi.c │ │ │ ├── jdcolor-mmi.c │ │ │ ├── jdsample-mmi.c │ │ │ ├── jfdctint-mmi.c │ │ │ ├── jidctint-mmi.c │ │ │ ├── jquanti-mmi.c │ │ │ ├── jsimd.c │ │ │ ├── jsimd_mmi.h │ │ │ └── loongson-mmintrin.h │ │ ├── mips │ │ │ ├── jsimd.c │ │ │ ├── jsimd_dspr2.S │ │ │ └── jsimd_dspr2_asm.h │ │ ├── nasm │ │ │ ├── jcolsamp.inc │ │ │ ├── jdct.inc │ │ │ ├── jpeg_nbits_table.inc │ │ │ ├── jsimdcfg.inc │ │ │ ├── jsimdcfg.inc.h │ │ │ └── jsimdext.inc │ │ ├── powerpc │ │ │ ├── jccolext-altivec.c │ │ │ ├── jccolor-altivec.c │ │ │ ├── jcgray-altivec.c │ │ │ ├── jcgryext-altivec.c │ │ │ ├── jcsample-altivec.c │ │ │ ├── jcsample.h │ │ │ ├── jdcolext-altivec.c │ │ │ ├── jdcolor-altivec.c │ │ │ ├── jdmerge-altivec.c │ │ │ ├── jdmrgext-altivec.c │ │ │ ├── jdsample-altivec.c │ │ │ ├── jfdctfst-altivec.c │ │ │ ├── jfdctint-altivec.c │ │ │ ├── jidctfst-altivec.c │ │ │ ├── jidctint-altivec.c │ │ │ ├── jquanti-altivec.c │ │ │ ├── jsimd.c │ │ │ └── jsimd_altivec.h │ │ └── x86_64 │ │ │ ├── jccolext-avx2.asm │ │ │ ├── jccolext-sse2.asm │ │ │ ├── jccolor-avx2.asm │ │ │ ├── jccolor-sse2.asm │ │ │ ├── jcgray-avx2.asm │ │ │ ├── jcgray-sse2.asm │ │ │ ├── jcgryext-avx2.asm │ │ │ ├── jcgryext-sse2.asm │ │ │ ├── jchuff-sse2.asm │ │ │ ├── jcphuff-sse2.asm │ │ │ ├── jcsample-avx2.asm │ │ │ ├── jcsample-sse2.asm │ │ │ ├── jdcolext-avx2.asm │ │ │ ├── jdcolext-sse2.asm │ │ │ ├── jdcolor-avx2.asm │ │ │ ├── jdcolor-sse2.asm │ │ │ ├── jdmerge-avx2.asm │ │ │ ├── jdmerge-sse2.asm │ │ │ ├── jdmrgext-avx2.asm │ │ │ ├── jdmrgext-sse2.asm │ │ │ ├── jdsample-avx2.asm │ │ │ ├── jdsample-sse2.asm │ │ │ ├── jfdctflt-sse.asm │ │ │ ├── jfdctfst-sse2.asm │ │ │ ├── jfdctint-avx2.asm │ │ │ ├── jfdctint-sse2.asm │ │ │ ├── jidctflt-sse2.asm │ │ │ ├── jidctfst-sse2.asm │ │ │ ├── jidctint-avx2.asm │ │ │ ├── jidctint-sse2.asm │ │ │ ├── jidctred-sse2.asm │ │ │ ├── jquantf-sse2.asm │ │ │ ├── jquanti-avx2.asm │ │ │ ├── jquanti-sse2.asm │ │ │ ├── jsimd.c │ │ │ └── jsimdcpu.asm │ ├── structure.txt │ ├── testimages │ │ ├── nightshot_iso_100.bmp │ │ ├── nightshot_iso_100.txt │ │ ├── test.scan │ │ ├── test1.icc │ │ ├── test1.icc.txt │ │ ├── test2.icc │ │ ├── test2.icc.txt │ │ ├── testimgari.jpg │ │ ├── testimgint.jpg │ │ ├── testorig.jpg │ │ ├── testorig.ppm │ │ ├── testorig12.jpg │ │ ├── vgl_5674_0098.bmp │ │ ├── vgl_6434_0018a.bmp │ │ └── vgl_6548_0026a.bmp │ ├── tjbench.c │ ├── tjbenchtest.in │ ├── tjbenchtest.java.in │ ├── tjexample.c │ ├── tjexampletest.in │ ├── tjexampletest.java.in │ ├── tjunittest.c │ ├── tjutil.c │ ├── tjutil.h │ ├── transupp.c │ ├── transupp.h │ ├── turbojpeg-jni.c │ ├── turbojpeg-mapfile │ ├── turbojpeg-mapfile.jni │ ├── turbojpeg.c │ ├── turbojpeg.h │ ├── usage.txt │ ├── win │ │ ├── jconfig.h.in │ │ ├── jpeg62-memsrcdst.def │ │ ├── jpeg62.def │ │ ├── jpeg7-memsrcdst.def │ │ ├── jpeg7.def │ │ └── jpeg8.def │ ├── wizard.txt │ ├── wrbmp.c │ ├── wrgif.c │ ├── wrjpgcom.1 │ ├── wrjpgcom.c │ ├── wrppm.c │ ├── wrrle.c │ └── wrtarga.c ├── libwebp │ ├── AUTHORS │ ├── Android.mk │ ├── CMakeLists.txt │ ├── COPYING │ ├── ChangeLog │ ├── Makefile.am │ ├── Makefile.vc │ ├── NEWS │ ├── PATENTS │ ├── README │ ├── README.mux │ ├── README.webp_js │ ├── autogen.sh │ ├── build.gradle │ ├── cmake │ │ ├── WebPConfig.cmake.in │ │ ├── config.h.in │ │ ├── cpu.cmake │ │ └── deps.cmake │ ├── codereview.settings │ ├── configure.ac │ ├── doc │ │ ├── README │ │ ├── TODO │ │ ├── template.html │ │ ├── webp-container-spec.txt │ │ └── webp-lossless-bitstream-spec.txt │ ├── examples │ │ ├── Android.mk │ │ ├── Makefile.am │ │ ├── anim_diff.c │ │ ├── anim_dump.c │ │ ├── anim_util.c │ │ ├── anim_util.h │ │ ├── cwebp.c │ │ ├── dwebp.c │ │ ├── example_util.c │ │ ├── example_util.h │ │ ├── gif2webp.c │ │ ├── gifdec.c │ │ ├── gifdec.h │ │ ├── img2webp.c │ │ ├── stopwatch.h │ │ ├── test.webp │ │ ├── test_ref.ppm │ │ ├── unicode.h │ │ ├── unicode_gif.h │ │ ├── vwebp.c │ │ ├── webpinfo.c │ │ └── webpmux.c │ ├── extras │ │ ├── Makefile.am │ │ ├── extras.c │ │ ├── extras.h │ │ ├── get_disto.c │ │ ├── quality_estimate.c │ │ ├── vwebp_sdl.c │ │ ├── webp_quality.c │ │ ├── webp_to_sdl.c │ │ └── webp_to_sdl.h │ ├── gradle.properties │ ├── gradle │ │ └── wrapper │ │ │ ├── gradle-wrapper.jar │ │ │ └── gradle-wrapper.properties │ ├── gradlew │ ├── gradlew.bat │ ├── imageio │ │ ├── Android.mk │ │ ├── Makefile.am │ │ ├── image_dec.c │ │ ├── image_dec.h │ │ ├── image_enc.c │ │ ├── image_enc.h │ │ ├── imageio_util.c │ │ ├── imageio_util.h │ │ ├── jpegdec.c │ │ ├── jpegdec.h │ │ ├── metadata.c │ │ ├── metadata.h │ │ ├── pngdec.c │ │ ├── pngdec.h │ │ ├── pnmdec.c │ │ ├── pnmdec.h │ │ ├── tiffdec.c │ │ ├── tiffdec.h │ │ ├── webpdec.c │ │ ├── webpdec.h │ │ ├── wicdec.c │ │ └── wicdec.h │ ├── iosbuild.sh │ ├── m4 │ │ └── ax_pthread.m4 │ ├── makefile.unix │ ├── man │ │ ├── Makefile.am │ │ ├── cwebp.1 │ │ ├── dwebp.1 │ │ ├── gif2webp.1 │ │ ├── img2webp.1 │ │ ├── vwebp.1 │ │ ├── webpinfo.1 │ │ └── webpmux.1 │ ├── src │ │ ├── Makefile.am │ │ ├── dec │ │ │ ├── Makefile.am │ │ │ ├── alpha_dec.c │ │ │ ├── alphai_dec.h │ │ │ ├── buffer_dec.c │ │ │ ├── common_dec.h │ │ │ ├── frame_dec.c │ │ │ ├── idec_dec.c │ │ │ ├── io_dec.c │ │ │ ├── quant_dec.c │ │ │ ├── tree_dec.c │ │ │ ├── vp8_dec.c │ │ │ ├── vp8_dec.h │ │ │ ├── vp8i_dec.h │ │ │ ├── vp8l_dec.c │ │ │ ├── vp8li_dec.h │ │ │ ├── webp_dec.c │ │ │ └── webpi_dec.h │ │ ├── demux │ │ │ ├── Makefile.am │ │ │ ├── anim_decode.c │ │ │ ├── demux.c │ │ │ ├── libwebpdemux.pc.in │ │ │ └── libwebpdemux.rc │ │ ├── dsp │ │ │ ├── Makefile.am │ │ │ ├── alpha_processing.c │ │ │ ├── alpha_processing_mips_dsp_r2.c │ │ │ ├── alpha_processing_neon.c │ │ │ ├── alpha_processing_sse2.c │ │ │ ├── alpha_processing_sse41.c │ │ │ ├── common_sse2.h │ │ │ ├── common_sse41.h │ │ │ ├── cost.c │ │ │ ├── cost_mips32.c │ │ │ ├── cost_mips_dsp_r2.c │ │ │ ├── cost_neon.c │ │ │ ├── cost_sse2.c │ │ │ ├── cpu.c │ │ │ ├── dec.c │ │ │ ├── dec_clip_tables.c │ │ │ ├── dec_mips32.c │ │ │ ├── dec_mips_dsp_r2.c │ │ │ ├── dec_msa.c │ │ │ ├── dec_neon.c │ │ │ ├── dec_sse2.c │ │ │ ├── dec_sse41.c │ │ │ ├── dsp.h │ │ │ ├── enc.c │ │ │ ├── enc_mips32.c │ │ │ ├── enc_mips_dsp_r2.c │ │ │ ├── enc_msa.c │ │ │ ├── enc_neon.c │ │ │ ├── enc_sse2.c │ │ │ ├── enc_sse41.c │ │ │ ├── filters.c │ │ │ ├── filters_mips_dsp_r2.c │ │ │ ├── filters_msa.c │ │ │ ├── filters_neon.c │ │ │ ├── filters_sse2.c │ │ │ ├── lossless.c │ │ │ ├── lossless.h │ │ │ ├── lossless_common.h │ │ │ ├── lossless_enc.c │ │ │ ├── lossless_enc_mips32.c │ │ │ ├── lossless_enc_mips_dsp_r2.c │ │ │ ├── lossless_enc_msa.c │ │ │ ├── lossless_enc_neon.c │ │ │ ├── lossless_enc_sse2.c │ │ │ ├── lossless_enc_sse41.c │ │ │ ├── lossless_mips_dsp_r2.c │ │ │ ├── lossless_msa.c │ │ │ ├── lossless_neon.c │ │ │ ├── lossless_sse2.c │ │ │ ├── mips_macro.h │ │ │ ├── msa_macro.h │ │ │ ├── neon.h │ │ │ ├── quant.h │ │ │ ├── rescaler.c │ │ │ ├── rescaler_mips32.c │ │ │ ├── rescaler_mips_dsp_r2.c │ │ │ ├── rescaler_msa.c │ │ │ ├── rescaler_neon.c │ │ │ ├── rescaler_sse2.c │ │ │ ├── ssim.c │ │ │ ├── ssim_sse2.c │ │ │ ├── upsampling.c │ │ │ ├── upsampling_mips_dsp_r2.c │ │ │ ├── upsampling_msa.c │ │ │ ├── upsampling_neon.c │ │ │ ├── upsampling_sse2.c │ │ │ ├── upsampling_sse41.c │ │ │ ├── yuv.c │ │ │ ├── yuv.h │ │ │ ├── yuv_mips32.c │ │ │ ├── yuv_mips_dsp_r2.c │ │ │ ├── yuv_neon.c │ │ │ ├── yuv_sse2.c │ │ │ └── yuv_sse41.c │ │ ├── enc │ │ │ ├── Makefile.am │ │ │ ├── alpha_enc.c │ │ │ ├── analysis_enc.c │ │ │ ├── backward_references_cost_enc.c │ │ │ ├── backward_references_enc.c │ │ │ ├── backward_references_enc.h │ │ │ ├── config_enc.c │ │ │ ├── cost_enc.c │ │ │ ├── cost_enc.h │ │ │ ├── filter_enc.c │ │ │ ├── frame_enc.c │ │ │ ├── histogram_enc.c │ │ │ ├── histogram_enc.h │ │ │ ├── iterator_enc.c │ │ │ ├── near_lossless_enc.c │ │ │ ├── picture_csp_enc.c │ │ │ ├── picture_enc.c │ │ │ ├── picture_psnr_enc.c │ │ │ ├── picture_rescale_enc.c │ │ │ ├── picture_tools_enc.c │ │ │ ├── predictor_enc.c │ │ │ ├── quant_enc.c │ │ │ ├── syntax_enc.c │ │ │ ├── token_enc.c │ │ │ ├── tree_enc.c │ │ │ ├── vp8i_enc.h │ │ │ ├── vp8l_enc.c │ │ │ ├── vp8li_enc.h │ │ │ └── webp_enc.c │ │ ├── libwebp.pc.in │ │ ├── libwebp.rc │ │ ├── libwebpdecoder.pc.in │ │ ├── libwebpdecoder.rc │ │ ├── mux │ │ │ ├── Makefile.am │ │ │ ├── anim_encode.c │ │ │ ├── animi.h │ │ │ ├── libwebpmux.pc.in │ │ │ ├── libwebpmux.rc │ │ │ ├── muxedit.c │ │ │ ├── muxi.h │ │ │ ├── muxinternal.c │ │ │ └── muxread.c │ │ ├── utils │ │ │ ├── Makefile.am │ │ │ ├── bit_reader_inl_utils.h │ │ │ ├── bit_reader_utils.c │ │ │ ├── bit_reader_utils.h │ │ │ ├── bit_writer_utils.c │ │ │ ├── bit_writer_utils.h │ │ │ ├── color_cache_utils.c │ │ │ ├── color_cache_utils.h │ │ │ ├── endian_inl_utils.h │ │ │ ├── filters_utils.c │ │ │ ├── filters_utils.h │ │ │ ├── huffman_encode_utils.c │ │ │ ├── huffman_encode_utils.h │ │ │ ├── huffman_utils.c │ │ │ ├── huffman_utils.h │ │ │ ├── quant_levels_dec_utils.c │ │ │ ├── quant_levels_dec_utils.h │ │ │ ├── quant_levels_utils.c │ │ │ ├── quant_levels_utils.h │ │ │ ├── random_utils.c │ │ │ ├── random_utils.h │ │ │ ├── rescaler_utils.c │ │ │ ├── rescaler_utils.h │ │ │ ├── thread_utils.c │ │ │ ├── thread_utils.h │ │ │ ├── utils.c │ │ │ └── utils.h │ │ └── webp │ │ │ ├── decode.h │ │ │ ├── demux.h │ │ │ ├── encode.h │ │ │ ├── format_constants.h │ │ │ ├── mux.h │ │ │ ├── mux_types.h │ │ │ └── types.h │ ├── swig │ │ ├── README │ │ ├── libwebp.go │ │ ├── libwebp.jar │ │ ├── libwebp.py │ │ ├── libwebp.swig │ │ ├── libwebp_gc.c │ │ ├── libwebp_go_wrap.c │ │ ├── libwebp_java_wrap.c │ │ ├── libwebp_python_wrap.c │ │ └── setup.py │ └── webp_js │ │ ├── index.html │ │ ├── index_wasm.html │ │ ├── test_webp_js.webp │ │ └── test_webp_wasm.webp ├── md5 │ ├── md5.c │ └── md5.h ├── openjpeg │ ├── .gitignore │ ├── .travis.yml │ ├── AUTHORS.md │ ├── CHANGELOG.md │ ├── CMakeLists.txt │ ├── CTestConfig.cmake │ ├── INSTALL.md │ ├── LICENSE │ ├── NEWS.md │ ├── README.md │ ├── THANKS.md │ ├── appveyor.yml │ ├── cmake │ │ ├── CTestCustom.cmake.in │ │ ├── EnsureFileInclude.cmake │ │ ├── FindCPPCHECK.cmake │ │ ├── FindFCGI.cmake │ │ ├── FindJPYLYZER.cmake │ │ ├── FindKAKADU.cmake │ │ ├── FindLCMS.cmake │ │ ├── FindLCMS2.cmake │ │ ├── JPIPTestDriver.cmake │ │ ├── OpenJPEGCPack.cmake │ │ ├── OpenJPEGConfig.cmake.in │ │ ├── TestFileOffsetBits.c │ │ ├── TestLargeFiles.c.cmake.in │ │ ├── TestLargeFiles.cmake │ │ ├── TestWindowsFSeek.c │ │ └── openjpeg_valgrind.supp │ ├── doc │ │ ├── CMakeLists.txt │ │ ├── Doxyfile.dox.cmake.in │ │ ├── jpip_architect.png │ │ ├── jpip_protocol.png │ │ ├── mainpage.dox.in │ │ ├── man │ │ │ ├── man1 │ │ │ │ ├── opj_compress.1 │ │ │ │ ├── opj_decompress.1 │ │ │ │ └── opj_dump.1 │ │ │ └── man3 │ │ │ │ └── libopenjp2.3 │ │ └── openjpip.dox.in │ ├── scripts │ │ ├── astyle.options │ │ ├── astyle.sh │ │ ├── prepare-commit.sh │ │ ├── remove_temporary_files.sh │ │ └── verify-indentation.sh │ ├── src │ │ ├── CMakeLists.txt │ │ ├── bin │ │ │ ├── CMakeLists.txt │ │ │ ├── common │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── color.c │ │ │ │ ├── color.h │ │ │ │ ├── format_defs.h │ │ │ │ ├── opj_apps_config.h.cmake.in │ │ │ │ ├── opj_getopt.c │ │ │ │ ├── opj_getopt.h │ │ │ │ └── opj_string.h │ │ │ ├── jp2 │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── convert.c │ │ │ │ ├── convert.h │ │ │ │ ├── convertbmp.c │ │ │ │ ├── convertpng.c │ │ │ │ ├── converttif.c │ │ │ │ ├── index.c │ │ │ │ ├── index.h │ │ │ │ ├── opj_compress.c │ │ │ │ ├── opj_decompress.c │ │ │ │ ├── opj_dump.c │ │ │ │ └── windirent.h │ │ │ ├── jp3d │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── convert.c │ │ │ │ ├── convert.h │ │ │ │ ├── getopt.c │ │ │ │ ├── getopt.h │ │ │ │ ├── opj_jp3d_compress.c │ │ │ │ ├── opj_jp3d_decompress.c │ │ │ │ ├── tcltk │ │ │ │ │ ├── LPI_JP3D_VM.tcl │ │ │ │ │ ├── README │ │ │ │ │ ├── Thumbs.db │ │ │ │ │ ├── decoder.tcl │ │ │ │ │ ├── encoder.tcl │ │ │ │ │ └── logoLPI.gif │ │ │ │ └── windirent.h │ │ │ ├── jpip │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── README │ │ │ │ ├── opj_dec_server.c │ │ │ │ ├── opj_jpip_addxml.c │ │ │ │ ├── opj_jpip_test.c │ │ │ │ ├── opj_jpip_transcode.c │ │ │ │ ├── opj_server.c │ │ │ │ ├── opj_viewer │ │ │ │ │ ├── dist │ │ │ │ │ │ └── manifest.txt │ │ │ │ │ └── src │ │ │ │ │ │ ├── ImageManager.java │ │ │ │ │ │ ├── ImageViewer.java │ │ │ │ │ │ ├── ImageWindow.java │ │ │ │ │ │ ├── ImgdecClient.java │ │ │ │ │ │ ├── JPIPHttpClient.java │ │ │ │ │ │ ├── MML.java │ │ │ │ │ │ ├── PnmImage.java │ │ │ │ │ │ ├── RegimViewer.java │ │ │ │ │ │ └── ResizeListener.java │ │ │ │ └── opj_viewer_xerces │ │ │ │ │ ├── dist │ │ │ │ │ └── manifest.txt.in │ │ │ │ │ └── src │ │ │ │ │ ├── ImageViewer.java │ │ │ │ │ ├── ImageWindow.java │ │ │ │ │ ├── JP2XMLparser.java │ │ │ │ │ └── OptionPanel.java │ │ │ ├── jpwl │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── convert.c │ │ │ │ ├── convert.h │ │ │ │ ├── index.c │ │ │ │ ├── index.h │ │ │ │ ├── opj_jpwl_compress.c │ │ │ │ ├── opj_jpwl_decompress.c │ │ │ │ └── windirent.h │ │ │ ├── mj2 │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── meta_out.c │ │ │ │ ├── meta_out.h │ │ │ │ ├── mj2_to_metadata.c │ │ │ │ ├── mj2_to_metadata.dtd │ │ │ │ ├── mj2_to_metadata.h │ │ │ │ ├── mj2_to_metadata.sln │ │ │ │ ├── mj2_to_metadata.vcproj │ │ │ │ ├── mj2_to_metadata_Notes.doc │ │ │ │ ├── opj_mj2_compress.c │ │ │ │ ├── opj_mj2_decompress.c │ │ │ │ ├── opj_mj2_extract.c │ │ │ │ ├── opj_mj2_wrap.c │ │ │ │ └── readme.txt │ │ │ └── wx │ │ │ │ ├── CMakeLists.txt │ │ │ │ └── OPJViewer │ │ │ │ ├── CMakeLists.txt │ │ │ │ ├── OPJViewer.iss │ │ │ │ ├── Readme.txt │ │ │ │ ├── about │ │ │ │ ├── about.htm │ │ │ │ └── opj_logo.png │ │ │ │ └── source │ │ │ │ ├── OPJAbout.cpp │ │ │ │ ├── OPJChild.ico │ │ │ │ ├── OPJChild16.xpm │ │ │ │ ├── OPJDialogs.cpp │ │ │ │ ├── OPJThreads.cpp │ │ │ │ ├── OPJViewer.cpp │ │ │ │ ├── OPJViewer.h │ │ │ │ ├── OPJViewer.ico │ │ │ │ ├── OPJViewer.rc │ │ │ │ ├── OPJViewer16.xpm │ │ │ │ ├── about_htm.h │ │ │ │ ├── build.h │ │ │ │ ├── icon1.xpm │ │ │ │ ├── icon2.xpm │ │ │ │ ├── icon3.xpm │ │ │ │ ├── icon4.xpm │ │ │ │ ├── icon5.xpm │ │ │ │ ├── imagjpeg2000.cpp │ │ │ │ ├── imagjpeg2000.h │ │ │ │ ├── imagmxf.cpp │ │ │ │ ├── imagmxf.h │ │ │ │ ├── license.txt │ │ │ │ ├── opj_logo.xpm │ │ │ │ ├── readmeafter.txt │ │ │ │ ├── readmebefore.txt │ │ │ │ ├── wxj2kparser.cpp │ │ │ │ └── wxjp2parser.cpp │ │ └── lib │ │ │ ├── CMakeLists.txt │ │ │ ├── openjp2 │ │ │ ├── CMakeLists.txt │ │ │ ├── bench_dwt.c │ │ │ ├── bio.c │ │ │ ├── bio.h │ │ │ ├── cidx_manager.c │ │ │ ├── cidx_manager.h │ │ │ ├── cio.c │ │ │ ├── cio.h │ │ │ ├── dwt.c │ │ │ ├── dwt.h │ │ │ ├── event.c │ │ │ ├── event.h │ │ │ ├── function_list.c │ │ │ ├── function_list.h │ │ │ ├── image.c │ │ │ ├── image.h │ │ │ ├── indexbox_manager.h │ │ │ ├── invert.c │ │ │ ├── invert.h │ │ │ ├── j2k.c │ │ │ ├── j2k.h │ │ │ ├── jp2.c │ │ │ ├── jp2.h │ │ │ ├── libopenjp2.pc.cmake.in │ │ │ ├── mct.c │ │ │ ├── mct.h │ │ │ ├── mqc.c │ │ │ ├── mqc.h │ │ │ ├── mqc_inl.h │ │ │ ├── openjpeg.c │ │ │ ├── openjpeg.h │ │ │ ├── opj_clock.c │ │ │ ├── opj_clock.h │ │ │ ├── opj_codec.h │ │ │ ├── opj_common.h │ │ │ ├── opj_config.h.cmake.in │ │ │ ├── opj_config_private.h.cmake.in │ │ │ ├── opj_includes.h │ │ │ ├── opj_intmath.h │ │ │ ├── opj_inttypes.h │ │ │ ├── opj_malloc.c │ │ │ ├── opj_malloc.h │ │ │ ├── opj_stdint.h │ │ │ ├── phix_manager.c │ │ │ ├── pi.c │ │ │ ├── pi.h │ │ │ ├── ppix_manager.c │ │ │ ├── sparse_array.c │ │ │ ├── sparse_array.h │ │ │ ├── t1.c │ │ │ ├── t1.h │ │ │ ├── t1_generate_luts.c │ │ │ ├── t1_luts.h │ │ │ ├── t2.c │ │ │ ├── t2.h │ │ │ ├── tcd.c │ │ │ ├── tcd.h │ │ │ ├── test_sparse_array.c │ │ │ ├── tgt.c │ │ │ ├── tgt.h │ │ │ ├── thix_manager.c │ │ │ ├── thread.c │ │ │ ├── thread.h │ │ │ ├── tls_keys.h │ │ │ └── tpix_manager.c │ │ │ ├── openjp3d │ │ │ ├── CMakeLists.txt │ │ │ ├── bio.c │ │ │ ├── bio.h │ │ │ ├── cio.c │ │ │ ├── cio.h │ │ │ ├── dwt.c │ │ │ ├── dwt.h │ │ │ ├── event.c │ │ │ ├── event.h │ │ │ ├── fix.h │ │ │ ├── int.h │ │ │ ├── jp3d.c │ │ │ ├── jp3d.h │ │ │ ├── jp3d_lib.c │ │ │ ├── jp3d_lib.h │ │ │ ├── libopenjp3d.pc.cmake.in │ │ │ ├── mct.c │ │ │ ├── mct.h │ │ │ ├── mqc.c │ │ │ ├── mqc.h │ │ │ ├── openjp3d.c │ │ │ ├── openjp3d.h │ │ │ ├── opj_includes.h │ │ │ ├── pi.c │ │ │ ├── pi.h │ │ │ ├── raw.c │ │ │ ├── raw.h │ │ │ ├── t1.c │ │ │ ├── t1.h │ │ │ ├── t1_3d.c │ │ │ ├── t1_3d.h │ │ │ ├── t2.c │ │ │ ├── t2.h │ │ │ ├── tcd.c │ │ │ ├── tcd.h │ │ │ ├── tgt.c │ │ │ ├── tgt.h │ │ │ ├── volume.c │ │ │ └── volume.h │ │ │ ├── openjpip │ │ │ ├── CMakeLists.txt │ │ │ ├── auxtrans_manager.c │ │ │ ├── auxtrans_manager.h │ │ │ ├── box_manager.c │ │ │ ├── box_manager.h │ │ │ ├── boxheader_manager.c │ │ │ ├── boxheader_manager.h │ │ │ ├── byte_manager.c │ │ │ ├── byte_manager.h │ │ │ ├── cache_manager.c │ │ │ ├── cache_manager.h │ │ │ ├── cachemodel_manager.c │ │ │ ├── cachemodel_manager.h │ │ │ ├── channel_manager.c │ │ │ ├── channel_manager.h │ │ │ ├── codestream_manager.c │ │ │ ├── codestream_manager.h │ │ │ ├── dec_clientmsg_handler.c │ │ │ ├── dec_clientmsg_handler.h │ │ │ ├── faixbox_manager.c │ │ │ ├── faixbox_manager.h │ │ │ ├── ihdrbox_manager.c │ │ │ ├── ihdrbox_manager.h │ │ │ ├── imgreg_manager.c │ │ │ ├── imgreg_manager.h │ │ │ ├── imgsock_manager.c │ │ │ ├── imgsock_manager.h │ │ │ ├── index_manager.c │ │ │ ├── index_manager.h │ │ │ ├── j2kheader_manager.c │ │ │ ├── j2kheader_manager.h │ │ │ ├── jp2k_decoder.c │ │ │ ├── jp2k_decoder.h │ │ │ ├── jp2k_encoder.c │ │ │ ├── jp2k_encoder.h │ │ │ ├── jpip_parser.c │ │ │ ├── jpip_parser.h │ │ │ ├── jpipstream_manager.c │ │ │ ├── jpipstream_manager.h │ │ │ ├── libopenjpip.pc.cmake.in │ │ │ ├── manfbox_manager.c │ │ │ ├── manfbox_manager.h │ │ │ ├── marker_manager.c │ │ │ ├── marker_manager.h │ │ │ ├── metadata_manager.c │ │ │ ├── metadata_manager.h │ │ │ ├── mhixbox_manager.c │ │ │ ├── mhixbox_manager.h │ │ │ ├── msgqueue_manager.c │ │ │ ├── msgqueue_manager.h │ │ │ ├── openjpip.c │ │ │ ├── openjpip.h │ │ │ ├── placeholder_manager.c │ │ │ ├── placeholder_manager.h │ │ │ ├── query_parser.c │ │ │ ├── query_parser.h │ │ │ ├── session_manager.c │ │ │ ├── session_manager.h │ │ │ ├── sock_manager.c │ │ │ ├── sock_manager.h │ │ │ ├── target_manager.c │ │ │ └── target_manager.h │ │ │ ├── openjpwl │ │ │ ├── CMakeLists.txt │ │ │ ├── README.txt │ │ │ ├── crc.c │ │ │ ├── crc.h │ │ │ ├── jpwl.c │ │ │ ├── jpwl.h │ │ │ ├── jpwl_lib.c │ │ │ ├── libopenjpwl.pc.cmake.in │ │ │ ├── rs.c │ │ │ └── rs.h │ │ │ └── openmj2 │ │ │ ├── CMakeLists.txt │ │ │ ├── bio.c │ │ │ ├── bio.h │ │ │ ├── cio.c │ │ │ ├── cio.h │ │ │ ├── dwt.c │ │ │ ├── dwt.h │ │ │ ├── event.c │ │ │ ├── event.h │ │ │ ├── fix.h │ │ │ ├── image.c │ │ │ ├── image.h │ │ │ ├── int.h │ │ │ ├── j2k.c │ │ │ ├── j2k.h │ │ │ ├── j2k_lib.c │ │ │ ├── j2k_lib.h │ │ │ ├── jp2.c │ │ │ ├── jp2.h │ │ │ ├── jpt.c │ │ │ ├── jpt.h │ │ │ ├── mct.c │ │ │ ├── mct.h │ │ │ ├── mj2.c │ │ │ ├── mj2.h │ │ │ ├── mj2_convert.c │ │ │ ├── mj2_convert.h │ │ │ ├── mqc.c │ │ │ ├── mqc.h │ │ │ ├── openjpeg.c │ │ │ ├── openjpeg.h │ │ │ ├── opj_includes.h │ │ │ ├── opj_malloc.h │ │ │ ├── pi.c │ │ │ ├── pi.h │ │ │ ├── raw.c │ │ │ ├── raw.h │ │ │ ├── t1.c │ │ │ ├── t1.h │ │ │ ├── t1_luts.h │ │ │ ├── t2.c │ │ │ ├── t2.h │ │ │ ├── tcd.c │ │ │ ├── tcd.h │ │ │ ├── tgt.c │ │ │ └── tgt.h │ ├── tests │ │ ├── CMakeLists.txt │ │ ├── compare_dump_files.c │ │ ├── compare_images.c │ │ ├── compare_raw_files.c │ │ ├── conformance │ │ │ └── CMakeLists.txt │ │ ├── fuzzers │ │ │ ├── GNUmakefile │ │ │ ├── README.TXT │ │ │ ├── build_google_oss_fuzzers.sh │ │ │ ├── build_seed_corpus.sh │ │ │ ├── fuzzingengine.c │ │ │ └── opj_decompress_fuzzer.cpp │ │ ├── include_openjpeg.c │ │ ├── j2k_random_tile_access.c │ │ ├── nonregression │ │ │ ├── CMakeLists.txt │ │ │ ├── checkmd5refs.cmake │ │ │ ├── md5refs.txt │ │ │ └── test_suite.ctest.in │ │ ├── pdf2jp2.c │ │ ├── performance │ │ │ ├── compare_perfs.py │ │ │ ├── perf_test.py │ │ │ └── perf_test_filelist.csv │ │ ├── ppm2rgb3.c │ │ ├── profiling │ │ │ └── filter_massif_output.py │ │ ├── test_decode_area.c │ │ ├── test_tile_decoder.c │ │ ├── test_tile_encoder.c │ │ └── unit │ │ │ ├── CMakeLists.txt │ │ │ ├── testempty0.c │ │ │ ├── testempty1.c │ │ │ └── testempty2.c │ ├── thirdparty │ │ ├── CMakeLists.txt │ │ ├── README.txt │ │ ├── astyle │ │ │ ├── ASBeautifier.cpp │ │ │ ├── ASEnhancer.cpp │ │ │ ├── ASFormatter.cpp │ │ │ ├── ASLocalizer.cpp │ │ │ ├── ASLocalizer.h │ │ │ ├── ASResource.cpp │ │ │ ├── CMakeLists.txt │ │ │ ├── LICENSE.md │ │ │ ├── astyle.h │ │ │ ├── astyle_main.cpp │ │ │ └── astyle_main.h │ │ ├── include │ │ │ ├── zconf.h │ │ │ └── zlib.h │ │ ├── liblcms2 │ │ │ ├── CMakeLists.txt │ │ │ ├── COPYING │ │ │ ├── include │ │ │ │ ├── lcms2.h │ │ │ │ └── lcms2_plugin.h │ │ │ └── src │ │ │ │ ├── cmsalpha.c │ │ │ │ ├── cmscam02.c │ │ │ │ ├── cmscgats.c │ │ │ │ ├── cmscnvrt.c │ │ │ │ ├── cmserr.c │ │ │ │ ├── cmsgamma.c │ │ │ │ ├── cmsgmt.c │ │ │ │ ├── cmshalf.c │ │ │ │ ├── cmsintrp.c │ │ │ │ ├── cmsio0.c │ │ │ │ ├── cmsio1.c │ │ │ │ ├── cmslut.c │ │ │ │ ├── cmsmd5.c │ │ │ │ ├── cmsmtrx.c │ │ │ │ ├── cmsnamed.c │ │ │ │ ├── cmsopt.c │ │ │ │ ├── cmspack.c │ │ │ │ ├── cmspcs.c │ │ │ │ ├── cmsplugin.c │ │ │ │ ├── cmsps2.c │ │ │ │ ├── cmssamp.c │ │ │ │ ├── cmssm.c │ │ │ │ ├── cmstypes.c │ │ │ │ ├── cmsvirt.c │ │ │ │ ├── cmswtpnt.c │ │ │ │ ├── cmsxform.c │ │ │ │ └── lcms2_internal.h │ │ ├── libpng │ │ │ ├── CMakeLists.txt │ │ │ ├── LICENSE │ │ │ ├── png.c │ │ │ ├── png.h │ │ │ ├── pngconf.h │ │ │ ├── pngdebug.h │ │ │ ├── pngerror.c │ │ │ ├── pngget.c │ │ │ ├── pnginfo.h │ │ │ ├── pnglibconf.h │ │ │ ├── pngmem.c │ │ │ ├── pngpread.c │ │ │ ├── pngpriv.h │ │ │ ├── pngread.c │ │ │ ├── pngrio.c │ │ │ ├── pngrtran.c │ │ │ ├── pngrutil.c │ │ │ ├── pngset.c │ │ │ ├── pngstruct.h │ │ │ ├── pngtrans.c │ │ │ ├── pngwio.c │ │ │ ├── pngwrite.c │ │ │ ├── pngwtran.c │ │ │ └── pngwutil.c │ │ ├── libtiff │ │ │ ├── CMakeLists.txt │ │ │ ├── libport.h │ │ │ ├── libtiff.def │ │ │ ├── snprintf.c │ │ │ ├── t4.h │ │ │ ├── test_inline.c │ │ │ ├── tif_aux.c │ │ │ ├── tif_close.c │ │ │ ├── tif_codec.c │ │ │ ├── tif_color.c │ │ │ ├── tif_compress.c │ │ │ ├── tif_config.h.cmake.in │ │ │ ├── tif_config.h.in │ │ │ ├── tif_dir.c │ │ │ ├── tif_dir.h │ │ │ ├── tif_dirinfo.c │ │ │ ├── tif_dirread.c │ │ │ ├── tif_dirwrite.c │ │ │ ├── tif_dumpmode.c │ │ │ ├── tif_error.c │ │ │ ├── tif_extension.c │ │ │ ├── tif_fax3.c │ │ │ ├── tif_fax3.h │ │ │ ├── tif_fax3sm.c │ │ │ ├── tif_flush.c │ │ │ ├── tif_getimage.c │ │ │ ├── tif_jbig.c │ │ │ ├── tif_jpeg.c │ │ │ ├── tif_jpeg_12.c │ │ │ ├── tif_luv.c │ │ │ ├── tif_lzma.c │ │ │ ├── tif_lzw.c │ │ │ ├── tif_next.c │ │ │ ├── tif_ojpeg.c │ │ │ ├── tif_open.c │ │ │ ├── tif_packbits.c │ │ │ ├── tif_pixarlog.c │ │ │ ├── tif_predict.c │ │ │ ├── tif_predict.h │ │ │ ├── tif_print.c │ │ │ ├── tif_read.c │ │ │ ├── tif_stream.cxx │ │ │ ├── tif_strip.c │ │ │ ├── tif_swab.c │ │ │ ├── tif_thunder.c │ │ │ ├── tif_tile.c │ │ │ ├── tif_unix.c │ │ │ ├── tif_version.c │ │ │ ├── tif_warning.c │ │ │ ├── tif_win32.c │ │ │ ├── tif_write.c │ │ │ ├── tif_zip.c │ │ │ ├── tiff.h │ │ │ ├── tiffconf.h.cmake.in │ │ │ ├── tiffconf.h.in │ │ │ ├── tiffio.h │ │ │ ├── tiffio.hxx │ │ │ ├── tiffiop.h │ │ │ ├── tiffvers.h │ │ │ └── uvcode.h │ │ └── libz │ │ │ ├── CMakeLists.txt │ │ │ ├── adler32.c │ │ │ ├── compress.c │ │ │ ├── crc32.c │ │ │ ├── crc32.h │ │ │ ├── deflate.c │ │ │ ├── deflate.h │ │ │ ├── gzclose.c │ │ │ ├── gzguts.h │ │ │ ├── gzlib.c │ │ │ ├── gzread.c │ │ │ ├── gzwrite.c │ │ │ ├── infback.c │ │ │ ├── inffast.c │ │ │ ├── inffast.h │ │ │ ├── inffixed.h │ │ │ ├── inflate.c │ │ │ ├── inflate.h │ │ │ ├── inftrees.c │ │ │ ├── inftrees.h │ │ │ ├── trees.c │ │ │ ├── trees.h │ │ │ ├── uncompr.c │ │ │ ├── zlib.h │ │ │ ├── zutil.c │ │ │ └── zutil.h │ ├── tools │ │ ├── abi-tracker │ │ │ └── openjpeg.json │ │ ├── ctest_scripts │ │ │ ├── toolchain-mingw32.cmake │ │ │ ├── toolchain-mingw64.cmake │ │ │ └── travis-ci.cmake │ │ └── travis-ci │ │ │ ├── abi-check.sh │ │ │ ├── detect-avx2.c │ │ │ ├── install.sh │ │ │ ├── knownfailures-Ubuntu12.04-gcc4.6.3-x86_64-Release-3rdP.txt │ │ │ ├── knownfailures-Ubuntu14.04-clang3.8.0-x86_64-Release-3rdP.txt │ │ │ ├── knownfailures-Ubuntu14.04-gcc4.8.4-i386-Release-3rdP.txt │ │ │ ├── knownfailures-Ubuntu14.04-gcc4.8.4-x86_64-Debug-3rdP.txt │ │ │ ├── knownfailures-all.txt │ │ │ ├── knownfailures-windows-vs2010-x86-Release-3rdP.txt │ │ │ ├── run.sh │ │ │ └── travis_rsa.enc │ └── wrapping │ │ ├── CMakeLists.txt │ │ └── java │ │ ├── CMakeLists.txt │ │ └── openjp2 │ │ ├── CMakeLists.txt │ │ ├── JavaOpenJPEG.c │ │ ├── JavaOpenJPEGDecoder.c │ │ ├── index.c │ │ ├── index.h │ │ ├── java-sources │ │ └── org │ │ │ └── openJpeg │ │ │ ├── OpenJPEGJavaDecoder.java │ │ │ └── OpenJPEGJavaEncoder.java │ │ ├── org_openJpeg_OpenJPEGJavaDecoder.h │ │ └── org_openJpeg_OpenJPEGJavaEncoder.h ├── stb │ ├── stb_image_resize.c │ └── stb_image_resize.h └── unity │ ├── .gitattributes │ ├── .gitignore │ ├── .travis.yml │ ├── README.md │ ├── auto │ ├── colour_prompt.rb │ ├── colour_reporter.rb │ ├── generate_config.yml │ ├── generate_module.rb │ ├── generate_test_runner.rb │ ├── parse_output.rb │ ├── stylize_as_junit.rb │ ├── test_file_filter.rb │ ├── type_sanitizer.rb │ ├── unity_test_summary.py │ ├── unity_test_summary.rb │ └── unity_to_junit.py │ ├── docs │ ├── ThrowTheSwitchCodingStandard.md │ ├── UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf │ ├── UnityAssertionsReference.md │ ├── UnityConfigurationGuide.md │ ├── UnityGettingStartedGuide.md │ ├── UnityHelperScriptsGuide.md │ └── license.txt │ ├── examples │ ├── example_1 │ │ ├── makefile │ │ ├── readme.txt │ │ ├── src │ │ │ ├── ProductionCode.c │ │ │ ├── ProductionCode.h │ │ │ ├── ProductionCode2.c │ │ │ └── ProductionCode2.h │ │ └── test │ │ │ ├── TestProductionCode.c │ │ │ ├── TestProductionCode2.c │ │ │ └── test_runners │ │ │ ├── TestProductionCode2_Runner.c │ │ │ └── TestProductionCode_Runner.c │ ├── example_2 │ │ ├── makefile │ │ ├── readme.txt │ │ ├── src │ │ │ ├── ProductionCode.c │ │ │ ├── ProductionCode.h │ │ │ ├── ProductionCode2.c │ │ │ └── ProductionCode2.h │ │ └── test │ │ │ ├── TestProductionCode.c │ │ │ ├── TestProductionCode2.c │ │ │ └── test_runners │ │ │ ├── TestProductionCode2_Runner.c │ │ │ ├── TestProductionCode_Runner.c │ │ │ └── all_tests.c │ ├── example_3 │ │ ├── helper │ │ │ ├── UnityHelper.c │ │ │ └── UnityHelper.h │ │ ├── rakefile.rb │ │ ├── rakefile_helper.rb │ │ ├── readme.txt │ │ ├── src │ │ │ ├── ProductionCode.c │ │ │ ├── ProductionCode.h │ │ │ ├── ProductionCode2.c │ │ │ └── ProductionCode2.h │ │ ├── target_gcc_32.yml │ │ └── test │ │ │ ├── TestProductionCode.c │ │ │ └── TestProductionCode2.c │ └── unity_config.h │ ├── extras │ ├── eclipse │ │ └── error_parsers.txt │ └── fixture │ │ ├── rakefile.rb │ │ ├── rakefile_helper.rb │ │ ├── readme.txt │ │ ├── src │ │ ├── unity_fixture.c │ │ ├── unity_fixture.h │ │ ├── unity_fixture_internals.h │ │ └── unity_fixture_malloc_overrides.h │ │ └── test │ │ ├── Makefile │ │ ├── main │ │ └── AllTests.c │ │ ├── template_fixture_tests.c │ │ ├── unity_fixture_Test.c │ │ ├── unity_fixture_TestRunner.c │ │ ├── unity_output_Spy.c │ │ └── unity_output_Spy.h │ ├── release │ ├── build.info │ └── version.info │ ├── src │ ├── unity.c │ ├── unity.h │ └── unity_internals.h │ └── test │ ├── .rubocop.yml │ ├── Makefile │ ├── expectdata │ ├── testsample_cmd.c │ ├── testsample_def.c │ ├── testsample_head1.c │ ├── testsample_head1.h │ ├── testsample_mock_cmd.c │ ├── testsample_mock_def.c │ ├── testsample_mock_head1.c │ ├── testsample_mock_head1.h │ ├── testsample_mock_new1.c │ ├── testsample_mock_new2.c │ ├── testsample_mock_param.c │ ├── testsample_mock_run1.c │ ├── testsample_mock_run2.c │ ├── testsample_mock_yaml.c │ ├── testsample_new1.c │ ├── testsample_new2.c │ ├── testsample_param.c │ ├── testsample_run1.c │ ├── testsample_run2.c │ └── testsample_yaml.c │ ├── rakefile │ ├── rakefile_helper.rb │ ├── spec │ └── generate_module_existing_file_spec.rb │ ├── targets │ ├── clang_file.yml │ ├── clang_strict.yml │ ├── gcc_32.yml │ ├── gcc_64.yml │ ├── gcc_auto_limits.yml │ ├── gcc_auto_stdint.yml │ ├── gcc_manual_math.yml │ ├── hitech_picc18.yml │ ├── iar_arm_v4.yml │ ├── iar_arm_v5.yml │ ├── iar_arm_v5_3.yml │ ├── iar_armcortex_LM3S9B92_v5_4.yml │ ├── iar_cortexm3_v5.yml │ ├── iar_msp430.yml │ └── iar_sh2a_v6.yml │ ├── testdata │ ├── CException.h │ ├── Defs.h │ ├── cmock.h │ ├── mockMock.h │ ├── testRunnerGenerator.c │ ├── testRunnerGeneratorSmall.c │ └── testRunnerGeneratorWithMocks.c │ └── tests │ ├── test_generate_test_runner.rb │ ├── testparameterized.c │ └── testunity.c ├── lib ├── CMakeLists.txt ├── bin2h.cmake ├── include │ └── colorist │ │ ├── colorist.h │ │ ├── context.h │ │ ├── embedded.h │ │ ├── image.h │ │ ├── pixelmath.h │ │ ├── profile.h │ │ ├── raw.h │ │ ├── task.h │ │ ├── transform.h │ │ ├── types.h │ │ └── version.h ├── raw │ ├── hlgCurve.bin │ ├── pqCurve.bin │ └── srgbCurve.bin └── src │ ├── context.c │ ├── context_convert.c │ ├── context_formats.c │ ├── context_generate.c │ ├── context_highlight.c │ ├── context_identify.c │ ├── context_log.c │ ├── context_memory.c │ ├── context_modify.c │ ├── context_rw.c │ ├── context_version.c │ ├── embedded.c │ ├── format_avif.c │ ├── format_bmp.c │ ├── format_jp2.c │ ├── format_jpg.c │ ├── format_jxr.c │ ├── format_png.c │ ├── format_tiff.c │ ├── format_webp.c │ ├── image.c │ ├── image_debugdump.c │ ├── image_diff.c │ ├── image_draw.c │ ├── image_highlight.c │ ├── image_stats.c │ ├── image_string.c │ ├── pixelmath_grade.c │ ├── pixelmath_resize.c │ ├── pixelmath_scale.c │ ├── profile.c │ ├── profile_curves.c │ ├── profile_debugdump.c │ ├── raw.c │ ├── task.c │ ├── transform.c │ └── types.c ├── scripts ├── README.txt ├── analyze.sh ├── build.sh ├── colorist.cppcheck ├── coverage.sh ├── serve.sh └── tidy.sh └── test ├── bad.icc ├── red_png.txt ├── red_png_no_ext └── sRGB2014.icc /.gitattributes: -------------------------------------------------------------------------------- 1 | *.sh text eol=lf 2 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /build* 2 | /.vscode 3 | /go 4 | .DS_Store 5 | /_site 6 | /lib/templates/node_modules 7 | /lib/templates/*.js 8 | /lib/templates/test.payload 9 | /lib/templates/index.html 10 | Gemfile.lock 11 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "ext/libavif"] 2 | path = ext/libavif 3 | url = https://github.com/AOMediaCodec/libavif.git 4 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- 1 | # This is just a convenience file for documentation editing. 2 | 3 | source 'https://rubygems.org' 4 | gem 'github-pages', group: :jekyll_plugins 5 | -------------------------------------------------------------------------------- /_config.yml: -------------------------------------------------------------------------------- 1 | theme: jekyll-theme-hacker -------------------------------------------------------------------------------- /bin/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # --------------------------------------------------------------------------- 2 | # Copyright Joe Drago 2018. 3 | # Distributed under the Boost Software License, Version 1.0. 4 | # (See accompanying file LICENSE_1_0.txt or copy at 5 | # http://www.boost.org/LICENSE_1_0.txt) 6 | # --------------------------------------------------------------------------- 7 | 8 | add_subdirectory(colorist) 9 | add_subdirectory(colorist-benchmark) 10 | add_subdirectory(colorist-test) 11 | add_subdirectory(colorist-yuv) 12 | -------------------------------------------------------------------------------- /bin/colorist-benchmark/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # --------------------------------------------------------------------------- 2 | # Copyright Joe Drago 2018. 3 | # Distributed under the Boost Software License, Version 1.0. 4 | # (See accompanying file LICENSE_1_0.txt or copy at 5 | # http://www.boost.org/LICENSE_1_0.txt) 6 | # --------------------------------------------------------------------------- 7 | 8 | set(COLORIST_BENCHMARK_SRCS 9 | main.c 10 | ) 11 | 12 | add_executable(colorist-benchmark 13 | ${COLORIST_BENCHMARK_SRCS} 14 | ) 15 | target_link_libraries(colorist-benchmark colorist) 16 | -------------------------------------------------------------------------------- /bin/colorist-test/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # --------------------------------------------------------------------------- 2 | # Copyright Joe Drago 2018. 3 | # Distributed under the Boost Software License, Version 1.0. 4 | # (See accompanying file LICENSE_1_0.txt or copy at 5 | # http://www.boost.org/LICENSE_1_0.txt) 6 | # --------------------------------------------------------------------------- 7 | 8 | set(COLORIST_TEST_SRCS 9 | main.c 10 | main.h 11 | 12 | test_coverage.c 13 | test_io.c 14 | test_strings.c 15 | ) 16 | 17 | add_executable(colorist-test 18 | ${COLORIST_TEST_SRCS} 19 | ) 20 | target_link_libraries(colorist-test colorist unity) 21 | -------------------------------------------------------------------------------- /bin/colorist-yuv/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # --------------------------------------------------------------------------- 2 | # Copyright Joe Drago 2018. 3 | # Distributed under the Boost Software License, Version 1.0. 4 | # (See accompanying file LICENSE_1_0.txt or copy at 5 | # http://www.boost.org/LICENSE_1_0.txt) 6 | # --------------------------------------------------------------------------- 7 | 8 | set(COLORIST_YUV_SRCS 9 | main.c 10 | ) 11 | 12 | add_executable(colorist-yuv 13 | ${COLORIST_YUV_SRCS} 14 | ) 15 | target_link_libraries(colorist-yuv colorist) 16 | -------------------------------------------------------------------------------- /bin/colorist/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # --------------------------------------------------------------------------- 2 | # Copyright Joe Drago 2018. 3 | # Distributed under the Boost Software License, Version 1.0. 4 | # (See accompanying file LICENSE_1_0.txt or copy at 5 | # http://www.boost.org/LICENSE_1_0.txt) 6 | # --------------------------------------------------------------------------- 7 | 8 | set(COLORIST_BIN_SRCS 9 | main.c 10 | ) 11 | 12 | add_executable(colorist-bin 13 | ${COLORIST_BIN_SRCS} 14 | ) 15 | target_link_libraries(colorist-bin colorist) 16 | set_target_properties(colorist-bin PROPERTIES OUTPUT_NAME colorist) 17 | -------------------------------------------------------------------------------- /docs/profiles/HDR_HD_ST2084.icc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/docs/profiles/HDR_HD_ST2084.icc -------------------------------------------------------------------------------- /docs/profiles/HDR_P3_D65_ST2084.icc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/docs/profiles/HDR_P3_D65_ST2084.icc -------------------------------------------------------------------------------- /docs/profiles/HDR_UHD_ST2084.icc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/docs/profiles/HDR_UHD_ST2084.icc -------------------------------------------------------------------------------- /emscripten/test.js: -------------------------------------------------------------------------------- 1 | var colorist = require("./colorist"); 2 | colorist.ready = function() { 3 | go(); 4 | } 5 | 6 | function go() 7 | { 8 | var fs = require("fs"); 9 | 10 | colorist.FS.writeFile("/orange.jpg", fs.readFileSync("orange.jpg")); 11 | colorist.execute("report /orange.jpg /orange.html".split(" ")); 12 | fs.writeFileSync("orange.html", colorist.FS.readFile("/orange.html")); 13 | colorist.FS.unlink("/orange.jpg"); 14 | colorist.FS.unlink("/orange.html"); 15 | } 16 | -------------------------------------------------------------------------------- /ext/cJSON/.gitignore: -------------------------------------------------------------------------------- 1 | .svn 2 | test 3 | *.o 4 | *.a 5 | *.so 6 | *.swp 7 | *.patch 8 | tags 9 | *.dylib 10 | build/ 11 | cJSON_test 12 | cJSON_test_utils 13 | libcjson.so.* 14 | libcjson_utils.so.* 15 | *.orig 16 | .vscode 17 | -------------------------------------------------------------------------------- /ext/cJSON/.travis.yml: -------------------------------------------------------------------------------- 1 | dist: trusty 2 | sudo: false 3 | language: c 4 | env: 5 | matrix: 6 | - VALGRIND=On SANITIZERS=Off 7 | - VALGRIND=Off SANITIZERS=Off 8 | - VALGRIND=Off SANITIZERS=On 9 | compiler: 10 | - gcc 11 | - clang 12 | addons: 13 | apt: 14 | packages: 15 | - valgrind 16 | - libasan0 17 | - lib32asan0 18 | # currently not supported on travis: 19 | # - libasan1 20 | # - libasan2 21 | # - libubsan0 22 | - llvm 23 | script: 24 | - mkdir build 25 | - cd build 26 | - cmake .. -DENABLE_CJSON_UTILS=On -DENABLE_VALGRIND="${VALGRIND}" -DENABLE_SAFE_STACK="${VALGRIND}" -DENABLE_SANITIZERS="${SANITIZERS}" 27 | - make 28 | - make test CTEST_OUTPUT_ON_FAILURE=On 29 | -------------------------------------------------------------------------------- /ext/cJSON/fuzzing/.gitignore: -------------------------------------------------------------------------------- 1 | afl-build 2 | -------------------------------------------------------------------------------- /ext/cJSON/fuzzing/afl-prepare-linux.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -x 4 | echo core | sudo tee /proc/sys/kernel/core_pattern 5 | echo performance | sudo tee /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor 6 | -------------------------------------------------------------------------------- /ext/cJSON/fuzzing/afl.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | mkdir -p afl-build || exit 1 4 | cd afl-build || exit 1 5 | #cleanup 6 | rm -r -- * 7 | 8 | CC=afl-clang-fast cmake ../.. -DENABLE_FUZZING=On -DENABLE_SANITIZERS=On -DBUILD_SHARED_LIBS=Off 9 | make afl 10 | -------------------------------------------------------------------------------- /ext/cJSON/fuzzing/inputs/test1: -------------------------------------------------------------------------------- 1 | bf{ 2 | "glossary": { 3 | "title": "example glossary", 4 | "GlossDiv": { 5 | "title": "S", 6 | "GlossList": { 7 | "GlossEntry": { 8 | "ID": "SGML", 9 | "SortAs": "SGML", 10 | "GlossTerm": "Standard Generalized Markup Language", 11 | "Acronym": "SGML", 12 | "Abbrev": "ISO 8879:1986", 13 | "GlossDef": { 14 | "para": "A meta-markup language, used to create markup languages such as DocBook.", 15 | "GlossSeeAlso": ["GML", "XML"] 16 | }, 17 | "GlossSee": "markup" 18 | } 19 | } 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /ext/cJSON/fuzzing/inputs/test10: -------------------------------------------------------------------------------- 1 | bf["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"] 2 | -------------------------------------------------------------------------------- /ext/cJSON/fuzzing/inputs/test11: -------------------------------------------------------------------------------- 1 | bf{ 2 | "name": "Jack (\"Bee\") Nimble", 3 | "format": {"type": "rect", 4 | "width": 1920, 5 | "height": 1080, 6 | "interlace": false,"frame rate": 24 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /ext/cJSON/fuzzing/inputs/test2: -------------------------------------------------------------------------------- 1 | bf{"menu": { 2 | "id": "file", 3 | "value": "File", 4 | "popup": { 5 | "menuitem": [ 6 | {"value": "New", "onclick": "CreateNewDoc()"}, 7 | {"value": "Open", "onclick": "OpenDoc()"}, 8 | {"value": "Close", "onclick": "CloseDoc()"} 9 | ] 10 | } 11 | }} 12 | -------------------------------------------------------------------------------- /ext/cJSON/fuzzing/inputs/test3: -------------------------------------------------------------------------------- 1 | bf{"widget": { 2 | "debug": "on", 3 | "window": { 4 | "title": "Sample Konfabulator Widget", 5 | "name": "main_window", 6 | "width": 500, 7 | "height": 500 8 | }, 9 | "image": { 10 | "src": "Images/Sun.png", 11 | "name": "sun1", 12 | "hOffset": 250, 13 | "vOffset": 250, 14 | "alignment": "center" 15 | }, 16 | "text": { 17 | "data": "Click Here", 18 | "size": 36, 19 | "style": "bold", 20 | "name": "text1", 21 | "hOffset": 250, 22 | "vOffset": 100, 23 | "alignment": "center", 24 | "onMouseUp": "sun1.opacity = (sun1.opacity / 100) * 90;" 25 | } 26 | }} 27 | -------------------------------------------------------------------------------- /ext/cJSON/fuzzing/inputs/test3.bu: -------------------------------------------------------------------------------- 1 | bu{"widget": { 2 | "debug": "on", 3 | "window": { 4 | "title": "Sample Konfabulator Widget", 5 | "name": "main_window", 6 | "width": 500, 7 | "height": 500 8 | }, 9 | "image": { 10 | "src": "Images/Sun.png", 11 | "name": "sun1", 12 | "hOffset": 250, 13 | "vOffset": 250, 14 | "alignment": "center" 15 | }, 16 | "text": { 17 | "data": "Click Here", 18 | "size": 36, 19 | "style": "bold", 20 | "name": "text1", 21 | "hOffset": 250, 22 | "vOffset": 100, 23 | "alignment": "center", 24 | "onMouseUp": "sun1.opacity = (sun1.opacity / 100) * 90;" 25 | } 26 | }} 27 | -------------------------------------------------------------------------------- /ext/cJSON/fuzzing/inputs/test3.uf: -------------------------------------------------------------------------------- 1 | uf{"widget": { 2 | "debug": "on", 3 | "window": { 4 | "title": "Sample Konfabulator Widget", 5 | "name": "main_window", 6 | "width": 500, 7 | "height": 500 8 | }, 9 | "image": { 10 | "src": "Images/Sun.png", 11 | "name": "sun1", 12 | "hOffset": 250, 13 | "vOffset": 250, 14 | "alignment": "center" 15 | }, 16 | "text": { 17 | "data": "Click Here", 18 | "size": 36, 19 | "style": "bold", 20 | "name": "text1", 21 | "hOffset": 250, 22 | "vOffset": 100, 23 | "alignment": "center", 24 | "onMouseUp": "sun1.opacity = (sun1.opacity / 100) * 90;" 25 | } 26 | }} 27 | -------------------------------------------------------------------------------- /ext/cJSON/fuzzing/inputs/test3.uu: -------------------------------------------------------------------------------- 1 | uu{"widget": { 2 | "debug": "on", 3 | "window": { 4 | "title": "Sample Konfabulator Widget", 5 | "name": "main_window", 6 | "width": 500, 7 | "height": 500 8 | }, 9 | "image": { 10 | "src": "Images/Sun.png", 11 | "name": "sun1", 12 | "hOffset": 250, 13 | "vOffset": 250, 14 | "alignment": "center" 15 | }, 16 | "text": { 17 | "data": "Click Here", 18 | "size": 36, 19 | "style": "bold", 20 | "name": "text1", 21 | "hOffset": 250, 22 | "vOffset": 100, 23 | "alignment": "center", 24 | "onMouseUp": "sun1.opacity = (sun1.opacity / 100) * 90;" 25 | } 26 | }} 27 | -------------------------------------------------------------------------------- /ext/cJSON/fuzzing/inputs/test5: -------------------------------------------------------------------------------- 1 | bf{"menu": { 2 | "header": "SVG Viewer", 3 | "items": [ 4 | {"id": "Open"}, 5 | {"id": "OpenNew", "label": "Open New"}, 6 | null, 7 | {"id": "ZoomIn", "label": "Zoom In"}, 8 | {"id": "ZoomOut", "label": "Zoom Out"}, 9 | {"id": "OriginalView", "label": "Original View"}, 10 | null, 11 | {"id": "Quality"}, 12 | {"id": "Pause"}, 13 | {"id": "Mute"}, 14 | null, 15 | {"id": "Find", "label": "Find..."}, 16 | {"id": "FindAgain", "label": "Find Again"}, 17 | {"id": "Copy"}, 18 | {"id": "CopyAgain", "label": "Copy Again"}, 19 | {"id": "CopySVG", "label": "Copy SVG"}, 20 | {"id": "ViewSVG", "label": "View SVG"}, 21 | {"id": "ViewSource", "label": "View Source"}, 22 | {"id": "SaveAs", "label": "Save As"}, 23 | null, 24 | {"id": "Help"}, 25 | {"id": "About", "label": "About Adobe CVG Viewer..."} 26 | ] 27 | }} 28 | -------------------------------------------------------------------------------- /ext/cJSON/fuzzing/inputs/test6: -------------------------------------------------------------------------------- 1 | bf 2 | 3 | 4 | 5 | 9 | Application Error 10 | 11 | 12 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /ext/cJSON/fuzzing/inputs/test7: -------------------------------------------------------------------------------- 1 | bf[ 2 | { 3 | "precision": "zip", 4 | "Latitude": 37.7668, 5 | "Longitude": -122.3959, 6 | "Address": "", 7 | "City": "SAN FRANCISCO", 8 | "State": "CA", 9 | "Zip": "94107", 10 | "Country": "US" 11 | }, 12 | { 13 | "precision": "zip", 14 | "Latitude": 37.371991, 15 | "Longitude": -122.026020, 16 | "Address": "", 17 | "City": "SUNNYVALE", 18 | "State": "CA", 19 | "Zip": "94085", 20 | "Country": "US" 21 | } 22 | ] 23 | -------------------------------------------------------------------------------- /ext/cJSON/fuzzing/inputs/test8: -------------------------------------------------------------------------------- 1 | bf{ 2 | "Image": { 3 | "Width": 800, 4 | "Height": 600, 5 | "Title": "View from 15th Floor", 6 | "Thumbnail": { 7 | "Url": "http:/*www.example.com/image/481989943", 8 | "Height": 125, 9 | "Width": "100" 10 | }, 11 | "IDs": [116, 943, 234, 38793] 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /ext/cJSON/fuzzing/inputs/test9: -------------------------------------------------------------------------------- 1 | bf[ 2 | [0, -1, 0], 3 | [1, 0, 0], 4 | [0, 0, 1] 5 | ] 6 | -------------------------------------------------------------------------------- /ext/cJSON/fuzzing/json.dict: -------------------------------------------------------------------------------- 1 | # 2 | # AFL dictionary for JSON 3 | # ----------------------------- 4 | # 5 | 6 | object_start="{" 7 | object_end="}" 8 | object_empty="{}" 9 | object_one_element="{\"one\":1}" 10 | object_two_elements="{\"1\":1,\"2\":2}" 11 | object_separator=":" 12 | 13 | array_start="[" 14 | array_end="]" 15 | array_empty="[]" 16 | array_one_element="[1]" 17 | array_two_elements="[1,2]" 18 | 19 | separator="," 20 | 21 | escape_sequence_b="\\b" 22 | escape_sequence_f="\\f" 23 | escape_sequence_n="\\n" 24 | escape_sequence_r="\\r" 25 | escape_sequence_t="\\t" 26 | escape_sequence_quote="\\\"" 27 | escape_sequence_backslash="\\\\" 28 | escape_sequence_slash="\\/" 29 | escape_sequence_utf16_base="\\u" 30 | escape_sequence_utf16="\\u12ab" 31 | 32 | number_integer="1" 33 | number_double="1.0" 34 | number_negative_integer="-1" 35 | number_negative_double="-1.0" 36 | number_engineering1="1e1" 37 | number_engineering2="1e-1" 38 | number_positive_integer="+1" 39 | number_positive_double="+1.0" 40 | number_e="e" 41 | number_plus="+" 42 | number_minus="-" 43 | number_separator="." 44 | 45 | null="null" 46 | true="true" 47 | false="false" 48 | -------------------------------------------------------------------------------- /ext/cJSON/library_config/cJSONConfig.cmake.in: -------------------------------------------------------------------------------- 1 | # Whether the utils lib was build. 2 | set(CJSON_UTILS_FOUND @ENABLE_CJSON_UTILS@) 3 | 4 | # The include directories used by cJSON 5 | set(CJSON_INCLUDE_DIRS "@CMAKE_INSTALL_FULL_INCLUDEDIR@") 6 | set(CJSON_INCLUDE_DIR "@CMAKE_INSTALL_FULL_INCLUDEDIR@") 7 | 8 | get_filename_component(_dir "${CMAKE_CURRENT_LIST_FILE}" PATH) 9 | 10 | # The cJSON library 11 | set(CJSON_LIBRARY "@CJSON_LIB@") 12 | if(@ENABLE_TARGET_EXPORT@) 13 | # Include the target 14 | include("${_dir}/cjson.cmake") 15 | endif() 16 | 17 | if(CJSON_UTILS_FOUND) 18 | # The cJSON utils library 19 | set(CJSON_UTILS_LIBRARY @CJSON_UTILS_LIB@) 20 | # All cJSON libraries 21 | set(CJSON_LIBRARIES "@CJSON_UTILS_LIB@" "@CJSON_LIB@") 22 | if(@ENABLE_TARGET_EXPORT@) 23 | # Include the target 24 | include("${_dir}/cjson_utils.cmake") 25 | endif() 26 | else() 27 | # All cJSON libraries 28 | set(CJSON_LIBRARIES "@CJSON_LIB@") 29 | endif() 30 | -------------------------------------------------------------------------------- /ext/cJSON/library_config/cJSONConfigVersion.cmake.in: -------------------------------------------------------------------------------- 1 | set(PACKAGE_VERSION "@PROJECT_VERSION@") 2 | 3 | # Check whether the requested PACKAGE_FIND_VERSION is compatible 4 | if("${PACKAGE_VERSION}" VERSION_LESS "${PACKAGE_FIND_VERSION}") 5 | set(PACKAGE_VERSION_COMPATIBLE FALSE) 6 | else() 7 | set(PACKAGE_VERSION_COMPATIBLE TRUE) 8 | if ("${PACKAGE_VERSION}" VERSION_EQUAL "${PACKAGE_FIND_VERSION}") 9 | set(PACKAGE_VERSION_EXACT TRUE) 10 | endif() 11 | endif() 12 | -------------------------------------------------------------------------------- /ext/cJSON/library_config/libcjson.pc.in: -------------------------------------------------------------------------------- 1 | libdir=@CMAKE_INSTALL_FULL_LIBDIR@ 2 | includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ 3 | 4 | Name: libcjson 5 | Version: @PROJECT_VERSION@ 6 | Description: Ultralightweight JSON parser in ANSI C 7 | URL: https://github.com/DaveGamble/cJSON 8 | Libs: -L${libdir} -lcjson 9 | Libs.Private: -lm 10 | Cflags: -I${includedir} 11 | -------------------------------------------------------------------------------- /ext/cJSON/library_config/libcjson_utils.pc.in: -------------------------------------------------------------------------------- 1 | libdir=@CMAKE_INSTALL_FULL_LIBDIR@ 2 | includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ 3 | 4 | Name: libcjson_utils 5 | Version: @PROJECT_VERSION@ 6 | Description: An implementation of JSON Pointer, Patch and Merge Patch based on cJSON. 7 | URL: https://github.com/DaveGamble/cJSON 8 | Libs: -L${libdir} -lcjson_utils 9 | Cflags: -I${includedir} 10 | Requires: libcjson 11 | -------------------------------------------------------------------------------- /ext/cJSON/tests/inputs/test1: -------------------------------------------------------------------------------- 1 | { 2 | "glossary": { 3 | "title": "example glossary", 4 | "GlossDiv": { 5 | "title": "S", 6 | "GlossList": { 7 | "GlossEntry": { 8 | "ID": "SGML", 9 | "SortAs": "SGML", 10 | "GlossTerm": "Standard Generalized Markup Language", 11 | "Acronym": "SGML", 12 | "Abbrev": "ISO 8879:1986", 13 | "GlossDef": { 14 | "para": "A meta-markup language, used to create markup languages such as DocBook.", 15 | "GlossSeeAlso": ["GML", "XML"] 16 | }, 17 | "GlossSee": "markup" 18 | } 19 | } 20 | } 21 | } 22 | } 23 | -------------------------------------------------------------------------------- /ext/cJSON/tests/inputs/test1.expected: -------------------------------------------------------------------------------- 1 | { 2 | "glossary": { 3 | "title": "example glossary", 4 | "GlossDiv": { 5 | "title": "S", 6 | "GlossList": { 7 | "GlossEntry": { 8 | "ID": "SGML", 9 | "SortAs": "SGML", 10 | "GlossTerm": "Standard Generalized Markup Language", 11 | "Acronym": "SGML", 12 | "Abbrev": "ISO 8879:1986", 13 | "GlossDef": { 14 | "para": "A meta-markup language, used to create markup languages such as DocBook.", 15 | "GlossSeeAlso": ["GML", "XML"] 16 | }, 17 | "GlossSee": "markup" 18 | } 19 | } 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /ext/cJSON/tests/inputs/test10: -------------------------------------------------------------------------------- 1 | ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"] 2 | -------------------------------------------------------------------------------- /ext/cJSON/tests/inputs/test10.expected: -------------------------------------------------------------------------------- 1 | ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"] -------------------------------------------------------------------------------- /ext/cJSON/tests/inputs/test11: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Jack (\"Bee\") Nimble", 3 | "format": {"type": "rect", 4 | "width": 1920, 5 | "height": 1080, 6 | "interlace": false,"frame rate": 24 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /ext/cJSON/tests/inputs/test11.expected: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Jack (\"Bee\") Nimble", 3 | "format": { 4 | "type": "rect", 5 | "width": 1920, 6 | "height": 1080, 7 | "interlace": false, 8 | "frame rate": 24 9 | } 10 | } -------------------------------------------------------------------------------- /ext/cJSON/tests/inputs/test2: -------------------------------------------------------------------------------- 1 | {"menu": { 2 | "id": "file", 3 | "value": "File", 4 | "popup": { 5 | "menuitem": [ 6 | {"value": "New", "onclick": "CreateNewDoc()"}, 7 | {"value": "Open", "onclick": "OpenDoc()"}, 8 | {"value": "Close", "onclick": "CloseDoc()"} 9 | ] 10 | } 11 | }} 12 | -------------------------------------------------------------------------------- /ext/cJSON/tests/inputs/test2.expected: -------------------------------------------------------------------------------- 1 | { 2 | "menu": { 3 | "id": "file", 4 | "value": "File", 5 | "popup": { 6 | "menuitem": [{ 7 | "value": "New", 8 | "onclick": "CreateNewDoc()" 9 | }, { 10 | "value": "Open", 11 | "onclick": "OpenDoc()" 12 | }, { 13 | "value": "Close", 14 | "onclick": "CloseDoc()" 15 | }] 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /ext/cJSON/tests/inputs/test3: -------------------------------------------------------------------------------- 1 | {"widget": { 2 | "debug": "on", 3 | "window": { 4 | "title": "Sample Konfabulator Widget", 5 | "name": "main_window", 6 | "width": 500, 7 | "height": 500 8 | }, 9 | "image": { 10 | "src": "Images/Sun.png", 11 | "name": "sun1", 12 | "hOffset": 250, 13 | "vOffset": 250, 14 | "alignment": "center" 15 | }, 16 | "text": { 17 | "data": "Click Here", 18 | "size": 36, 19 | "style": "bold", 20 | "name": "text1", 21 | "hOffset": 250, 22 | "vOffset": 100, 23 | "alignment": "center", 24 | "onMouseUp": "sun1.opacity = (sun1.opacity / 100) * 90;" 25 | } 26 | }} -------------------------------------------------------------------------------- /ext/cJSON/tests/inputs/test3.expected: -------------------------------------------------------------------------------- 1 | { 2 | "widget": { 3 | "debug": "on", 4 | "window": { 5 | "title": "Sample Konfabulator Widget", 6 | "name": "main_window", 7 | "width": 500, 8 | "height": 500 9 | }, 10 | "image": { 11 | "src": "Images/Sun.png", 12 | "name": "sun1", 13 | "hOffset": 250, 14 | "vOffset": 250, 15 | "alignment": "center" 16 | }, 17 | "text": { 18 | "data": "Click Here", 19 | "size": 36, 20 | "style": "bold", 21 | "name": "text1", 22 | "hOffset": 250, 23 | "vOffset": 100, 24 | "alignment": "center", 25 | "onMouseUp": "sun1.opacity = (sun1.opacity / 100) * 90;" 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /ext/cJSON/tests/inputs/test5: -------------------------------------------------------------------------------- 1 | {"menu": { 2 | "header": "SVG Viewer", 3 | "items": [ 4 | {"id": "Open"}, 5 | {"id": "OpenNew", "label": "Open New"}, 6 | null, 7 | {"id": "ZoomIn", "label": "Zoom In"}, 8 | {"id": "ZoomOut", "label": "Zoom Out"}, 9 | {"id": "OriginalView", "label": "Original View"}, 10 | null, 11 | {"id": "Quality"}, 12 | {"id": "Pause"}, 13 | {"id": "Mute"}, 14 | null, 15 | {"id": "Find", "label": "Find..."}, 16 | {"id": "FindAgain", "label": "Find Again"}, 17 | {"id": "Copy"}, 18 | {"id": "CopyAgain", "label": "Copy Again"}, 19 | {"id": "CopySVG", "label": "Copy SVG"}, 20 | {"id": "ViewSVG", "label": "View SVG"}, 21 | {"id": "ViewSource", "label": "View Source"}, 22 | {"id": "SaveAs", "label": "Save As"}, 23 | null, 24 | {"id": "Help"}, 25 | {"id": "About", "label": "About Adobe CVG Viewer..."} 26 | ] 27 | }} 28 | -------------------------------------------------------------------------------- /ext/cJSON/tests/inputs/test6: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 9 | Application Error 10 | 11 | 12 | 15 | 16 | -------------------------------------------------------------------------------- /ext/cJSON/tests/inputs/test7: -------------------------------------------------------------------------------- 1 | [ 2 | { 3 | "precision": "zip", 4 | "Latitude": 37.7668, 5 | "Longitude": -122.3959, 6 | "Address": "", 7 | "City": "SAN FRANCISCO", 8 | "State": "CA", 9 | "Zip": "94107", 10 | "Country": "US" 11 | }, 12 | { 13 | "precision": "zip", 14 | "Latitude": 37.371991, 15 | "Longitude": -122.026020, 16 | "Address": "", 17 | "City": "SUNNYVALE", 18 | "State": "CA", 19 | "Zip": "94085", 20 | "Country": "US" 21 | } 22 | ] 23 | -------------------------------------------------------------------------------- /ext/cJSON/tests/inputs/test7.expected: -------------------------------------------------------------------------------- 1 | [{ 2 | "precision": "zip", 3 | "Latitude": 37.7668, 4 | "Longitude": -122.3959, 5 | "Address": "", 6 | "City": "SAN FRANCISCO", 7 | "State": "CA", 8 | "Zip": "94107", 9 | "Country": "US" 10 | }, { 11 | "precision": "zip", 12 | "Latitude": 37.371991, 13 | "Longitude": -122.02602, 14 | "Address": "", 15 | "City": "SUNNYVALE", 16 | "State": "CA", 17 | "Zip": "94085", 18 | "Country": "US" 19 | }] -------------------------------------------------------------------------------- /ext/cJSON/tests/inputs/test8: -------------------------------------------------------------------------------- 1 | { 2 | "Image": { 3 | "Width": 800, 4 | "Height": 600, 5 | "Title": "View from 15th Floor", 6 | "Thumbnail": { 7 | "Url": "http:/*www.example.com/image/481989943", 8 | "Height": 125, 9 | "Width": "100" 10 | }, 11 | "IDs": [116, 943, 234, 38793] 12 | } 13 | } 14 | -------------------------------------------------------------------------------- /ext/cJSON/tests/inputs/test8.expected: -------------------------------------------------------------------------------- 1 | { 2 | "Image": { 3 | "Width": 800, 4 | "Height": 600, 5 | "Title": "View from 15th Floor", 6 | "Thumbnail": { 7 | "Url": "http:/*www.example.com/image/481989943", 8 | "Height": 125, 9 | "Width": "100" 10 | }, 11 | "IDs": [116, 943, 234, 38793] 12 | } 13 | } -------------------------------------------------------------------------------- /ext/cJSON/tests/inputs/test9: -------------------------------------------------------------------------------- 1 | [ 2 | [0, -1, 0], 3 | [1, 0, 0], 4 | [0, 0, 1] 5 | ] 6 | -------------------------------------------------------------------------------- /ext/cJSON/tests/inputs/test9.expected: -------------------------------------------------------------------------------- 1 | [[0, -1, 0], [1, 0, 0], [0, 0, 1]] -------------------------------------------------------------------------------- /ext/cJSON/tests/json-patch-tests/.editorconfig: -------------------------------------------------------------------------------- 1 | # EditorConfig is awesome: http://EditorConfig.org 2 | 3 | root = true 4 | 5 | [*] 6 | end_of_line = lf 7 | insert_final_newline = true 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | indent_style = space 11 | -------------------------------------------------------------------------------- /ext/cJSON/tests/json-patch-tests/.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | \#* 3 | !.editorconfig 4 | !.gitignore 5 | -------------------------------------------------------------------------------- /ext/cJSON/tests/json-patch-tests/.npmignore: -------------------------------------------------------------------------------- 1 | .editorconfig 2 | .gitignore 3 | -------------------------------------------------------------------------------- /ext/cJSON/tests/json-patch-tests/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "json-patch-test-suite", 3 | "version": "1.1.0", 4 | "description": "JSON Patch RFC 6902 test suite", 5 | "repository": "github:json-patch/json-patch-tests", 6 | "homepage": "https://github.com/json-patch/json-patch-tests", 7 | "bugs": "https://github.com/json-patch/json-patch-tests/issues", 8 | "keywords": [ 9 | "JSON", 10 | "Patch", 11 | "test", 12 | "suite" 13 | ], 14 | "license": "Apache-2.0" 15 | } 16 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | 3 | # These files are text and should be normalized (convert crlf to lf) 4 | *.rb text 5 | *.test text 6 | *.c text 7 | *.cpp text 8 | *.h text 9 | *.txt text 10 | *.yml text 11 | *.s79 text 12 | *.bat text 13 | *.xcl text 14 | *.inc text 15 | *.info text 16 | *.md text 17 | makefile text 18 | rakefile text 19 | 20 | 21 | #These files are binary and should not be normalized 22 | *.doc binary 23 | *.odt binary 24 | *.pdf binary 25 | *.ewd binary 26 | *.eww binary 27 | *.dni binary 28 | *.wsdt binary 29 | *.dbgdt binary 30 | *.mac binary 31 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | test/sandbox 3 | .DS_Store 4 | examples/example_1/test1.exe 5 | examples/example_1/test2.exe 6 | examples/example_2/all_tests.exe 7 | examples/example_1/test1.out 8 | examples/example_1/test2.out 9 | examples/example_2/all_tests.out 10 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/.travis.yml: -------------------------------------------------------------------------------- 1 | language: c 2 | 3 | matrix: 4 | include: 5 | - os: osx 6 | compiler: clang 7 | osx_image: xcode7.3 8 | - os: linux 9 | dist: trusty 10 | compiler: gcc 11 | 12 | before_install: 13 | - if [ "$TRAVIS_OS_NAME" == "osx" ]; then rvm install 2.1 && rvm use 2.1 && ruby -v; fi 14 | - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install --assume-yes --quiet gcc-multilib; fi 15 | install: 16 | - gem install rspec 17 | - gem install rubocop 18 | script: 19 | - cd test && rake ci 20 | - make -s 21 | - make -s DEBUG=-m32 #32-bit architecture with 64-bit support 22 | - make -s DEBUG=-m32 UNITY_SUPPORT_64= #32-bit build without 64-bit types 23 | - make -s UNITY_INCLUDE_DOUBLE= # without double 24 | - cd ../extras/fixture/test && rake ci 25 | - make -s default noStdlibMalloc 26 | - make -s C89 27 | - cd ../../../examples/example_1 && make -s ci 28 | - cd ../example_2 && make -s ci 29 | - cd ../example_3 && rake 30 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/auto/test_file_filter.rb: -------------------------------------------------------------------------------- 1 | # ========================================== 2 | # Unity Project - A Test Framework for C 3 | # Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams 4 | # [Released under MIT License. Please refer to license.txt for details] 5 | # ========================================== 6 | 7 | require'yaml' 8 | 9 | module RakefileHelpers 10 | class TestFileFilter 11 | def initialize(all_files = false) 12 | @all_files = all_files 13 | 14 | return false unless @all_files 15 | return false unless File.exist?('test_file_filter.yml') 16 | 17 | filters = YAML.load_file('test_file_filter.yml') 18 | @all_files = filters[:all_files] 19 | @only_files = filters[:only_files] 20 | @exclude_files = filters[:exclude_files] 21 | end 22 | 23 | attr_accessor :all_files, :only_files, :exclude_files 24 | end 25 | end 26 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/auto/type_sanitizer.rb: -------------------------------------------------------------------------------- 1 | module TypeSanitizer 2 | def self.sanitize_c_identifier(unsanitized) 3 | # convert filename to valid C identifier by replacing invalid chars with '_' 4 | unsanitized.gsub(/[-\/\\\.\,\s]/, '_') 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/cJSON/tests/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/examples/example_1/readme.txt: -------------------------------------------------------------------------------- 1 | Example 1 2 | ========= 3 | 4 | Close to the simplest possible example of Unity, using only basic features. 5 | Run make to build & run the example tests. -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/examples/example_1/src/ProductionCode.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode.h" 3 | 4 | int Counter = 0; 5 | int NumbersToFind[9] = { 0, 34, 55, 66, 32, 11, 1, 77, 888 }; /* some obnoxious array to search that is 1-based indexing instead of 0. */ 6 | 7 | /* This function is supposed to search through NumbersToFind and find a particular number. 8 | * If it finds it, the index is returned. Otherwise 0 is returned which sorta makes sense since 9 | * NumbersToFind is indexed from 1. Unfortunately it's broken 10 | * (and should therefore be caught by our tests) */ 11 | int FindFunction_WhichIsBroken(int NumberToFind) 12 | { 13 | int i = 0; 14 | while (i <= 8) /* Notice I should have been in braces */ 15 | i++; 16 | if (NumbersToFind[i] == NumberToFind) /* Yikes! I'm getting run after the loop finishes instead of during it! */ 17 | return i; 18 | return 0; 19 | } 20 | 21 | int FunctionWhichReturnsLocalVariable(void) 22 | { 23 | return Counter; 24 | } 25 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/examples/example_1/src/ProductionCode.h: -------------------------------------------------------------------------------- 1 | 2 | int FindFunction_WhichIsBroken(int NumberToFind); 3 | int FunctionWhichReturnsLocalVariable(void); 4 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/examples/example_1/src/ProductionCode2.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode2.h" 3 | 4 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction) 5 | { 6 | (void)Poor; 7 | (void)LittleFunction; 8 | /* Since There Are No Tests Yet, This Function Could Be Empty For All We Know. 9 | * Which isn't terribly useful... but at least we put in a TEST_IGNORE so we won't forget */ 10 | return (char*)0; 11 | } 12 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/examples/example_1/src/ProductionCode2.h: -------------------------------------------------------------------------------- 1 | 2 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction); 3 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/examples/example_2/readme.txt: -------------------------------------------------------------------------------- 1 | Example 2 2 | ========= 3 | 4 | Same as the first example, but now using Unity's test fixture to group tests 5 | together. Using the test fixture also makes writing test runners much easier. -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/examples/example_2/src/ProductionCode.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode.h" 3 | 4 | int Counter = 0; 5 | int NumbersToFind[9] = { 0, 34, 55, 66, 32, 11, 1, 77, 888 }; //some obnoxious array to search that is 1-based indexing instead of 0. 6 | 7 | // This function is supposed to search through NumbersToFind and find a particular number. 8 | // If it finds it, the index is returned. Otherwise 0 is returned which sorta makes sense since 9 | // NumbersToFind is indexed from 1. Unfortunately it's broken 10 | // (and should therefore be caught by our tests) 11 | int FindFunction_WhichIsBroken(int NumberToFind) 12 | { 13 | int i = 0; 14 | while (i <= 8) //Notice I should have been in braces 15 | i++; 16 | if (NumbersToFind[i] == NumberToFind) //Yikes! I'm getting run after the loop finishes instead of during it! 17 | return i; 18 | return 0; 19 | } 20 | 21 | int FunctionWhichReturnsLocalVariable(void) 22 | { 23 | return Counter; 24 | } 25 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/examples/example_2/src/ProductionCode.h: -------------------------------------------------------------------------------- 1 | 2 | int FindFunction_WhichIsBroken(int NumberToFind); 3 | int FunctionWhichReturnsLocalVariable(void); 4 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/examples/example_2/src/ProductionCode2.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode2.h" 3 | 4 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction) 5 | { 6 | (void)Poor; 7 | (void)LittleFunction; 8 | //Since There Are No Tests Yet, This Function Could Be Empty For All We Know. 9 | // Which isn't terribly useful... but at least we put in a TEST_IGNORE so we won't forget 10 | return (char*)0; 11 | } 12 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/examples/example_2/src/ProductionCode2.h: -------------------------------------------------------------------------------- 1 | 2 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction); 3 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/examples/example_3/helper/UnityHelper.c: -------------------------------------------------------------------------------- 1 | #include "unity.h" 2 | #include "UnityHelper.h" 3 | #include 4 | #include 5 | 6 | void AssertEqualExampleStruct(const EXAMPLE_STRUCT_T expected, const EXAMPLE_STRUCT_T actual, const unsigned short line) 7 | { 8 | UNITY_TEST_ASSERT_EQUAL_INT(expected.x, actual.x, line, "Example Struct Failed For Field x"); 9 | UNITY_TEST_ASSERT_EQUAL_INT(expected.y, actual.y, line, "Example Struct Failed For Field y"); 10 | } 11 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/examples/example_3/helper/UnityHelper.h: -------------------------------------------------------------------------------- 1 | #ifndef _TESTHELPER_H 2 | #define _TESTHELPER_H 3 | 4 | #include "Types.h" 5 | 6 | void AssertEqualExampleStruct(const EXAMPLE_STRUCT_T expected, const EXAMPLE_STRUCT_T actual, const unsigned short line); 7 | 8 | #define UNITY_TEST_ASSERT_EQUAL_EXAMPLE_STRUCT_T(expected, actual, line, message) AssertEqualExampleStruct(expected, actual, line); 9 | 10 | #define TEST_ASSERT_EQUAL_EXAMPLE_STRUCT_T(expected, actual) UNITY_TEST_ASSERT_EQUAL_EXAMPLE_STRUCT_T(expected, actual, __LINE__, NULL); 11 | 12 | #endif // _TESTHELPER_H 13 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/examples/example_3/rakefile.rb: -------------------------------------------------------------------------------- 1 | HERE = File.expand_path(File.dirname(__FILE__)) + '/' 2 | UNITY_ROOT = File.expand_path(File.dirname(__FILE__)) + '/../..' 3 | 4 | require 'rake' 5 | require 'rake/clean' 6 | require HERE + 'rakefile_helper' 7 | 8 | TEMP_DIRS = [ 9 | File.join(HERE, 'build') 10 | ].freeze 11 | 12 | TEMP_DIRS.each do |dir| 13 | directory(dir) 14 | CLOBBER.include(dir) 15 | end 16 | 17 | task prepare_for_tests: TEMP_DIRS 18 | 19 | include RakefileHelpers 20 | 21 | # Load default configuration, for now 22 | DEFAULT_CONFIG_FILE = 'target_gcc_32.yml'.freeze 23 | configure_toolchain(DEFAULT_CONFIG_FILE) 24 | 25 | task unit: [:prepare_for_tests] do 26 | run_tests unit_test_files 27 | end 28 | 29 | desc 'Generate test summary' 30 | task :summary do 31 | report_summary 32 | end 33 | 34 | desc 'Build and test Unity' 35 | task all: %i(clean unit summary) 36 | task default: %i(clobber all) 37 | task ci: [:default] 38 | task cruise: [:default] 39 | 40 | desc 'Load configuration' 41 | task :config, :config_file do |_t, args| 42 | configure_toolchain(args[:config_file]) 43 | end 44 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/examples/example_3/readme.txt: -------------------------------------------------------------------------------- 1 | Example 3 2 | ========= 3 | 4 | This example project gives an example of some passing, ignored, and failing tests. 5 | It's simple and meant for you to look over and get an idea for what all of this stuff does. 6 | 7 | You can build and test using rake. The rake version will let you test with gcc or a couple 8 | versions of IAR. You can tweak the yaml files to get those versions running. 9 | 10 | Ruby is required if you're using the rake version (obviously). This version shows off most of 11 | Unity's advanced features (automatically creating test runners, fancy summaries, etc.) 12 | Without ruby, you have to maintain your own test runners. Do that for a while and you'll learn 13 | why you really want to start using the Ruby tools. 14 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/examples/example_3/src/ProductionCode.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode.h" 3 | 4 | int Counter = 0; 5 | int NumbersToFind[9] = { 0, 34, 55, 66, 32, 11, 1, 77, 888 }; //some obnoxious array to search that is 1-based indexing instead of 0. 6 | 7 | // This function is supposed to search through NumbersToFind and find a particular number. 8 | // If it finds it, the index is returned. Otherwise 0 is returned which sorta makes sense since 9 | // NumbersToFind is indexed from 1. Unfortunately it's broken 10 | // (and should therefore be caught by our tests) 11 | int FindFunction_WhichIsBroken(int NumberToFind) 12 | { 13 | int i = 0; 14 | while (i <= 8) //Notice I should have been in braces 15 | i++; 16 | if (NumbersToFind[i] == NumberToFind) //Yikes! I'm getting run after the loop finishes instead of during it! 17 | return i; 18 | return 0; 19 | } 20 | 21 | int FunctionWhichReturnsLocalVariable(void) 22 | { 23 | return Counter; 24 | } 25 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/examples/example_3/src/ProductionCode.h: -------------------------------------------------------------------------------- 1 | 2 | int FindFunction_WhichIsBroken(int NumberToFind); 3 | int FunctionWhichReturnsLocalVariable(void); 4 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/examples/example_3/src/ProductionCode2.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode2.h" 3 | 4 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction) 5 | { 6 | (void)Poor; 7 | (void)LittleFunction; 8 | //Since There Are No Tests Yet, This Function Could Be Empty For All We Know. 9 | // Which isn't terribly useful... but at least we put in a TEST_IGNORE so we won't forget 10 | return (char*)0; 11 | } 12 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/examples/example_3/src/ProductionCode2.h: -------------------------------------------------------------------------------- 1 | 2 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction); 3 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/examples/example_3/target_gcc_32.yml: -------------------------------------------------------------------------------- 1 | # Copied from ~Unity/targets/gcc_32.yml 2 | unity_root: &unity_root '../..' 3 | compiler: 4 | path: gcc 5 | source_path: 'src/' 6 | unit_tests_path: &unit_tests_path 'test/' 7 | build_path: &build_path 'build/' 8 | options: 9 | - '-c' 10 | - '-m32' 11 | - '-Wall' 12 | - '-Wno-address' 13 | - '-std=c99' 14 | - '-pedantic' 15 | includes: 16 | prefix: '-I' 17 | items: 18 | - 'src/' 19 | - '../../src/' 20 | - *unit_tests_path 21 | defines: 22 | prefix: '-D' 23 | items: 24 | - UNITY_INCLUDE_DOUBLE 25 | - UNITY_SUPPORT_TEST_CASES 26 | object_files: 27 | prefix: '-o' 28 | extension: '.o' 29 | destination: *build_path 30 | linker: 31 | path: gcc 32 | options: 33 | - -lm 34 | - '-m32' 35 | includes: 36 | prefix: '-I' 37 | object_files: 38 | path: *build_path 39 | extension: '.o' 40 | bin_files: 41 | prefix: '-o' 42 | extension: '.exe' 43 | destination: *build_path 44 | colour: true 45 | :unity: 46 | :plugins: [] 47 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/extras/fixture/readme.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2010 James Grenning and Contributed to Unity Project 2 | 3 | Unity Project - A Test Framework for C 4 | Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams 5 | [Released under MIT License. Please refer to license.txt for details] 6 | 7 | This Framework is an optional add-on to Unity. By including unity_framework.h in place of unity.h, 8 | you may now work with Unity in a manner similar to CppUTest. This framework adds the concepts of 9 | test groups and gives finer control of your tests over the command line. -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/release/build.info: -------------------------------------------------------------------------------- 1 | 122 2 | 3 | -------------------------------------------------------------------------------- /ext/cJSON/tests/unity/release/version.info: -------------------------------------------------------------------------------- 1 | 2.4.3 2 | 3 | -------------------------------------------------------------------------------- /ext/cJSON/valgrind.supp: -------------------------------------------------------------------------------- 1 | { 2 | suppress_ld_on_armv7 3 | Memcheck:Cond 4 | ... 5 | obj:*/ld-*.so 6 | } 7 | -------------------------------------------------------------------------------- /ext/gb/gb_math.c: -------------------------------------------------------------------------------- 1 | #define GB_MATH_IMPLEMENTATION 2 | #include "gb_math.h" 3 | -------------------------------------------------------------------------------- /ext/genHeader/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(genHeader C) 2 | add_executable(genHeader 3 | genHeader.c 4 | ) 5 | -------------------------------------------------------------------------------- /ext/jpeg/jconfig.vms: -------------------------------------------------------------------------------- 1 | /* jconfig.vms --- jconfig.h for use on Digital VMS. */ 2 | /* see jconfig.txt for explanations */ 3 | 4 | #define HAVE_PROTOTYPES 5 | #define HAVE_UNSIGNED_CHAR 6 | #define HAVE_UNSIGNED_SHORT 7 | /* #define void char */ 8 | /* #define const */ 9 | #undef CHAR_IS_UNSIGNED 10 | #define HAVE_STDDEF_H 11 | #define HAVE_STDLIB_H 12 | #undef NEED_BSD_STRINGS 13 | #undef NEED_SYS_TYPES_H 14 | #undef NEED_FAR_POINTERS 15 | #undef NEED_SHORT_EXTERNAL_NAMES 16 | #undef INCOMPLETE_TYPES_BROKEN 17 | 18 | #ifdef JPEG_INTERNALS 19 | 20 | #undef RIGHT_SHIFT_IS_UNSIGNED 21 | 22 | #endif /* JPEG_INTERNALS */ 23 | 24 | #ifdef JPEG_CJPEG_DJPEG 25 | 26 | #define BMP_SUPPORTED /* BMP image file format */ 27 | #define GIF_SUPPORTED /* GIF image file format */ 28 | #define PPM_SUPPORTED /* PBMPLUS PPM/PGM image file format */ 29 | #undef RLE_SUPPORTED /* Utah RLE image file format */ 30 | #define TARGA_SUPPORTED /* Targa image file format */ 31 | 32 | #define TWO_FILE_COMMANDLINE /* Needed on VMS */ 33 | #undef NEED_SIGNAL_CATCHER 34 | #undef DONT_USE_B_MODE 35 | #undef PROGRESS_REPORT /* optional */ 36 | 37 | #endif /* JPEG_CJPEG_DJPEG */ 38 | -------------------------------------------------------------------------------- /ext/jpeg/jversion.h: -------------------------------------------------------------------------------- 1 | /* 2 | * jversion.h 3 | * 4 | * Copyright (C) 1991-2013, Thomas G. Lane, Guido Vollbeding. 5 | * This file is part of the Independent JPEG Group's software. 6 | * For conditions of distribution and use, see the accompanying README file. 7 | * 8 | * This file contains software version identification. 9 | */ 10 | 11 | 12 | #define JVERSION "9 13-Jan-2013" 13 | 14 | #define JCOPYRIGHT "Copyright (C) 2013, Thomas G. Lane, Guido Vollbeding" 15 | -------------------------------------------------------------------------------- /ext/jpeg/libjpeg.map: -------------------------------------------------------------------------------- 1 | LIBJPEG_9.0 { 2 | global: 3 | *; 4 | }; 5 | -------------------------------------------------------------------------------- /ext/jpeg/makeadsw.vc6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makeadsw.vc6 -------------------------------------------------------------------------------- /ext/jpeg/makeasln.v10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makeasln.v10 -------------------------------------------------------------------------------- /ext/jpeg/makecdep.vc6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makecdep.vc6 -------------------------------------------------------------------------------- /ext/jpeg/makecdsp.vc6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makecdsp.vc6 -------------------------------------------------------------------------------- /ext/jpeg/makecfil.v10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makecfil.v10 -------------------------------------------------------------------------------- /ext/jpeg/makecmak.vc6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makecmak.vc6 -------------------------------------------------------------------------------- /ext/jpeg/makecvcx.v10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makecvcx.v10 -------------------------------------------------------------------------------- /ext/jpeg/makeddep.vc6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makeddep.vc6 -------------------------------------------------------------------------------- /ext/jpeg/makeddsp.vc6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makeddsp.vc6 -------------------------------------------------------------------------------- /ext/jpeg/makedfil.v10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makedfil.v10 -------------------------------------------------------------------------------- /ext/jpeg/makedmak.vc6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makedmak.vc6 -------------------------------------------------------------------------------- /ext/jpeg/makedvcx.v10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makedvcx.v10 -------------------------------------------------------------------------------- /ext/jpeg/makejdep.vc6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makejdep.vc6 -------------------------------------------------------------------------------- /ext/jpeg/makejdsp.vc6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makejdsp.vc6 -------------------------------------------------------------------------------- /ext/jpeg/makejdsw.vc6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makejdsw.vc6 -------------------------------------------------------------------------------- /ext/jpeg/makejfil.v10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makejfil.v10 -------------------------------------------------------------------------------- /ext/jpeg/makejmak.vc6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makejmak.vc6 -------------------------------------------------------------------------------- /ext/jpeg/makejsln.v10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makejsln.v10 -------------------------------------------------------------------------------- /ext/jpeg/makejvcx.v10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makejvcx.v10 -------------------------------------------------------------------------------- /ext/jpeg/makerdep.vc6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makerdep.vc6 -------------------------------------------------------------------------------- /ext/jpeg/makerdsp.vc6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makerdsp.vc6 -------------------------------------------------------------------------------- /ext/jpeg/makerfil.v10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makerfil.v10 -------------------------------------------------------------------------------- /ext/jpeg/makermak.vc6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makermak.vc6 -------------------------------------------------------------------------------- /ext/jpeg/makervcx.v10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makervcx.v10 -------------------------------------------------------------------------------- /ext/jpeg/maketdep.vc6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/maketdep.vc6 -------------------------------------------------------------------------------- /ext/jpeg/maketdsp.vc6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/maketdsp.vc6 -------------------------------------------------------------------------------- /ext/jpeg/maketfil.v10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/maketfil.v10 -------------------------------------------------------------------------------- /ext/jpeg/maketmak.vc6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/maketmak.vc6 -------------------------------------------------------------------------------- /ext/jpeg/maketvcx.v10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/maketvcx.v10 -------------------------------------------------------------------------------- /ext/jpeg/makewdep.vc6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makewdep.vc6 -------------------------------------------------------------------------------- /ext/jpeg/makewdsp.vc6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makewdsp.vc6 -------------------------------------------------------------------------------- /ext/jpeg/makewfil.v10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makewfil.v10 -------------------------------------------------------------------------------- /ext/jpeg/makewmak.vc6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makewmak.vc6 -------------------------------------------------------------------------------- /ext/jpeg/makewvcx.v10: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/makewvcx.v10 -------------------------------------------------------------------------------- /ext/jpeg/makvms.opt: -------------------------------------------------------------------------------- 1 | ! A pointer to the VAX/VMS C Run-Time Shareable Library. 2 | ! This file is needed by makefile.mms and makefile.vms, 3 | ! but only for the older VAX C compiler. DEC C does not need it. 4 | Sys$Library:VAXCRTL.EXE /Share 5 | -------------------------------------------------------------------------------- /ext/jpeg/testimg.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/testimg.bmp -------------------------------------------------------------------------------- /ext/jpeg/testimg.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/testimg.jpg -------------------------------------------------------------------------------- /ext/jpeg/testimg.ppm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/testimg.ppm -------------------------------------------------------------------------------- /ext/jpeg/testimgp.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/testimgp.jpg -------------------------------------------------------------------------------- /ext/jpeg/testorig.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/testorig.jpg -------------------------------------------------------------------------------- /ext/jpeg/testprog.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jpeg/testprog.jpg -------------------------------------------------------------------------------- /ext/jxrlib/bin/hdr2hdr.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/bin/hdr2hdr.exe -------------------------------------------------------------------------------- /ext/jxrlib/bin/imagecomp.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/bin/imagecomp.exe -------------------------------------------------------------------------------- /ext/jxrlib/common/include/guiddef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/common/include/guiddef.h -------------------------------------------------------------------------------- /ext/jxrlib/common/include/wmsal.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/common/include/wmsal.h -------------------------------------------------------------------------------- /ext/jxrlib/common/include/wmspecstring.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/common/include/wmspecstring.h -------------------------------------------------------------------------------- /ext/jxrlib/common/include/wmspecstrings_adt.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/common/include/wmspecstrings_adt.h -------------------------------------------------------------------------------- /ext/jxrlib/common/include/wmspecstrings_strict.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/common/include/wmspecstrings_strict.h -------------------------------------------------------------------------------- /ext/jxrlib/common/include/wmspecstrings_undef.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/common/include/wmspecstrings_undef.h -------------------------------------------------------------------------------- /ext/jxrlib/doc/JPEGXR_DPK_Spec_1.0.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/doc/JPEGXR_DPK_Spec_1.0.doc -------------------------------------------------------------------------------- /ext/jxrlib/doc/readme.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/doc/readme.txt -------------------------------------------------------------------------------- /ext/jxrlib/image/decode/JXRTranscode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/decode/JXRTranscode.c -------------------------------------------------------------------------------- /ext/jxrlib/image/decode/decode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/decode/decode.c -------------------------------------------------------------------------------- /ext/jxrlib/image/decode/decode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/decode/decode.h -------------------------------------------------------------------------------- /ext/jxrlib/image/decode/postprocess.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/decode/postprocess.c -------------------------------------------------------------------------------- /ext/jxrlib/image/decode/segdec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/decode/segdec.c -------------------------------------------------------------------------------- /ext/jxrlib/image/decode/strInvTransform.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/decode/strInvTransform.c -------------------------------------------------------------------------------- /ext/jxrlib/image/decode/strPredQuantDec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/decode/strPredQuantDec.c -------------------------------------------------------------------------------- /ext/jxrlib/image/decode/strdec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/decode/strdec.c -------------------------------------------------------------------------------- /ext/jxrlib/image/decode/strdec_x86.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/decode/strdec_x86.c -------------------------------------------------------------------------------- /ext/jxrlib/image/encode/encode.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/encode/encode.c -------------------------------------------------------------------------------- /ext/jxrlib/image/encode/encode.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/encode/encode.h -------------------------------------------------------------------------------- /ext/jxrlib/image/encode/segenc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/encode/segenc.c -------------------------------------------------------------------------------- /ext/jxrlib/image/encode/strFwdTransform.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/encode/strFwdTransform.c -------------------------------------------------------------------------------- /ext/jxrlib/image/encode/strPredQuantEnc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/encode/strPredQuantEnc.c -------------------------------------------------------------------------------- /ext/jxrlib/image/encode/strenc.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/encode/strenc.c -------------------------------------------------------------------------------- /ext/jxrlib/image/encode/strenc_x86.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/encode/strenc_x86.c -------------------------------------------------------------------------------- /ext/jxrlib/image/sys/adapthuff.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/sys/adapthuff.c -------------------------------------------------------------------------------- /ext/jxrlib/image/sys/ansi.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/sys/ansi.h -------------------------------------------------------------------------------- /ext/jxrlib/image/sys/common.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/sys/common.h -------------------------------------------------------------------------------- /ext/jxrlib/image/sys/image.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/sys/image.c -------------------------------------------------------------------------------- /ext/jxrlib/image/sys/perfTimer.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/sys/perfTimer.h -------------------------------------------------------------------------------- /ext/jxrlib/image/sys/perfTimerANSI.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/sys/perfTimerANSI.c -------------------------------------------------------------------------------- /ext/jxrlib/image/sys/strPredQuant.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/sys/strPredQuant.c -------------------------------------------------------------------------------- /ext/jxrlib/image/sys/strTransform.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/sys/strTransform.c -------------------------------------------------------------------------------- /ext/jxrlib/image/sys/strTransform.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/sys/strTransform.h -------------------------------------------------------------------------------- /ext/jxrlib/image/sys/strcodec.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/sys/strcodec.c -------------------------------------------------------------------------------- /ext/jxrlib/image/sys/strcodec.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/sys/strcodec.h -------------------------------------------------------------------------------- /ext/jxrlib/image/sys/windowsmediaphoto.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/sys/windowsmediaphoto.h -------------------------------------------------------------------------------- /ext/jxrlib/image/sys/xplatform_image.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/sys/xplatform_image.h -------------------------------------------------------------------------------- /ext/jxrlib/image/x86/x86.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/image/x86/x86.h -------------------------------------------------------------------------------- /ext/jxrlib/jxrencoderdecoder/JXRDec420.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/jxrencoderdecoder/JXRDec420.c -------------------------------------------------------------------------------- /ext/jxrlib/jxrencoderdecoder/JxrDecApp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/jxrencoderdecoder/JxrDecApp.c -------------------------------------------------------------------------------- /ext/jxrlib/jxrencoderdecoder/JxrEnc420.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/jxrencoderdecoder/JxrEnc420.c -------------------------------------------------------------------------------- /ext/jxrlib/jxrencoderdecoder/JxrEncApp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/jxrencoderdecoder/JxrEncApp.c -------------------------------------------------------------------------------- /ext/jxrlib/jxrgluelib/JXRGlue.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/jxrgluelib/JXRGlue.c -------------------------------------------------------------------------------- /ext/jxrlib/jxrgluelib/JXRGlue.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/jxrgluelib/JXRGlue.h -------------------------------------------------------------------------------- /ext/jxrlib/jxrgluelib/JXRGlueJxr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/jxrgluelib/JXRGlueJxr.c -------------------------------------------------------------------------------- /ext/jxrlib/jxrgluelib/JXRGluePFC.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/jxrgluelib/JXRGluePFC.c -------------------------------------------------------------------------------- /ext/jxrlib/jxrgluelib/JXRMeta.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/jxrgluelib/JXRMeta.c -------------------------------------------------------------------------------- /ext/jxrlib/jxrgluelib/JXRMeta.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/jxrgluelib/JXRMeta.h -------------------------------------------------------------------------------- /ext/jxrlib/jxrtestlib/JXRTest.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/jxrtestlib/JXRTest.c -------------------------------------------------------------------------------- /ext/jxrlib/jxrtestlib/JXRTest.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/jxrtestlib/JXRTest.h -------------------------------------------------------------------------------- /ext/jxrlib/jxrtestlib/JXRTestBmp.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/jxrtestlib/JXRTestBmp.c -------------------------------------------------------------------------------- /ext/jxrlib/jxrtestlib/JXRTestHdr.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/jxrtestlib/JXRTestHdr.c -------------------------------------------------------------------------------- /ext/jxrlib/jxrtestlib/JXRTestPnm.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/jxrtestlib/JXRTestPnm.c -------------------------------------------------------------------------------- /ext/jxrlib/jxrtestlib/JXRTestTif.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/jxrtestlib/JXRTestTif.c -------------------------------------------------------------------------------- /ext/jxrlib/jxrtestlib/JXRTestYUV.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/jxrlib/jxrtestlib/JXRTestYUV.c -------------------------------------------------------------------------------- /ext/jxrlib/libjxr.pc.in: -------------------------------------------------------------------------------- 1 | prefix=%(DIR_INSTALL)s 2 | exec_prefix=${prefix} 3 | libdir=${exec_prefix}/lib 4 | includedir=${prefix}/include 5 | 6 | Name: libjxr 7 | Description: A library for reading JPEG XR images. 8 | 9 | Version: %(JXR_VERSION)s 10 | Libs: -L${libdir} -ljpegxr -ljxrglue 11 | Libs.private: -lm 12 | Cflags: -I${includedir}/libjxr/common -I${includedir}/libjxr/image/x86 -I${includedir}/libjxr/image -I${includedir}/libjxr/glue -I${includedir}/libjxr/test -D__ANSI__ -DDISABLE_PERF_MEASUREMENT %(JXR_ENDIAN)s 13 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/Brewfile: -------------------------------------------------------------------------------- 1 | brew 'yasm' 2 | brew 'gcc@5' 3 | brew 'md5sha1sum' 4 | cask 'Caskroom/versions/java6' 5 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/cmakescripts/cmake_uninstall.cmake.in: -------------------------------------------------------------------------------- 1 | # This code is from the CMake FAQ 2 | 3 | if (NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt") 4 | message(FATAL_ERROR "Cannot find install manifest: \"@CMAKE_BINARY_DIR@/install_manifest.txt\"") 5 | endif(NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt") 6 | 7 | file(READ "@CMAKE_BINARY_DIR@/install_manifest.txt" files) 8 | string(REGEX REPLACE "\n" ";" files "${files}") 9 | list(REVERSE files) 10 | foreach (file ${files}) 11 | message(STATUS "Uninstalling \"$ENV{DESTDIR}${file}\"") 12 | if (EXISTS "$ENV{DESTDIR}${file}") 13 | execute_process( 14 | COMMAND "@CMAKE_COMMAND@" -E remove "$ENV{DESTDIR}${file}" 15 | OUTPUT_VARIABLE rm_out 16 | RESULT_VARIABLE rm_retval 17 | ) 18 | if(NOT ${rm_retval} EQUAL 0) 19 | message(FATAL_ERROR "Problem when removing \"$ENV{DESTDIR}${file}\"") 20 | endif (NOT ${rm_retval} EQUAL 0) 21 | else (EXISTS "$ENV{DESTDIR}${file}") 22 | message(STATUS "File \"$ENV{DESTDIR}${file}\" does not exist.") 23 | endif (EXISTS "$ENV{DESTDIR}${file}") 24 | endforeach(file) 25 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/cmakescripts/testclean.cmake: -------------------------------------------------------------------------------- 1 | file(GLOB FILES 2 | testout* 3 | *_GRAY_*.bmp 4 | *_GRAY_*.png 5 | *_GRAY_*.ppm 6 | *_GRAY_*.jpg 7 | *_GRAY.yuv 8 | *_420_*.bmp 9 | *_420_*.png 10 | *_420_*.ppm 11 | *_420_*.jpg 12 | *_420.yuv 13 | *_422_*.bmp 14 | *_422_*.png 15 | *_422_*.ppm 16 | *_422_*.jpg 17 | *_422.yuv 18 | *_444_*.bmp 19 | *_444_*.png 20 | *_444_*.ppm 21 | *_444_*.jpg 22 | *_444.yuv 23 | *_440_*.bmp 24 | *_440_*.png 25 | *_440_*.ppm 26 | *_440_*.jpg 27 | *_440.yuv 28 | *_411_*.bmp 29 | *_411_*.png 30 | *_411_*.ppm 31 | *_411_*.jpg 32 | *_411.yuv 33 | tjbenchtest*.log 34 | tjexampletest*.log) 35 | 36 | if(NOT FILES STREQUAL "") 37 | message(STATUS "Removing test files") 38 | file(REMOVE ${FILES}) 39 | else() 40 | message(STATUS "No files to remove") 41 | endif() 42 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/bc_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/bc_s.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/bdwn.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/bdwn.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/closed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/closed.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/doxygen-extra.css: -------------------------------------------------------------------------------- 1 | code { 2 | color: #4665A2; 3 | } 4 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/doxygen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/doxygen.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/ftv2blank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/ftv2blank.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/ftv2cl.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/ftv2cl.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/ftv2doc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/ftv2doc.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/ftv2folderclosed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/ftv2folderclosed.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/ftv2folderopen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/ftv2folderopen.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/ftv2lastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/ftv2lastnode.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/ftv2link.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/ftv2link.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/ftv2mlastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/ftv2mlastnode.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/ftv2mnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/ftv2mnode.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/ftv2mo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/ftv2mo.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/ftv2node.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/ftv2node.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/ftv2ns.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/ftv2ns.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/ftv2plastnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/ftv2plastnode.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/ftv2pnode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/ftv2pnode.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/ftv2splitbar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/ftv2splitbar.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/ftv2vertline.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/ftv2vertline.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/nav_f.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/nav_f.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/nav_g.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/nav_g.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/nav_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/nav_h.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/open.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/open.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/all_63.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/all_63.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['customfilter',['customFilter',['../structtjtransform.html#a43ee1bcdd2a8d7249a756774f78793c1',1,'tjtransform']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/all_64.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 |
Loading...
12 |
13 | 16 |
Searching...
17 |
No Matches
18 | 24 |
25 | 26 | 27 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/all_64.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['data',['data',['../structtjtransform.html#a688fe8f1a8ecc12a538d9e561cf338e3',1,'tjtransform']]], 4 | ['denom',['denom',['../structtjscalingfactor.html#aefbcdf3e9e62274b2d312c695f133ce3',1,'tjscalingfactor']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/all_68.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['h',['h',['../structtjregion.html#aecefc45a26f4d8b60dd4d825c1710115',1,'tjregion']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/all_6e.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['num',['num',['../structtjscalingfactor.html#a9b011e57f981ee23083e2c1aa5e640ec',1,'tjscalingfactor']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/all_6f.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['op',['op',['../structtjtransform.html#a2525aab4ba6978a1c273f74fef50e498',1,'tjtransform']]], 4 | ['options',['options',['../structtjtransform.html#ac0e74655baa4402209a21e1ae481c8f6',1,'tjtransform']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/all_72.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['r',['r',['../structtjtransform.html#ac324e5e442abec8a961e5bf219db12cf',1,'tjtransform']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/all_77.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['w',['w',['../structtjregion.html#ab6eb73ceef584fc23c8c8097926dce42',1,'tjregion']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/all_78.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['x',['x',['../structtjregion.html#a4b6a37a93997091b26a75831fa291ad9',1,'tjregion']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/all_79.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['y',['y',['../structtjregion.html#a7b3e0c24cfe87acc80e334cafdcf22c2',1,'tjregion']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/classes_74.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['tjregion',['tjregion',['../structtjregion.html',1,'']]], 4 | ['tjscalingfactor',['tjscalingfactor',['../structtjscalingfactor.html',1,'']]], 5 | ['tjtransform',['tjtransform',['../structtjtransform.html',1,'']]] 6 | ]; 7 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/search/close.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/enums_74.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['tjcs',['TJCS',['../group___turbo_j_p_e_g.html#ga4f83ad3368e0e29d1957be0efa7c3720',1,'turbojpeg.h']]], 4 | ['tjerr',['TJERR',['../group___turbo_j_p_e_g.html#gafbc17cfa57d0d5d11fea35ac025950fe',1,'turbojpeg.h']]], 5 | ['tjpf',['TJPF',['../group___turbo_j_p_e_g.html#gac916144e26c3817ac514e64ae5d12e2a',1,'turbojpeg.h']]], 6 | ['tjsamp',['TJSAMP',['../group___turbo_j_p_e_g.html#ga1d047060ea80bb9820d540bb928e9074',1,'turbojpeg.h']]], 7 | ['tjxop',['TJXOP',['../group___turbo_j_p_e_g.html#ga2de531af4e7e6c4f124908376b354866',1,'turbojpeg.h']]] 8 | ]; 9 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/groups_74.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['turbojpeg',['TurboJPEG',['../group___turbo_j_p_e_g.html',1,'']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/mag_sel.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/search/mag_sel.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/nomatches.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 |
No Matches
10 |
11 | 12 | 13 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/search_l.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/search/search_l.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/search_m.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/search/search_m.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/search_r.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/search/search_r.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/typedefs_74.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['tjhandle',['tjhandle',['../group___turbo_j_p_e_g.html#ga758d2634ecb4949de7815cba621f5763',1,'turbojpeg.h']]], 4 | ['tjtransform',['tjtransform',['../group___turbo_j_p_e_g.html#gaa29f3189c41be12ec5dee7caec318a31',1,'turbojpeg.h']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/variables_63.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['customfilter',['customFilter',['../structtjtransform.html#a43ee1bcdd2a8d7249a756774f78793c1',1,'tjtransform']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/variables_64.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['data',['data',['../structtjtransform.html#a688fe8f1a8ecc12a538d9e561cf338e3',1,'tjtransform']]], 4 | ['denom',['denom',['../structtjscalingfactor.html#aefbcdf3e9e62274b2d312c695f133ce3',1,'tjscalingfactor']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/variables_68.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['h',['h',['../structtjregion.html#aecefc45a26f4d8b60dd4d825c1710115',1,'tjregion']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/variables_6e.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['num',['num',['../structtjscalingfactor.html#a9b011e57f981ee23083e2c1aa5e640ec',1,'tjscalingfactor']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/variables_6f.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['op',['op',['../structtjtransform.html#a2525aab4ba6978a1c273f74fef50e498',1,'tjtransform']]], 4 | ['options',['options',['../structtjtransform.html#ac0e74655baa4402209a21e1ae481c8f6',1,'tjtransform']]] 5 | ]; 6 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/variables_72.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['r',['r',['../structtjtransform.html#ac324e5e442abec8a961e5bf219db12cf',1,'tjtransform']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/variables_74.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['tjalphaoffset',['tjAlphaOffset',['../group___turbo_j_p_e_g.html#ga5af0ab065feefd526debf1e20c43e837',1,'turbojpeg.h']]], 4 | ['tjblueoffset',['tjBlueOffset',['../group___turbo_j_p_e_g.html#ga84e2e35d3f08025f976ec1ec53693dea',1,'turbojpeg.h']]], 5 | ['tjgreenoffset',['tjGreenOffset',['../group___turbo_j_p_e_g.html#ga82d6e35da441112a411da41923c0ba2f',1,'turbojpeg.h']]], 6 | ['tjmcuheight',['tjMCUHeight',['../group___turbo_j_p_e_g.html#gabd247bb9fecb393eca57366feb8327bf',1,'turbojpeg.h']]], 7 | ['tjmcuwidth',['tjMCUWidth',['../group___turbo_j_p_e_g.html#ga9e61e7cd47a15a173283ba94e781308c',1,'turbojpeg.h']]], 8 | ['tjpixelsize',['tjPixelSize',['../group___turbo_j_p_e_g.html#gad77cf8fe5b2bfd3cb3f53098146abb4c',1,'turbojpeg.h']]], 9 | ['tjredoffset',['tjRedOffset',['../group___turbo_j_p_e_g.html#gadd9b446742ac8a3923f7992c7988fea8',1,'turbojpeg.h']]] 10 | ]; 11 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/variables_77.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['w',['w',['../structtjregion.html#ab6eb73ceef584fc23c8c8097926dce42',1,'tjregion']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/variables_78.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['x',['x',['../structtjregion.html#a4b6a37a93997091b26a75831fa291ad9',1,'tjregion']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/search/variables_79.js: -------------------------------------------------------------------------------- 1 | var searchData= 2 | [ 3 | ['y',['y',['../structtjregion.html#a7b3e0c24cfe87acc80e334cafdcf22c2',1,'tjregion']]] 4 | ]; 5 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/sync_off.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/sync_off.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/sync_on.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/sync_on.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/tab_a.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/tab_a.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/tab_b.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/tab_b.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/tab_h.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/tab_h.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doc/html/tab_s.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/doc/html/tab_s.png -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doxygen-extra.css: -------------------------------------------------------------------------------- 1 | code { 2 | color: #4665A2; 3 | } 4 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/doxygen.config: -------------------------------------------------------------------------------- 1 | PROJECT_NAME = TurboJPEG 2 | PROJECT_NUMBER = 2.0 3 | OUTPUT_DIRECTORY = doc/ 4 | USE_WINDOWS_ENCODING = NO 5 | OPTIMIZE_OUTPUT_FOR_C = YES 6 | WARN_NO_PARAMDOC = YES 7 | GENERATE_LATEX = NO 8 | FILE_PATTERNS = turbojpeg.h 9 | HIDE_UNDOC_MEMBERS = YES 10 | VERBATIM_HEADERS = NO 11 | EXTRACT_STATIC = YES 12 | JAVADOC_AUTOBRIEF = YES 13 | MAX_INITIALIZER_LINES = 0 14 | ALWAYS_DETAILED_SEC = YES 15 | HTML_TIMESTAMP = NO 16 | HTML_EXTRA_STYLESHEET = doxygen-extra.css 17 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/java/MANIFEST.MF: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Main-Class: TJExample 3 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/java/doc/package-list: -------------------------------------------------------------------------------- 1 | org.libjpegturbo.turbojpeg 2 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/java/doc/resources/background.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/java/doc/resources/background.gif -------------------------------------------------------------------------------- /ext/libjpeg-turbo/java/doc/resources/tab.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/java/doc/resources/tab.gif -------------------------------------------------------------------------------- /ext/libjpeg-turbo/java/doc/resources/titlebar.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/java/doc/resources/titlebar.gif -------------------------------------------------------------------------------- /ext/libjpeg-turbo/java/doc/resources/titlebar_end.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/java/doc/resources/titlebar_end.gif -------------------------------------------------------------------------------- /ext/libjpeg-turbo/java/doc/script.js: -------------------------------------------------------------------------------- 1 | function show(type) 2 | { 3 | count = 0; 4 | for (var key in methods) { 5 | var row = document.getElementById(key); 6 | if ((methods[key] & type) != 0) { 7 | row.style.display = ''; 8 | row.className = (count++ % 2) ? rowColor : altColor; 9 | } 10 | else 11 | row.style.display = 'none'; 12 | } 13 | updateTabs(type); 14 | } 15 | 16 | function updateTabs(type) 17 | { 18 | for (var value in tabs) { 19 | var sNode = document.getElementById(tabs[value][0]); 20 | var spanNode = sNode.firstChild; 21 | if (value == type) { 22 | sNode.className = activeTableTab; 23 | spanNode.innerHTML = tabs[value][1]; 24 | } 25 | else { 26 | sNode.className = tableTab; 27 | spanNode.innerHTML = "" + tabs[value][1] + ""; 28 | } 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/java/org_libjpegturbo_turbojpeg_TJTransformer.h: -------------------------------------------------------------------------------- 1 | /* DO NOT EDIT THIS FILE - it is machine generated */ 2 | #include 3 | /* Header for class org_libjpegturbo_turbojpeg_TJTransformer */ 4 | 5 | #ifndef _Included_org_libjpegturbo_turbojpeg_TJTransformer 6 | #define _Included_org_libjpegturbo_turbojpeg_TJTransformer 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | /* 11 | * Class: org_libjpegturbo_turbojpeg_TJTransformer 12 | * Method: init 13 | * Signature: ()V 14 | */ 15 | JNIEXPORT void JNICALL Java_org_libjpegturbo_turbojpeg_TJTransformer_init 16 | (JNIEnv *, jobject); 17 | 18 | /* 19 | * Class: org_libjpegturbo_turbojpeg_TJTransformer 20 | * Method: transform 21 | * Signature: ([BI[[B[Lorg/libjpegturbo/turbojpeg/TJTransform;I)[I 22 | */ 23 | JNIEXPORT jintArray JNICALL Java_org_libjpegturbo_turbojpeg_TJTransformer_transform 24 | (JNIEnv *, jobject, jbyteArray, jint, jobjectArray, jobjectArray, jint); 25 | 26 | #ifdef __cplusplus 27 | } 28 | #endif 29 | #endif 30 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/jconfigint.h.in: -------------------------------------------------------------------------------- 1 | /* libjpeg-turbo build number */ 2 | #define BUILD "@BUILD@" 3 | 4 | /* Compiler's inline keyword */ 5 | #undef inline 6 | 7 | /* How to obtain function inlining. */ 8 | #define INLINE @INLINE@ 9 | 10 | /* Define to the full name of this package. */ 11 | #define PACKAGE_NAME "@CMAKE_PROJECT_NAME@" 12 | 13 | /* Version number of package */ 14 | #define VERSION "@VERSION@" 15 | 16 | /* The size of `size_t', as computed by sizeof. */ 17 | #define SIZEOF_SIZE_T @SIZE_T@ 18 | 19 | /* Define if your compiler has __builtin_ctzl() and sizeof(unsigned long) == sizeof(size_t). */ 20 | #cmakedefine HAVE_BUILTIN_CTZL 21 | 22 | /* Define to 1 if you have the header file. */ 23 | #cmakedefine HAVE_INTRIN_H 24 | 25 | #if defined(_MSC_VER) && defined(HAVE_INTRIN_H) 26 | #if (SIZEOF_SIZE_T == 8) 27 | #define HAVE_BITSCANFORWARD64 28 | #elif (SIZEOF_SIZE_T == 4) 29 | #define HAVE_BITSCANFORWARD 30 | #endif 31 | #endif 32 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/jdmaster.h: -------------------------------------------------------------------------------- 1 | /* 2 | * jdmaster.h 3 | * 4 | * This file was part of the Independent JPEG Group's software: 5 | * Copyright (C) 1991-1995, Thomas G. Lane. 6 | * For conditions of distribution and use, see the accompanying README.ijg 7 | * file. 8 | * 9 | * This file contains the master control structure for the JPEG decompressor. 10 | */ 11 | 12 | /* Private state */ 13 | 14 | typedef struct { 15 | struct jpeg_decomp_master pub; /* public fields */ 16 | 17 | int pass_number; /* # of passes completed */ 18 | 19 | boolean using_merged_upsample; /* TRUE if using merged upsample/cconvert */ 20 | 21 | /* Saved references to initialized quantizer modules, 22 | * in case we need to switch modes. 23 | */ 24 | struct jpeg_color_quantizer *quantizer_1pass; 25 | struct jpeg_color_quantizer *quantizer_2pass; 26 | } my_decomp_master; 27 | 28 | typedef my_decomp_master *my_master_ptr; 29 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/libjpeg.map.in: -------------------------------------------------------------------------------- 1 | LIBJPEGTURBO_@JPEG_LIB_VERSION_DECIMAL@ { 2 | @MEM_SRCDST_FUNCTIONS@ 3 | local: 4 | jsimd_*; 5 | jconst_*; 6 | }; 7 | 8 | LIBJPEG_@JPEG_LIB_VERSION_DECIMAL@ { 9 | global: 10 | *; 11 | }; 12 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/md5/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | add_executable(md5cmp md5cmp.c md5.c md5hl.c) 2 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/release/Distribution.xml.in: -------------------------------------------------------------------------------- 1 | 2 | 3 | @CMAKE_PROJECT_NAME@ 4 | 5 | 6 | 7 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | @PKGNAME@.pkg 24 | 25 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/release/Welcome.rtf: -------------------------------------------------------------------------------- 1 | {\rtf1\ansi\ansicpg1252\cocoartf1038\cocoasubrtf360 2 | {\fonttbl\f0\fswiss\fcharset0 Helvetica;\f1\fmodern\fcharset0 CourierNewPSMT;} 3 | {\colortbl;\red255\green255\blue255;} 4 | \margl1440\margr1440\vieww9000\viewh8400\viewkind0 5 | \deftab720 6 | \pard\pardeftab720\ql\qnatural 7 | 8 | \f0\fs24 \cf0 This installer will install the libjpeg-turbo SDK and run-time libraries onto your computer so that you can use libjpeg-turbo to build new applications or accelerate existing ones. To remove the libjpeg-turbo package, run\ 9 | \ 10 | \pard\pardeftab720\ql\qnatural 11 | 12 | \f1 \cf0 /opt/libjpeg-turbo/bin/uninstall\ 13 | \pard\pardeftab720\ql\qnatural 14 | 15 | \f0 \cf0 \ 16 | from the command line.\ 17 | } -------------------------------------------------------------------------------- /ext/libjpeg-turbo/release/libjpeg.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@CMAKE_INSTALL_PREFIX@ 2 | exec_prefix=@CMAKE_INSTALL_PREFIX@ 3 | libdir=@CMAKE_INSTALL_FULL_LIBDIR@ 4 | includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ 5 | 6 | Name: libjpeg 7 | Description: A SIMD-accelerated JPEG codec that provides the libjpeg API 8 | Version: @VERSION@ 9 | Libs: -L${libdir} -ljpeg 10 | Cflags: -I${includedir} 11 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/release/libturbojpeg.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@CMAKE_INSTALL_PREFIX@ 2 | exec_prefix=@CMAKE_INSTALL_PREFIX@ 3 | libdir=@CMAKE_INSTALL_FULL_LIBDIR@ 4 | includedir=@CMAKE_INSTALL_FULL_INCLUDEDIR@ 5 | 6 | Name: libturbojpeg 7 | Description: A SIMD-accelerated JPEG codec that provides the TurboJPEG API 8 | Version: @VERSION@ 9 | Libs: -L${libdir} -lturbojpeg 10 | Cflags: -I${includedir} 11 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/release/makerpm.in: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | set -u 4 | set -e 5 | trap onexit INT 6 | trap onexit TERM 7 | trap onexit EXIT 8 | 9 | TMPDIR= 10 | 11 | onexit() 12 | { 13 | if [ ! "$TMPDIR" = "" ]; then 14 | rm -rf $TMPDIR 15 | fi 16 | } 17 | 18 | if [ -f @PKGNAME@-@VERSION@.@RPMARCH@.rpm ]; then 19 | rm -f @PKGNAME@-@VERSION@.@RPMARCH@.rpm 20 | fi 21 | 22 | umask 022 23 | TMPDIR=`mktemp -d /tmp/@CMAKE_PROJECT_NAME@-build.XXXXXX` 24 | 25 | mkdir -p $TMPDIR/RPMS 26 | ln -fs `pwd` $TMPDIR/BUILD 27 | rpmbuild -bb --define "_blddir $TMPDIR/buildroot" --define "_topdir $TMPDIR" \ 28 | --target @RPMARCH@ pkgscripts/rpm.spec; \ 29 | cp $TMPDIR/RPMS/@RPMARCH@/@PKGNAME@-@VERSION@-@BUILD@.@RPMARCH@.rpm \ 30 | @PKGNAME@-@VERSION@.@RPMARCH@.rpm 31 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/simd/gas-preprocessor.in: -------------------------------------------------------------------------------- 1 | gas-preprocessor.pl @CMAKE_ASM_COMPILER@ ${1+"$@"} 2 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/simd/loongson/jcsample.h: -------------------------------------------------------------------------------- 1 | /* 2 | * jcsample.h 3 | * 4 | * This file was part of the Independent JPEG Group's software: 5 | * Copyright (C) 1991-1996, Thomas G. Lane. 6 | * For conditions of distribution and use, see the accompanying README.ijg 7 | * file. 8 | */ 9 | 10 | LOCAL(void) 11 | expand_right_edge(JSAMPARRAY image_data, int num_rows, JDIMENSION input_cols, 12 | JDIMENSION output_cols) 13 | { 14 | register JSAMPROW ptr; 15 | register JSAMPLE pixval; 16 | register int count; 17 | int row; 18 | int numcols = (int)(output_cols - input_cols); 19 | 20 | if (numcols > 0) { 21 | for (row = 0; row < num_rows; row++) { 22 | ptr = image_data[row] + input_cols; 23 | pixval = ptr[-1]; /* don't need GETJSAMPLE() here */ 24 | for (count = numcols; count > 0; count--) 25 | *ptr++ = pixval; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/simd/powerpc/jcsample.h: -------------------------------------------------------------------------------- 1 | /* 2 | * jcsample.h 3 | * 4 | * This file was part of the Independent JPEG Group's software: 5 | * Copyright (C) 1991-1996, Thomas G. Lane. 6 | * For conditions of distribution and use, see the accompanying README.ijg 7 | * file. 8 | */ 9 | 10 | LOCAL(void) 11 | expand_right_edge(JSAMPARRAY image_data, int num_rows, JDIMENSION input_cols, 12 | JDIMENSION output_cols) 13 | { 14 | register JSAMPROW ptr; 15 | register JSAMPLE pixval; 16 | register int count; 17 | int row; 18 | int numcols = (int)(output_cols - input_cols); 19 | 20 | if (numcols > 0) { 21 | for (row = 0; row < num_rows; row++) { 22 | ptr = image_data[row] + input_cols; 23 | pixval = ptr[-1]; /* don't need GETJSAMPLE() here */ 24 | for (count = numcols; count > 0; count--) 25 | *ptr++ = pixval; 26 | } 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/testimages/nightshot_iso_100.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/testimages/nightshot_iso_100.bmp -------------------------------------------------------------------------------- /ext/libjpeg-turbo/testimages/test.scan: -------------------------------------------------------------------------------- 1 | 0 1 2: 0 0 0 0; 2 | 0: 1 16 0 0; 3 | 0: 17 63 0 0; 4 | 1: 1 63 0 0; 5 | 2: 1 63 0 0; 6 | -------------------------------------------------------------------------------- /ext/libjpeg-turbo/testimages/test1.icc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/testimages/test1.icc -------------------------------------------------------------------------------- /ext/libjpeg-turbo/testimages/test2.icc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/testimages/test2.icc -------------------------------------------------------------------------------- /ext/libjpeg-turbo/testimages/testimgari.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/testimages/testimgari.jpg -------------------------------------------------------------------------------- /ext/libjpeg-turbo/testimages/testimgint.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/testimages/testimgint.jpg -------------------------------------------------------------------------------- /ext/libjpeg-turbo/testimages/testorig.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/testimages/testorig.jpg -------------------------------------------------------------------------------- /ext/libjpeg-turbo/testimages/testorig.ppm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/testimages/testorig.ppm -------------------------------------------------------------------------------- /ext/libjpeg-turbo/testimages/testorig12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/testimages/testorig12.jpg -------------------------------------------------------------------------------- /ext/libjpeg-turbo/testimages/vgl_5674_0098.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/testimages/vgl_5674_0098.bmp -------------------------------------------------------------------------------- /ext/libjpeg-turbo/testimages/vgl_6434_0018a.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/testimages/vgl_6434_0018a.bmp -------------------------------------------------------------------------------- /ext/libjpeg-turbo/testimages/vgl_6548_0026a.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libjpeg-turbo/testimages/vgl_6548_0026a.bmp -------------------------------------------------------------------------------- /ext/libwebp/Makefile.am: -------------------------------------------------------------------------------- 1 | ACLOCAL_AMFLAGS = -I m4 2 | SUBDIRS = src imageio man 3 | EXTRA_DIST = COPYING autogen.sh 4 | 5 | if BUILD_EXTRAS 6 | SUBDIRS += extras 7 | endif 8 | 9 | SUBDIRS += examples 10 | -------------------------------------------------------------------------------- /ext/libwebp/autogen.sh: -------------------------------------------------------------------------------- 1 | #! /bin/sh -e 2 | exec autoreconf -fi 3 | -------------------------------------------------------------------------------- /ext/libwebp/cmake/WebPConfig.cmake.in: -------------------------------------------------------------------------------- 1 | set(WebP_VERSION @PROJECT_VERSION@) 2 | set(WEBP_VERSION ${WebP_VERSION}) 3 | 4 | @PACKAGE_INIT@ 5 | 6 | include ("${CMAKE_CURRENT_LIST_DIR}/@PROJECT_NAME@Targets.cmake") 7 | 8 | set(WebP_INCLUDE_DIRS "webp") 9 | set(WEBP_INCLUDE_DIRS ${WebP_INCLUDE_DIRS}) 10 | set(WebP_LIBRARIES "@INSTALLED_LIBRARIES@") 11 | set(WEBP_LIBRARIES "${WebP_LIBRARIES}") 12 | -------------------------------------------------------------------------------- /ext/libwebp/codereview.settings: -------------------------------------------------------------------------------- 1 | # This file is used by git cl to get repository specific information. 2 | GERRIT_HOST: True 3 | CODE_REVIEW_SERVER: chromium-review.googlesource.com 4 | GERRIT_SQUASH_UPLOADS: False 5 | -------------------------------------------------------------------------------- /ext/libwebp/doc/TODO: -------------------------------------------------------------------------------- 1 | , 20111004 2 | 3 | * Determine that normative RFC 2119 terms (MUST, SHOULD, MAY, etc.) are 4 | truly intended in all cases where capitalized. 5 | 6 | * Several passages could be made clearer. 7 | 8 | * Overall edit for scope. Portions are phrased as an introduction to 9 | the 0.1.3 RIFF container additions, rather than a holistic guide to 10 | WebP. 11 | 12 | * To wit, suggest s/[spec|specification]/guide/g . "Spec" can imply a 13 | standards track; in any case it's too formal for a work in progress. 14 | -------------------------------------------------------------------------------- /ext/libwebp/examples/test.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libwebp/examples/test.webp -------------------------------------------------------------------------------- /ext/libwebp/examples/test_ref.ppm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libwebp/examples/test_ref.ppm -------------------------------------------------------------------------------- /ext/libwebp/extras/webp_to_sdl.h: -------------------------------------------------------------------------------- 1 | // Copyright 2017 Google Inc. All Rights Reserved. 2 | // 3 | // Use of this source code is governed by a BSD-style license 4 | // that can be found in the COPYING file in the root of the source 5 | // tree. An additional intellectual property rights grant can be found 6 | // in the file PATENTS. All contributing project authors may 7 | // be found in the AUTHORS file in the root of the source tree. 8 | // ----------------------------------------------------------------------------- 9 | // 10 | // Simple WebP-to-SDL wrapper. Useful for emscripten. 11 | // 12 | // Author: James Zern (jzern@google.com) 13 | 14 | #ifndef WEBP_EXTRAS_WEBP_TO_SDL_H_ 15 | #define WEBP_EXTRAS_WEBP_TO_SDL_H_ 16 | 17 | // Exports the method WebpToSDL(const char* data, int data_size) which decodes 18 | // a WebP bitstream into an RGBA SDL surface. 19 | // Return false on failure. 20 | extern int WebpToSDL(const char* data, unsigned int data_size); 21 | 22 | #endif // WEBP_EXTRAS_WEBP_TO_SDL_H_ 23 | -------------------------------------------------------------------------------- /ext/libwebp/gradle.properties: -------------------------------------------------------------------------------- 1 | # Project-wide Gradle settings. 2 | 3 | # IDE (e.g. Android Studio) users: 4 | # Gradle settings configured through the IDE *will override* 5 | # any settings specified in this file. 6 | 7 | # For more details on how to configure your build environment visit 8 | # http://www.gradle.org/docs/current/userguide/build_environment.html 9 | 10 | # Versions for gradle 11 | BUILD_TOOLS_VERSION=23.0.3 12 | COMPILE_SDK_VERSION=23 13 | ANDROID_GRADLE_PLUGIN_VERSION=1.5.0 14 | GRADLE_DOWNLOAD_TASK_VERSION=2.1.0 15 | -------------------------------------------------------------------------------- /ext/libwebp/gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libwebp/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /ext/libwebp/gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- 1 | #Thu May 12 17:06:25 CEST 2016 2 | distributionBase=GRADLE_USER_HOME 3 | distributionPath=wrapper/dists 4 | zipStoreBase=GRADLE_USER_HOME 5 | zipStorePath=wrapper/dists 6 | distributionUrl=https\://services.gradle.org/distributions/gradle-2.13-bin.zip 7 | -------------------------------------------------------------------------------- /ext/libwebp/man/Makefile.am: -------------------------------------------------------------------------------- 1 | man_MANS = cwebp.1 dwebp.1 2 | if BUILD_MUX 3 | man_MANS += webpmux.1 4 | endif 5 | if BUILD_GIF2WEBP 6 | man_MANS += gif2webp.1 7 | endif 8 | if BUILD_IMG2WEBP 9 | man_MANS += img2webp.1 10 | endif 11 | if BUILD_VWEBP 12 | man_MANS += vwebp.1 13 | endif 14 | if BUILD_WEBPINFO 15 | man_MANS += webpinfo.1 16 | endif 17 | EXTRA_DIST = $(man_MANS) 18 | -------------------------------------------------------------------------------- /ext/libwebp/src/demux/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CPPFLAGS += -I$(top_builddir) -I$(top_srcdir) 2 | lib_LTLIBRARIES = libwebpdemux.la 3 | 4 | libwebpdemux_la_SOURCES = 5 | libwebpdemux_la_SOURCES += anim_decode.c demux.c 6 | 7 | libwebpdemuxinclude_HEADERS = 8 | libwebpdemuxinclude_HEADERS += ../webp/decode.h 9 | libwebpdemuxinclude_HEADERS += ../webp/demux.h 10 | libwebpdemuxinclude_HEADERS += ../webp/mux_types.h 11 | libwebpdemuxinclude_HEADERS += ../webp/types.h 12 | noinst_HEADERS = 13 | noinst_HEADERS += ../webp/format_constants.h 14 | 15 | libwebpdemux_la_LIBADD = ../libwebp.la 16 | libwebpdemux_la_LDFLAGS = -no-undefined -version-info 2:6:0 17 | libwebpdemuxincludedir = $(includedir)/webp 18 | pkgconfig_DATA = libwebpdemux.pc 19 | -------------------------------------------------------------------------------- /ext/libwebp/src/demux/libwebpdemux.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: libwebpdemux 7 | Description: Library for parsing the WebP graphics format container 8 | Version: @PACKAGE_VERSION@ 9 | Requires: libwebp >= 0.2.0 10 | Cflags: -I${includedir} 11 | Libs: -L${libdir} -lwebpdemux 12 | -------------------------------------------------------------------------------- /ext/libwebp/src/libwebp.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: libwebp 7 | Description: Library for the WebP graphics format 8 | Version: @PACKAGE_VERSION@ 9 | Cflags: -I${includedir} 10 | Libs: -L${libdir} -lwebp 11 | Libs.private: -lm @PTHREAD_CFLAGS@ @PTHREAD_LIBS@ 12 | -------------------------------------------------------------------------------- /ext/libwebp/src/libwebpdecoder.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: libwebpdecoder 7 | Description: Library for the WebP graphics format (decode only) 8 | Version: @PACKAGE_VERSION@ 9 | Cflags: -I${includedir} 10 | Libs: -L${libdir} -lwebpdecoder 11 | Libs.private: -lm @PTHREAD_CFLAGS@ @PTHREAD_LIBS@ 12 | -------------------------------------------------------------------------------- /ext/libwebp/src/mux/Makefile.am: -------------------------------------------------------------------------------- 1 | AM_CPPFLAGS += -I$(top_builddir) -I$(top_srcdir) 2 | lib_LTLIBRARIES = libwebpmux.la 3 | 4 | libwebpmux_la_SOURCES = 5 | libwebpmux_la_SOURCES += anim_encode.c 6 | libwebpmux_la_SOURCES += animi.h 7 | libwebpmux_la_SOURCES += muxedit.c 8 | libwebpmux_la_SOURCES += muxi.h 9 | libwebpmux_la_SOURCES += muxinternal.c 10 | libwebpmux_la_SOURCES += muxread.c 11 | 12 | libwebpmuxinclude_HEADERS = 13 | libwebpmuxinclude_HEADERS += ../webp/mux.h 14 | libwebpmuxinclude_HEADERS += ../webp/mux_types.h 15 | libwebpmuxinclude_HEADERS += ../webp/types.h 16 | noinst_HEADERS = 17 | noinst_HEADERS += ../webp/format_constants.h 18 | 19 | libwebpmux_la_LIBADD = ../libwebp.la 20 | libwebpmux_la_LDFLAGS = -no-undefined -version-info 3:4:0 -lm 21 | libwebpmuxincludedir = $(includedir)/webp 22 | pkgconfig_DATA = libwebpmux.pc 23 | -------------------------------------------------------------------------------- /ext/libwebp/src/mux/libwebpmux.pc.in: -------------------------------------------------------------------------------- 1 | prefix=@prefix@ 2 | exec_prefix=@exec_prefix@ 3 | libdir=@libdir@ 4 | includedir=@includedir@ 5 | 6 | Name: libwebpmux 7 | Description: Library for manipulating the WebP graphics format container 8 | Version: @PACKAGE_VERSION@ 9 | Requires: libwebp >= 0.2.0 10 | Cflags: -I${includedir} 11 | Libs: -L${libdir} -lwebpmux 12 | Libs.private: -lm 13 | -------------------------------------------------------------------------------- /ext/libwebp/src/utils/filters_utils.h: -------------------------------------------------------------------------------- 1 | // Copyright 2011 Google Inc. All Rights Reserved. 2 | // 3 | // Use of this source code is governed by a BSD-style license 4 | // that can be found in the COPYING file in the root of the source 5 | // tree. An additional intellectual property rights grant can be found 6 | // in the file PATENTS. All contributing project authors may 7 | // be found in the AUTHORS file in the root of the source tree. 8 | // ----------------------------------------------------------------------------- 9 | // 10 | // Spatial prediction using various filters 11 | // 12 | // Author: Urvang (urvang@google.com) 13 | 14 | #ifndef WEBP_UTILS_FILTERS_UTILS_H_ 15 | #define WEBP_UTILS_FILTERS_UTILS_H_ 16 | 17 | #include "src/webp/types.h" 18 | #include "src/dsp/dsp.h" 19 | 20 | #ifdef __cplusplus 21 | extern "C" { 22 | #endif 23 | 24 | // Fast estimate of a potentially good filter. 25 | WEBP_FILTER_TYPE WebPEstimateBestFilter(const uint8_t* data, 26 | int width, int height, int stride); 27 | 28 | #ifdef __cplusplus 29 | } // extern "C" 30 | #endif 31 | 32 | #endif // WEBP_UTILS_FILTERS_UTILS_H_ 33 | -------------------------------------------------------------------------------- /ext/libwebp/swig/libwebp.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libwebp/swig/libwebp.jar -------------------------------------------------------------------------------- /ext/libwebp/webp_js/test_webp_js.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libwebp/webp_js/test_webp_js.webp -------------------------------------------------------------------------------- /ext/libwebp/webp_js/test_webp_wasm.webp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/libwebp/webp_js/test_webp_wasm.webp -------------------------------------------------------------------------------- /ext/openjpeg/.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore files and directories made by `cmake .`. 2 | CMakeFiles/ 3 | Makefile 4 | cmake_install.cmake 5 | /CMakeCache.txt 6 | /CPackConfig.cmake 7 | /CPackSourceConfig.cmake 8 | /CTestCustom.cmake 9 | /LICENSE.txt 10 | /OpenJPEGConfig.cmake 11 | /libopenjp2.pc 12 | /src/bin/common/opj_apps_config.h 13 | /src/lib/openjp2/opj_config.h 14 | /src/lib/openjp2/opj_config_private.h 15 | scripts/opjstyle* 16 | 17 | # Ignore directories made by `make`. 18 | /bin/ 19 | -------------------------------------------------------------------------------- /ext/openjpeg/AUTHORS.md: -------------------------------------------------------------------------------- 1 | # Authors of OpenJPEG 2 | See also [THANKS](https://github.com/uclouvain/openjpeg/blob/master/THANKS.md) 3 | 4 | David Janssens designed and implemented the first version of OpenJPEG. 5 | 6 | Kaori Hagihara designed and implemented the first version of OpenJPIP. 7 | 8 | Jerome Fimes implemented the alpha version of OpenJPEG 2.0. 9 | 10 | Giuseppe Baruffa added the JPWL functionalities. 11 | 12 | Mickaël Savinaud implemented the final OpenJPEG 2.0 version based on a big merge between 1.5 version and alpha version of 2.0. 13 | 14 | Mathieu Malaterre participated to the OpenJPEG 2.0 version and improved the libraries and utilities. 15 | 16 | Yannick Verschueren, 17 | Herve Drolon, 18 | Francois-Olivier Devaux, 19 | Antonin Descampe 20 | improved the libraries and utilities. 21 | 22 | -------------------------------------------------------------------------------- /ext/openjpeg/CTestConfig.cmake: -------------------------------------------------------------------------------- 1 | set(CTEST_PROJECT_NAME "OPENJPEG") 2 | set(CTEST_NIGHTLY_START_TIME "3:00:00 UTC") 3 | 4 | set(CTEST_DROP_METHOD "http") 5 | set(CTEST_DROP_SITE "my.cdash.org") 6 | set(CTEST_DROP_LOCATION "/submit.php?project=OPENJPEG") 7 | set(CTEST_DROP_SITE_CDASH TRUE) 8 | -------------------------------------------------------------------------------- /ext/openjpeg/THANKS.md: -------------------------------------------------------------------------------- 1 | # OpenJPEG THANKS file 2 | 3 | Many people have contributed to OpenJPEG by reporting problems, suggesting various improvements, 4 | or submitting actual code. Here is a list of these people. Help me keep 5 | it complete and exempt of errors. 6 | 7 | * Giuseppe Baruffa 8 | * Ben Boeckel 9 | * Aaron Boxer 10 | * David Burken 11 | * Matthieu Darbois 12 | * Rex Dieter 13 | * Herve Drolon 14 | * Antonin Descampe 15 | * Francois-Olivier Devaux 16 | * Parvatha Elangovan 17 | * Jerôme Fimes 18 | * Bob Friesenhahn 19 | * Kaori Hagihara 20 | * Luc Hermitte 21 | * Luis Ibanez 22 | * David Janssens 23 | * Hans Johnson 24 | * Callum Lerwick 25 | * Ke Liu (Tencent's Xuanwu LAB) 26 | * Sebastien Lugan 27 | * Benoit Macq 28 | * Mathieu Malaterre 29 | * Julien Malik 30 | * Arnaud Maye 31 | * Vincent Nicolas 32 | * Aleksander Nikolic (Cisco Talos) 33 | * Glenn Pearson 34 | * Even Rouault 35 | * Dzonatas Sol 36 | * Winfried Szukalski 37 | * Vincent Torri 38 | * Yannick Verschueren 39 | * Peter Wimmer 40 | -------------------------------------------------------------------------------- /ext/openjpeg/cmake/EnsureFileInclude.cmake: -------------------------------------------------------------------------------- 1 | # Ensure that an include file is provided by the system 2 | # Add the check about the mandatory status to the check_include_file macro 3 | # provided by cmake 4 | 5 | include (${CMAKE_ROOT}/Modules/CheckIncludeFile.cmake) 6 | 7 | macro(ensure_file_include INCLUDE_FILENAME VARIABLE_NAME MANDATORY_STATUS) 8 | 9 | #message(WARNING "INCLUDE_FILENAME=${INCLUDE_FILENAME} \n" 10 | # "VARIABLE_NAME=${VARIABLE_NAME} \n" 11 | # "MANDATORY_STATUS=${MANDATORY_STATUS}") 12 | 13 | CHECK_INCLUDE_FILE(${INCLUDE_FILENAME} ${VARIABLE_NAME}) 14 | 15 | #message(WARNING "INCLUDE_FILENAME=${INCLUDE_FILENAME} \n" 16 | # "VARIABLE_NAME=${VARIABLE_NAME} \n" 17 | # "VARIABLE_NAME_VALUE=${${VARIABLE_NAME}} \n" 18 | # "MANDATORY_STATUS=${MANDATORY_STATUS}") 19 | 20 | if (NOT ${${VARIABLE_NAME}}) 21 | if (${MANDATORY_STATUS}) 22 | message(FATAL_ERROR "The file ${INCLUDE_FILENAME} is mandatory but not found on your system") 23 | endif() 24 | endif() 25 | 26 | endmacro() 27 | -------------------------------------------------------------------------------- /ext/openjpeg/cmake/FindCPPCHECK.cmake: -------------------------------------------------------------------------------- 1 | # cppcheck 2 | # 3 | # Copyright (c) 2011 Mathieu Malaterre 4 | # 5 | # Redistribution and use is allowed according to the terms of the New 6 | # BSD license. 7 | # For details see the accompanying COPYING-CMAKE-SCRIPTS file. 8 | # 9 | 10 | find_program(CPPCHECK_EXECUTABLE 11 | cppcheck 12 | ) 13 | 14 | mark_as_advanced( 15 | CPPCHECK_EXECUTABLE 16 | ) 17 | -------------------------------------------------------------------------------- /ext/openjpeg/cmake/FindFCGI.cmake: -------------------------------------------------------------------------------- 1 | # Look for the header file. 2 | find_path(FCGI_INCLUDE_DIR NAMES fastcgi.h) 3 | 4 | # Look for the library. 5 | find_library(FCGI_LIBRARY NAMES fcgi) 6 | 7 | # Handle the QUIETLY and REQUIRED arguments and set FCGI_FOUND to TRUE if all listed variables are TRUE. 8 | include(FindPackageHandleStandardArgs) 9 | FIND_PACKAGE_HANDLE_STANDARD_ARGS(FCGI DEFAULT_MSG FCGI_LIBRARY FCGI_INCLUDE_DIR) 10 | 11 | # Copy the results to the output variables. 12 | if(FCGI_FOUND) 13 | set(FCGI_LIBRARIES ${FCGI_LIBRARY}) 14 | set(FCGI_INCLUDE_DIRS ${FCGI_INCLUDE_DIR}) 15 | else() 16 | set(FCGI_LIBRARIES) 17 | set(FCGI_INCLUDE_DIRS) 18 | endif() 19 | 20 | mark_as_advanced(FCGI_INCLUDE_DIR FCGI_LIBRARY) 21 | -------------------------------------------------------------------------------- /ext/openjpeg/cmake/FindJPYLYZER.cmake: -------------------------------------------------------------------------------- 1 | # 2 | # this module looks for JPYLYZER 3 | # http://jpylyzer.openpreservation.org 4 | # 5 | 6 | find_program(JPYLYZER_EXECUTABLE 7 | jpylyzer 8 | ) 9 | 10 | mark_as_advanced( 11 | JPYLYZER_EXECUTABLE 12 | ) 13 | -------------------------------------------------------------------------------- /ext/openjpeg/cmake/FindKAKADU.cmake: -------------------------------------------------------------------------------- 1 | # 2 | # this module looks for KAKADU 3 | # http://www.kakadusoftware.com/ 4 | # 5 | # 6 | # Copyright (c) 2006-2014 Mathieu Malaterre 7 | # 8 | # Redistribution and use is allowed according to the terms of the New 9 | # BSD license. 10 | # For details see the accompanying COPYING-CMAKE-SCRIPTS file. 11 | # 12 | 13 | find_program(KDU_EXPAND_EXECUTABLE 14 | kdu_expand 15 | ) 16 | 17 | find_program(KDU_COMPRESS_EXECUTABLE 18 | kdu_compress 19 | ) 20 | 21 | mark_as_advanced( 22 | KDU_EXPAND_EXECUTABLE 23 | KDU_COMPRESS_EXECUTABLE 24 | ) 25 | -------------------------------------------------------------------------------- /ext/openjpeg/cmake/JPIPTestDriver.cmake: -------------------------------------------------------------------------------- 1 | # JPIP test driver 2 | #message(STATUS "${D_URL}") 3 | file(DOWNLOAD 4 | "${D_URL}" 5 | "${D_FILE}" 6 | LOG log 7 | EXPECTED_MD5 "${EXPECTED_MD5}" 8 | ) 9 | message(STATUS "LOG: ${log}") 10 | -------------------------------------------------------------------------------- /ext/openjpeg/cmake/TestFileOffsetBits.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | /* Cause a compile-time error if off_t is smaller than 64 bits */ 4 | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 5 | int off_t_is_large[ (LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1 ]; 6 | 7 | int main(int argc, char **argv) 8 | { 9 | return 0; 10 | } 11 | 12 | -------------------------------------------------------------------------------- /ext/openjpeg/cmake/TestLargeFiles.c.cmake.in: -------------------------------------------------------------------------------- 1 | #cmakedefine _LARGEFILE_SOURCE 2 | #cmakedefine _LARGE_FILES 3 | #cmakedefine _FILE_OFFSET_BITS @_FILE_OFFSET_BITS@ 4 | 5 | #include 6 | #include 7 | #include 8 | 9 | int main(int argc, char **argv) 10 | { 11 | /* Cause a compile-time error if off_t is smaller than 64 bits, 12 | * and make sure we have ftello / fseeko. 13 | */ 14 | #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62)) 15 | int off_t_is_large[ (LARGE_OFF_T % 2147483629 == 721 && LARGE_OFF_T % 2147483647 == 1) ? 1 : -1 ]; 16 | FILE *fp = fopen(argv[0],"r"); 17 | off_t offset = ftello( fp ); 18 | 19 | fseeko( fp, offset, SEEK_CUR ); 20 | fclose(fp); 21 | return 0; 22 | } 23 | 24 | -------------------------------------------------------------------------------- /ext/openjpeg/cmake/TestWindowsFSeek.c: -------------------------------------------------------------------------------- 1 | 2 | #include 3 | 4 | int main() 5 | { 6 | __int64 off=0; 7 | 8 | _fseeki64(NULL, off, SEEK_SET); 9 | 10 | return 0; 11 | } 12 | -------------------------------------------------------------------------------- /ext/openjpeg/cmake/openjpeg_valgrind.supp: -------------------------------------------------------------------------------- 1 | 2 | 3 | { 4 | 5 | Memcheck:Cond 6 | fun:deflate 7 | obj:/lib/libpng12.so.0.42.0 8 | obj:/lib/libpng12.so.0.42.0 9 | obj:/lib/libpng12.so.0.42.0 10 | fun:png_write_row 11 | fun:imagetopng 12 | fun:main 13 | } 14 | { 15 | 16 | Memcheck:Value8 17 | fun:crc32 18 | obj:/lib/libpng12.so.0.42.0 19 | fun:png_write_chunk 20 | obj:/lib/libpng12.so.0.42.0 21 | obj:/lib/libpng12.so.0.42.0 22 | obj:/lib/libpng12.so.0.42.0 23 | obj:/lib/libpng12.so.0.42.0 24 | fun:png_write_row 25 | fun:imagetopng 26 | fun:main 27 | } 28 | { 29 | 30 | Memcheck:Param 31 | write(buf) 32 | fun:__write_nocancel 33 | fun:_IO_file_write@@GLIBC_2.2.5 34 | fun:_IO_do_write@@GLIBC_2.2.5 35 | fun:_IO_file_close_it@@GLIBC_2.2.5 36 | fun:fclose@@GLIBC_2.2.5 37 | fun:imagetopng 38 | fun:main 39 | } 40 | -------------------------------------------------------------------------------- /ext/openjpeg/doc/jpip_architect.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/doc/jpip_architect.png -------------------------------------------------------------------------------- /ext/openjpeg/doc/jpip_protocol.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/doc/jpip_protocol.png -------------------------------------------------------------------------------- /ext/openjpeg/scripts/astyle.options: -------------------------------------------------------------------------------- 1 | --convert-tabs 2 | --lineend=linux 3 | --indent=spaces=4 4 | --style=kr 5 | --add-braces 6 | --max-code-length=80 7 | --break-after-logical 8 | --pad-header 9 | --pad-oper 10 | --unpad-paren 11 | --suffix=none 12 | -------------------------------------------------------------------------------- /ext/openjpeg/src/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # required dep for server: 2 | #if(BUILD_JPIP_SERVER) 3 | # find_package(CURL REQUIRED) 4 | # find_package(FCGI REQUIRED) 5 | # find_package(Threads REQUIRED) 6 | # if(NOT CMAKE_USE_PTHREADS_INIT) 7 | # message(FATAL_ERROR "Only pthread are supported") 8 | # endif() 9 | #endif() 10 | 11 | #add_subdirectory(lib) 12 | #add_subdirectory(bin) 13 | -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # source code for openjpeg apps: 2 | add_subdirectory(common) 3 | # Part 1 & 2: 4 | add_subdirectory(jp2) 5 | 6 | # optionals components: 7 | if(BUILD_JPWL) 8 | add_subdirectory(jpwl) 9 | endif() 10 | if(BUILD_MJ2) 11 | add_subdirectory(mj2) 12 | endif() 13 | if(BUILD_JPIP) 14 | add_subdirectory(jpip) 15 | endif() 16 | if(BUILD_JP3D) 17 | add_subdirectory(jp3d) 18 | endif() 19 | 20 | # wx apps: 21 | add_subdirectory(wx) 22 | -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/common/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | #----------------------------------------------------------------------------- 2 | # opj_apps_config.h generation 3 | configure_file( 4 | ${CMAKE_CURRENT_SOURCE_DIR}/opj_apps_config.h.cmake.in 5 | ${CMAKE_CURRENT_BINARY_DIR}/opj_apps_config.h 6 | @ONLY 7 | ) 8 | -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/common/opj_apps_config.h.cmake.in: -------------------------------------------------------------------------------- 1 | #include "opj_config_private.h" 2 | 3 | /* create opj_apps_config.h for CMake */ 4 | 5 | #cmakedefine OPJ_HAVE_LIBPNG @HAVE_LIBPNG@ 6 | #cmakedefine OPJ_HAVE_PNG_H @HAVE_PNG_H@ 7 | #cmakedefine OPJ_HAVE_LIBTIFF @HAVE_LIBTIFF@ 8 | #cmakedefine OPJ_HAVE_TIFF_H @HAVE_TIFF_H@ 9 | 10 | #cmakedefine OPJ_HAVE_LIBLCMS1 11 | #cmakedefine OPJ_HAVE_LIBLCMS2 12 | #cmakedefine OPJ_HAVE_LCMS1_H 13 | #cmakedefine OPJ_HAVE_LCMS2_H 14 | 15 | 16 | -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/common/opj_getopt.h: -------------------------------------------------------------------------------- 1 | /* last review : october 29th, 2002 */ 2 | 3 | #ifndef _GETOPT_H_ 4 | #define _GETOPT_H_ 5 | 6 | typedef struct opj_option { 7 | const char *name; 8 | int has_arg; 9 | int *flag; 10 | int val; 11 | } opj_option_t; 12 | 13 | #define NO_ARG 0 14 | #define REQ_ARG 1 15 | #define OPT_ARG 2 16 | 17 | extern int opj_opterr; 18 | extern int opj_optind; 19 | extern int opj_optopt; 20 | extern int opj_optreset; 21 | extern char *opj_optarg; 22 | 23 | extern int opj_getopt(int nargc, char *const *nargv, const char *ostr); 24 | extern int opj_getopt_long(int argc, char * const argv[], const char *optstring, 25 | const opj_option_t *longopts, int totlen); 26 | extern void opj_reset_options_reading(void); 27 | 28 | #endif /* _GETOPT_H_ */ 29 | -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/jp3d/getopt.h: -------------------------------------------------------------------------------- 1 | /* last review : october 29th, 2002 */ 2 | 3 | #ifndef _GETOPT_H_ 4 | #define _GETOPT_H_ 5 | 6 | extern int opterr; 7 | extern int optind; 8 | extern int optopt; 9 | extern int optreset; 10 | extern char *optarg; 11 | 12 | extern int getopt(int nargc, char *const *nargv, const char *ostr); 13 | 14 | #endif /* _GETOPT_H_ */ 15 | -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/jp3d/tcltk/README: -------------------------------------------------------------------------------- 1 | HOWTO USE THE TCL/TK APP IN 'jp3d/tcltk' 2 | ---------------------------------------- 3 | 1. Download the 'BWidget-1.9.2' 4 | http://www.sourceforge.net/projects/tcllib/ 5 | 6 | 2. Install it e.g. in '/usr/local/BWidget-1.9.2/' 7 | 3. Add the lappend command in line 4 8 | to jp3d/tcltk/LPI_JP3D_VM.tcl: 9 | 10 | #!/bin/sh 11 | # The next line is executed by /bin/sh, but not tcl \ 12 | exec wish "$0" ${1+"$@"} 13 | lappend auto_path /usr/local/BWidget-1.9.2 14 | -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/jp3d/tcltk/Thumbs.db: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/src/bin/jp3d/tcltk/Thumbs.db -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/jp3d/tcltk/logoLPI.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/src/bin/jp3d/tcltk/logoLPI.gif -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/jpip/opj_viewer/dist/manifest.txt: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Ant-Version: Apache Ant 1.7.0 3 | Created-By: Kaori Hagihara 4 | Main-Class: ImageWindow 5 | -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/jpip/opj_viewer_xerces/dist/manifest.txt.in: -------------------------------------------------------------------------------- 1 | Manifest-Version: 1.0 2 | Ant-Version: Apache Ant 1.7.0 3 | Created-By: Kaori Hagihara 4 | Main-Class: ImageWindow 5 | Class-Path: @APACHE_XERCES_JAR@ 6 | -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/mj2/meta_out.h: -------------------------------------------------------------------------------- 1 | /* meta_out.h */ 2 | /* Dump MJ2, JP2 metadata (partial so far) to xml file */ 3 | /* Callable from mj2_to_metadata */ 4 | /* Contributed to Open JPEG by Glenn Pearson, U.S. National Library of Medicine */ 5 | 6 | #define BOOL int 7 | #define FALSE 0 8 | #define TRUE 1 9 | 10 | void xml_write_init(BOOL n, BOOL t, BOOL r, BOOL d); 11 | 12 | int xml_write_struct(FILE *file, FILE *xmlout, opj_mj2_t * movie, 13 | unsigned int sampleframe, char* stringDTD, opj_event_mgr_t *event_mgr); 14 | 15 | -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/mj2/mj2_to_metadata.h: -------------------------------------------------------------------------------- 1 | /* mj2_to_metadata.h */ 2 | /* Dump MJ2, JP2 metadata (partial so far) to xml file */ 3 | /* Contributed to Open JPEG by Glenn Pearson, U.S. National Library of Medicine */ 4 | 5 | #define BOOL int 6 | #define FALSE 0 7 | #define TRUE 1 8 | 9 | #include "meta_out.h" 10 | -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/mj2/mj2_to_metadata_Notes.doc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/src/bin/mj2/mj2_to_metadata_Notes.doc -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/mj2/readme.txt: -------------------------------------------------------------------------------- 1 | Attention : the motion jpeg 2000 files currently only work with OpenJPEG v0.97 that you can find here : 2 | 3 | http://www.openjpeg.org/openjpeg_v097.tar.gz -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/wx/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | if(BUILD_VIEWER) 3 | add_subdirectory(OPJViewer) 4 | endif() 5 | -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/wx/OPJViewer/about/about.htm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/src/bin/wx/OPJViewer/about/about.htm -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/wx/OPJViewer/about/opj_logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/src/bin/wx/OPJViewer/about/opj_logo.png -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/wx/OPJViewer/source/OPJAbout.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/src/bin/wx/OPJViewer/source/OPJAbout.cpp -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/wx/OPJViewer/source/OPJChild.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/src/bin/wx/OPJViewer/source/OPJChild.ico -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/wx/OPJViewer/source/OPJChild16.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *OPJChild16[] = { 3 | /* columns rows colors chars-per-pixel */ 4 | "16 16 6 1", 5 | " c black", 6 | ". c #008000", 7 | "X c red", 8 | "o c #800080", 9 | "O c gray100", 10 | "+ c None", 11 | /* pixels */ 12 | "++++++++++++++++", 13 | "+OOOOOOOOOOOOOO+", 14 | "+OooooooooooooO+", 15 | "+OooooooooooooO+", 16 | "+OooOOOOOOOOOoO+", 17 | "+OooO.......OoO+", 18 | "+OooO.......OoO+", 19 | "+OooO..OOO..OoO+", 20 | "+OooO..OXO..OoO+", 21 | "+OooO..OOO..OoO+", 22 | "+OooO.......OoO+", 23 | "+OooO.......OoO+", 24 | "+OooOOOOOOOOOoO+", 25 | "+OooooooooooooO+", 26 | "+OOOOOOOOOOOOOO+", 27 | "++++++++++++++++" 28 | }; 29 | -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/wx/OPJViewer/source/OPJDialogs.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/src/bin/wx/OPJViewer/source/OPJDialogs.cpp -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/wx/OPJViewer/source/OPJThreads.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/src/bin/wx/OPJViewer/source/OPJThreads.cpp -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/wx/OPJViewer/source/OPJViewer.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/src/bin/wx/OPJViewer/source/OPJViewer.ico -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/wx/OPJViewer/source/OPJViewer.rc: -------------------------------------------------------------------------------- 1 | OPJChild16 ICON OPJChild.ico 2 | OPJViewer16 ICON OPJViewer.ico 3 | #include "wx/msw/wx.rc" -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/wx/OPJViewer/source/OPJViewer16.xpm: -------------------------------------------------------------------------------- 1 | /* XPM */ 2 | static char *OPJViewer16[] = { 3 | /* columns rows colors chars-per-pixel */ 4 | "16 16 4 1", 5 | " c black", 6 | ". c #800000", 7 | "X c red", 8 | "o c None", 9 | /* pixels */ 10 | "oooooooooooooooo", 11 | "ooo.XXXXoooooooo", 12 | "ooXXoo .Xooooooo", 13 | "o..oooo .ooooooo", 14 | "oX.oooo ooooooo", 15 | "oX.oooo .ooooooo", 16 | "oXXoooo .ooooooo", 17 | "o.XXoo .oooooooo", 18 | "oo.XXXXooooooooo", 19 | "ooooooooo.Xo .oo", 20 | "ooooooooo X. ooo", 21 | "oooooooooo...ooo", 22 | "oooooooooo XXooo", 23 | "oooooooooo .Xooo", 24 | "oooooooooooooooo", 25 | "oooooooooooooooo" 26 | }; 27 | -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/wx/OPJViewer/source/build.h: -------------------------------------------------------------------------------- 1 | wxT("491") 2 | -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/wx/OPJViewer/source/imagjpeg2000.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/src/bin/wx/OPJViewer/source/imagjpeg2000.cpp -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/wx/OPJViewer/source/imagmxf.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/src/bin/wx/OPJViewer/source/imagmxf.cpp -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/wx/OPJViewer/source/license.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/src/bin/wx/OPJViewer/source/license.txt -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/wx/OPJViewer/source/readmebefore.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/src/bin/wx/OPJViewer/source/readmebefore.txt -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/wx/OPJViewer/source/wxj2kparser.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/src/bin/wx/OPJViewer/source/wxj2kparser.cpp -------------------------------------------------------------------------------- /ext/openjpeg/src/bin/wx/OPJViewer/source/wxjp2parser.cpp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/src/bin/wx/OPJViewer/source/wxjp2parser.cpp -------------------------------------------------------------------------------- /ext/openjpeg/src/lib/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # source code for openjpeg project: 2 | # Part 1 & 2: 3 | add_subdirectory(openjp2) 4 | 5 | # optionals components: 6 | if(BUILD_JPWL) 7 | add_subdirectory(openjpwl) 8 | endif() 9 | if(BUILD_MJ2) 10 | add_subdirectory(openmj2) 11 | endif() 12 | if(BUILD_JPIP) 13 | add_subdirectory(openjpip) 14 | endif() 15 | if(BUILD_JP3D) 16 | add_subdirectory(openjp3d) 17 | endif() 18 | -------------------------------------------------------------------------------- /ext/openjpeg/src/lib/openjp2/libopenjp2.pc.cmake.in: -------------------------------------------------------------------------------- 1 | prefix=@CMAKE_INSTALL_PREFIX@ 2 | bindir=${prefix}/@OPENJPEG_INSTALL_BIN_DIR@ 3 | mandir=${prefix}/@OPENJPEG_INSTALL_MAN_DIR@ 4 | docdir=${prefix}/@OPENJPEG_INSTALL_DOC_DIR@ 5 | libdir=${prefix}/@OPENJPEG_INSTALL_LIB_DIR@ 6 | includedir=${prefix}/@OPENJPEG_INSTALL_INCLUDE_DIR@ 7 | 8 | Name: openjp2 9 | Description: JPEG2000 library (Part 1 and 2) 10 | URL: http://www.openjpeg.org/ 11 | Version: @OPENJPEG_VERSION@ 12 | Libs: -L${libdir} -lopenjp2 13 | Libs.private: -lm 14 | Cflags: -I${includedir} 15 | -------------------------------------------------------------------------------- /ext/openjpeg/src/lib/openjp2/opj_config.h.cmake.in: -------------------------------------------------------------------------------- 1 | /* create opj_config.h for CMake */ 2 | #cmakedefine OPJ_HAVE_STDINT_H @OPJ_HAVE_STDINT_H@ 3 | 4 | /*--------------------------------------------------------------------------*/ 5 | /* OpenJPEG Versioning */ 6 | 7 | /* Version number. */ 8 | #define OPJ_VERSION_MAJOR @OPENJPEG_VERSION_MAJOR@ 9 | #define OPJ_VERSION_MINOR @OPENJPEG_VERSION_MINOR@ 10 | #define OPJ_VERSION_BUILD @OPENJPEG_VERSION_BUILD@ 11 | -------------------------------------------------------------------------------- /ext/openjpeg/src/lib/openjp3d/libopenjp3d.pc.cmake.in: -------------------------------------------------------------------------------- 1 | prefix=@CMAKE_INSTALL_PREFIX@ 2 | bindir=${prefix}/@OPENJPEG_INSTALL_BIN_DIR@ 3 | mandir=${prefix}/@OPENJPEG_INSTALL_MAN_DIR@ 4 | docdir=${prefix}/@OPENJPEG_INSTALL_DOC_DIR@ 5 | libdir=${prefix}/@OPENJPEG_INSTALL_LIB_DIR@ 6 | includedir=${prefix}/@OPENJPEG_INSTALL_INCLUDE_DIR@ 7 | 8 | Name: openjp3d 9 | Description: JPEG2000 Extensions for three-dimensional data (Part 10) 10 | URL: http://www.openjpeg.org/ 11 | Version: @OPENJPEG_VERSION@ 12 | Libs: -L${libdir} -lopenjp3d 13 | Libs.private: -lm 14 | Cflags: -I${includedir} 15 | -------------------------------------------------------------------------------- /ext/openjpeg/src/lib/openjpip/libopenjpip.pc.cmake.in: -------------------------------------------------------------------------------- 1 | prefix=@CMAKE_INSTALL_PREFIX@ 2 | bindir=${prefix}/@OPENJPEG_INSTALL_BIN_DIR@ 3 | mandir=${prefix}/@OPENJPEG_INSTALL_MAN_DIR@ 4 | docdir=${prefix}/@OPENJPEG_INSTALL_DOC_DIR@ 5 | libdir=${prefix}/@OPENJPEG_INSTALL_LIB_DIR@ 6 | includedir=${prefix}/@OPENJPEG_INSTALL_INCLUDE_DIR@ 7 | 8 | Name: openjpip 9 | Description: JPEG2000 Interactivity tools, APIs and protocols (Part 9) 10 | URL: http://www.openjpeg.org/ 11 | Version: @OPENJPEG_VERSION@ 12 | Requires: libopenjp2 13 | Libs: -L${libdir} -lopenjpip 14 | Libs.private: -lm -lcurl -lfcgi -lpthread 15 | Cflags: -I${includedir} 16 | -------------------------------------------------------------------------------- /ext/openjpeg/src/lib/openjpwl/libopenjpwl.pc.cmake.in: -------------------------------------------------------------------------------- 1 | prefix=@CMAKE_INSTALL_PREFIX@ 2 | bindir=${prefix}/@OPENJPEG_INSTALL_BIN_DIR@ 3 | mandir=${prefix}/@OPENJPEG_INSTALL_MAN_DIR@ 4 | docdir=${prefix}/@OPENJPEG_INSTALL_DOC_DIR@ 5 | libdir=${prefix}/@OPENJPEG_INSTALL_LIB_DIR@ 6 | includedir=${prefix}/@OPENJPEG_INSTALL_INCLUDE_DIR@ 7 | 8 | Name: openjpwl 9 | Description: JPEG2000 Wireless library (Part 11) 10 | URL: http://www.openjpeg.org/ 11 | Version: @OPENJPEG_VERSION@ 12 | Requires: libopenjp2 13 | Libs: -L${libdir} -lopenjpwl 14 | Libs.private: -lm 15 | Cflags: -I${includedir} 16 | -------------------------------------------------------------------------------- /ext/openjpeg/tests/fuzzers/GNUmakefile: -------------------------------------------------------------------------------- 1 | default: dummyfuzzers 2 | 3 | clean: 4 | $(RM) -f *.o *.a 5 | 6 | fuzzingengine.o: fuzzingengine.c 7 | $(CC) $(CFLAGS) -c -o $@ $< 8 | 9 | dummyfuzzers: fuzzingengine.o 10 | $(AR) r libFuzzingEngine.a fuzzingengine.o 11 | CXX="${CXX}" CXXFLAGS="-L. ${CXXFLAGS}" SRC=/tmp OUT=/tmp ./build_google_oss_fuzzers.sh 12 | OUT=/tmp ./build_seed_corpus.sh 13 | -------------------------------------------------------------------------------- /ext/openjpeg/tests/fuzzers/build_google_oss_fuzzers.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | if [ "$SRC" == "" ]; then 6 | echo "SRC env var not defined" 7 | exit 1 8 | fi 9 | 10 | if [ "$OUT" == "" ]; then 11 | echo "OUT env var not defined" 12 | exit 1 13 | fi 14 | 15 | if [ "$CXX" == "" ]; then 16 | echo "CXX env var not defined" 17 | exit 1 18 | fi 19 | 20 | SRC_DIR=$(dirname $0)/../.. 21 | 22 | build_fuzzer() 23 | { 24 | fuzzerName=$1 25 | sourceFilename=$2 26 | shift 27 | shift 28 | echo "Building fuzzer $fuzzerName" 29 | $CXX $CXXFLAGS -std=c++11 -I$SRC_DIR/src/lib/openjp2 -I$SRC_DIR/build/src/lib/openjp2 \ 30 | $sourceFilename $* -o $OUT/$fuzzerName \ 31 | -lFuzzingEngine $SRC_DIR/build/bin/libopenjp2.a -lm -lpthread 32 | } 33 | 34 | fuzzerFiles=$(dirname $0)/*.cpp 35 | for F in $fuzzerFiles; do 36 | fuzzerName=$(basename $F .cpp) 37 | build_fuzzer $fuzzerName $F 38 | done 39 | 40 | -------------------------------------------------------------------------------- /ext/openjpeg/tests/fuzzers/build_seed_corpus.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | set -e 4 | 5 | if [ "$OUT" == "" ]; then 6 | echo "OUT env var not defined" 7 | exit 1 8 | fi 9 | 10 | SRC_DIR=$(dirname $0)/../.. 11 | 12 | cd $SRC_DIR/data/input/conformance 13 | rm -f $OUT/opj_decompress_fuzzer_seed_corpus.zip 14 | zip $OUT/opj_decompress_fuzzer_seed_corpus.zip *.jp2 *.j2k 15 | cd $OLDPWD 16 | -------------------------------------------------------------------------------- /ext/openjpeg/tests/include_openjpeg.c: -------------------------------------------------------------------------------- 1 | #include 2 | 3 | int main(int argc, char **argv) 4 | { 5 | (void)argc; 6 | (void)argv; 7 | 8 | return 0; 9 | } 10 | -------------------------------------------------------------------------------- /ext/openjpeg/tests/performance/perf_test_filelist.csv: -------------------------------------------------------------------------------- 1 | filename,iterations,threads,command,comment 2 | ../../data/input/nonregression/kodak_2layers_lrcp.j2c,3,1,DECOMPRESS, 3 | ../../data/input/nonregression/kodak_2layers_lrcp.j2c,5,2,DECOMPRESS, 4 | ../../data/input/nonregression/kodak_2layers_lrcp.j2c,10,4,DECOMPRESS, 5 | ../../data/input/conformance/p0_07.j2k,3,1,DECOMPRESS,128x128 tiles RLCP 3decomp 8layers no MCT reversible 6 | ../../data/input/conformance/p0_04.j2k,10,1,DECOMPRESS,precincts 128x128 irreversible 7 | ../../data/input/nonregression/X_4_2K_24_185_CBR_WB_000.tif,3,1,COMPRESS, 8 | -------------------------------------------------------------------------------- /ext/openjpeg/tests/unit/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # UNIT TESTS 2 | 3 | include_directories( 4 | ${OPENJPEG_BINARY_DIR}/src/lib/openjp2 # opj_config.h 5 | ${OPENJPEG_SOURCE_DIR}/src/lib/openjp2 6 | ) 7 | 8 | set(unit_test 9 | testempty0 10 | testempty1 11 | testempty2 12 | ) 13 | foreach(ut ${unit_test}) 14 | add_executable(${ut} ${ut}.c) 15 | target_link_libraries(${ut} openjp2) 16 | add_test(NAME ${ut} COMMAND ${ut}) 17 | endforeach() 18 | -------------------------------------------------------------------------------- /ext/openjpeg/tests/unit/testempty0.c: -------------------------------------------------------------------------------- 1 | #include "openjpeg.h" 2 | 3 | int main(int argc, char **argv) { 4 | (void)argc; 5 | (void)argv; 6 | return 0; 7 | } 8 | -------------------------------------------------------------------------------- /ext/openjpeg/thirdparty/README.txt: -------------------------------------------------------------------------------- 1 | This directory contains 3rd party libs (PNG, ZLIB)... 2 | 3 | They are convinient copy of code from people outside of the OpenJPEG community. 4 | They are solely provided for ease of build of OpenJPEG on system where those 5 | 3rd party libs are not easily accessible (typically non-UNIX). 6 | 7 | The OpenJPEG does not recommend using those 3rd party libs over your system 8 | installed libs. The OpenJPEG does not even guarantee that those libraries will 9 | work for you. 10 | -------------------------------------------------------------------------------- /ext/openjpeg/thirdparty/astyle/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | SET(ASTYLE_SRCS 2 | astyle_main.cpp 3 | ASBeautifier.cpp 4 | ASEnhancer.cpp 5 | ASFormatter.cpp 6 | ASLocalizer.cpp 7 | ASResource.cpp 8 | ) 9 | 10 | if (CMAKE_VERSION VERSION_LESS "3.1") 11 | if (CMAKE_CXX_COMPILER_ID MATCHES "GNU" OR CMAKE_CXX_COMPILER_ID MATCHES "Clang") 12 | set (CMAKE_CXX_FLAGS "--std=c++11 ${CMAKE_CXX_FLAGS}") 13 | endif () 14 | else () 15 | set (CMAKE_CXX_STANDARD 11) 16 | endif () 17 | 18 | # No warnings for astyle build 19 | IF(NOT MSVC) 20 | SET_SOURCE_FILES_PROPERTIES(${ASTYLE_SRCS} PROPERTIES COMPILE_FLAGS -w) 21 | ENDIF(NOT MSVC) 22 | ADD_EXECUTABLE(opjstyle ${ASTYLE_SRCS}) 23 | SET_TARGET_PROPERTIES(opjstyle PROPERTIES LINKER_LANGUAGE CXX) 24 | SET_TARGET_PROPERTIES(opjstyle PROPERTIES RUNTIME_OUTPUT_DIRECTORY ${CMAKE_SOURCE_DIR}/scripts) 25 | 26 | IF (CMAKE_CXX_COMPILER_ID MATCHES "Clang") 27 | SET(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -lstdc++") 28 | ENDIF (CMAKE_CXX_COMPILER_ID MATCHES "Clang") 29 | -------------------------------------------------------------------------------- /ext/openjpeg/thirdparty/liblcms2/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(liblcms2 C) 2 | # 3 | include_directories("${CMAKE_CURRENT_SOURCE_DIR}/include") 4 | # 5 | file(GLOB SRCS src/*.c) 6 | file(GLOB HDRS include/*.h) 7 | # 8 | set(LIBTARGET "lcms2") 9 | # 10 | add_library(${LIBTARGET} STATIC ${SRCS} ${HDRS}) 11 | # 12 | if(MSVC) 13 | set_target_properties(${LIBTARGET} PROPERTIES PREFIX "lib") 14 | endif(MSVC) 15 | # 16 | set_target_properties(${LIBTARGET} 17 | PROPERTIES 18 | OUTPUT_NAME "${LIBTARGET}" 19 | ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/thirdparty/lib) 20 | # 21 | -------------------------------------------------------------------------------- /ext/openjpeg/thirdparty/liblcms2/COPYING: -------------------------------------------------------------------------------- 1 | Little CMS 2 | Copyright (c) 1998-2011 Marti Maria Saguer 3 | 4 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 5 | 6 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 7 | 8 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 9 | -------------------------------------------------------------------------------- /ext/openjpeg/thirdparty/liblcms2/src/cmscgats.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/thirdparty/liblcms2/src/cmscgats.c -------------------------------------------------------------------------------- /ext/openjpeg/thirdparty/liblcms2/src/cmsopt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/thirdparty/liblcms2/src/cmsopt.c -------------------------------------------------------------------------------- /ext/openjpeg/thirdparty/liblcms2/src/cmstypes.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/thirdparty/liblcms2/src/cmstypes.c -------------------------------------------------------------------------------- /ext/openjpeg/thirdparty/liblcms2/src/cmsvirt.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/thirdparty/liblcms2/src/cmsvirt.c -------------------------------------------------------------------------------- /ext/openjpeg/thirdparty/liblcms2/src/cmsxform.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/thirdparty/liblcms2/src/cmsxform.c -------------------------------------------------------------------------------- /ext/openjpeg/thirdparty/libpng/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | project(libpng C) 2 | 3 | include_directories( 4 | "${CMAKE_CURRENT_SOURCE_DIR}" 5 | ${OPENJPEG_SOURCE_DIR}/thirdparty/include 6 | ) 7 | 8 | file(GLOB SRCS *.c) 9 | file(GLOB HDRS *.h) 10 | set(EXT_HDRS 11 | ${OPENJPEG_SOURCE_DIR}/thirdparty/include/zlib.h 12 | ${OPENJPEG_SOURCE_DIR}/thirdparty/include/zconf.h 13 | ) 14 | # 15 | set(LIBTARGET "png") 16 | # 17 | add_library(${LIBTARGET} STATIC ${SRCS} ${HDRS} ${EXT_HDRS}) 18 | # 19 | if(MSVC) 20 | set_target_properties(${LIBTARGET} PROPERTIES PREFIX "lib") 21 | endif(MSVC) 22 | # 23 | target_link_libraries(${LIBTARGET} ${Z_LIBNAME} ${M_LIBRARY}) 24 | # 25 | set_target_properties(${LIBTARGET} 26 | PROPERTIES 27 | OUTPUT_NAME "${LIBTARGET}" 28 | ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/thirdparty/lib) 29 | # 30 | -------------------------------------------------------------------------------- /ext/openjpeg/thirdparty/libtiff/snprintf.c: -------------------------------------------------------------------------------- 1 | /** 2 | * Workaround for lack of snprintf(3) in Visual Studio. See 3 | * http://stackoverflow.com/questions/2915672/snprintf-and-visual-studio-2010/8712996#8712996 4 | * It's a trivial wrapper around the builtin _vsnprintf_s and 5 | * _vscprintf functions. 6 | */ 7 | 8 | #ifdef _MSC_VER 9 | 10 | #include 11 | #include 12 | #include "libport.h" 13 | 14 | int _TIFF_vsnprintf_f(char* str, size_t size, const char* format, va_list ap) 15 | { 16 | int count = -1; 17 | 18 | if (size != 0) 19 | count = _vsnprintf_s(str, size, _TRUNCATE, format, ap); 20 | if (count == -1) 21 | count = _vscprintf(format, ap); 22 | 23 | return count; 24 | } 25 | 26 | int _TIFF_snprintf_f(char* str, size_t size, const char* format, ...) 27 | { 28 | int count; 29 | va_list ap; 30 | 31 | va_start(ap, format); 32 | count = vsnprintf(str, size, format, ap); 33 | va_end(ap); 34 | 35 | return count; 36 | } 37 | 38 | #endif // _MSC_VER 39 | -------------------------------------------------------------------------------- /ext/openjpeg/thirdparty/libtiff/test_inline.c: -------------------------------------------------------------------------------- 1 | /* Test source lifted from /usr/share/autoconf/autoconf/c.m4 */ 2 | typedef int foo_t; 3 | static inline foo_t static_foo(){return 0;} 4 | foo_t foo(){return 0;} 5 | int main(int argc, char *argv[]){return 0;} 6 | -------------------------------------------------------------------------------- /ext/openjpeg/thirdparty/libtiff/tiffvers.h: -------------------------------------------------------------------------------- 1 | #define TIFFLIB_VERSION_STR "LIBTIFF, Version 4.0.6\nCopyright (c) 1988-1996 Sam Leffler\nCopyright (c) 1991-1996 Silicon Graphics, Inc." 2 | /* 3 | * This define can be used in code that requires 4 | * compilation-related definitions specific to a 5 | * version or versions of the library. Runtime 6 | * version checking should be done based on the 7 | * string returned by TIFFGetVersion. 8 | */ 9 | #define TIFFLIB_VERSION 20150912 10 | -------------------------------------------------------------------------------- /ext/openjpeg/thirdparty/libz/gzclose.c: -------------------------------------------------------------------------------- 1 | /* gzclose.c -- zlib gzclose() function 2 | * Copyright (C) 2004, 2010 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | #include "gzguts.h" 7 | 8 | /* gzclose() is in a separate file so that it is linked in only if it is used. 9 | That way the other gzclose functions can be used instead to avoid linking in 10 | unneeded compression or decompression routines. */ 11 | int ZEXPORT gzclose(file) 12 | gzFile file; 13 | { 14 | #ifndef NO_GZCOMPRESS 15 | gz_statep state; 16 | 17 | if (file == NULL) 18 | return Z_STREAM_ERROR; 19 | state = (gz_statep)file; 20 | 21 | return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file); 22 | #else 23 | return gzclose_r(file); 24 | #endif 25 | } 26 | -------------------------------------------------------------------------------- /ext/openjpeg/thirdparty/libz/inffast.h: -------------------------------------------------------------------------------- 1 | /* inffast.h -- header to use inffast.c 2 | * Copyright (C) 1995-2003, 2010 Mark Adler 3 | * For conditions of distribution and use, see copyright notice in zlib.h 4 | */ 5 | 6 | /* WARNING: this file should *not* be used by applications. It is 7 | part of the implementation of the compression library and is 8 | subject to change. Applications should only use zlib.h. 9 | */ 10 | 11 | void ZLIB_INTERNAL inflate_fast OF((z_streamp strm, unsigned start)); 12 | -------------------------------------------------------------------------------- /ext/openjpeg/tools/ctest_scripts/toolchain-mingw32.cmake: -------------------------------------------------------------------------------- 1 | # http://www.cmake.org/Wiki/CmakeMingw 2 | # 3 | # Copyright (c) 2006-2014 Mathieu Malaterre 4 | # 5 | # Redistribution and use is allowed according to the terms of the New 6 | # BSD license. 7 | # For details see the accompanying COPYING-CMAKE-SCRIPTS file. 8 | # 9 | 10 | # the name of the target operating system 11 | set(CMAKE_SYSTEM_NAME Windows) 12 | 13 | # which compilers to use for C and C++ 14 | set(CMAKE_C_COMPILER i686-w64-mingw32-gcc) 15 | set(CMAKE_CXX_COMPILER i686-w64-mingw32-g++) 16 | set(CMAKE_RC_COMPILER i686-w64-mingw32-windres) 17 | 18 | # here is the target environment located 19 | set(CMAKE_FIND_ROOT_PATH /usr/i686-w64-mingw32) 20 | 21 | # adjust the default behaviour of the FIND_XXX() commands: 22 | # search headers and libraries in the target environment, search 23 | # programs in the host environment 24 | set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) 25 | set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) 26 | set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) 27 | -------------------------------------------------------------------------------- /ext/openjpeg/tools/ctest_scripts/toolchain-mingw64.cmake: -------------------------------------------------------------------------------- 1 | # http://www.cmake.org/Wiki/CmakeMingw 2 | # 3 | # Copyright (c) 2006-2014 Mathieu Malaterre 4 | # 5 | # Redistribution and use is allowed according to the terms of the New 6 | # BSD license. 7 | # For details see the accompanying COPYING-CMAKE-SCRIPTS file. 8 | # 9 | 10 | # the name of the target operating system 11 | set(CMAKE_SYSTEM_NAME Windows) 12 | 13 | # which compilers to use for C and C++ 14 | set(CMAKE_C_COMPILER x86_64-w64-mingw32-gcc) 15 | set(CMAKE_CXX_COMPILER x86_64-w64-mingw32-g++) 16 | set(CMAKE_RC_COMPILER x86_64-w64-mingw32-windres) 17 | 18 | # here is the target environment located 19 | set(CMAKE_FIND_ROOT_PATH /usr/x86_64-w64-mingw32) 20 | 21 | # adjust the default behaviour of the FIND_XXX() commands: 22 | # search headers and libraries in the target environment, search 23 | # programs in the host environment 24 | set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER) 25 | set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY) 26 | set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY) 27 | -------------------------------------------------------------------------------- /ext/openjpeg/tools/travis-ci/knownfailures-Ubuntu12.04-gcc4.6.3-x86_64-Release-3rdP.txt: -------------------------------------------------------------------------------- 1 | NR-ENC-X_4_2K_24_185_CBR_WB_000.tif-15-compare_dec-ref-out2base 2 | NR-ENC-X_5_2K_24_235_CBR_STEM24_000.tif-16-compare_dec-ref-out2base 3 | NR-ENC-X_6_2K_24_FULL_CBR_CIRCLE_000.tif-17-compare_dec-ref-out2base 4 | NR-ENC-X_4_2K_24_185_CBR_WB_000.tif-18-compare_dec-ref-out2base 5 | NR-ENC-X_5_2K_24_235_CBR_STEM24_000.tif-19-compare_dec-ref-out2base 6 | NR-ENC-X_6_2K_24_FULL_CBR_CIRCLE_000.tif-20-compare_dec-ref-out2base 7 | NR-ENC-ElephantDream_4K.tif-21-compare_dec-ref-out2base 8 | NR-ENC-issue141.rawl-23-compare_dec-ref-out2base 9 | -------------------------------------------------------------------------------- /ext/openjpeg/tools/travis-ci/knownfailures-Ubuntu14.04-clang3.8.0-x86_64-Release-3rdP.txt: -------------------------------------------------------------------------------- 1 | NR-ENC-X_4_2K_24_185_CBR_WB_000.tif-15-compare_dec-ref-out2base 2 | NR-ENC-X_5_2K_24_235_CBR_STEM24_000.tif-16-compare_dec-ref-out2base 3 | NR-ENC-X_6_2K_24_FULL_CBR_CIRCLE_000.tif-17-compare_dec-ref-out2base 4 | NR-ENC-X_4_2K_24_185_CBR_WB_000.tif-18-compare_dec-ref-out2base 5 | NR-ENC-X_5_2K_24_235_CBR_STEM24_000.tif-19-compare_dec-ref-out2base 6 | NR-ENC-X_6_2K_24_FULL_CBR_CIRCLE_000.tif-20-compare_dec-ref-out2base 7 | NR-ENC-ElephantDream_4K.tif-21-compare_dec-ref-out2base 8 | NR-ENC-issue141.rawl-23-compare_dec-ref-out2base 9 | -------------------------------------------------------------------------------- /ext/openjpeg/tools/travis-ci/knownfailures-Ubuntu14.04-gcc4.8.4-x86_64-Debug-3rdP.txt: -------------------------------------------------------------------------------- 1 | NR-ENC-X_4_2K_24_185_CBR_WB_000.tif-15-compare_dec-ref-out2base 2 | NR-ENC-X_5_2K_24_235_CBR_STEM24_000.tif-16-compare_dec-ref-out2base 3 | NR-ENC-X_6_2K_24_FULL_CBR_CIRCLE_000.tif-17-compare_dec-ref-out2base 4 | NR-ENC-X_4_2K_24_185_CBR_WB_000.tif-18-compare_dec-ref-out2base 5 | NR-ENC-X_5_2K_24_235_CBR_STEM24_000.tif-19-compare_dec-ref-out2base 6 | NR-ENC-X_6_2K_24_FULL_CBR_CIRCLE_000.tif-20-compare_dec-ref-out2base 7 | NR-ENC-ElephantDream_4K.tif-21-compare_dec-ref-out2base 8 | NR-ENC-issue141.rawl-23-compare_dec-ref-out2base 9 | -------------------------------------------------------------------------------- /ext/openjpeg/tools/travis-ci/knownfailures-all.txt: -------------------------------------------------------------------------------- 1 | NR-DEC-issue226.j2k-74-decode-md5 2 | NR-DEC-issue226.j2k-74-decode 3 | -------------------------------------------------------------------------------- /ext/openjpeg/tools/travis-ci/travis_rsa.enc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/openjpeg/tools/travis-ci/travis_rsa.enc -------------------------------------------------------------------------------- /ext/openjpeg/wrapping/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # wrapping 2 | if(BUILD_JAVA) 3 | add_subdirectory(java) 4 | endif() 5 | -------------------------------------------------------------------------------- /ext/openjpeg/wrapping/java/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | add_subdirectory(openjp2) 3 | -------------------------------------------------------------------------------- /ext/openjpeg/wrapping/java/openjp2/org_openJpeg_OpenJPEGJavaDecoder.h: -------------------------------------------------------------------------------- 1 | /* DO NOT EDIT THIS FILE - it is machine generated */ 2 | #include 3 | /* Header for class org_openJpeg_OpenJPEGJavaDecoder */ 4 | 5 | #ifndef _Included_org_openJpeg_OpenJPEGJavaDecoder 6 | #define _Included_org_openJpeg_OpenJPEGJavaDecoder 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | /* 11 | * Class: org_openJpeg_OpenJPEGJavaDecoder 12 | * Method: internalDecodeJ2KtoImage 13 | * Signature: ([Ljava/lang/String;)I 14 | */ 15 | JNIEXPORT jint JNICALL Java_org_openJpeg_OpenJPEGJavaDecoder_internalDecodeJ2KtoImage 16 | (JNIEnv *, jobject, jobjectArray); 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | #endif 22 | -------------------------------------------------------------------------------- /ext/openjpeg/wrapping/java/openjp2/org_openJpeg_OpenJPEGJavaEncoder.h: -------------------------------------------------------------------------------- 1 | /* DO NOT EDIT THIS FILE - it is machine generated */ 2 | #include 3 | /* Header for class org_openJpeg_OpenJPEGJavaEncoder */ 4 | 5 | #ifndef _Included_org_openJpeg_OpenJPEGJavaEncoder 6 | #define _Included_org_openJpeg_OpenJPEGJavaEncoder 7 | #ifdef __cplusplus 8 | extern "C" { 9 | #endif 10 | /* 11 | * Class: org_openJpeg_OpenJPEGJavaEncoder 12 | * Method: internalEncodeImageToJ2K 13 | * Signature: ([Ljava/lang/String;)J 14 | */ 15 | JNIEXPORT jlong JNICALL Java_org_openJpeg_OpenJPEGJavaEncoder_internalEncodeImageToJ2K 16 | (JNIEnv *, jobject, jobjectArray); 17 | 18 | #ifdef __cplusplus 19 | } 20 | #endif 21 | #endif 22 | -------------------------------------------------------------------------------- /ext/stb/stb_image_resize.c: -------------------------------------------------------------------------------- 1 | #define STB_IMAGE_RESIZE_IMPLEMENTATION 2 | #include "stb_image_resize.h" 3 | -------------------------------------------------------------------------------- /ext/unity/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | 3 | # These files are text and should be normalized (convert crlf to lf) 4 | *.rb text 5 | *.test text 6 | *.c text 7 | *.cpp text 8 | *.h text 9 | *.txt text 10 | *.yml text 11 | *.s79 text 12 | *.bat text 13 | *.xcl text 14 | *.inc text 15 | *.info text 16 | *.md text 17 | makefile text 18 | rakefile text 19 | 20 | 21 | #These files are binary and should not be normalized 22 | *.doc binary 23 | *.odt binary 24 | *.pdf binary 25 | *.ewd binary 26 | *.eww binary 27 | *.dni binary 28 | *.wsdt binary 29 | *.dbgdt binary 30 | *.mac binary 31 | -------------------------------------------------------------------------------- /ext/unity/.gitignore: -------------------------------------------------------------------------------- 1 | build/ 2 | test/sandbox 3 | .DS_Store 4 | examples/example_1/test1.exe 5 | examples/example_1/test2.exe 6 | examples/example_2/all_tests.exe 7 | examples/example_1/test1.out 8 | examples/example_1/test2.out 9 | examples/example_2/all_tests.out 10 | -------------------------------------------------------------------------------- /ext/unity/.travis.yml: -------------------------------------------------------------------------------- 1 | language: c 2 | 3 | matrix: 4 | include: 5 | - os: osx 6 | compiler: clang 7 | osx_image: xcode7.3 8 | - os: linux 9 | dist: trusty 10 | compiler: gcc 11 | 12 | before_install: 13 | - if [ "$TRAVIS_OS_NAME" == "osx" ]; then rvm install 2.1 && rvm use 2.1 && ruby -v; fi 14 | - if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install --assume-yes --quiet gcc-multilib; fi 15 | install: 16 | - gem install rspec 17 | - gem install rubocop -v 0.57.2 18 | script: 19 | - cd test && rake ci 20 | - make -s 21 | - make -s DEBUG=-m32 #32-bit architecture with 64-bit support 22 | - make -s DEBUG=-m32 UNITY_SUPPORT_64= #32-bit build without 64-bit types 23 | - make -s UNITY_INCLUDE_DOUBLE= # without double 24 | - cd ../extras/fixture/test && rake ci 25 | - make -s default noStdlibMalloc 26 | - make -s C89 27 | - cd ../../../examples/example_1 && make -s ci 28 | - cd ../example_2 && make -s ci 29 | - cd ../example_3 && rake 30 | -------------------------------------------------------------------------------- /ext/unity/auto/test_file_filter.rb: -------------------------------------------------------------------------------- 1 | # ========================================== 2 | # Unity Project - A Test Framework for C 3 | # Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams 4 | # [Released under MIT License. Please refer to license.txt for details] 5 | # ========================================== 6 | 7 | require'yaml' 8 | 9 | module RakefileHelpers 10 | class TestFileFilter 11 | def initialize(all_files = false) 12 | @all_files = all_files 13 | 14 | return false unless @all_files 15 | return false unless File.exist?('test_file_filter.yml') 16 | 17 | filters = YAML.load_file('test_file_filter.yml') 18 | @all_files = filters[:all_files] 19 | @only_files = filters[:only_files] 20 | @exclude_files = filters[:exclude_files] 21 | end 22 | 23 | attr_accessor :all_files, :only_files, :exclude_files 24 | end 25 | end 26 | -------------------------------------------------------------------------------- /ext/unity/auto/type_sanitizer.rb: -------------------------------------------------------------------------------- 1 | module TypeSanitizer 2 | def self.sanitize_c_identifier(unsanitized) 3 | # convert filename to valid C identifier by replacing invalid chars with '_' 4 | unsanitized.gsub(/[-\/\\\.\,\s]/, '_') 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /ext/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/ext/unity/docs/UnityAssertionsCheatSheetSuitableforPrintingandPossiblyFraming.pdf -------------------------------------------------------------------------------- /ext/unity/examples/example_1/readme.txt: -------------------------------------------------------------------------------- 1 | Example 1 2 | ========= 3 | 4 | Close to the simplest possible example of Unity, using only basic features. 5 | Run make to build & run the example tests. -------------------------------------------------------------------------------- /ext/unity/examples/example_1/src/ProductionCode.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode.h" 3 | 4 | int Counter = 0; 5 | int NumbersToFind[9] = { 0, 34, 55, 66, 32, 11, 1, 77, 888 }; /* some obnoxious array to search that is 1-based indexing instead of 0. */ 6 | 7 | /* This function is supposed to search through NumbersToFind and find a particular number. 8 | * If it finds it, the index is returned. Otherwise 0 is returned which sorta makes sense since 9 | * NumbersToFind is indexed from 1. Unfortunately it's broken 10 | * (and should therefore be caught by our tests) */ 11 | int FindFunction_WhichIsBroken(int NumberToFind) 12 | { 13 | int i = 0; 14 | while (i < 8) /* Notice I should have been in braces */ 15 | i++; 16 | if (NumbersToFind[i] == NumberToFind) /* Yikes! I'm getting run after the loop finishes instead of during it! */ 17 | return i; 18 | return 0; 19 | } 20 | 21 | int FunctionWhichReturnsLocalVariable(void) 22 | { 23 | return Counter; 24 | } 25 | -------------------------------------------------------------------------------- /ext/unity/examples/example_1/src/ProductionCode.h: -------------------------------------------------------------------------------- 1 | 2 | int FindFunction_WhichIsBroken(int NumberToFind); 3 | int FunctionWhichReturnsLocalVariable(void); 4 | -------------------------------------------------------------------------------- /ext/unity/examples/example_1/src/ProductionCode2.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode2.h" 3 | 4 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction) 5 | { 6 | (void)Poor; 7 | (void)LittleFunction; 8 | /* Since There Are No Tests Yet, This Function Could Be Empty For All We Know. 9 | * Which isn't terribly useful... but at least we put in a TEST_IGNORE so we won't forget */ 10 | return (char*)0; 11 | } 12 | -------------------------------------------------------------------------------- /ext/unity/examples/example_1/src/ProductionCode2.h: -------------------------------------------------------------------------------- 1 | 2 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction); 3 | -------------------------------------------------------------------------------- /ext/unity/examples/example_1/test/TestProductionCode2.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode2.h" 3 | #include "unity.h" 4 | 5 | /* These should be ignored because they are commented out in various ways: 6 | #include "whatever.h" 7 | #include "somethingelse.h" 8 | */ 9 | 10 | void setUp(void) 11 | { 12 | } 13 | 14 | void tearDown(void) 15 | { 16 | } 17 | 18 | void test_IgnoredTest(void) 19 | { 20 | TEST_IGNORE_MESSAGE("This Test Was Ignored On Purpose"); 21 | } 22 | 23 | void test_AnotherIgnoredTest(void) 24 | { 25 | TEST_IGNORE_MESSAGE("These Can Be Useful For Leaving Yourself Notes On What You Need To Do Yet"); 26 | } 27 | 28 | void test_ThisFunctionHasNotBeenTested_NeedsToBeImplemented(void) 29 | { 30 | TEST_IGNORE(); /* Like This */ 31 | } 32 | -------------------------------------------------------------------------------- /ext/unity/examples/example_2/readme.txt: -------------------------------------------------------------------------------- 1 | Example 2 2 | ========= 3 | 4 | Same as the first example, but now using Unity's test fixture to group tests 5 | together. Using the test fixture also makes writing test runners much easier. -------------------------------------------------------------------------------- /ext/unity/examples/example_2/src/ProductionCode.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode.h" 3 | 4 | int Counter = 0; 5 | int NumbersToFind[9] = { 0, 34, 55, 66, 32, 11, 1, 77, 888 }; //some obnoxious array to search that is 1-based indexing instead of 0. 6 | 7 | // This function is supposed to search through NumbersToFind and find a particular number. 8 | // If it finds it, the index is returned. Otherwise 0 is returned which sorta makes sense since 9 | // NumbersToFind is indexed from 1. Unfortunately it's broken 10 | // (and should therefore be caught by our tests) 11 | int FindFunction_WhichIsBroken(int NumberToFind) 12 | { 13 | int i = 0; 14 | while (i <= 8) //Notice I should have been in braces 15 | i++; 16 | if (NumbersToFind[i] == NumberToFind) //Yikes! I'm getting run after the loop finishes instead of during it! 17 | return i; 18 | return 0; 19 | } 20 | 21 | int FunctionWhichReturnsLocalVariable(void) 22 | { 23 | return Counter; 24 | } 25 | -------------------------------------------------------------------------------- /ext/unity/examples/example_2/src/ProductionCode.h: -------------------------------------------------------------------------------- 1 | 2 | int FindFunction_WhichIsBroken(int NumberToFind); 3 | int FunctionWhichReturnsLocalVariable(void); 4 | -------------------------------------------------------------------------------- /ext/unity/examples/example_2/src/ProductionCode2.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode2.h" 3 | 4 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction) 5 | { 6 | (void)Poor; 7 | (void)LittleFunction; 8 | //Since There Are No Tests Yet, This Function Could Be Empty For All We Know. 9 | // Which isn't terribly useful... but at least we put in a TEST_IGNORE so we won't forget 10 | return (char*)0; 11 | } 12 | -------------------------------------------------------------------------------- /ext/unity/examples/example_2/src/ProductionCode2.h: -------------------------------------------------------------------------------- 1 | 2 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction); 3 | -------------------------------------------------------------------------------- /ext/unity/examples/example_2/test/TestProductionCode2.c: -------------------------------------------------------------------------------- 1 | #include "ProductionCode2.h" 2 | #include "unity.h" 3 | #include "unity_fixture.h" 4 | 5 | TEST_GROUP(ProductionCode2); 6 | 7 | /* These should be ignored because they are commented out in various ways: 8 | #include "whatever.h" 9 | */ 10 | //#include "somethingelse.h" 11 | 12 | TEST_SETUP(ProductionCode2) 13 | { 14 | } 15 | 16 | TEST_TEAR_DOWN(ProductionCode2) 17 | { 18 | } 19 | 20 | TEST(ProductionCode2, IgnoredTest) 21 | { 22 | TEST_IGNORE_MESSAGE("This Test Was Ignored On Purpose"); 23 | } 24 | 25 | TEST(ProductionCode2, AnotherIgnoredTest) 26 | { 27 | TEST_IGNORE_MESSAGE("These Can Be Useful For Leaving Yourself Notes On What You Need To Do Yet"); 28 | } 29 | 30 | TEST(ProductionCode2, ThisFunctionHasNotBeenTested_NeedsToBeImplemented) 31 | { 32 | TEST_IGNORE(); //Like This 33 | } 34 | -------------------------------------------------------------------------------- /ext/unity/examples/example_2/test/test_runners/TestProductionCode2_Runner.c: -------------------------------------------------------------------------------- 1 | #include "unity.h" 2 | #include "unity_fixture.h" 3 | 4 | TEST_GROUP_RUNNER(ProductionCode2) 5 | { 6 | RUN_TEST_CASE(ProductionCode2, IgnoredTest); 7 | RUN_TEST_CASE(ProductionCode2, AnotherIgnoredTest); 8 | RUN_TEST_CASE(ProductionCode2, ThisFunctionHasNotBeenTested_NeedsToBeImplemented); 9 | } -------------------------------------------------------------------------------- /ext/unity/examples/example_2/test/test_runners/TestProductionCode_Runner.c: -------------------------------------------------------------------------------- 1 | #include "unity.h" 2 | #include "unity_fixture.h" 3 | 4 | TEST_GROUP_RUNNER(ProductionCode) 5 | { 6 | RUN_TEST_CASE(ProductionCode, FindFunction_WhichIsBroken_ShouldReturnZeroIfItemIsNotInList_WhichWorksEvenInOurBrokenCode); 7 | RUN_TEST_CASE(ProductionCode, FindFunction_WhichIsBroken_ShouldReturnTheIndexForItemsInList_WhichWillFailBecauseOurFunctionUnderTestIsBroken); 8 | RUN_TEST_CASE(ProductionCode, FunctionWhichReturnsLocalVariable_ShouldReturnTheCurrentCounterValue); 9 | RUN_TEST_CASE(ProductionCode, FunctionWhichReturnsLocalVariable_ShouldReturnTheCurrentCounterValueAgain); 10 | RUN_TEST_CASE(ProductionCode, FunctionWhichReturnsLocalVariable_ShouldReturnCurrentCounter_ButFailsBecauseThisTestIsActuallyFlawed); 11 | } -------------------------------------------------------------------------------- /ext/unity/examples/example_2/test/test_runners/all_tests.c: -------------------------------------------------------------------------------- 1 | #include "unity_fixture.h" 2 | 3 | static void RunAllTests(void) 4 | { 5 | RUN_TEST_GROUP(ProductionCode); 6 | RUN_TEST_GROUP(ProductionCode2); 7 | } 8 | 9 | int main(int argc, const char * argv[]) 10 | { 11 | return UnityMain(argc, argv, RunAllTests); 12 | } 13 | -------------------------------------------------------------------------------- /ext/unity/examples/example_3/helper/UnityHelper.c: -------------------------------------------------------------------------------- 1 | #include "unity.h" 2 | #include "UnityHelper.h" 3 | #include 4 | #include 5 | 6 | void AssertEqualExampleStruct(const EXAMPLE_STRUCT_T expected, const EXAMPLE_STRUCT_T actual, const unsigned short line) 7 | { 8 | UNITY_TEST_ASSERT_EQUAL_INT(expected.x, actual.x, line, "Example Struct Failed For Field x"); 9 | UNITY_TEST_ASSERT_EQUAL_INT(expected.y, actual.y, line, "Example Struct Failed For Field y"); 10 | } 11 | -------------------------------------------------------------------------------- /ext/unity/examples/example_3/helper/UnityHelper.h: -------------------------------------------------------------------------------- 1 | #ifndef _TESTHELPER_H 2 | #define _TESTHELPER_H 3 | 4 | #include "Types.h" 5 | 6 | void AssertEqualExampleStruct(const EXAMPLE_STRUCT_T expected, const EXAMPLE_STRUCT_T actual, const unsigned short line); 7 | 8 | #define UNITY_TEST_ASSERT_EQUAL_EXAMPLE_STRUCT_T(expected, actual, line, message) AssertEqualExampleStruct(expected, actual, line); 9 | 10 | #define TEST_ASSERT_EQUAL_EXAMPLE_STRUCT_T(expected, actual) UNITY_TEST_ASSERT_EQUAL_EXAMPLE_STRUCT_T(expected, actual, __LINE__, NULL); 11 | 12 | #endif // _TESTHELPER_H 13 | -------------------------------------------------------------------------------- /ext/unity/examples/example_3/rakefile.rb: -------------------------------------------------------------------------------- 1 | HERE = File.expand_path(File.dirname(__FILE__)) + '/' 2 | UNITY_ROOT = File.expand_path(File.dirname(__FILE__)) + '/../..' 3 | 4 | require 'rake' 5 | require 'rake/clean' 6 | require HERE + 'rakefile_helper' 7 | 8 | TEMP_DIRS = [ 9 | File.join(HERE, 'build') 10 | ].freeze 11 | 12 | TEMP_DIRS.each do |dir| 13 | directory(dir) 14 | CLOBBER.include(dir) 15 | end 16 | 17 | task prepare_for_tests: TEMP_DIRS 18 | 19 | include RakefileHelpers 20 | 21 | # Load default configuration, for now 22 | DEFAULT_CONFIG_FILE = 'target_gcc_32.yml'.freeze 23 | configure_toolchain(DEFAULT_CONFIG_FILE) 24 | 25 | task unit: [:prepare_for_tests] do 26 | run_tests unit_test_files 27 | end 28 | 29 | desc 'Generate test summary' 30 | task :summary do 31 | report_summary 32 | end 33 | 34 | desc 'Build and test Unity' 35 | task all: %i(clean unit summary) 36 | task default: %i(clobber all) 37 | task ci: [:default] 38 | task cruise: [:default] 39 | 40 | desc 'Load configuration' 41 | task :config, :config_file do |_t, args| 42 | configure_toolchain(args[:config_file]) 43 | end 44 | -------------------------------------------------------------------------------- /ext/unity/examples/example_3/readme.txt: -------------------------------------------------------------------------------- 1 | Example 3 2 | ========= 3 | 4 | This example project gives an example of some passing, ignored, and failing tests. 5 | It's simple and meant for you to look over and get an idea for what all of this stuff does. 6 | 7 | You can build and test using rake. The rake version will let you test with gcc or a couple 8 | versions of IAR. You can tweak the yaml files to get those versions running. 9 | 10 | Ruby is required if you're using the rake version (obviously). This version shows off most of 11 | Unity's advanced features (automatically creating test runners, fancy summaries, etc.) 12 | Without ruby, you have to maintain your own test runners. Do that for a while and you'll learn 13 | why you really want to start using the Ruby tools. 14 | -------------------------------------------------------------------------------- /ext/unity/examples/example_3/src/ProductionCode.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode.h" 3 | 4 | int Counter = 0; 5 | int NumbersToFind[9] = { 0, 34, 55, 66, 32, 11, 1, 77, 888 }; //some obnoxious array to search that is 1-based indexing instead of 0. 6 | 7 | // This function is supposed to search through NumbersToFind and find a particular number. 8 | // If it finds it, the index is returned. Otherwise 0 is returned which sorta makes sense since 9 | // NumbersToFind is indexed from 1. Unfortunately it's broken 10 | // (and should therefore be caught by our tests) 11 | int FindFunction_WhichIsBroken(int NumberToFind) 12 | { 13 | int i = 0; 14 | while (i <= 8) //Notice I should have been in braces 15 | i++; 16 | if (NumbersToFind[i] == NumberToFind) //Yikes! I'm getting run after the loop finishes instead of during it! 17 | return i; 18 | return 0; 19 | } 20 | 21 | int FunctionWhichReturnsLocalVariable(void) 22 | { 23 | return Counter; 24 | } 25 | -------------------------------------------------------------------------------- /ext/unity/examples/example_3/src/ProductionCode.h: -------------------------------------------------------------------------------- 1 | 2 | int FindFunction_WhichIsBroken(int NumberToFind); 3 | int FunctionWhichReturnsLocalVariable(void); 4 | -------------------------------------------------------------------------------- /ext/unity/examples/example_3/src/ProductionCode2.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode2.h" 3 | 4 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction) 5 | { 6 | (void)Poor; 7 | (void)LittleFunction; 8 | //Since There Are No Tests Yet, This Function Could Be Empty For All We Know. 9 | // Which isn't terribly useful... but at least we put in a TEST_IGNORE so we won't forget 10 | return (char*)0; 11 | } 12 | -------------------------------------------------------------------------------- /ext/unity/examples/example_3/src/ProductionCode2.h: -------------------------------------------------------------------------------- 1 | 2 | char* ThisFunctionHasNotBeenTested(int Poor, char* LittleFunction); 3 | -------------------------------------------------------------------------------- /ext/unity/examples/example_3/target_gcc_32.yml: -------------------------------------------------------------------------------- 1 | # Copied from ~Unity/targets/gcc_32.yml 2 | unity_root: &unity_root '../..' 3 | compiler: 4 | path: gcc 5 | source_path: 'src/' 6 | unit_tests_path: &unit_tests_path 'test/' 7 | build_path: &build_path 'build/' 8 | options: 9 | - '-c' 10 | - '-m32' 11 | - '-Wall' 12 | - '-Wno-address' 13 | - '-std=c99' 14 | - '-pedantic' 15 | includes: 16 | prefix: '-I' 17 | items: 18 | - 'src/' 19 | - '../../src/' 20 | - *unit_tests_path 21 | defines: 22 | prefix: '-D' 23 | items: 24 | - UNITY_INCLUDE_DOUBLE 25 | - UNITY_SUPPORT_TEST_CASES 26 | object_files: 27 | prefix: '-o' 28 | extension: '.o' 29 | destination: *build_path 30 | linker: 31 | path: gcc 32 | options: 33 | - -lm 34 | - '-m32' 35 | includes: 36 | prefix: '-I' 37 | object_files: 38 | path: *build_path 39 | extension: '.o' 40 | bin_files: 41 | prefix: '-o' 42 | extension: '.exe' 43 | destination: *build_path 44 | colour: true 45 | :unity: 46 | :plugins: [] 47 | -------------------------------------------------------------------------------- /ext/unity/examples/example_3/test/TestProductionCode2.c: -------------------------------------------------------------------------------- 1 | 2 | #include "ProductionCode2.h" 3 | #include "unity.h" 4 | 5 | /* These should be ignored because they are commented out in various ways: 6 | #include "whatever.h" 7 | */ 8 | //#include "somethingelse.h" 9 | 10 | void setUp(void) 11 | { 12 | } 13 | 14 | void tearDown(void) 15 | { 16 | } 17 | 18 | void test_IgnoredTest(void) 19 | { 20 | TEST_IGNORE_MESSAGE("This Test Was Ignored On Purpose"); 21 | } 22 | 23 | void test_AnotherIgnoredTest(void) 24 | { 25 | TEST_IGNORE_MESSAGE("These Can Be Useful For Leaving Yourself Notes On What You Need To Do Yet"); 26 | } 27 | 28 | void test_ThisFunctionHasNotBeenTested_NeedsToBeImplemented(void) 29 | { 30 | TEST_IGNORE(); //Like This 31 | } 32 | -------------------------------------------------------------------------------- /ext/unity/extras/fixture/readme.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2010 James Grenning and Contributed to Unity Project 2 | 3 | Unity Project - A Test Framework for C 4 | Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams 5 | [Released under MIT License. Please refer to license.txt for details] 6 | 7 | This Framework is an optional add-on to Unity. By including unity_framework.h in place of unity.h, 8 | you may now work with Unity in a manner similar to CppUTest. This framework adds the concepts of 9 | test groups and gives finer control of your tests over the command line. -------------------------------------------------------------------------------- /ext/unity/extras/fixture/test/main/AllTests.c: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2010 James Grenning and Contributed to Unity Project 2 | * ========================================== 3 | * Unity Project - A Test Framework for C 4 | * Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams 5 | * [Released under MIT License. Please refer to license.txt for details] 6 | * ========================================== */ 7 | 8 | #include "unity_fixture.h" 9 | 10 | static void runAllTests(void) 11 | { 12 | RUN_TEST_GROUP(UnityFixture); 13 | RUN_TEST_GROUP(UnityCommandOptions); 14 | RUN_TEST_GROUP(LeakDetection); 15 | RUN_TEST_GROUP(InternalMalloc); 16 | } 17 | 18 | int main(int argc, const char* argv[]) 19 | { 20 | return UnityMain(argc, argv, runAllTests); 21 | } 22 | 23 | -------------------------------------------------------------------------------- /ext/unity/extras/fixture/test/template_fixture_tests.c: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2010 James Grenning and Contributed to Unity Project 2 | * ========================================== 3 | * Unity Project - A Test Framework for C 4 | * Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams 5 | * [Released under MIT License. Please refer to license.txt for details] 6 | * ========================================== */ 7 | 8 | #include "unity_fixture.h" 9 | 10 | static int data = -1; 11 | 12 | TEST_GROUP(mygroup); 13 | 14 | TEST_SETUP(mygroup) 15 | { 16 | data = 0; 17 | } 18 | 19 | TEST_TEAR_DOWN(mygroup) 20 | { 21 | data = -1; 22 | } 23 | 24 | TEST(mygroup, test1) 25 | { 26 | TEST_ASSERT_EQUAL_INT(0, data); 27 | } 28 | 29 | TEST(mygroup, test2) 30 | { 31 | TEST_ASSERT_EQUAL_INT(0, data); 32 | data = 5; 33 | } 34 | 35 | TEST(mygroup, test3) 36 | { 37 | data = 7; 38 | TEST_ASSERT_EQUAL_INT(7, data); 39 | } 40 | -------------------------------------------------------------------------------- /ext/unity/extras/fixture/test/unity_output_Spy.h: -------------------------------------------------------------------------------- 1 | /* Copyright (c) 2010 James Grenning and Contributed to Unity Project 2 | * ========================================== 3 | * Unity Project - A Test Framework for C 4 | * Copyright (c) 2007 Mike Karlesky, Mark VanderVoord, Greg Williams 5 | * [Released under MIT License. Please refer to license.txt for details] 6 | * ========================================== */ 7 | 8 | #ifndef D_unity_output_Spy_H 9 | #define D_unity_output_Spy_H 10 | 11 | void UnityOutputCharSpy_Create(int s); 12 | void UnityOutputCharSpy_Destroy(void); 13 | void UnityOutputCharSpy_OutputChar(int c); 14 | const char * UnityOutputCharSpy_Get(void); 15 | void UnityOutputCharSpy_Enable(int enable); 16 | 17 | #endif 18 | -------------------------------------------------------------------------------- /ext/unity/release/build.info: -------------------------------------------------------------------------------- 1 | 122 2 | 3 | -------------------------------------------------------------------------------- /ext/unity/release/version.info: -------------------------------------------------------------------------------- 1 | 2.4.3 2 | 3 | -------------------------------------------------------------------------------- /ext/unity/test/expectdata/testsample_head1.h: -------------------------------------------------------------------------------- 1 | /* AUTOGENERATED FILE. DO NOT EDIT. */ 2 | #ifndef _TESTSAMPLE_HEAD1_H 3 | #define _TESTSAMPLE_HEAD1_H 4 | 5 | #include "unity.h" 6 | #include "funky.h" 7 | #include "stanky.h" 8 | #include 9 | 10 | void test_TheFirstThingToTest(void); 11 | void test_TheSecondThingToTest(void); 12 | void test_TheThirdThingToTest(void); 13 | void test_TheFourthThingToTest(void); 14 | #endif 15 | 16 | -------------------------------------------------------------------------------- /ext/unity/test/expectdata/testsample_mock_head1.h: -------------------------------------------------------------------------------- 1 | /* AUTOGENERATED FILE. DO NOT EDIT. */ 2 | #ifndef _TESTSAMPLE_MOCK_HEAD1_H 3 | #define _TESTSAMPLE_MOCK_HEAD1_H 4 | 5 | #include "unity.h" 6 | #include "cmock.h" 7 | #include "funky.h" 8 | #include 9 | 10 | void test_TheFirstThingToTest(void); 11 | void test_TheSecondThingToTest(void); 12 | #endif 13 | 14 | -------------------------------------------------------------------------------- /ext/unity/test/targets/gcc_auto_limits.yml: -------------------------------------------------------------------------------- 1 | compiler: 2 | path: gcc 3 | source_path: '../src/' 4 | unit_tests_path: &unit_tests_path 'tests/' 5 | build_path: &build_path 'build/' 6 | options: 7 | - '-c' 8 | - '-m64' 9 | - '-Wall' 10 | - '-Wno-address' 11 | - '-std=c99' 12 | - '-pedantic' 13 | includes: 14 | prefix: '-I' 15 | items: 16 | - 'src/' 17 | - '../src/' 18 | - 'testdata/' 19 | - *unit_tests_path 20 | defines: 21 | prefix: '-D' 22 | items: 23 | - UNITY_EXCLUDE_STDINT_H 24 | - UNITY_INCLUDE_DOUBLE 25 | - UNITY_SUPPORT_TEST_CASES 26 | - UNITY_SUPPORT_64 27 | object_files: 28 | prefix: '-o' 29 | extension: '.o' 30 | destination: *build_path 31 | linker: 32 | path: gcc 33 | options: 34 | - -lm 35 | - '-m64' 36 | includes: 37 | prefix: '-I' 38 | object_files: 39 | path: *build_path 40 | extension: '.o' 41 | bin_files: 42 | prefix: '-o' 43 | extension: '.exe' 44 | destination: *build_path 45 | colour: true 46 | :unity: 47 | :plugins: [] 48 | -------------------------------------------------------------------------------- /ext/unity/test/targets/gcc_manual_math.yml: -------------------------------------------------------------------------------- 1 | compiler: 2 | path: gcc 3 | source_path: '../src/' 4 | unit_tests_path: &unit_tests_path 'tests/' 5 | build_path: &build_path 'build/' 6 | options: 7 | - '-c' 8 | - '-m64' 9 | - '-Wall' 10 | - '-Wno-address' 11 | - '-std=c99' 12 | - '-pedantic' 13 | includes: 14 | prefix: '-I' 15 | items: 16 | - 'src/' 17 | - '../src/' 18 | - 'testdata/' 19 | - *unit_tests_path 20 | defines: 21 | prefix: '-D' 22 | items: 23 | - UNITY_EXCLUDE_MATH_H 24 | - UNITY_INCLUDE_DOUBLE 25 | - UNITY_SUPPORT_TEST_CASES 26 | - UNITY_SUPPORT_64 27 | object_files: 28 | prefix: '-o' 29 | extension: '.o' 30 | destination: *build_path 31 | linker: 32 | path: gcc 33 | options: 34 | - -lm 35 | - '-m64' 36 | includes: 37 | prefix: '-I' 38 | object_files: 39 | path: *build_path 40 | extension: '.o' 41 | bin_files: 42 | prefix: '-o' 43 | extension: '.exe' 44 | destination: *build_path 45 | colour: true 46 | :unity: 47 | :plugins: [] 48 | -------------------------------------------------------------------------------- /ext/unity/test/testdata/CException.h: -------------------------------------------------------------------------------- 1 | #ifndef CEXCEPTION_H 2 | #define CEXCEPTION_H 3 | 4 | #define CEXCEPTION_BEING_USED 1 5 | 6 | #define CEXCEPTION_NONE 0 7 | #define CEXCEPTION_T int e = 1; (void) 8 | #define Try if (e) 9 | #define Catch(a) if (!a) 10 | 11 | #endif //CEXCEPTION_H 12 | -------------------------------------------------------------------------------- /ext/unity/test/testdata/Defs.h: -------------------------------------------------------------------------------- 1 | #ifndef DEF_H 2 | #define DEF_H 3 | 4 | #define EXTERN_DECL 5 | 6 | extern int CounterSuiteSetup; 7 | 8 | #endif //DEF_H 9 | -------------------------------------------------------------------------------- /ext/unity/test/testdata/cmock.h: -------------------------------------------------------------------------------- 1 | #ifndef CMOCK_H 2 | #define CMOCK_H 3 | 4 | int CMockMemFreeFinalCounter = 0; 5 | int mockMock_Init_Counter = 0; 6 | int mockMock_Verify_Counter = 0; 7 | int mockMock_Destroy_Counter = 0; 8 | 9 | void CMock_Guts_MemFreeFinal(void) { CMockMemFreeFinalCounter++; } 10 | void mockMock_Init(void) { mockMock_Init_Counter++; } 11 | void mockMock_Verify(void) { mockMock_Verify_Counter++; } 12 | void mockMock_Destroy(void) { mockMock_Destroy_Counter++; } 13 | 14 | #endif //CMOCK_H 15 | -------------------------------------------------------------------------------- /ext/unity/test/testdata/mockMock.h: -------------------------------------------------------------------------------- 1 | #ifndef MOCK_MOCK_H 2 | #define MOCK_MOCK_H 3 | 4 | extern int mockMock_Init_Counter; 5 | extern int mockMock_Verify_Counter; 6 | extern int mockMock_Destroy_Counter; 7 | extern int CMockMemFreeFinalCounter; 8 | 9 | void mockMock_Init(void); 10 | void mockMock_Verify(void); 11 | void mockMock_Destroy(void); 12 | 13 | #endif //MOCK_MOCK_H 14 | -------------------------------------------------------------------------------- /lib/include/colorist/colorist.h: -------------------------------------------------------------------------------- 1 | // --------------------------------------------------------------------------- 2 | // Copyright Joe Drago 2018. 3 | // Distributed under the Boost Software License, Version 1.0. 4 | // (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt) 6 | // --------------------------------------------------------------------------- 7 | 8 | #ifndef COLORIST_COLORIST_H 9 | #define COLORIST_COLORIST_H 10 | 11 | #include "colorist/context.h" 12 | #include "colorist/image.h" 13 | #include "colorist/pixelmath.h" 14 | #include "colorist/profile.h" 15 | #include "colorist/task.h" 16 | #include "colorist/types.h" 17 | #include "colorist/version.h" 18 | 19 | #endif 20 | -------------------------------------------------------------------------------- /lib/include/colorist/embedded.h: -------------------------------------------------------------------------------- 1 | // --------------------------------------------------------------------------- 2 | // Copyright Joe Drago 2018. 3 | // Distributed under the Boost Software License, Version 1.0. 4 | // (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt) 6 | // --------------------------------------------------------------------------- 7 | 8 | #ifndef COLORIST_EMBEDDED_H 9 | #define COLORIST_EMBEDDED_H 10 | 11 | // hlgCurveBinary.h 12 | extern unsigned int hlgCurveBinarySize; 13 | extern unsigned char hlgCurveBinaryData[]; 14 | 15 | // pqCurveBinary.h 16 | extern unsigned int pqCurveBinarySize; 17 | extern unsigned char pqCurveBinaryData[]; 18 | 19 | // srgbCurveBinary.h 20 | extern unsigned int srgbCurveBinarySize; 21 | extern unsigned char srgbCurveBinaryData[]; 22 | 23 | #endif 24 | -------------------------------------------------------------------------------- /lib/include/colorist/task.h: -------------------------------------------------------------------------------- 1 | // --------------------------------------------------------------------------- 2 | // Copyright Joe Drago 2018. 3 | // Distributed under the Boost Software License, Version 1.0. 4 | // (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt) 6 | // --------------------------------------------------------------------------- 7 | 8 | #ifndef COLORIST_TASK_H 9 | #define COLORIST_TASK_H 10 | 11 | #include "colorist/types.h" 12 | 13 | struct clContext; 14 | 15 | typedef void (*clTaskFunc)(void * userData); 16 | 17 | typedef struct clTask 18 | { 19 | clTaskFunc func; 20 | void * nativeData; 21 | void * userData; 22 | clBool joined; 23 | } clTask; 24 | 25 | clTask * clTaskCreate(struct clContext * C, clTaskFunc func, void * userData); 26 | void clTaskJoin(struct clContext * C, clTask * task); 27 | void clTaskDestroy(struct clContext * C, clTask * task); 28 | int clTaskLimit(void); 29 | 30 | #endif // ifndef COLORIST_TASK_H 31 | -------------------------------------------------------------------------------- /lib/include/colorist/version.h: -------------------------------------------------------------------------------- 1 | // --------------------------------------------------------------------------- 2 | // Copyright Joe Drago 2018. 3 | // Distributed under the Boost Software License, Version 1.0. 4 | // (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt) 6 | // --------------------------------------------------------------------------- 7 | 8 | #ifndef COLORIST_VERSION_H 9 | #define COLORIST_VERSION_H 10 | 11 | #define COLORIST_VERSION_STRING "0.1.22" 12 | #define COLORIST_VERSION 122 13 | 14 | #endif 15 | -------------------------------------------------------------------------------- /lib/raw/hlgCurve.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/lib/raw/hlgCurve.bin -------------------------------------------------------------------------------- /lib/raw/pqCurve.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/lib/raw/pqCurve.bin -------------------------------------------------------------------------------- /lib/raw/srgbCurve.bin: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/lib/raw/srgbCurve.bin -------------------------------------------------------------------------------- /lib/src/context_memory.c: -------------------------------------------------------------------------------- 1 | // --------------------------------------------------------------------------- 2 | // Copyright Joe Drago 2018. 3 | // Distributed under the Boost Software License, Version 1.0. 4 | // (See accompanying file LICENSE_1_0.txt or copy at 5 | // http://www.boost.org/LICENSE_1_0.txt) 6 | // --------------------------------------------------------------------------- 7 | 8 | #include "colorist/context.h" 9 | 10 | #ifdef WIN32_MEMORY_LEAK_DETECTION 11 | #define _CRTDBG_MAP_ALLOC 12 | #include 13 | #include 14 | #endif 15 | 16 | #include "colorist/task.h" 17 | 18 | #include 19 | 20 | void * clContextDefaultAlloc(struct clContext * C, size_t bytes) 21 | { 22 | COLORIST_UNUSED(C); 23 | 24 | return calloc(1, bytes); 25 | } 26 | 27 | void clContextDefaultFree(struct clContext * C, void * ptr) 28 | { 29 | COLORIST_UNUSED(C); 30 | 31 | free(ptr); 32 | } 33 | -------------------------------------------------------------------------------- /lib/src/embedded.c: -------------------------------------------------------------------------------- 1 | #include "colorist/embedded.h" 2 | 3 | #include "hlgCurveBinary.h" 4 | #include "pqCurveBinary.h" 5 | #include "srgbCurveBinary.h" 6 | -------------------------------------------------------------------------------- /scripts/README.txt: -------------------------------------------------------------------------------- 1 | These scripts are intended to be run from the root directory, such as: 2 | 3 | $ ./scripts/coverage.sh 4 | 5 | They will probably fail miserably, otherwise. 6 | -------------------------------------------------------------------------------- /scripts/analyze.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | mkdir ./build_analyze 4 | cd ./build_analyze 5 | scan-build cmake -G Ninja .. 6 | scan-build ninja 7 | -------------------------------------------------------------------------------- /scripts/colorist.cppcheck: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | ConfigurationNotChecked 9 | purgedConfiguration 10 | invalidPointerCast 11 | unusedStructMember 12 | invalidPointerCast 13 | 14 | 15 | -------------------------------------------------------------------------------- /scripts/coverage.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | mkdir ./build_coverage 4 | cd ./build_coverage 5 | export CC=clang 6 | export CXX=clang++ 7 | cmake -G Ninja -DCOLORIST_COVERAGE=1 .. 8 | ninja coverage 9 | 10 | -------------------------------------------------------------------------------- /scripts/serve.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # This is just a convenience file for documentation editing. 4 | 5 | # requires: sudo gem install bundle 6 | 7 | bundle install 8 | bundle exec jekyll serve 9 | 10 | -------------------------------------------------------------------------------- /scripts/tidy.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | if [ ! -d ./build_tidy ]; then 4 | mkdir ./build_tidy 5 | fi 6 | cd ./build_tidy 7 | 8 | cmake -G Ninja -D CMAKE_EXPORT_COMPILE_COMMANDS=ON .. 9 | run-clang-tidy -header-filter=lib/include/colorist/.* -checks='*,-android-cloexec-fopen,-*-braces-around-statements,-cert-dcl03-c,-cert-err34-c,-clang-analyzer-security.insecureAPI.*,-google-readability-todo,-hicpp-signed-bitwise,-hicpp-static-assert,-llvm-header-guard,-misc-static-assert' files lib/include/colorist/* files lib/src/* 10 | -------------------------------------------------------------------------------- /test/bad.icc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/test/bad.icc -------------------------------------------------------------------------------- /test/red_png.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/test/red_png.txt -------------------------------------------------------------------------------- /test/red_png_no_ext: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/test/red_png_no_ext -------------------------------------------------------------------------------- /test/sRGB2014.icc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/joedrago/colorist/2869b37f86c1e2be1339bbf805421e3f34fd66d0/test/sRGB2014.icc --------------------------------------------------------------------------------