laag-libjpeg-turbo 1.5.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +57 -0
- data/LICENSE.txt +139 -0
- data/README.org +34 -0
- data/ext/laag/libjpeg-turbo/extconf.rb +16 -0
- data/laag-libjpeg-turbo.gemspec +20 -0
- data/lib/laag/libjpeg-turbo.rb +29 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/.gitignore +14 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/.travis.yml +131 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/BUILDING.md +964 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/CMakeLists.txt +962 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/ChangeLog.md +1151 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/LICENSE.md +139 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/Makefile.am +794 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/README.ijg +279 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/README.md +341 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/acinclude.m4 +287 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/appveyor.yml +57 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/bmp.c +341 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/bmp.h +42 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/cderror.h +136 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/cdjpeg.c +144 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/cdjpeg.h +153 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/change.log +315 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/ci/keys.enc +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/cjpeg.1 +351 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/cjpeg.c +644 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/cmakescripts/cmake_uninstall.cmake.in +24 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/cmakescripts/testclean.cmake +39 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/coderules.txt +78 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/configure.ac +616 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/djpeg.1 +293 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/djpeg.c +782 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/annotated.html +104 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/bc_s.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/bdwn.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/classes.html +106 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/closed.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/doxygen-extra.css +3 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/doxygen.css +1184 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/doxygen.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/dynsections.js +97 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/ftv2blank.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/ftv2cl.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/ftv2doc.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/ftv2folderclosed.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/ftv2folderopen.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/ftv2lastnode.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/ftv2link.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/ftv2mlastnode.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/ftv2mnode.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/ftv2mo.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/ftv2node.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/ftv2ns.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/ftv2plastnode.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/ftv2pnode.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/ftv2splitbar.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/ftv2vertline.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/functions.html +134 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/functions_vars.html +134 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/group___turbo_j_p_e_g.html +2446 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/index.html +90 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/jquery.js +8 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/modules.html +95 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/nav_f.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/nav_g.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/nav_h.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/open.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/all_63.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/all_63.js +4 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/all_64.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/all_64.js +5 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/all_68.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/all_68.js +4 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/all_6e.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/all_6e.js +4 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/all_6f.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/all_6f.js +5 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/all_72.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/all_72.js +4 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/all_74.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/all_74.js +89 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/all_77.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/all_77.js +4 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/all_78.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/all_78.js +4 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/all_79.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/all_79.js +4 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/classes_74.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/classes_74.js +6 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/close.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/enums_74.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/enums_74.js +7 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/enumvalues_74.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/enumvalues_74.js +34 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/functions_74.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/functions_74.js +28 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/groups_74.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/groups_74.js +4 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/mag_sel.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/nomatches.html +12 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/search.css +271 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/search.js +809 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/search_l.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/search_m.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/search_r.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/typedefs_74.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/typedefs_74.js +5 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/variables_63.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/variables_63.js +4 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/variables_64.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/variables_64.js +5 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/variables_68.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/variables_68.js +4 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/variables_6e.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/variables_6e.js +4 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/variables_6f.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/variables_6f.js +5 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/variables_72.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/variables_72.js +4 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/variables_74.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/variables_74.js +9 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/variables_77.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/variables_77.js +4 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/variables_78.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/variables_78.js +4 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/variables_79.html +26 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/search/variables_79.js +4 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/structtjregion.html +186 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/structtjscalingfactor.html +148 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/structtjtransform.html +212 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/sync_off.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/sync_on.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/tab_a.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/tab_b.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/tab_h.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/tab_s.png +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doc/html/tabs.css +60 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doxygen-extra.css +3 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/doxygen.config +16 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/example.c +433 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jaricom.c +156 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/CMakeLists.txt +57 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/MANIFEST.MF +2 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/Makefile.am +75 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/README +52 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/TJBench.java +926 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/TJExample.java +362 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/TJUnitTest.java +959 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/allclasses-frame.html +24 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/allclasses-noframe.html +24 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/constant-values.html +479 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/deprecated-list.html +248 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/help-doc.html +206 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/index-all.html +980 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/index.html +70 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/org/libjpegturbo/turbojpeg/TJ.html +1254 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/org/libjpegturbo/turbojpeg/TJCompressor.html +922 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/org/libjpegturbo/turbojpeg/TJCustomFilter.html +237 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/org/libjpegturbo/turbojpeg/TJDecompressor.html +1235 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/org/libjpegturbo/turbojpeg/TJException.html +287 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/org/libjpegturbo/turbojpeg/TJScalingFactor.html +333 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/org/libjpegturbo/turbojpeg/TJTransform.html +706 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/org/libjpegturbo/turbojpeg/TJTransformer.html +417 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/org/libjpegturbo/turbojpeg/YUVImage.html +761 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/org/libjpegturbo/turbojpeg/package-frame.html +31 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/org/libjpegturbo/turbojpeg/package-summary.html +198 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/org/libjpegturbo/turbojpeg/package-tree.html +156 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/overview-tree.html +160 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/package-list +1 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/resources/background.gif +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/resources/tab.gif +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/resources/titlebar.gif +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/resources/titlebar_end.gif +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/serialized-form.html +159 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/doc/stylesheet.css +474 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/TJ.java +513 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/TJCompressor.java +658 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/TJCustomFilter.java +76 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/TJDecompressor.java +909 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/TJException.java +53 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/TJLoader.java.in +35 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/TJLoader.java.tmpl +59 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/TJScalingFactor.java +104 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/TJTransform.java +208 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/TJTransformer.java +163 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/org/libjpegturbo/turbojpeg/YUVImage.java +443 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/org_libjpegturbo_turbojpeg_TJ.h +129 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/org_libjpegturbo_turbojpeg_TJCompressor.h +101 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/org_libjpegturbo_turbojpeg_TJDecompressor.h +101 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/java/org_libjpegturbo_turbojpeg_TJTransformer.h +29 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jcapimin.c +295 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jcapistd.c +162 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jcarith.c +928 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jccoefct.c +449 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jccolext.c +148 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jccolor.c +719 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jcdctmgr.c +721 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jchuff.c +1091 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jchuff.h +43 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jcinit.c +77 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jcmainct.c +162 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jcmarker.c +665 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jcmaster.c +639 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jcomapi.c +109 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jconfig.h.in +73 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jconfig.txt +143 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jconfigint.h.in +17 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jcparam.c +542 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jcphuff.c +834 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jcprepct.c +357 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jcsample.c +539 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jcstest.c +126 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jctrans.c +402 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdapimin.c +407 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdapistd.c +637 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdarith.c +769 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdatadst-tj.c +202 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdatadst.c +293 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdatasrc-tj.c +191 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdatasrc.c +295 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdcoefct.c +693 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdcoefct.h +82 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdcol565.c +384 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdcolext.c +143 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdcolor.c +897 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdct.h +208 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jddctmgr.c +352 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdhuff.c +822 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdhuff.h +234 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdinput.c +405 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdmainct.c +456 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdmainct.h +71 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdmarker.c +1377 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdmaster.c +736 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdmaster.h +28 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdmerge.c +627 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdmrg565.c +356 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdmrgext.c +186 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdphuff.c +674 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdpostct.c +290 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdsample.c +517 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdsample.h +50 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jdtrans.c +155 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jerror.c +251 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jerror.h +317 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jfdctflt.c +169 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jfdctfst.c +227 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jfdctint.c +286 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jidctflt.c +240 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jidctfst.c +371 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jidctint.c +2627 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jidctred.c +403 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jinclude.h +84 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jmemmgr.c +1183 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jmemnobs.c +115 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jmemsys.h +178 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jmorecfg.h +421 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jpeg_nbits_table.h +4098 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jpegcomp.h +31 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jpegint.h +368 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jpeglib.h +1122 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jpegtran.1 +290 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jpegtran.c +551 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jquant1.c +857 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jquant2.c +1282 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jsimd.h +93 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jsimd_none.c +404 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jsimddct.h +74 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jstdhuff.c +135 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jutils.c +133 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/jversion.h +49 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/libjpeg.map.in +11 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/libjpeg.txt +3104 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/md5/CMakeLists.txt +1 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/md5/Makefile.am +4 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/md5/md5.c +340 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/md5/md5.h +49 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/md5/md5cmp.c +60 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/md5/md5hl.c +114 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/rdbmp.c +483 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/rdcolmap.c +254 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/rdgif.c +39 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/rdjpgcom.1 +63 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/rdjpgcom.c +510 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/rdppm.c +471 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/rdrle.c +389 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/rdswitch.c +424 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/rdtarga.c +503 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/release/Distribution.xml +24 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/release/License.rtf +20 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/release/ReadMe.txt +5 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/release/Welcome.rtf +17 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/release/deb-control.tmpl +31 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/release/libjpeg-turbo.nsi.in +162 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/release/libjpeg-turbo.spec.in +164 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/release/libjpeg.pc.in +10 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/release/libturbojpeg.pc.in +10 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/release/makecygwinpkg.in +42 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/release/makedpkg.in +82 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/release/makemacpkg.in +470 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/release/uninstall.in +112 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/sharedlib/CMakeLists.txt +73 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/CMakeLists.txt +81 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/Makefile.am +102 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jccolext-altivec.c +267 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jccolext-mmx.asm +476 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jccolext-sse2-64.asm +486 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jccolext-sse2.asm +503 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jccolor-altivec.c +104 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jccolor-mmx.asm +122 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jccolor-sse2-64.asm +121 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jccolor-sse2.asm +121 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jcgray-altivec.c +99 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jcgray-mmx.asm +115 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jcgray-sse2-64.asm +114 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jcgray-sse2.asm +114 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jcgryext-altivec.c +227 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jcgryext-mmx.asm +356 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jcgryext-sse2-64.asm +365 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jcgryext-sse2.asm +384 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jchuff-sse2-64.asm +360 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jchuff-sse2.asm +426 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jcolsamp.inc +104 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jcsample-altivec.c +158 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jcsample-mmx.asm +323 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jcsample-sse2-64.asm +329 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jcsample-sse2.asm +350 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jcsample.h +28 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jdcolext-altivec.c +274 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jdcolext-mmx.asm +404 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jdcolext-sse2-64.asm +440 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jdcolext-sse2.asm +459 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jdcolor-altivec.c +96 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jdcolor-mmx.asm +119 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jdcolor-sse2-64.asm +119 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jdcolor-sse2.asm +119 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jdct.inc +27 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jdmerge-altivec.c +108 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jdmerge-mmx.asm +125 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jdmerge-sse2-64.asm +125 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jdmerge-sse2.asm +125 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jdmrgext-altivec.c +323 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jdmrgext-mmx.asm +463 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jdmrgext-sse2-64.asm +537 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jdmrgext-sse2.asm +518 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jdsample-altivec.c +392 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jdsample-mmx.asm +736 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jdsample-sse2-64.asm +670 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jdsample-sse2.asm +728 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jfdctflt-3dn.asm +319 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jfdctflt-sse-64.asm +357 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jfdctflt-sse.asm +369 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jfdctfst-altivec.c +156 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jfdctfst-mmx.asm +396 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jfdctfst-sse2-64.asm +391 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jfdctfst-sse2.asm +403 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jfdctint-altivec.c +262 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jfdctint-mmx.asm +621 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jfdctint-sse2-64.asm +621 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jfdctint-sse2.asm +633 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jidctflt-3dn.asm +451 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jidctflt-sse.asm +571 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jidctflt-sse2-64.asm +482 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jidctflt-sse2.asm +497 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jidctfst-altivec.c +257 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jidctfst-mmx.asm +499 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jidctfst-sse2-64.asm +491 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jidctfst-sse2.asm +501 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jidctint-altivec.c +359 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jidctint-mmx.asm +851 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jidctint-sse2-64.asm +847 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jidctint-sse2.asm +858 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jidctred-mmx.asm +705 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jidctred-sse2-64.asm +575 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jidctred-sse2.asm +593 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jpeg_nbits_table.inc +4097 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jquant-3dn.asm +232 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jquant-mmx.asm +273 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jquant-sse.asm +210 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jquantf-sse2-64.asm +157 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jquantf-sse2.asm +170 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jquanti-altivec.c +252 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jquanti-sse2-64.asm +186 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jquanti-sse2.asm +199 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jsimd.h +871 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jsimd_altivec.h +99 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jsimd_arm.c +728 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jsimd_arm64.c +803 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jsimd_arm64_neon.S +3425 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jsimd_arm_neon.S +2878 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jsimd_i386.c +1091 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jsimd_mips.c +1140 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jsimd_mips_dspr2.S +4486 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jsimd_mips_dspr2_asm.h +283 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jsimd_powerpc.c +852 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jsimd_x86_64.c +887 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jsimdcfg.inc.h +130 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jsimdcpu.asm +104 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/jsimdext.inc +375 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/simd/nasm_lt.sh +60 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/structure.txt +904 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/testimages/nightshot_iso_100.bmp +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/testimages/nightshot_iso_100.txt +25 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/testimages/testimgari.jpg +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/testimages/testimgint.jpg +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/testimages/testorig.jpg +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/testimages/testorig.ppm +4 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/testimages/testorig12.jpg +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/testimages/vgl_5674_0098.bmp +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/testimages/vgl_6434_0018a.bmp +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/testimages/vgl_6548_0026a.bmp +0 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/tjbench.c +1010 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/tjbenchtest.in +252 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/tjbenchtest.java.in +207 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/tjexampletest.in +150 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/tjunittest.c +734 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/tjutil.c +66 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/tjutil.h +47 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/transupp.c +1626 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/transupp.h +207 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/turbojpeg-jni.c +1166 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/turbojpeg-mapfile +56 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/turbojpeg-mapfile.jni +92 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/turbojpeg.c +2175 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/turbojpeg.h +1545 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/usage.txt +635 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/win/jconfig.h.in +51 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/win/jconfigint.h.in +13 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/win/jpeg62-memsrcdst.def +106 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/win/jpeg62.def +104 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/win/jpeg7-memsrcdst.def +108 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/win/jpeg7.def +106 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/win/jpeg8.def +109 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/win/jsimdcfg.inc +94 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/wizard.txt +211 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/wrbmp.c +494 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/wrgif.c +413 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/wrjpgcom.1 +103 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/wrjpgcom.c +592 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/wrppm.c +280 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/wrrle.c +308 -0
- data/vendor/github.com/libjpeg-turbo/libjpeg-turbo/wrtarga.c +261 -0
- metadata +509 -0
@@ -0,0 +1,283 @@
|
|
1
|
+
/*
|
2
|
+
* MIPS DSPr2 optimizations for libjpeg-turbo
|
3
|
+
*
|
4
|
+
* Copyright (C) 2013, MIPS Technologies, Inc., California.
|
5
|
+
* All Rights Reserved.
|
6
|
+
* Authors: Teodora Novkovic (teodora.novkovic@imgtec.com)
|
7
|
+
* Darko Laus (darko.laus@imgtec.com)
|
8
|
+
* This software is provided 'as-is', without any express or implied
|
9
|
+
* warranty. In no event will the authors be held liable for any damages
|
10
|
+
* arising from the use of this software.
|
11
|
+
*
|
12
|
+
* Permission is granted to anyone to use this software for any purpose,
|
13
|
+
* including commercial applications, and to alter it and redistribute it
|
14
|
+
* freely, subject to the following restrictions:
|
15
|
+
*
|
16
|
+
* 1. The origin of this software must not be misrepresented; you must not
|
17
|
+
* claim that you wrote the original software. If you use this software
|
18
|
+
* in a product, an acknowledgment in the product documentation would be
|
19
|
+
* appreciated but is not required.
|
20
|
+
* 2. Altered source versions must be plainly marked as such, and must not be
|
21
|
+
* misrepresented as being the original software.
|
22
|
+
* 3. This notice may not be removed or altered from any source distribution.
|
23
|
+
*/
|
24
|
+
|
25
|
+
#define zero $0
|
26
|
+
#define AT $1
|
27
|
+
#define v0 $2
|
28
|
+
#define v1 $3
|
29
|
+
#define a0 $4
|
30
|
+
#define a1 $5
|
31
|
+
#define a2 $6
|
32
|
+
#define a3 $7
|
33
|
+
#define t0 $8
|
34
|
+
#define t1 $9
|
35
|
+
#define t2 $10
|
36
|
+
#define t3 $11
|
37
|
+
#define t4 $12
|
38
|
+
#define t5 $13
|
39
|
+
#define t6 $14
|
40
|
+
#define t7 $15
|
41
|
+
#define s0 $16
|
42
|
+
#define s1 $17
|
43
|
+
#define s2 $18
|
44
|
+
#define s3 $19
|
45
|
+
#define s4 $20
|
46
|
+
#define s5 $21
|
47
|
+
#define s6 $22
|
48
|
+
#define s7 $23
|
49
|
+
#define t8 $24
|
50
|
+
#define t9 $25
|
51
|
+
#define k0 $26
|
52
|
+
#define k1 $27
|
53
|
+
#define gp $28
|
54
|
+
#define sp $29
|
55
|
+
#define fp $30
|
56
|
+
#define s8 $30
|
57
|
+
#define ra $31
|
58
|
+
|
59
|
+
#define f0 $f0
|
60
|
+
#define f1 $f1
|
61
|
+
#define f2 $f2
|
62
|
+
#define f3 $f3
|
63
|
+
#define f4 $f4
|
64
|
+
#define f5 $f5
|
65
|
+
#define f6 $f6
|
66
|
+
#define f7 $f7
|
67
|
+
#define f8 $f8
|
68
|
+
#define f9 $f9
|
69
|
+
#define f10 $f10
|
70
|
+
#define f11 $f11
|
71
|
+
#define f12 $f12
|
72
|
+
#define f13 $f13
|
73
|
+
#define f14 $f14
|
74
|
+
#define f15 $f15
|
75
|
+
#define f16 $f16
|
76
|
+
#define f17 $f17
|
77
|
+
#define f18 $f18
|
78
|
+
#define f19 $f19
|
79
|
+
#define f20 $f20
|
80
|
+
#define f21 $f21
|
81
|
+
#define f22 $f22
|
82
|
+
#define f23 $f23
|
83
|
+
#define f24 $f24
|
84
|
+
#define f25 $f25
|
85
|
+
#define f26 $f26
|
86
|
+
#define f27 $f27
|
87
|
+
#define f28 $f28
|
88
|
+
#define f29 $f29
|
89
|
+
#define f30 $f30
|
90
|
+
#define f31 $f31
|
91
|
+
|
92
|
+
/*
|
93
|
+
* LEAF_MIPS32R2 - declare leaf routine for MIPS32r2
|
94
|
+
*/
|
95
|
+
#define LEAF_MIPS32R2(symbol) \
|
96
|
+
.globl symbol; \
|
97
|
+
.align 2; \
|
98
|
+
.type symbol, @function; \
|
99
|
+
.ent symbol, 0; \
|
100
|
+
symbol: .frame sp, 0, ra; \
|
101
|
+
.set push; \
|
102
|
+
.set arch=mips32r2; \
|
103
|
+
.set noreorder; \
|
104
|
+
.set noat;
|
105
|
+
|
106
|
+
/*
|
107
|
+
* LEAF_MIPS_DSPR2 - declare leaf routine for MIPS DSPr2
|
108
|
+
*/
|
109
|
+
#define LEAF_MIPS_DSPR2(symbol) \
|
110
|
+
LEAF_MIPS32R2(symbol) \
|
111
|
+
.set dspr2;
|
112
|
+
|
113
|
+
/*
|
114
|
+
* END - mark end of function
|
115
|
+
*/
|
116
|
+
#define END(function) \
|
117
|
+
.set pop; \
|
118
|
+
.end function; \
|
119
|
+
.size function,.-function
|
120
|
+
|
121
|
+
/*
|
122
|
+
* Checks if stack offset is big enough for storing/restoring regs_num
|
123
|
+
* number of register to/from stack. Stack offset must be greater than
|
124
|
+
* or equal to the number of bytes needed for storing registers (regs_num*4).
|
125
|
+
* Since MIPS ABI allows usage of first 16 bytes of stack frame (this is
|
126
|
+
* preserved for input arguments of the functions, already stored in a0-a3),
|
127
|
+
* stack size can be further optimized by utilizing this space.
|
128
|
+
*/
|
129
|
+
.macro CHECK_STACK_OFFSET regs_num, stack_offset
|
130
|
+
.if \stack_offset < \regs_num * 4 - 16
|
131
|
+
.error "Stack offset too small."
|
132
|
+
.endif
|
133
|
+
.endm
|
134
|
+
|
135
|
+
/*
|
136
|
+
* Saves set of registers on stack. Maximum number of registers that
|
137
|
+
* can be saved on stack is limitted to 14 (a0-a3, v0-v1 and s0-s7).
|
138
|
+
* Stack offset is number of bytes that are added to stack pointer (sp)
|
139
|
+
* before registers are pushed in order to provide enough space on stack
|
140
|
+
* (offset must be multiple of 4, and must be big enough, as described by
|
141
|
+
* CHECK_STACK_OFFSET macro). This macro is intended to be used in
|
142
|
+
* combination with RESTORE_REGS_FROM_STACK macro. Example:
|
143
|
+
* SAVE_REGS_ON_STACK 4, v0, v1, s0, s1
|
144
|
+
* RESTORE_REGS_FROM_STACK 4, v0, v1, s0, s1
|
145
|
+
*/
|
146
|
+
.macro SAVE_REGS_ON_STACK stack_offset = 0, r1, \
|
147
|
+
r2 = 0, r3 = 0, r4 = 0, \
|
148
|
+
r5 = 0, r6 = 0, r7 = 0, \
|
149
|
+
r8 = 0, r9 = 0, r10 = 0, \
|
150
|
+
r11 = 0, r12 = 0, r13 = 0, \
|
151
|
+
r14 = 0
|
152
|
+
.if (\stack_offset < 0) || (\stack_offset - (\stack_offset / 4) * 4)
|
153
|
+
.error "Stack offset must be pozitive and multiple of 4."
|
154
|
+
.endif
|
155
|
+
.if \stack_offset != 0
|
156
|
+
addiu sp, sp, -\stack_offset
|
157
|
+
.endif
|
158
|
+
sw \r1, 0(sp)
|
159
|
+
.if \r2 != 0
|
160
|
+
sw \r2, 4(sp)
|
161
|
+
.endif
|
162
|
+
.if \r3 != 0
|
163
|
+
sw \r3, 8(sp)
|
164
|
+
.endif
|
165
|
+
.if \r4 != 0
|
166
|
+
sw \r4, 12(sp)
|
167
|
+
.endif
|
168
|
+
.if \r5 != 0
|
169
|
+
CHECK_STACK_OFFSET 5, \stack_offset
|
170
|
+
sw \r5, 16(sp)
|
171
|
+
.endif
|
172
|
+
.if \r6 != 0
|
173
|
+
CHECK_STACK_OFFSET 6, \stack_offset
|
174
|
+
sw \r6, 20(sp)
|
175
|
+
.endif
|
176
|
+
.if \r7 != 0
|
177
|
+
CHECK_STACK_OFFSET 7, \stack_offset
|
178
|
+
sw \r7, 24(sp)
|
179
|
+
.endif
|
180
|
+
.if \r8 != 0
|
181
|
+
CHECK_STACK_OFFSET 8, \stack_offset
|
182
|
+
sw \r8, 28(sp)
|
183
|
+
.endif
|
184
|
+
.if \r9 != 0
|
185
|
+
CHECK_STACK_OFFSET 9, \stack_offset
|
186
|
+
sw \r9, 32(sp)
|
187
|
+
.endif
|
188
|
+
.if \r10 != 0
|
189
|
+
CHECK_STACK_OFFSET 10, \stack_offset
|
190
|
+
sw \r10, 36(sp)
|
191
|
+
.endif
|
192
|
+
.if \r11 != 0
|
193
|
+
CHECK_STACK_OFFSET 11, \stack_offset
|
194
|
+
sw \r11, 40(sp)
|
195
|
+
.endif
|
196
|
+
.if \r12 != 0
|
197
|
+
CHECK_STACK_OFFSET 12, \stack_offset
|
198
|
+
sw \r12, 44(sp)
|
199
|
+
.endif
|
200
|
+
.if \r13 != 0
|
201
|
+
CHECK_STACK_OFFSET 13, \stack_offset
|
202
|
+
sw \r13, 48(sp)
|
203
|
+
.endif
|
204
|
+
.if \r14 != 0
|
205
|
+
CHECK_STACK_OFFSET 14, \stack_offset
|
206
|
+
sw \r14, 52(sp)
|
207
|
+
.endif
|
208
|
+
.endm
|
209
|
+
|
210
|
+
/*
|
211
|
+
* Restores set of registers from stack. Maximum number of registers that
|
212
|
+
* can be restored from stack is limitted to 14 (a0-a3, v0-v1 and s0-s7).
|
213
|
+
* Stack offset is number of bytes that are added to stack pointer (sp)
|
214
|
+
* after registers are restored (offset must be multiple of 4, and must
|
215
|
+
* be big enough, as described by CHECK_STACK_OFFSET macro). This macro is
|
216
|
+
* intended to be used in combination with RESTORE_REGS_FROM_STACK macro.
|
217
|
+
* Example:
|
218
|
+
* SAVE_REGS_ON_STACK 4, v0, v1, s0, s1
|
219
|
+
* RESTORE_REGS_FROM_STACK 4, v0, v1, s0, s1
|
220
|
+
*/
|
221
|
+
.macro RESTORE_REGS_FROM_STACK stack_offset = 0, r1, \
|
222
|
+
r2 = 0, r3 = 0, r4 = 0, \
|
223
|
+
r5 = 0, r6 = 0, r7 = 0, \
|
224
|
+
r8 = 0, r9 = 0, r10 = 0, \
|
225
|
+
r11 = 0, r12 = 0, r13 = 0, \
|
226
|
+
r14 = 0
|
227
|
+
.if (\stack_offset < 0) || (\stack_offset - (\stack_offset/4)*4)
|
228
|
+
.error "Stack offset must be pozitive and multiple of 4."
|
229
|
+
.endif
|
230
|
+
lw \r1, 0(sp)
|
231
|
+
.if \r2 != 0
|
232
|
+
lw \r2, 4(sp)
|
233
|
+
.endif
|
234
|
+
.if \r3 != 0
|
235
|
+
lw \r3, 8(sp)
|
236
|
+
.endif
|
237
|
+
.if \r4 != 0
|
238
|
+
lw \r4, 12(sp)
|
239
|
+
.endif
|
240
|
+
.if \r5 != 0
|
241
|
+
CHECK_STACK_OFFSET 5, \stack_offset
|
242
|
+
lw \r5, 16(sp)
|
243
|
+
.endif
|
244
|
+
.if \r6 != 0
|
245
|
+
CHECK_STACK_OFFSET 6, \stack_offset
|
246
|
+
lw \r6, 20(sp)
|
247
|
+
.endif
|
248
|
+
.if \r7 != 0
|
249
|
+
CHECK_STACK_OFFSET 7, \stack_offset
|
250
|
+
lw \r7, 24(sp)
|
251
|
+
.endif
|
252
|
+
.if \r8 != 0
|
253
|
+
CHECK_STACK_OFFSET 8, \stack_offset
|
254
|
+
lw \r8, 28(sp)
|
255
|
+
.endif
|
256
|
+
.if \r9 != 0
|
257
|
+
CHECK_STACK_OFFSET 9, \stack_offset
|
258
|
+
lw \r9, 32(sp)
|
259
|
+
.endif
|
260
|
+
.if \r10 != 0
|
261
|
+
CHECK_STACK_OFFSET 10, \stack_offset
|
262
|
+
lw \r10, 36(sp)
|
263
|
+
.endif
|
264
|
+
.if \r11 != 0
|
265
|
+
CHECK_STACK_OFFSET 11, \stack_offset
|
266
|
+
lw \r11, 40(sp)
|
267
|
+
.endif
|
268
|
+
.if \r12 != 0
|
269
|
+
CHECK_STACK_OFFSET 12, \stack_offset
|
270
|
+
lw \r12, 44(sp)
|
271
|
+
.endif
|
272
|
+
.if \r13 != 0
|
273
|
+
CHECK_STACK_OFFSET 13, \stack_offset
|
274
|
+
lw \r13, 48(sp)
|
275
|
+
.endif
|
276
|
+
.if \r14 != 0
|
277
|
+
CHECK_STACK_OFFSET 14, \stack_offset
|
278
|
+
lw \r14, 52(sp)
|
279
|
+
.endif
|
280
|
+
.if \stack_offset != 0
|
281
|
+
addiu sp, sp, \stack_offset
|
282
|
+
.endif
|
283
|
+
.endm
|
@@ -0,0 +1,852 @@
|
|
1
|
+
/*
|
2
|
+
* jsimd_powerpc.c
|
3
|
+
*
|
4
|
+
* Copyright 2009 Pierre Ossman <ossman@cendio.se> for Cendio AB
|
5
|
+
* Copyright (C) 2009-2011, 2014-2016, D. R. Commander.
|
6
|
+
* Copyright (C) 2015, Matthieu Darbois.
|
7
|
+
*
|
8
|
+
* Based on the x86 SIMD extension for IJG JPEG library,
|
9
|
+
* Copyright (C) 1999-2006, MIYASAKA Masaru.
|
10
|
+
* For conditions of distribution and use, see copyright notice in jsimdext.inc
|
11
|
+
*
|
12
|
+
* This file contains the interface between the "normal" portions
|
13
|
+
* of the library and the SIMD implementations when running on a
|
14
|
+
* PowerPC architecture.
|
15
|
+
*/
|
16
|
+
|
17
|
+
#ifdef __amigaos4__
|
18
|
+
/* This must be defined first as it re-defines GLOBAL otherwise */
|
19
|
+
#include <proto/exec.h>
|
20
|
+
#endif
|
21
|
+
|
22
|
+
#define JPEG_INTERNALS
|
23
|
+
#include "../jinclude.h"
|
24
|
+
#include "../jpeglib.h"
|
25
|
+
#include "../jsimd.h"
|
26
|
+
#include "../jdct.h"
|
27
|
+
#include "../jsimddct.h"
|
28
|
+
#include "jsimd.h"
|
29
|
+
|
30
|
+
#include <stdio.h>
|
31
|
+
#include <string.h>
|
32
|
+
#include <ctype.h>
|
33
|
+
|
34
|
+
#if defined(__OpenBSD__)
|
35
|
+
#include <sys/param.h>
|
36
|
+
#include <sys/sysctl.h>
|
37
|
+
#include <machine/cpu.h>
|
38
|
+
#endif
|
39
|
+
|
40
|
+
static unsigned int simd_support = ~0;
|
41
|
+
|
42
|
+
#if defined(__linux__) || defined(ANDROID) || defined(__ANDROID__)
|
43
|
+
|
44
|
+
#define SOMEWHAT_SANE_PROC_CPUINFO_SIZE_LIMIT (1024 * 1024)
|
45
|
+
|
46
|
+
LOCAL(int)
|
47
|
+
check_feature (char *buffer, char *feature)
|
48
|
+
{
|
49
|
+
char *p;
|
50
|
+
if (*feature == 0)
|
51
|
+
return 0;
|
52
|
+
if (strncmp(buffer, "cpu", 3) != 0)
|
53
|
+
return 0;
|
54
|
+
buffer += 3;
|
55
|
+
while (isspace(*buffer))
|
56
|
+
buffer++;
|
57
|
+
|
58
|
+
/* Check if 'feature' is present in the buffer as a separate word */
|
59
|
+
while ((p = strstr(buffer, feature))) {
|
60
|
+
if (p > buffer && !isspace(*(p - 1))) {
|
61
|
+
buffer++;
|
62
|
+
continue;
|
63
|
+
}
|
64
|
+
p += strlen(feature);
|
65
|
+
if (*p != 0 && !isspace(*p)) {
|
66
|
+
buffer++;
|
67
|
+
continue;
|
68
|
+
}
|
69
|
+
return 1;
|
70
|
+
}
|
71
|
+
return 0;
|
72
|
+
}
|
73
|
+
|
74
|
+
LOCAL(int)
|
75
|
+
parse_proc_cpuinfo (int bufsize)
|
76
|
+
{
|
77
|
+
char *buffer = (char *)malloc(bufsize);
|
78
|
+
FILE *fd;
|
79
|
+
simd_support = 0;
|
80
|
+
|
81
|
+
if (!buffer)
|
82
|
+
return 0;
|
83
|
+
|
84
|
+
fd = fopen("/proc/cpuinfo", "r");
|
85
|
+
if (fd) {
|
86
|
+
while (fgets(buffer, bufsize, fd)) {
|
87
|
+
if (!strchr(buffer, '\n') && !feof(fd)) {
|
88
|
+
/* "impossible" happened - insufficient size of the buffer! */
|
89
|
+
fclose(fd);
|
90
|
+
free(buffer);
|
91
|
+
return 0;
|
92
|
+
}
|
93
|
+
if (check_feature(buffer, "altivec"))
|
94
|
+
simd_support |= JSIMD_ALTIVEC;
|
95
|
+
}
|
96
|
+
fclose(fd);
|
97
|
+
}
|
98
|
+
free(buffer);
|
99
|
+
return 1;
|
100
|
+
}
|
101
|
+
|
102
|
+
#endif
|
103
|
+
|
104
|
+
/*
|
105
|
+
* Check what SIMD accelerations are supported.
|
106
|
+
*
|
107
|
+
* FIXME: This code is racy under a multi-threaded environment.
|
108
|
+
*/
|
109
|
+
LOCAL(void)
|
110
|
+
init_simd (void)
|
111
|
+
{
|
112
|
+
char *env = NULL;
|
113
|
+
#if !defined(__ALTIVEC__) && (defined(__linux__) || defined(ANDROID) || defined(__ANDROID__))
|
114
|
+
int bufsize = 1024; /* an initial guess for the line buffer size limit */
|
115
|
+
#elif defined(__amigaos4__)
|
116
|
+
uint32 altivec = 0;
|
117
|
+
#elif defined(__OpenBSD__)
|
118
|
+
int mib[2] = { CTL_MACHDEP, CPU_ALTIVEC };
|
119
|
+
int altivec;
|
120
|
+
size_t len = sizeof(altivec);
|
121
|
+
#endif
|
122
|
+
|
123
|
+
if (simd_support != ~0U)
|
124
|
+
return;
|
125
|
+
|
126
|
+
simd_support = 0;
|
127
|
+
|
128
|
+
#if defined(__ALTIVEC__) || defined(__APPLE__)
|
129
|
+
simd_support |= JSIMD_ALTIVEC;
|
130
|
+
#elif defined(__linux__) || defined(ANDROID) || defined(__ANDROID__)
|
131
|
+
while (!parse_proc_cpuinfo(bufsize)) {
|
132
|
+
bufsize *= 2;
|
133
|
+
if (bufsize > SOMEWHAT_SANE_PROC_CPUINFO_SIZE_LIMIT)
|
134
|
+
break;
|
135
|
+
}
|
136
|
+
#elif defined(__amigaos4__)
|
137
|
+
IExec->GetCPUInfoTags(GCIT_VectorUnit, &altivec, TAG_DONE);
|
138
|
+
if(altivec == VECTORTYPE_ALTIVEC)
|
139
|
+
simd_support |= JSIMD_ALTIVEC;
|
140
|
+
#elif defined(__OpenBSD__)
|
141
|
+
if (sysctl(mib, 2, &altivec, &len, NULL, 0) == 0 && altivec != 0)
|
142
|
+
simd_support |= JSIMD_ALTIVEC;
|
143
|
+
#endif
|
144
|
+
|
145
|
+
/* Force different settings through environment variables */
|
146
|
+
env = getenv("JSIMD_FORCEALTIVEC");
|
147
|
+
if ((env != NULL) && (strcmp(env, "1") == 0))
|
148
|
+
simd_support = JSIMD_ALTIVEC;
|
149
|
+
env = getenv("JSIMD_FORCENONE");
|
150
|
+
if ((env != NULL) && (strcmp(env, "1") == 0))
|
151
|
+
simd_support = 0;
|
152
|
+
}
|
153
|
+
|
154
|
+
GLOBAL(int)
|
155
|
+
jsimd_can_rgb_ycc (void)
|
156
|
+
{
|
157
|
+
init_simd();
|
158
|
+
|
159
|
+
/* The code is optimised for these values only */
|
160
|
+
if (BITS_IN_JSAMPLE != 8)
|
161
|
+
return 0;
|
162
|
+
if (sizeof(JDIMENSION) != 4)
|
163
|
+
return 0;
|
164
|
+
if ((RGB_PIXELSIZE != 3) && (RGB_PIXELSIZE != 4))
|
165
|
+
return 0;
|
166
|
+
|
167
|
+
if (simd_support & JSIMD_ALTIVEC)
|
168
|
+
return 1;
|
169
|
+
|
170
|
+
return 0;
|
171
|
+
}
|
172
|
+
|
173
|
+
GLOBAL(int)
|
174
|
+
jsimd_can_rgb_gray (void)
|
175
|
+
{
|
176
|
+
init_simd();
|
177
|
+
|
178
|
+
/* The code is optimised for these values only */
|
179
|
+
if (BITS_IN_JSAMPLE != 8)
|
180
|
+
return 0;
|
181
|
+
if (sizeof(JDIMENSION) != 4)
|
182
|
+
return 0;
|
183
|
+
if ((RGB_PIXELSIZE != 3) && (RGB_PIXELSIZE != 4))
|
184
|
+
return 0;
|
185
|
+
|
186
|
+
if (simd_support & JSIMD_ALTIVEC)
|
187
|
+
return 1;
|
188
|
+
|
189
|
+
return 0;
|
190
|
+
}
|
191
|
+
|
192
|
+
GLOBAL(int)
|
193
|
+
jsimd_can_ycc_rgb (void)
|
194
|
+
{
|
195
|
+
init_simd();
|
196
|
+
|
197
|
+
/* The code is optimised for these values only */
|
198
|
+
if (BITS_IN_JSAMPLE != 8)
|
199
|
+
return 0;
|
200
|
+
if (sizeof(JDIMENSION) != 4)
|
201
|
+
return 0;
|
202
|
+
if ((RGB_PIXELSIZE != 3) && (RGB_PIXELSIZE != 4))
|
203
|
+
return 0;
|
204
|
+
|
205
|
+
if (simd_support & JSIMD_ALTIVEC)
|
206
|
+
return 1;
|
207
|
+
|
208
|
+
return 0;
|
209
|
+
}
|
210
|
+
|
211
|
+
GLOBAL(int)
|
212
|
+
jsimd_can_ycc_rgb565 (void)
|
213
|
+
{
|
214
|
+
return 0;
|
215
|
+
}
|
216
|
+
|
217
|
+
GLOBAL(void)
|
218
|
+
jsimd_rgb_ycc_convert (j_compress_ptr cinfo,
|
219
|
+
JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
|
220
|
+
JDIMENSION output_row, int num_rows)
|
221
|
+
{
|
222
|
+
void (*altivecfct)(JDIMENSION, JSAMPARRAY, JSAMPIMAGE, JDIMENSION, int);
|
223
|
+
|
224
|
+
switch(cinfo->in_color_space) {
|
225
|
+
case JCS_EXT_RGB:
|
226
|
+
altivecfct=jsimd_extrgb_ycc_convert_altivec;
|
227
|
+
break;
|
228
|
+
case JCS_EXT_RGBX:
|
229
|
+
case JCS_EXT_RGBA:
|
230
|
+
altivecfct=jsimd_extrgbx_ycc_convert_altivec;
|
231
|
+
break;
|
232
|
+
case JCS_EXT_BGR:
|
233
|
+
altivecfct=jsimd_extbgr_ycc_convert_altivec;
|
234
|
+
break;
|
235
|
+
case JCS_EXT_BGRX:
|
236
|
+
case JCS_EXT_BGRA:
|
237
|
+
altivecfct=jsimd_extbgrx_ycc_convert_altivec;
|
238
|
+
break;
|
239
|
+
case JCS_EXT_XBGR:
|
240
|
+
case JCS_EXT_ABGR:
|
241
|
+
altivecfct=jsimd_extxbgr_ycc_convert_altivec;
|
242
|
+
break;
|
243
|
+
case JCS_EXT_XRGB:
|
244
|
+
case JCS_EXT_ARGB:
|
245
|
+
altivecfct=jsimd_extxrgb_ycc_convert_altivec;
|
246
|
+
break;
|
247
|
+
default:
|
248
|
+
altivecfct=jsimd_rgb_ycc_convert_altivec;
|
249
|
+
break;
|
250
|
+
}
|
251
|
+
|
252
|
+
altivecfct(cinfo->image_width, input_buf, output_buf, output_row, num_rows);
|
253
|
+
}
|
254
|
+
|
255
|
+
GLOBAL(void)
|
256
|
+
jsimd_rgb_gray_convert (j_compress_ptr cinfo,
|
257
|
+
JSAMPARRAY input_buf, JSAMPIMAGE output_buf,
|
258
|
+
JDIMENSION output_row, int num_rows)
|
259
|
+
{
|
260
|
+
void (*altivecfct)(JDIMENSION, JSAMPARRAY, JSAMPIMAGE, JDIMENSION, int);
|
261
|
+
|
262
|
+
switch(cinfo->in_color_space) {
|
263
|
+
case JCS_EXT_RGB:
|
264
|
+
altivecfct=jsimd_extrgb_gray_convert_altivec;
|
265
|
+
break;
|
266
|
+
case JCS_EXT_RGBX:
|
267
|
+
case JCS_EXT_RGBA:
|
268
|
+
altivecfct=jsimd_extrgbx_gray_convert_altivec;
|
269
|
+
break;
|
270
|
+
case JCS_EXT_BGR:
|
271
|
+
altivecfct=jsimd_extbgr_gray_convert_altivec;
|
272
|
+
break;
|
273
|
+
case JCS_EXT_BGRX:
|
274
|
+
case JCS_EXT_BGRA:
|
275
|
+
altivecfct=jsimd_extbgrx_gray_convert_altivec;
|
276
|
+
break;
|
277
|
+
case JCS_EXT_XBGR:
|
278
|
+
case JCS_EXT_ABGR:
|
279
|
+
altivecfct=jsimd_extxbgr_gray_convert_altivec;
|
280
|
+
break;
|
281
|
+
case JCS_EXT_XRGB:
|
282
|
+
case JCS_EXT_ARGB:
|
283
|
+
altivecfct=jsimd_extxrgb_gray_convert_altivec;
|
284
|
+
break;
|
285
|
+
default:
|
286
|
+
altivecfct=jsimd_rgb_gray_convert_altivec;
|
287
|
+
break;
|
288
|
+
}
|
289
|
+
|
290
|
+
altivecfct(cinfo->image_width, input_buf, output_buf, output_row, num_rows);
|
291
|
+
}
|
292
|
+
|
293
|
+
GLOBAL(void)
|
294
|
+
jsimd_ycc_rgb_convert (j_decompress_ptr cinfo,
|
295
|
+
JSAMPIMAGE input_buf, JDIMENSION input_row,
|
296
|
+
JSAMPARRAY output_buf, int num_rows)
|
297
|
+
{
|
298
|
+
void (*altivecfct)(JDIMENSION, JSAMPIMAGE, JDIMENSION, JSAMPARRAY, int);
|
299
|
+
|
300
|
+
switch(cinfo->out_color_space) {
|
301
|
+
case JCS_EXT_RGB:
|
302
|
+
altivecfct=jsimd_ycc_extrgb_convert_altivec;
|
303
|
+
break;
|
304
|
+
case JCS_EXT_RGBX:
|
305
|
+
case JCS_EXT_RGBA:
|
306
|
+
altivecfct=jsimd_ycc_extrgbx_convert_altivec;
|
307
|
+
break;
|
308
|
+
case JCS_EXT_BGR:
|
309
|
+
altivecfct=jsimd_ycc_extbgr_convert_altivec;
|
310
|
+
break;
|
311
|
+
case JCS_EXT_BGRX:
|
312
|
+
case JCS_EXT_BGRA:
|
313
|
+
altivecfct=jsimd_ycc_extbgrx_convert_altivec;
|
314
|
+
break;
|
315
|
+
case JCS_EXT_XBGR:
|
316
|
+
case JCS_EXT_ABGR:
|
317
|
+
altivecfct=jsimd_ycc_extxbgr_convert_altivec;
|
318
|
+
break;
|
319
|
+
case JCS_EXT_XRGB:
|
320
|
+
case JCS_EXT_ARGB:
|
321
|
+
altivecfct=jsimd_ycc_extxrgb_convert_altivec;
|
322
|
+
break;
|
323
|
+
default:
|
324
|
+
altivecfct=jsimd_ycc_rgb_convert_altivec;
|
325
|
+
break;
|
326
|
+
}
|
327
|
+
|
328
|
+
altivecfct(cinfo->output_width, input_buf, input_row, output_buf, num_rows);
|
329
|
+
}
|
330
|
+
|
331
|
+
GLOBAL(void)
|
332
|
+
jsimd_ycc_rgb565_convert (j_decompress_ptr cinfo,
|
333
|
+
JSAMPIMAGE input_buf, JDIMENSION input_row,
|
334
|
+
JSAMPARRAY output_buf, int num_rows)
|
335
|
+
{
|
336
|
+
}
|
337
|
+
|
338
|
+
GLOBAL(int)
|
339
|
+
jsimd_can_h2v2_downsample (void)
|
340
|
+
{
|
341
|
+
init_simd();
|
342
|
+
|
343
|
+
/* The code is optimised for these values only */
|
344
|
+
if (BITS_IN_JSAMPLE != 8)
|
345
|
+
return 0;
|
346
|
+
if (sizeof(JDIMENSION) != 4)
|
347
|
+
return 0;
|
348
|
+
|
349
|
+
if (simd_support & JSIMD_ALTIVEC)
|
350
|
+
return 1;
|
351
|
+
|
352
|
+
return 0;
|
353
|
+
}
|
354
|
+
|
355
|
+
GLOBAL(int)
|
356
|
+
jsimd_can_h2v1_downsample (void)
|
357
|
+
{
|
358
|
+
init_simd();
|
359
|
+
|
360
|
+
/* The code is optimised for these values only */
|
361
|
+
if (BITS_IN_JSAMPLE != 8)
|
362
|
+
return 0;
|
363
|
+
if (sizeof(JDIMENSION) != 4)
|
364
|
+
return 0;
|
365
|
+
|
366
|
+
if (simd_support & JSIMD_ALTIVEC)
|
367
|
+
return 1;
|
368
|
+
|
369
|
+
return 0;
|
370
|
+
}
|
371
|
+
|
372
|
+
GLOBAL(void)
|
373
|
+
jsimd_h2v2_downsample (j_compress_ptr cinfo, jpeg_component_info *compptr,
|
374
|
+
JSAMPARRAY input_data, JSAMPARRAY output_data)
|
375
|
+
{
|
376
|
+
jsimd_h2v2_downsample_altivec(cinfo->image_width, cinfo->max_v_samp_factor,
|
377
|
+
compptr->v_samp_factor,
|
378
|
+
compptr->width_in_blocks,
|
379
|
+
input_data, output_data);
|
380
|
+
}
|
381
|
+
|
382
|
+
GLOBAL(void)
|
383
|
+
jsimd_h2v1_downsample (j_compress_ptr cinfo, jpeg_component_info *compptr,
|
384
|
+
JSAMPARRAY input_data, JSAMPARRAY output_data)
|
385
|
+
{
|
386
|
+
jsimd_h2v1_downsample_altivec(cinfo->image_width, cinfo->max_v_samp_factor,
|
387
|
+
compptr->v_samp_factor,
|
388
|
+
compptr->width_in_blocks,
|
389
|
+
input_data, output_data);
|
390
|
+
}
|
391
|
+
|
392
|
+
GLOBAL(int)
|
393
|
+
jsimd_can_h2v2_upsample (void)
|
394
|
+
{
|
395
|
+
init_simd();
|
396
|
+
|
397
|
+
/* The code is optimised for these values only */
|
398
|
+
if (BITS_IN_JSAMPLE != 8)
|
399
|
+
return 0;
|
400
|
+
if (sizeof(JDIMENSION) != 4)
|
401
|
+
return 0;
|
402
|
+
|
403
|
+
if (simd_support & JSIMD_ALTIVEC)
|
404
|
+
return 1;
|
405
|
+
|
406
|
+
return 0;
|
407
|
+
}
|
408
|
+
|
409
|
+
GLOBAL(int)
|
410
|
+
jsimd_can_h2v1_upsample (void)
|
411
|
+
{
|
412
|
+
init_simd();
|
413
|
+
|
414
|
+
/* The code is optimised for these values only */
|
415
|
+
if (BITS_IN_JSAMPLE != 8)
|
416
|
+
return 0;
|
417
|
+
if (sizeof(JDIMENSION) != 4)
|
418
|
+
return 0;
|
419
|
+
|
420
|
+
if (simd_support & JSIMD_ALTIVEC)
|
421
|
+
return 1;
|
422
|
+
|
423
|
+
return 0;
|
424
|
+
}
|
425
|
+
|
426
|
+
GLOBAL(void)
|
427
|
+
jsimd_h2v2_upsample (j_decompress_ptr cinfo,
|
428
|
+
jpeg_component_info *compptr,
|
429
|
+
JSAMPARRAY input_data,
|
430
|
+
JSAMPARRAY *output_data_ptr)
|
431
|
+
{
|
432
|
+
jsimd_h2v2_upsample_altivec(cinfo->max_v_samp_factor, cinfo->output_width,
|
433
|
+
input_data, output_data_ptr);
|
434
|
+
}
|
435
|
+
|
436
|
+
GLOBAL(void)
|
437
|
+
jsimd_h2v1_upsample (j_decompress_ptr cinfo,
|
438
|
+
jpeg_component_info *compptr,
|
439
|
+
JSAMPARRAY input_data,
|
440
|
+
JSAMPARRAY *output_data_ptr)
|
441
|
+
{
|
442
|
+
jsimd_h2v1_upsample_altivec(cinfo->max_v_samp_factor, cinfo->output_width,
|
443
|
+
input_data, output_data_ptr);
|
444
|
+
}
|
445
|
+
|
446
|
+
GLOBAL(int)
|
447
|
+
jsimd_can_h2v2_fancy_upsample (void)
|
448
|
+
{
|
449
|
+
init_simd();
|
450
|
+
|
451
|
+
/* The code is optimised for these values only */
|
452
|
+
if (BITS_IN_JSAMPLE != 8)
|
453
|
+
return 0;
|
454
|
+
if (sizeof(JDIMENSION) != 4)
|
455
|
+
return 0;
|
456
|
+
|
457
|
+
if (simd_support & JSIMD_ALTIVEC)
|
458
|
+
return 1;
|
459
|
+
|
460
|
+
return 0;
|
461
|
+
}
|
462
|
+
|
463
|
+
GLOBAL(int)
|
464
|
+
jsimd_can_h2v1_fancy_upsample (void)
|
465
|
+
{
|
466
|
+
init_simd();
|
467
|
+
|
468
|
+
/* The code is optimised for these values only */
|
469
|
+
if (BITS_IN_JSAMPLE != 8)
|
470
|
+
return 0;
|
471
|
+
if (sizeof(JDIMENSION) != 4)
|
472
|
+
return 0;
|
473
|
+
|
474
|
+
if (simd_support & JSIMD_ALTIVEC)
|
475
|
+
return 1;
|
476
|
+
|
477
|
+
return 0;
|
478
|
+
}
|
479
|
+
|
480
|
+
GLOBAL(void)
|
481
|
+
jsimd_h2v2_fancy_upsample (j_decompress_ptr cinfo,
|
482
|
+
jpeg_component_info *compptr,
|
483
|
+
JSAMPARRAY input_data,
|
484
|
+
JSAMPARRAY *output_data_ptr)
|
485
|
+
{
|
486
|
+
jsimd_h2v2_fancy_upsample_altivec(cinfo->max_v_samp_factor,
|
487
|
+
compptr->downsampled_width, input_data,
|
488
|
+
output_data_ptr);
|
489
|
+
}
|
490
|
+
|
491
|
+
GLOBAL(void)
|
492
|
+
jsimd_h2v1_fancy_upsample (j_decompress_ptr cinfo,
|
493
|
+
jpeg_component_info *compptr,
|
494
|
+
JSAMPARRAY input_data,
|
495
|
+
JSAMPARRAY *output_data_ptr)
|
496
|
+
{
|
497
|
+
jsimd_h2v1_fancy_upsample_altivec(cinfo->max_v_samp_factor,
|
498
|
+
compptr->downsampled_width, input_data,
|
499
|
+
output_data_ptr);
|
500
|
+
}
|
501
|
+
|
502
|
+
GLOBAL(int)
|
503
|
+
jsimd_can_h2v2_merged_upsample (void)
|
504
|
+
{
|
505
|
+
init_simd();
|
506
|
+
|
507
|
+
/* The code is optimised for these values only */
|
508
|
+
if (BITS_IN_JSAMPLE != 8)
|
509
|
+
return 0;
|
510
|
+
if (sizeof(JDIMENSION) != 4)
|
511
|
+
return 0;
|
512
|
+
|
513
|
+
if (simd_support & JSIMD_ALTIVEC)
|
514
|
+
return 1;
|
515
|
+
|
516
|
+
return 0;
|
517
|
+
}
|
518
|
+
|
519
|
+
GLOBAL(int)
|
520
|
+
jsimd_can_h2v1_merged_upsample (void)
|
521
|
+
{
|
522
|
+
init_simd();
|
523
|
+
|
524
|
+
/* The code is optimised for these values only */
|
525
|
+
if (BITS_IN_JSAMPLE != 8)
|
526
|
+
return 0;
|
527
|
+
if (sizeof(JDIMENSION) != 4)
|
528
|
+
return 0;
|
529
|
+
|
530
|
+
if (simd_support & JSIMD_ALTIVEC)
|
531
|
+
return 1;
|
532
|
+
|
533
|
+
return 0;
|
534
|
+
}
|
535
|
+
|
536
|
+
GLOBAL(void)
|
537
|
+
jsimd_h2v2_merged_upsample (j_decompress_ptr cinfo,
|
538
|
+
JSAMPIMAGE input_buf,
|
539
|
+
JDIMENSION in_row_group_ctr,
|
540
|
+
JSAMPARRAY output_buf)
|
541
|
+
{
|
542
|
+
void (*altivecfct)(JDIMENSION, JSAMPIMAGE, JDIMENSION, JSAMPARRAY);
|
543
|
+
|
544
|
+
switch(cinfo->out_color_space) {
|
545
|
+
case JCS_EXT_RGB:
|
546
|
+
altivecfct=jsimd_h2v2_extrgb_merged_upsample_altivec;
|
547
|
+
break;
|
548
|
+
case JCS_EXT_RGBX:
|
549
|
+
case JCS_EXT_RGBA:
|
550
|
+
altivecfct=jsimd_h2v2_extrgbx_merged_upsample_altivec;
|
551
|
+
break;
|
552
|
+
case JCS_EXT_BGR:
|
553
|
+
altivecfct=jsimd_h2v2_extbgr_merged_upsample_altivec;
|
554
|
+
break;
|
555
|
+
case JCS_EXT_BGRX:
|
556
|
+
case JCS_EXT_BGRA:
|
557
|
+
altivecfct=jsimd_h2v2_extbgrx_merged_upsample_altivec;
|
558
|
+
break;
|
559
|
+
case JCS_EXT_XBGR:
|
560
|
+
case JCS_EXT_ABGR:
|
561
|
+
altivecfct=jsimd_h2v2_extxbgr_merged_upsample_altivec;
|
562
|
+
break;
|
563
|
+
case JCS_EXT_XRGB:
|
564
|
+
case JCS_EXT_ARGB:
|
565
|
+
altivecfct=jsimd_h2v2_extxrgb_merged_upsample_altivec;
|
566
|
+
break;
|
567
|
+
default:
|
568
|
+
altivecfct=jsimd_h2v2_merged_upsample_altivec;
|
569
|
+
break;
|
570
|
+
}
|
571
|
+
|
572
|
+
altivecfct(cinfo->output_width, input_buf, in_row_group_ctr, output_buf);
|
573
|
+
}
|
574
|
+
|
575
|
+
GLOBAL(void)
|
576
|
+
jsimd_h2v1_merged_upsample (j_decompress_ptr cinfo,
|
577
|
+
JSAMPIMAGE input_buf,
|
578
|
+
JDIMENSION in_row_group_ctr,
|
579
|
+
JSAMPARRAY output_buf)
|
580
|
+
{
|
581
|
+
void (*altivecfct)(JDIMENSION, JSAMPIMAGE, JDIMENSION, JSAMPARRAY);
|
582
|
+
|
583
|
+
switch(cinfo->out_color_space) {
|
584
|
+
case JCS_EXT_RGB:
|
585
|
+
altivecfct=jsimd_h2v1_extrgb_merged_upsample_altivec;
|
586
|
+
break;
|
587
|
+
case JCS_EXT_RGBX:
|
588
|
+
case JCS_EXT_RGBA:
|
589
|
+
altivecfct=jsimd_h2v1_extrgbx_merged_upsample_altivec;
|
590
|
+
break;
|
591
|
+
case JCS_EXT_BGR:
|
592
|
+
altivecfct=jsimd_h2v1_extbgr_merged_upsample_altivec;
|
593
|
+
break;
|
594
|
+
case JCS_EXT_BGRX:
|
595
|
+
case JCS_EXT_BGRA:
|
596
|
+
altivecfct=jsimd_h2v1_extbgrx_merged_upsample_altivec;
|
597
|
+
break;
|
598
|
+
case JCS_EXT_XBGR:
|
599
|
+
case JCS_EXT_ABGR:
|
600
|
+
altivecfct=jsimd_h2v1_extxbgr_merged_upsample_altivec;
|
601
|
+
break;
|
602
|
+
case JCS_EXT_XRGB:
|
603
|
+
case JCS_EXT_ARGB:
|
604
|
+
altivecfct=jsimd_h2v1_extxrgb_merged_upsample_altivec;
|
605
|
+
break;
|
606
|
+
default:
|
607
|
+
altivecfct=jsimd_h2v1_merged_upsample_altivec;
|
608
|
+
break;
|
609
|
+
}
|
610
|
+
|
611
|
+
altivecfct(cinfo->output_width, input_buf, in_row_group_ctr, output_buf);
|
612
|
+
}
|
613
|
+
|
614
|
+
GLOBAL(int)
|
615
|
+
jsimd_can_convsamp (void)
|
616
|
+
{
|
617
|
+
init_simd();
|
618
|
+
|
619
|
+
/* The code is optimised for these values only */
|
620
|
+
if (DCTSIZE != 8)
|
621
|
+
return 0;
|
622
|
+
if (BITS_IN_JSAMPLE != 8)
|
623
|
+
return 0;
|
624
|
+
if (sizeof(JDIMENSION) != 4)
|
625
|
+
return 0;
|
626
|
+
if (sizeof(DCTELEM) != 2)
|
627
|
+
return 0;
|
628
|
+
|
629
|
+
if (simd_support & JSIMD_ALTIVEC)
|
630
|
+
return 1;
|
631
|
+
|
632
|
+
return 0;
|
633
|
+
}
|
634
|
+
|
635
|
+
GLOBAL(int)
|
636
|
+
jsimd_can_convsamp_float (void)
|
637
|
+
{
|
638
|
+
return 0;
|
639
|
+
}
|
640
|
+
|
641
|
+
GLOBAL(void)
|
642
|
+
jsimd_convsamp (JSAMPARRAY sample_data, JDIMENSION start_col,
|
643
|
+
DCTELEM *workspace)
|
644
|
+
{
|
645
|
+
jsimd_convsamp_altivec(sample_data, start_col, workspace);
|
646
|
+
}
|
647
|
+
|
648
|
+
GLOBAL(void)
|
649
|
+
jsimd_convsamp_float (JSAMPARRAY sample_data, JDIMENSION start_col,
|
650
|
+
FAST_FLOAT *workspace)
|
651
|
+
{
|
652
|
+
}
|
653
|
+
|
654
|
+
GLOBAL(int)
|
655
|
+
jsimd_can_fdct_islow (void)
|
656
|
+
{
|
657
|
+
init_simd();
|
658
|
+
|
659
|
+
/* The code is optimised for these values only */
|
660
|
+
if (DCTSIZE != 8)
|
661
|
+
return 0;
|
662
|
+
if (sizeof(DCTELEM) != 2)
|
663
|
+
return 0;
|
664
|
+
|
665
|
+
if (simd_support & JSIMD_ALTIVEC)
|
666
|
+
return 1;
|
667
|
+
|
668
|
+
return 0;
|
669
|
+
}
|
670
|
+
|
671
|
+
GLOBAL(int)
|
672
|
+
jsimd_can_fdct_ifast (void)
|
673
|
+
{
|
674
|
+
init_simd();
|
675
|
+
|
676
|
+
/* The code is optimised for these values only */
|
677
|
+
if (DCTSIZE != 8)
|
678
|
+
return 0;
|
679
|
+
if (sizeof(DCTELEM) != 2)
|
680
|
+
return 0;
|
681
|
+
|
682
|
+
if (simd_support & JSIMD_ALTIVEC)
|
683
|
+
return 1;
|
684
|
+
|
685
|
+
return 0;
|
686
|
+
}
|
687
|
+
|
688
|
+
GLOBAL(int)
|
689
|
+
jsimd_can_fdct_float (void)
|
690
|
+
{
|
691
|
+
return 0;
|
692
|
+
}
|
693
|
+
|
694
|
+
GLOBAL(void)
|
695
|
+
jsimd_fdct_islow (DCTELEM *data)
|
696
|
+
{
|
697
|
+
jsimd_fdct_islow_altivec(data);
|
698
|
+
}
|
699
|
+
|
700
|
+
GLOBAL(void)
|
701
|
+
jsimd_fdct_ifast (DCTELEM *data)
|
702
|
+
{
|
703
|
+
jsimd_fdct_ifast_altivec(data);
|
704
|
+
}
|
705
|
+
|
706
|
+
GLOBAL(void)
|
707
|
+
jsimd_fdct_float (FAST_FLOAT *data)
|
708
|
+
{
|
709
|
+
}
|
710
|
+
|
711
|
+
GLOBAL(int)
|
712
|
+
jsimd_can_quantize (void)
|
713
|
+
{
|
714
|
+
init_simd();
|
715
|
+
|
716
|
+
/* The code is optimised for these values only */
|
717
|
+
if (DCTSIZE != 8)
|
718
|
+
return 0;
|
719
|
+
if (sizeof(JCOEF) != 2)
|
720
|
+
return 0;
|
721
|
+
if (sizeof(DCTELEM) != 2)
|
722
|
+
return 0;
|
723
|
+
|
724
|
+
if (simd_support & JSIMD_ALTIVEC)
|
725
|
+
return 1;
|
726
|
+
|
727
|
+
return 0;
|
728
|
+
}
|
729
|
+
|
730
|
+
GLOBAL(int)
|
731
|
+
jsimd_can_quantize_float (void)
|
732
|
+
{
|
733
|
+
return 0;
|
734
|
+
}
|
735
|
+
|
736
|
+
GLOBAL(void)
|
737
|
+
jsimd_quantize (JCOEFPTR coef_block, DCTELEM *divisors,
|
738
|
+
DCTELEM *workspace)
|
739
|
+
{
|
740
|
+
jsimd_quantize_altivec(coef_block, divisors, workspace);
|
741
|
+
}
|
742
|
+
|
743
|
+
GLOBAL(void)
|
744
|
+
jsimd_quantize_float (JCOEFPTR coef_block, FAST_FLOAT *divisors,
|
745
|
+
FAST_FLOAT *workspace)
|
746
|
+
{
|
747
|
+
}
|
748
|
+
|
749
|
+
GLOBAL(int)
|
750
|
+
jsimd_can_idct_2x2 (void)
|
751
|
+
{
|
752
|
+
return 0;
|
753
|
+
}
|
754
|
+
|
755
|
+
GLOBAL(int)
|
756
|
+
jsimd_can_idct_4x4 (void)
|
757
|
+
{
|
758
|
+
return 0;
|
759
|
+
}
|
760
|
+
|
761
|
+
GLOBAL(void)
|
762
|
+
jsimd_idct_2x2 (j_decompress_ptr cinfo, jpeg_component_info *compptr,
|
763
|
+
JCOEFPTR coef_block, JSAMPARRAY output_buf,
|
764
|
+
JDIMENSION output_col)
|
765
|
+
{
|
766
|
+
}
|
767
|
+
|
768
|
+
GLOBAL(void)
|
769
|
+
jsimd_idct_4x4 (j_decompress_ptr cinfo, jpeg_component_info *compptr,
|
770
|
+
JCOEFPTR coef_block, JSAMPARRAY output_buf,
|
771
|
+
JDIMENSION output_col)
|
772
|
+
{
|
773
|
+
}
|
774
|
+
|
775
|
+
GLOBAL(int)
|
776
|
+
jsimd_can_idct_islow (void)
|
777
|
+
{
|
778
|
+
init_simd();
|
779
|
+
|
780
|
+
/* The code is optimised for these values only */
|
781
|
+
if (DCTSIZE != 8)
|
782
|
+
return 0;
|
783
|
+
if (sizeof(JCOEF) != 2)
|
784
|
+
return 0;
|
785
|
+
|
786
|
+
if (simd_support & JSIMD_ALTIVEC)
|
787
|
+
return 1;
|
788
|
+
|
789
|
+
return 0;
|
790
|
+
}
|
791
|
+
|
792
|
+
GLOBAL(int)
|
793
|
+
jsimd_can_idct_ifast (void)
|
794
|
+
{
|
795
|
+
init_simd();
|
796
|
+
|
797
|
+
/* The code is optimised for these values only */
|
798
|
+
if (DCTSIZE != 8)
|
799
|
+
return 0;
|
800
|
+
if (sizeof(JCOEF) != 2)
|
801
|
+
return 0;
|
802
|
+
|
803
|
+
if (simd_support & JSIMD_ALTIVEC)
|
804
|
+
return 1;
|
805
|
+
|
806
|
+
return 0;
|
807
|
+
}
|
808
|
+
|
809
|
+
GLOBAL(int)
|
810
|
+
jsimd_can_idct_float (void)
|
811
|
+
{
|
812
|
+
return 0;
|
813
|
+
}
|
814
|
+
|
815
|
+
GLOBAL(void)
|
816
|
+
jsimd_idct_islow (j_decompress_ptr cinfo, jpeg_component_info *compptr,
|
817
|
+
JCOEFPTR coef_block, JSAMPARRAY output_buf,
|
818
|
+
JDIMENSION output_col)
|
819
|
+
{
|
820
|
+
jsimd_idct_islow_altivec(compptr->dct_table, coef_block, output_buf,
|
821
|
+
output_col);
|
822
|
+
}
|
823
|
+
|
824
|
+
GLOBAL(void)
|
825
|
+
jsimd_idct_ifast (j_decompress_ptr cinfo, jpeg_component_info *compptr,
|
826
|
+
JCOEFPTR coef_block, JSAMPARRAY output_buf,
|
827
|
+
JDIMENSION output_col)
|
828
|
+
{
|
829
|
+
jsimd_idct_ifast_altivec(compptr->dct_table, coef_block, output_buf,
|
830
|
+
output_col);
|
831
|
+
}
|
832
|
+
|
833
|
+
GLOBAL(void)
|
834
|
+
jsimd_idct_float (j_decompress_ptr cinfo, jpeg_component_info *compptr,
|
835
|
+
JCOEFPTR coef_block, JSAMPARRAY output_buf,
|
836
|
+
JDIMENSION output_col)
|
837
|
+
{
|
838
|
+
}
|
839
|
+
|
840
|
+
GLOBAL(int)
|
841
|
+
jsimd_can_huff_encode_one_block (void)
|
842
|
+
{
|
843
|
+
return 0;
|
844
|
+
}
|
845
|
+
|
846
|
+
GLOBAL(JOCTET*)
|
847
|
+
jsimd_huff_encode_one_block (void *state, JOCTET *buffer, JCOEFPTR block,
|
848
|
+
int last_dc_val, c_derived_tbl *dctbl,
|
849
|
+
c_derived_tbl *actbl)
|
850
|
+
{
|
851
|
+
return NULL;
|
852
|
+
}
|