epeg 1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/Gemfile +4 -0
- data/MANIFEST +5 -0
- data/TODO +1 -0
- data/epeg/.dockerignore +4 -0
- data/epeg/.gitignore +5 -0
- data/epeg/CMakeLists.txt +30 -0
- data/epeg/Dockerfile +23 -0
- data/epeg/Epeg.h +90 -0
- data/epeg/README.md +42 -0
- data/epeg/epeg_main.c +1642 -0
- data/epeg/epeg_private.h +85 -0
- data/epeg/example/.gitignore +1 -0
- data/epeg/example/CMakeLists.txt +20 -0
- data/epeg/example/example.jpg +0 -0
- data/epeg/example/rotatetest.c +29 -0
- data/epeg/example/scaletest.c +48 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/BUILDING.md +828 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/CMakeLists.txt +1420 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/ChangeLog.md +1494 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/LICENSE.md +132 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/README.ijg +277 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/README.md +356 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/cderror.h +137 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/cdjpeg.c +145 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/cdjpeg.h +157 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/change.log +315 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/cjpeg.1 +354 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/cjpeg.c +695 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/cmakescripts/BuildPackages.cmake +182 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/cmakescripts/GNUInstallDirs.cmake +416 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/cmakescripts/cmake_uninstall.cmake.in +24 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/cmakescripts/testclean.cmake +41 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/cmyk.h +61 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/coderules.txt +78 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/djpeg.1 +296 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/djpeg.c +822 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/annotated.html +104 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/bc_s.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/bdwn.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/classes.html +106 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/closed.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/doxygen-extra.css +3 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/doxygen.css +1184 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/doxygen.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/dynsections.js +97 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/ftv2blank.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/ftv2cl.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/ftv2doc.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/ftv2folderclosed.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/ftv2folderopen.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/ftv2lastnode.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/ftv2link.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/ftv2mlastnode.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/ftv2mnode.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/ftv2mo.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/ftv2node.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/ftv2ns.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/ftv2plastnode.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/ftv2pnode.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/ftv2splitbar.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/ftv2vertline.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/functions.html +134 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/functions_vars.html +134 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/group___turbo_j_p_e_g.html +2775 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/index.html +90 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/jquery.js +8 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/modules.html +95 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/nav_f.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/nav_g.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/nav_h.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/open.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/all_63.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/all_63.js +4 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/all_64.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/all_64.js +5 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/all_68.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/all_68.js +4 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/all_6e.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/all_6e.js +4 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/all_6f.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/all_6f.js +5 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/all_72.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/all_72.js +4 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/all_74.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/all_74.js +102 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/all_77.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/all_77.js +4 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/all_78.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/all_78.js +4 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/all_79.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/all_79.js +4 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/classes_74.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/classes_74.js +6 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/close.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/enums_74.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/enums_74.js +8 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/enumvalues_74.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/enumvalues_74.js +37 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/functions_74.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/functions_74.js +31 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/groups_74.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/groups_74.js +4 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/mag_sel.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/nomatches.html +12 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/search.css +271 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/search.js +809 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/search_l.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/search_m.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/search_r.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/typedefs_74.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/typedefs_74.js +5 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/variables_63.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/variables_63.js +4 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/variables_64.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/variables_64.js +5 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/variables_68.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/variables_68.js +4 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/variables_6e.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/variables_6e.js +4 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/variables_6f.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/variables_6f.js +5 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/variables_72.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/variables_72.js +4 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/variables_74.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/variables_74.js +10 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/variables_77.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/variables_77.js +4 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/variables_78.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/variables_78.js +4 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/variables_79.html +26 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/search/variables_79.js +4 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/structtjregion.html +186 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/structtjscalingfactor.html +148 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/structtjtransform.html +212 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/sync_off.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/sync_on.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/tab_a.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/tab_b.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/tab_h.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/tab_s.png +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doc/html/tabs.css +60 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doxygen-extra.css +3 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/doxygen.config +16 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/example.txt +464 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jaricom.c +157 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/CMakeLists.txt +88 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/MANIFEST.MF +2 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/README +52 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/TJBench.java +1021 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/TJExample.java +405 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/TJUnitTest.java +960 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/allclasses-frame.html +24 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/allclasses-noframe.html +24 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/constant-values.html +532 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/deprecated-list.html +252 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/help-doc.html +210 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/index-all.html +1029 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/index.html +71 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/org/libjpegturbo/turbojpeg/TJ.html +1356 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/org/libjpegturbo/turbojpeg/TJCompressor.html +926 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/org/libjpegturbo/turbojpeg/TJCustomFilter.html +241 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/org/libjpegturbo/turbojpeg/TJDecompressor.html +1255 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/org/libjpegturbo/turbojpeg/TJException.html +340 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/org/libjpegturbo/turbojpeg/TJScalingFactor.html +343 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/org/libjpegturbo/turbojpeg/TJTransform.html +751 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/org/libjpegturbo/turbojpeg/TJTransformer.html +421 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/org/libjpegturbo/turbojpeg/YUVImage.html +765 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/org/libjpegturbo/turbojpeg/package-frame.html +31 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/org/libjpegturbo/turbojpeg/package-summary.html +202 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/org/libjpegturbo/turbojpeg/package-tree.html +160 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/overview-tree.html +164 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/package-list +1 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/resources/background.gif +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/resources/tab.gif +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/resources/titlebar.gif +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/resources/titlebar_end.gif +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/script.js +30 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/serialized-form.html +176 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/doc/stylesheet.css +474 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/org/libjpegturbo/turbojpeg/TJ.java +584 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/org/libjpegturbo/turbojpeg/TJCompressor.java +677 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/org/libjpegturbo/turbojpeg/TJCustomFilter.java +76 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/org/libjpegturbo/turbojpeg/TJDecompressor.java +931 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/org/libjpegturbo/turbojpeg/TJException.java +78 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/org/libjpegturbo/turbojpeg/TJLoader-unix.java.in +59 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/org/libjpegturbo/turbojpeg/TJLoader-win.java.in +35 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/org/libjpegturbo/turbojpeg/TJScalingFactor.java +115 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/org/libjpegturbo/turbojpeg/TJTransform.java +227 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/org/libjpegturbo/turbojpeg/TJTransformer.java +163 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/org/libjpegturbo/turbojpeg/YUVImage.java +445 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/org_libjpegturbo_turbojpeg_TJ.h +129 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/org_libjpegturbo_turbojpeg_TJCompressor.h +101 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/org_libjpegturbo_turbojpeg_TJDecompressor.h +101 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/java/org_libjpegturbo_turbojpeg_TJTransformer.h +29 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jcapimin.c +295 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jcapistd.c +162 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jcarith.c +932 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jccoefct.c +449 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jccolext.c +144 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jccolor.c +710 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jcdctmgr.c +721 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jchuff.c +1096 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jchuff.h +42 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jcicc.c +105 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jcinit.c +77 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jcmainct.c +162 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jcmarker.c +664 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jcmaster.c +640 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jcomapi.c +109 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jconfig.h.in +73 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jconfig.txt +143 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jconfigint.h.in +31 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jcparam.c +541 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jcphuff.c +1105 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jcprepct.c +351 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jcsample.c +539 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jcstest.c +126 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jctrans.c +400 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdapimin.c +407 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdapistd.c +639 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdarith.c +773 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdatadst-tj.c +203 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdatadst.c +293 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdatasrc-tj.c +194 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdatasrc.c +295 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdcoefct.c +692 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdcoefct.h +82 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdcol565.c +384 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdcolext.c +143 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdcolor.c +883 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdct.h +208 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jddctmgr.c +352 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdhuff.c +831 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdhuff.h +238 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdicc.c +171 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdinput.c +408 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdmainct.c +460 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdmainct.h +71 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdmarker.c +1377 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdmaster.c +737 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdmaster.h +28 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdmerge.c +617 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdmrg565.c +354 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdmrgext.c +184 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdphuff.c +687 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdpostct.c +294 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdsample.c +518 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdsample.h +50 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jdtrans.c +155 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jerror.c +251 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jerror.h +316 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jfdctflt.c +169 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jfdctfst.c +227 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jfdctint.c +288 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jidctflt.c +240 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jidctfst.c +371 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jidctint.c +2627 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jidctred.c +409 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jinclude.h +88 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jmemmgr.c +1179 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jmemnobs.c +115 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jmemsys.h +178 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jmorecfg.h +421 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jpeg_nbits_table.h +4098 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jpegcomp.h +31 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jpegint.h +368 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jpeglib.h +1132 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jpegtran.1 +295 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jpegtran.c +601 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jquant1.c +859 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jquant2.c +1285 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jsimd.h +117 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jsimd_none.c +418 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jsimddct.h +70 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jstdhuff.c +143 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jutils.c +133 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/jversion.h +52 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/libjpeg.map.in +11 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/libjpeg.txt +3144 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/md5/CMakeLists.txt +1 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/md5/md5.c +275 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/md5/md5.h +57 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/md5/md5cmp.c +59 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/md5/md5hl.c +125 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/rdbmp.c +689 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/rdcolmap.c +254 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/rdgif.c +39 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/rdjpgcom.1 +63 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/rdjpgcom.c +510 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/rdppm.c +766 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/rdrle.c +389 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/rdswitch.c +424 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/rdtarga.c +509 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/release/Distribution.xml.in +24 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/release/License.rtf +20 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/release/ReadMe.txt +5 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/release/Welcome.rtf +17 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/release/deb-control.in +31 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/release/installer.nsi.in +191 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/release/libjpeg.pc.in +10 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/release/libturbojpeg.pc.in +10 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/release/makecygwinpkg.in +66 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/release/makedpkg.in +115 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/release/makemacpkg.in +284 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/release/makerpm.in +30 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/release/makesrpm.in +48 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/release/maketarball.in +51 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/release/rpm.spec.in +221 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/release/uninstall.in +113 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/sharedlib/CMakeLists.txt +99 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/CMakeLists.txt +385 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/arm/jsimd.c +721 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/arm/jsimd_neon.S +2878 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/arm64/jsimd.c +798 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/arm64/jsimd_neon.S +3433 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/gas-preprocessor.in +1 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jccolext-avx2.asm +578 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jccolext-mmx.asm +476 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jccolext-sse2.asm +503 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jccolor-avx2.asm +121 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jccolor-mmx.asm +121 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jccolor-sse2.asm +120 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jcgray-avx2.asm +113 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jcgray-mmx.asm +113 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jcgray-sse2.asm +112 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jcgryext-avx2.asm +457 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jcgryext-mmx.asm +355 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jcgryext-sse2.asm +382 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jchuff-sse2.asm +424 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jcphuff-sse2.asm +660 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jcsample-avx2.asm +388 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jcsample-mmx.asm +324 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jcsample-sse2.asm +351 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jdcolext-avx2.asm +515 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jdcolext-mmx.asm +404 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jdcolext-sse2.asm +458 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jdcolor-avx2.asm +118 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jdcolor-mmx.asm +117 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jdcolor-sse2.asm +117 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jdmerge-avx2.asm +136 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jdmerge-mmx.asm +123 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jdmerge-sse2.asm +135 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jdmrgext-avx2.asm +575 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jdmrgext-mmx.asm +460 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jdmrgext-sse2.asm +517 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jdsample-avx2.asm +760 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jdsample-mmx.asm +731 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jdsample-sse2.asm +724 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jfdctflt-3dn.asm +318 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jfdctflt-sse.asm +369 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jfdctfst-mmx.asm +395 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jfdctfst-sse2.asm +403 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jfdctint-avx2.asm +331 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jfdctint-mmx.asm +620 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jfdctint-sse2.asm +633 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jidctflt-3dn.asm +451 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jidctflt-sse.asm +571 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jidctflt-sse2.asm +497 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jidctfst-mmx.asm +499 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jidctfst-sse2.asm +501 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jidctint-avx2.asm +453 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jidctint-mmx.asm +851 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jidctint-sse2.asm +858 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jidctred-mmx.asm +704 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jidctred-sse2.asm +592 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jquant-3dn.asm +230 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jquant-mmx.asm +276 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jquant-sse.asm +208 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jquantf-sse2.asm +168 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jquanti-avx2.asm +188 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jquanti-sse2.asm +201 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jsimd.c +1253 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/i386/jsimdcpu.asm +135 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/jsimd.h +1083 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/loongson/jccolext-mmi.c +483 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/loongson/jccolor-mmi.c +148 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/loongson/jcsample-mmi.c +100 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/loongson/jcsample.h +28 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/loongson/jdcolext-mmi.c +424 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/loongson/jdcolor-mmi.c +139 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/loongson/jdsample-mmi.c +245 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/loongson/jfdctint-mmi.c +398 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/loongson/jidctint-mmi.c +571 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/loongson/jquanti-mmi.c +130 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/loongson/jsimd.c +610 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/loongson/jsimd_mmi.h +57 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/loongson/loongson-mmintrin.h +1324 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/mips/jsimd.c +1123 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/mips/jsimd_dspr2.S +4479 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/mips/jsimd_dspr2_asm.h +292 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/nasm/jcolsamp.inc +135 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/nasm/jdct.inc +31 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/nasm/jpeg_nbits_table.inc +4097 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/nasm/jsimdcfg.inc +93 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/nasm/jsimdcfg.inc.h +131 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/nasm/jsimdext.inc +479 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/powerpc/jccolext-altivec.c +269 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/powerpc/jccolor-altivec.c +116 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/powerpc/jcgray-altivec.c +111 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/powerpc/jcgryext-altivec.c +228 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/powerpc/jcsample-altivec.c +159 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/powerpc/jcsample.h +28 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/powerpc/jdcolext-altivec.c +276 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/powerpc/jdcolor-altivec.c +106 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/powerpc/jdmerge-altivec.c +130 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/powerpc/jdmrgext-altivec.c +329 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/powerpc/jdsample-altivec.c +400 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/powerpc/jfdctfst-altivec.c +154 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/powerpc/jfdctint-altivec.c +258 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/powerpc/jidctfst-altivec.c +255 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/powerpc/jidctint-altivec.c +357 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/powerpc/jquanti-altivec.c +250 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/powerpc/jsimd.c +872 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/powerpc/jsimd_altivec.h +98 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jccolext-avx2.asm +558 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jccolext-sse2.asm +483 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jccolor-avx2.asm +121 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jccolor-sse2.asm +120 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jcgray-avx2.asm +113 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jcgray-sse2.asm +112 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jcgryext-avx2.asm +437 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jcgryext-sse2.asm +362 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jchuff-sse2.asm +346 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jcphuff-sse2.asm +637 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jcsample-avx2.asm +366 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jcsample-sse2.asm +329 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jdcolext-avx2.asm +495 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jdcolext-sse2.asm +438 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jdcolor-avx2.asm +118 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jdcolor-sse2.asm +117 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jdmerge-avx2.asm +136 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jdmerge-sse2.asm +135 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jdmrgext-avx2.asm +593 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jdmrgext-sse2.asm +535 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jdsample-avx2.asm +695 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jdsample-sse2.asm +664 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jfdctflt-sse.asm +355 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jfdctfst-sse2.asm +389 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jfdctint-avx2.asm +320 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jfdctint-sse2.asm +619 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jidctflt-sse2.asm +481 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jidctfst-sse2.asm +490 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jidctint-avx2.asm +417 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jidctint-sse2.asm +846 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jidctred-sse2.asm +573 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jquantf-sse2.asm +154 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jquanti-avx2.asm +162 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jquanti-sse2.asm +187 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jsimd.c +1076 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/simd/x86_64/jsimdcpu.asm +86 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/structure.txt +904 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/testimages/nightshot_iso_100.bmp +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/testimages/nightshot_iso_100.txt +25 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/testimages/test.scan +5 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/testimages/test1.icc +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/testimages/test1.icc.txt +20 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/testimages/test2.icc +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/testimages/test2.icc.txt +20 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/testimages/testimgari.jpg +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/testimages/testimgint.jpg +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/testimages/testorig.jpg +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/testimages/testorig.ppm +4 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/testimages/testorig12.jpg +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/testimages/vgl_5674_0098.bmp +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/testimages/vgl_6434_0018a.bmp +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/testimages/vgl_6548_0026a.bmp +0 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/tjbench.c +1031 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/tjbenchtest.in +256 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/tjbenchtest.java.in +215 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/tjexample.c +396 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/tjexampletest.in +149 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/tjexampletest.java.in +151 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/tjunittest.c +931 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/tjutil.c +70 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/tjutil.h +47 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/transupp.c +1628 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/transupp.h +210 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/turbojpeg-jni.c +1246 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/turbojpeg-mapfile +65 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/turbojpeg-mapfile.jni +101 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/turbojpeg.c +2152 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/turbojpeg.h +1744 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/usage.txt +635 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/win/jconfig.h.in +34 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/win/jpeg62-memsrcdst.def +108 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/win/jpeg62.def +106 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/win/jpeg7-memsrcdst.def +110 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/win/jpeg7.def +108 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/win/jpeg8.def +111 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/wizard.txt +212 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/wrbmp.c +558 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/wrgif.c +413 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/wrjpgcom.1 +103 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/wrjpgcom.c +591 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/wrppm.c +365 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/wrrle.c +309 -0
- data/epeg/vendor/libjpeg-turbo-2.0.4/wrtarga.c +261 -0
- data/epeg.c +131 -0
- data/epeg.gemspec +18 -0
- data/extconf.rb +80 -0
- data/test.jpg +0 -0
- data/test.rb +42 -0
- metadata +546 -0
@@ -0,0 +1,31 @@
|
|
1
|
+
/*
|
2
|
+
* jpegcomp.h
|
3
|
+
*
|
4
|
+
* Copyright (C) 2010, D. R. Commander.
|
5
|
+
* For conditions of distribution and use, see the accompanying README.ijg
|
6
|
+
* file.
|
7
|
+
*
|
8
|
+
* JPEG compatibility macros
|
9
|
+
* These declarations are considered internal to the JPEG library; most
|
10
|
+
* applications using the library shouldn't need to include this file.
|
11
|
+
*/
|
12
|
+
|
13
|
+
#if JPEG_LIB_VERSION >= 70
|
14
|
+
#define _DCT_scaled_size DCT_h_scaled_size
|
15
|
+
#define _DCT_h_scaled_size DCT_h_scaled_size
|
16
|
+
#define _DCT_v_scaled_size DCT_v_scaled_size
|
17
|
+
#define _min_DCT_scaled_size min_DCT_h_scaled_size
|
18
|
+
#define _min_DCT_h_scaled_size min_DCT_h_scaled_size
|
19
|
+
#define _min_DCT_v_scaled_size min_DCT_v_scaled_size
|
20
|
+
#define _jpeg_width jpeg_width
|
21
|
+
#define _jpeg_height jpeg_height
|
22
|
+
#else
|
23
|
+
#define _DCT_scaled_size DCT_scaled_size
|
24
|
+
#define _DCT_h_scaled_size DCT_scaled_size
|
25
|
+
#define _DCT_v_scaled_size DCT_scaled_size
|
26
|
+
#define _min_DCT_scaled_size min_DCT_scaled_size
|
27
|
+
#define _min_DCT_h_scaled_size min_DCT_scaled_size
|
28
|
+
#define _min_DCT_v_scaled_size min_DCT_scaled_size
|
29
|
+
#define _jpeg_width image_width
|
30
|
+
#define _jpeg_height image_height
|
31
|
+
#endif
|
@@ -0,0 +1,368 @@
|
|
1
|
+
/*
|
2
|
+
* jpegint.h
|
3
|
+
*
|
4
|
+
* This file was part of the Independent JPEG Group's software:
|
5
|
+
* Copyright (C) 1991-1997, Thomas G. Lane.
|
6
|
+
* Modified 1997-2009 by Guido Vollbeding.
|
7
|
+
* libjpeg-turbo Modifications:
|
8
|
+
* Copyright (C) 2015-2016, D. R. Commander.
|
9
|
+
* Copyright (C) 2015, Google, Inc.
|
10
|
+
* For conditions of distribution and use, see the accompanying README.ijg
|
11
|
+
* file.
|
12
|
+
*
|
13
|
+
* This file provides common declarations for the various JPEG modules.
|
14
|
+
* These declarations are considered internal to the JPEG library; most
|
15
|
+
* applications using the library shouldn't need to include this file.
|
16
|
+
*/
|
17
|
+
|
18
|
+
|
19
|
+
/* Declarations for both compression & decompression */
|
20
|
+
|
21
|
+
typedef enum { /* Operating modes for buffer controllers */
|
22
|
+
JBUF_PASS_THRU, /* Plain stripwise operation */
|
23
|
+
/* Remaining modes require a full-image buffer to have been created */
|
24
|
+
JBUF_SAVE_SOURCE, /* Run source subobject only, save output */
|
25
|
+
JBUF_CRANK_DEST, /* Run dest subobject only, using saved data */
|
26
|
+
JBUF_SAVE_AND_PASS /* Run both subobjects, save output */
|
27
|
+
} J_BUF_MODE;
|
28
|
+
|
29
|
+
/* Values of global_state field (jdapi.c has some dependencies on ordering!) */
|
30
|
+
#define CSTATE_START 100 /* after create_compress */
|
31
|
+
#define CSTATE_SCANNING 101 /* start_compress done, write_scanlines OK */
|
32
|
+
#define CSTATE_RAW_OK 102 /* start_compress done, write_raw_data OK */
|
33
|
+
#define CSTATE_WRCOEFS 103 /* jpeg_write_coefficients done */
|
34
|
+
#define DSTATE_START 200 /* after create_decompress */
|
35
|
+
#define DSTATE_INHEADER 201 /* reading header markers, no SOS yet */
|
36
|
+
#define DSTATE_READY 202 /* found SOS, ready for start_decompress */
|
37
|
+
#define DSTATE_PRELOAD 203 /* reading multiscan file in start_decompress*/
|
38
|
+
#define DSTATE_PRESCAN 204 /* performing dummy pass for 2-pass quant */
|
39
|
+
#define DSTATE_SCANNING 205 /* start_decompress done, read_scanlines OK */
|
40
|
+
#define DSTATE_RAW_OK 206 /* start_decompress done, read_raw_data OK */
|
41
|
+
#define DSTATE_BUFIMAGE 207 /* expecting jpeg_start_output */
|
42
|
+
#define DSTATE_BUFPOST 208 /* looking for SOS/EOI in jpeg_finish_output */
|
43
|
+
#define DSTATE_RDCOEFS 209 /* reading file in jpeg_read_coefficients */
|
44
|
+
#define DSTATE_STOPPING 210 /* looking for EOI in jpeg_finish_decompress */
|
45
|
+
|
46
|
+
|
47
|
+
/* JLONG must hold at least signed 32-bit values. */
|
48
|
+
typedef long JLONG;
|
49
|
+
|
50
|
+
|
51
|
+
/*
|
52
|
+
* Left shift macro that handles a negative operand without causing any
|
53
|
+
* sanitizer warnings
|
54
|
+
*/
|
55
|
+
|
56
|
+
#define LEFT_SHIFT(a, b) ((JLONG)((unsigned long)(a) << (b)))
|
57
|
+
|
58
|
+
|
59
|
+
/* Declarations for compression modules */
|
60
|
+
|
61
|
+
/* Master control module */
|
62
|
+
struct jpeg_comp_master {
|
63
|
+
void (*prepare_for_pass) (j_compress_ptr cinfo);
|
64
|
+
void (*pass_startup) (j_compress_ptr cinfo);
|
65
|
+
void (*finish_pass) (j_compress_ptr cinfo);
|
66
|
+
|
67
|
+
/* State variables made visible to other modules */
|
68
|
+
boolean call_pass_startup; /* True if pass_startup must be called */
|
69
|
+
boolean is_last_pass; /* True during last pass */
|
70
|
+
};
|
71
|
+
|
72
|
+
/* Main buffer control (downsampled-data buffer) */
|
73
|
+
struct jpeg_c_main_controller {
|
74
|
+
void (*start_pass) (j_compress_ptr cinfo, J_BUF_MODE pass_mode);
|
75
|
+
void (*process_data) (j_compress_ptr cinfo, JSAMPARRAY input_buf,
|
76
|
+
JDIMENSION *in_row_ctr, JDIMENSION in_rows_avail);
|
77
|
+
};
|
78
|
+
|
79
|
+
/* Compression preprocessing (downsampling input buffer control) */
|
80
|
+
struct jpeg_c_prep_controller {
|
81
|
+
void (*start_pass) (j_compress_ptr cinfo, J_BUF_MODE pass_mode);
|
82
|
+
void (*pre_process_data) (j_compress_ptr cinfo, JSAMPARRAY input_buf,
|
83
|
+
JDIMENSION *in_row_ctr, JDIMENSION in_rows_avail,
|
84
|
+
JSAMPIMAGE output_buf,
|
85
|
+
JDIMENSION *out_row_group_ctr,
|
86
|
+
JDIMENSION out_row_groups_avail);
|
87
|
+
};
|
88
|
+
|
89
|
+
/* Coefficient buffer control */
|
90
|
+
struct jpeg_c_coef_controller {
|
91
|
+
void (*start_pass) (j_compress_ptr cinfo, J_BUF_MODE pass_mode);
|
92
|
+
boolean (*compress_data) (j_compress_ptr cinfo, JSAMPIMAGE input_buf);
|
93
|
+
};
|
94
|
+
|
95
|
+
/* Colorspace conversion */
|
96
|
+
struct jpeg_color_converter {
|
97
|
+
void (*start_pass) (j_compress_ptr cinfo);
|
98
|
+
void (*color_convert) (j_compress_ptr cinfo, JSAMPARRAY input_buf,
|
99
|
+
JSAMPIMAGE output_buf, JDIMENSION output_row,
|
100
|
+
int num_rows);
|
101
|
+
};
|
102
|
+
|
103
|
+
/* Downsampling */
|
104
|
+
struct jpeg_downsampler {
|
105
|
+
void (*start_pass) (j_compress_ptr cinfo);
|
106
|
+
void (*downsample) (j_compress_ptr cinfo, JSAMPIMAGE input_buf,
|
107
|
+
JDIMENSION in_row_index, JSAMPIMAGE output_buf,
|
108
|
+
JDIMENSION out_row_group_index);
|
109
|
+
|
110
|
+
boolean need_context_rows; /* TRUE if need rows above & below */
|
111
|
+
};
|
112
|
+
|
113
|
+
/* Forward DCT (also controls coefficient quantization) */
|
114
|
+
struct jpeg_forward_dct {
|
115
|
+
void (*start_pass) (j_compress_ptr cinfo);
|
116
|
+
/* perhaps this should be an array??? */
|
117
|
+
void (*forward_DCT) (j_compress_ptr cinfo, jpeg_component_info *compptr,
|
118
|
+
JSAMPARRAY sample_data, JBLOCKROW coef_blocks,
|
119
|
+
JDIMENSION start_row, JDIMENSION start_col,
|
120
|
+
JDIMENSION num_blocks);
|
121
|
+
};
|
122
|
+
|
123
|
+
/* Entropy encoding */
|
124
|
+
struct jpeg_entropy_encoder {
|
125
|
+
void (*start_pass) (j_compress_ptr cinfo, boolean gather_statistics);
|
126
|
+
boolean (*encode_mcu) (j_compress_ptr cinfo, JBLOCKROW *MCU_data);
|
127
|
+
void (*finish_pass) (j_compress_ptr cinfo);
|
128
|
+
};
|
129
|
+
|
130
|
+
/* Marker writing */
|
131
|
+
struct jpeg_marker_writer {
|
132
|
+
void (*write_file_header) (j_compress_ptr cinfo);
|
133
|
+
void (*write_frame_header) (j_compress_ptr cinfo);
|
134
|
+
void (*write_scan_header) (j_compress_ptr cinfo);
|
135
|
+
void (*write_file_trailer) (j_compress_ptr cinfo);
|
136
|
+
void (*write_tables_only) (j_compress_ptr cinfo);
|
137
|
+
/* These routines are exported to allow insertion of extra markers */
|
138
|
+
/* Probably only COM and APPn markers should be written this way */
|
139
|
+
void (*write_marker_header) (j_compress_ptr cinfo, int marker,
|
140
|
+
unsigned int datalen);
|
141
|
+
void (*write_marker_byte) (j_compress_ptr cinfo, int val);
|
142
|
+
};
|
143
|
+
|
144
|
+
|
145
|
+
/* Declarations for decompression modules */
|
146
|
+
|
147
|
+
/* Master control module */
|
148
|
+
struct jpeg_decomp_master {
|
149
|
+
void (*prepare_for_output_pass) (j_decompress_ptr cinfo);
|
150
|
+
void (*finish_output_pass) (j_decompress_ptr cinfo);
|
151
|
+
|
152
|
+
/* State variables made visible to other modules */
|
153
|
+
boolean is_dummy_pass; /* True during 1st pass for 2-pass quant */
|
154
|
+
|
155
|
+
/* Partial decompression variables */
|
156
|
+
JDIMENSION first_iMCU_col;
|
157
|
+
JDIMENSION last_iMCU_col;
|
158
|
+
JDIMENSION first_MCU_col[MAX_COMPONENTS];
|
159
|
+
JDIMENSION last_MCU_col[MAX_COMPONENTS];
|
160
|
+
boolean jinit_upsampler_no_alloc;
|
161
|
+
};
|
162
|
+
|
163
|
+
/* Input control module */
|
164
|
+
struct jpeg_input_controller {
|
165
|
+
int (*consume_input) (j_decompress_ptr cinfo);
|
166
|
+
void (*reset_input_controller) (j_decompress_ptr cinfo);
|
167
|
+
void (*start_input_pass) (j_decompress_ptr cinfo);
|
168
|
+
void (*finish_input_pass) (j_decompress_ptr cinfo);
|
169
|
+
|
170
|
+
/* State variables made visible to other modules */
|
171
|
+
boolean has_multiple_scans; /* True if file has multiple scans */
|
172
|
+
boolean eoi_reached; /* True when EOI has been consumed */
|
173
|
+
};
|
174
|
+
|
175
|
+
/* Main buffer control (downsampled-data buffer) */
|
176
|
+
struct jpeg_d_main_controller {
|
177
|
+
void (*start_pass) (j_decompress_ptr cinfo, J_BUF_MODE pass_mode);
|
178
|
+
void (*process_data) (j_decompress_ptr cinfo, JSAMPARRAY output_buf,
|
179
|
+
JDIMENSION *out_row_ctr, JDIMENSION out_rows_avail);
|
180
|
+
};
|
181
|
+
|
182
|
+
/* Coefficient buffer control */
|
183
|
+
struct jpeg_d_coef_controller {
|
184
|
+
void (*start_input_pass) (j_decompress_ptr cinfo);
|
185
|
+
int (*consume_data) (j_decompress_ptr cinfo);
|
186
|
+
void (*start_output_pass) (j_decompress_ptr cinfo);
|
187
|
+
int (*decompress_data) (j_decompress_ptr cinfo, JSAMPIMAGE output_buf);
|
188
|
+
/* Pointer to array of coefficient virtual arrays, or NULL if none */
|
189
|
+
jvirt_barray_ptr *coef_arrays;
|
190
|
+
};
|
191
|
+
|
192
|
+
/* Decompression postprocessing (color quantization buffer control) */
|
193
|
+
struct jpeg_d_post_controller {
|
194
|
+
void (*start_pass) (j_decompress_ptr cinfo, J_BUF_MODE pass_mode);
|
195
|
+
void (*post_process_data) (j_decompress_ptr cinfo, JSAMPIMAGE input_buf,
|
196
|
+
JDIMENSION *in_row_group_ctr,
|
197
|
+
JDIMENSION in_row_groups_avail,
|
198
|
+
JSAMPARRAY output_buf, JDIMENSION *out_row_ctr,
|
199
|
+
JDIMENSION out_rows_avail);
|
200
|
+
};
|
201
|
+
|
202
|
+
/* Marker reading & parsing */
|
203
|
+
struct jpeg_marker_reader {
|
204
|
+
void (*reset_marker_reader) (j_decompress_ptr cinfo);
|
205
|
+
/* Read markers until SOS or EOI.
|
206
|
+
* Returns same codes as are defined for jpeg_consume_input:
|
207
|
+
* JPEG_SUSPENDED, JPEG_REACHED_SOS, or JPEG_REACHED_EOI.
|
208
|
+
*/
|
209
|
+
int (*read_markers) (j_decompress_ptr cinfo);
|
210
|
+
/* Read a restart marker --- exported for use by entropy decoder only */
|
211
|
+
jpeg_marker_parser_method read_restart_marker;
|
212
|
+
|
213
|
+
/* State of marker reader --- nominally internal, but applications
|
214
|
+
* supplying COM or APPn handlers might like to know the state.
|
215
|
+
*/
|
216
|
+
boolean saw_SOI; /* found SOI? */
|
217
|
+
boolean saw_SOF; /* found SOF? */
|
218
|
+
int next_restart_num; /* next restart number expected (0-7) */
|
219
|
+
unsigned int discarded_bytes; /* # of bytes skipped looking for a marker */
|
220
|
+
};
|
221
|
+
|
222
|
+
/* Entropy decoding */
|
223
|
+
struct jpeg_entropy_decoder {
|
224
|
+
void (*start_pass) (j_decompress_ptr cinfo);
|
225
|
+
boolean (*decode_mcu) (j_decompress_ptr cinfo, JBLOCKROW *MCU_data);
|
226
|
+
|
227
|
+
/* This is here to share code between baseline and progressive decoders; */
|
228
|
+
/* other modules probably should not use it */
|
229
|
+
boolean insufficient_data; /* set TRUE after emitting warning */
|
230
|
+
};
|
231
|
+
|
232
|
+
/* Inverse DCT (also performs dequantization) */
|
233
|
+
typedef void (*inverse_DCT_method_ptr) (j_decompress_ptr cinfo,
|
234
|
+
jpeg_component_info *compptr,
|
235
|
+
JCOEFPTR coef_block,
|
236
|
+
JSAMPARRAY output_buf,
|
237
|
+
JDIMENSION output_col);
|
238
|
+
|
239
|
+
struct jpeg_inverse_dct {
|
240
|
+
void (*start_pass) (j_decompress_ptr cinfo);
|
241
|
+
/* It is useful to allow each component to have a separate IDCT method. */
|
242
|
+
inverse_DCT_method_ptr inverse_DCT[MAX_COMPONENTS];
|
243
|
+
};
|
244
|
+
|
245
|
+
/* Upsampling (note that upsampler must also call color converter) */
|
246
|
+
struct jpeg_upsampler {
|
247
|
+
void (*start_pass) (j_decompress_ptr cinfo);
|
248
|
+
void (*upsample) (j_decompress_ptr cinfo, JSAMPIMAGE input_buf,
|
249
|
+
JDIMENSION *in_row_group_ctr,
|
250
|
+
JDIMENSION in_row_groups_avail, JSAMPARRAY output_buf,
|
251
|
+
JDIMENSION *out_row_ctr, JDIMENSION out_rows_avail);
|
252
|
+
|
253
|
+
boolean need_context_rows; /* TRUE if need rows above & below */
|
254
|
+
};
|
255
|
+
|
256
|
+
/* Colorspace conversion */
|
257
|
+
struct jpeg_color_deconverter {
|
258
|
+
void (*start_pass) (j_decompress_ptr cinfo);
|
259
|
+
void (*color_convert) (j_decompress_ptr cinfo, JSAMPIMAGE input_buf,
|
260
|
+
JDIMENSION input_row, JSAMPARRAY output_buf,
|
261
|
+
int num_rows);
|
262
|
+
};
|
263
|
+
|
264
|
+
/* Color quantization or color precision reduction */
|
265
|
+
struct jpeg_color_quantizer {
|
266
|
+
void (*start_pass) (j_decompress_ptr cinfo, boolean is_pre_scan);
|
267
|
+
void (*color_quantize) (j_decompress_ptr cinfo, JSAMPARRAY input_buf,
|
268
|
+
JSAMPARRAY output_buf, int num_rows);
|
269
|
+
void (*finish_pass) (j_decompress_ptr cinfo);
|
270
|
+
void (*new_color_map) (j_decompress_ptr cinfo);
|
271
|
+
};
|
272
|
+
|
273
|
+
|
274
|
+
/* Miscellaneous useful macros */
|
275
|
+
|
276
|
+
#undef MAX
|
277
|
+
#define MAX(a, b) ((a) > (b) ? (a) : (b))
|
278
|
+
#undef MIN
|
279
|
+
#define MIN(a, b) ((a) < (b) ? (a) : (b))
|
280
|
+
|
281
|
+
|
282
|
+
/* We assume that right shift corresponds to signed division by 2 with
|
283
|
+
* rounding towards minus infinity. This is correct for typical "arithmetic
|
284
|
+
* shift" instructions that shift in copies of the sign bit. But some
|
285
|
+
* C compilers implement >> with an unsigned shift. For these machines you
|
286
|
+
* must define RIGHT_SHIFT_IS_UNSIGNED.
|
287
|
+
* RIGHT_SHIFT provides a proper signed right shift of a JLONG quantity.
|
288
|
+
* It is only applied with constant shift counts. SHIFT_TEMPS must be
|
289
|
+
* included in the variables of any routine using RIGHT_SHIFT.
|
290
|
+
*/
|
291
|
+
|
292
|
+
#ifdef RIGHT_SHIFT_IS_UNSIGNED
|
293
|
+
#define SHIFT_TEMPS JLONG shift_temp;
|
294
|
+
#define RIGHT_SHIFT(x, shft) \
|
295
|
+
((shift_temp = (x)) < 0 ? \
|
296
|
+
(shift_temp >> (shft)) | ((~((JLONG)0)) << (32 - (shft))) : \
|
297
|
+
(shift_temp >> (shft)))
|
298
|
+
#else
|
299
|
+
#define SHIFT_TEMPS
|
300
|
+
#define RIGHT_SHIFT(x, shft) ((x) >> (shft))
|
301
|
+
#endif
|
302
|
+
|
303
|
+
|
304
|
+
/* Compression module initialization routines */
|
305
|
+
EXTERN(void) jinit_compress_master(j_compress_ptr cinfo);
|
306
|
+
EXTERN(void) jinit_c_master_control(j_compress_ptr cinfo,
|
307
|
+
boolean transcode_only);
|
308
|
+
EXTERN(void) jinit_c_main_controller(j_compress_ptr cinfo,
|
309
|
+
boolean need_full_buffer);
|
310
|
+
EXTERN(void) jinit_c_prep_controller(j_compress_ptr cinfo,
|
311
|
+
boolean need_full_buffer);
|
312
|
+
EXTERN(void) jinit_c_coef_controller(j_compress_ptr cinfo,
|
313
|
+
boolean need_full_buffer);
|
314
|
+
EXTERN(void) jinit_color_converter(j_compress_ptr cinfo);
|
315
|
+
EXTERN(void) jinit_downsampler(j_compress_ptr cinfo);
|
316
|
+
EXTERN(void) jinit_forward_dct(j_compress_ptr cinfo);
|
317
|
+
EXTERN(void) jinit_huff_encoder(j_compress_ptr cinfo);
|
318
|
+
EXTERN(void) jinit_phuff_encoder(j_compress_ptr cinfo);
|
319
|
+
EXTERN(void) jinit_arith_encoder(j_compress_ptr cinfo);
|
320
|
+
EXTERN(void) jinit_marker_writer(j_compress_ptr cinfo);
|
321
|
+
/* Decompression module initialization routines */
|
322
|
+
EXTERN(void) jinit_master_decompress(j_decompress_ptr cinfo);
|
323
|
+
EXTERN(void) jinit_d_main_controller(j_decompress_ptr cinfo,
|
324
|
+
boolean need_full_buffer);
|
325
|
+
EXTERN(void) jinit_d_coef_controller(j_decompress_ptr cinfo,
|
326
|
+
boolean need_full_buffer);
|
327
|
+
EXTERN(void) jinit_d_post_controller(j_decompress_ptr cinfo,
|
328
|
+
boolean need_full_buffer);
|
329
|
+
EXTERN(void) jinit_input_controller(j_decompress_ptr cinfo);
|
330
|
+
EXTERN(void) jinit_marker_reader(j_decompress_ptr cinfo);
|
331
|
+
EXTERN(void) jinit_huff_decoder(j_decompress_ptr cinfo);
|
332
|
+
EXTERN(void) jinit_phuff_decoder(j_decompress_ptr cinfo);
|
333
|
+
EXTERN(void) jinit_arith_decoder(j_decompress_ptr cinfo);
|
334
|
+
EXTERN(void) jinit_inverse_dct(j_decompress_ptr cinfo);
|
335
|
+
EXTERN(void) jinit_upsampler(j_decompress_ptr cinfo);
|
336
|
+
EXTERN(void) jinit_color_deconverter(j_decompress_ptr cinfo);
|
337
|
+
EXTERN(void) jinit_1pass_quantizer(j_decompress_ptr cinfo);
|
338
|
+
EXTERN(void) jinit_2pass_quantizer(j_decompress_ptr cinfo);
|
339
|
+
EXTERN(void) jinit_merged_upsampler(j_decompress_ptr cinfo);
|
340
|
+
/* Memory manager initialization */
|
341
|
+
EXTERN(void) jinit_memory_mgr(j_common_ptr cinfo);
|
342
|
+
|
343
|
+
/* Utility routines in jutils.c */
|
344
|
+
EXTERN(long) jdiv_round_up(long a, long b);
|
345
|
+
EXTERN(long) jround_up(long a, long b);
|
346
|
+
EXTERN(void) jcopy_sample_rows(JSAMPARRAY input_array, int source_row,
|
347
|
+
JSAMPARRAY output_array, int dest_row,
|
348
|
+
int num_rows, JDIMENSION num_cols);
|
349
|
+
EXTERN(void) jcopy_block_row(JBLOCKROW input_row, JBLOCKROW output_row,
|
350
|
+
JDIMENSION num_blocks);
|
351
|
+
EXTERN(void) jzero_far(void *target, size_t bytestozero);
|
352
|
+
/* Constant tables in jutils.c */
|
353
|
+
#if 0 /* This table is not actually needed in v6a */
|
354
|
+
extern const int jpeg_zigzag_order[]; /* natural coef order to zigzag order */
|
355
|
+
#endif
|
356
|
+
extern const int jpeg_natural_order[]; /* zigzag coef order to natural order */
|
357
|
+
|
358
|
+
/* Arithmetic coding probability estimation tables in jaricom.c */
|
359
|
+
extern const JLONG jpeg_aritab[];
|
360
|
+
|
361
|
+
/* Suppress undefined-structure complaints if necessary. */
|
362
|
+
|
363
|
+
#ifdef INCOMPLETE_TYPES_BROKEN
|
364
|
+
#ifndef AM_MEMORY_MANAGER /* only jmemmgr.c defines these */
|
365
|
+
struct jvirt_sarray_control { long dummy; };
|
366
|
+
struct jvirt_barray_control { long dummy; };
|
367
|
+
#endif
|
368
|
+
#endif /* INCOMPLETE_TYPES_BROKEN */
|