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,1255 @@
|
|
1
|
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
2
|
+
<!-- NewPage -->
|
3
|
+
<html lang="en">
|
4
|
+
<head>
|
5
|
+
<title>TJDecompressor</title>
|
6
|
+
<link rel="stylesheet" type="text/css" href="../../../stylesheet.css" title="Style">
|
7
|
+
</head>
|
8
|
+
<body>
|
9
|
+
<script type="text/javascript"><!--
|
10
|
+
try {
|
11
|
+
if (location.href.indexOf('is-external=true') == -1) {
|
12
|
+
parent.document.title="TJDecompressor";
|
13
|
+
}
|
14
|
+
}
|
15
|
+
catch(err) {
|
16
|
+
}
|
17
|
+
//-->
|
18
|
+
</script>
|
19
|
+
<noscript>
|
20
|
+
<div>JavaScript is disabled on your browser.</div>
|
21
|
+
</noscript>
|
22
|
+
<!-- ========= START OF TOP NAVBAR ======= -->
|
23
|
+
<div class="topNav"><a name="navbar_top">
|
24
|
+
<!-- -->
|
25
|
+
</a><a href="#skip-navbar_top" title="Skip navigation links"></a><a name="navbar_top_firstrow">
|
26
|
+
<!-- -->
|
27
|
+
</a>
|
28
|
+
<ul class="navList" title="Navigation">
|
29
|
+
<li><a href="../../../org/libjpegturbo/turbojpeg/package-summary.html">Package</a></li>
|
30
|
+
<li class="navBarCell1Rev">Class</li>
|
31
|
+
<li><a href="package-tree.html">Tree</a></li>
|
32
|
+
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
33
|
+
<li><a href="../../../index-all.html">Index</a></li>
|
34
|
+
<li><a href="../../../help-doc.html">Help</a></li>
|
35
|
+
</ul>
|
36
|
+
</div>
|
37
|
+
<div class="subNav">
|
38
|
+
<ul class="navList">
|
39
|
+
<li><a href="../../../org/libjpegturbo/turbojpeg/TJCustomFilter.html" title="interface in org.libjpegturbo.turbojpeg"><span class="strong">Prev Class</span></a></li>
|
40
|
+
<li><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg"><span class="strong">Next Class</span></a></li>
|
41
|
+
</ul>
|
42
|
+
<ul class="navList">
|
43
|
+
<li><a href="../../../index.html?org/libjpegturbo/turbojpeg/TJDecompressor.html" target="_top">Frames</a></li>
|
44
|
+
<li><a href="TJDecompressor.html" target="_top">No Frames</a></li>
|
45
|
+
</ul>
|
46
|
+
<ul class="navList" id="allclasses_navbar_top">
|
47
|
+
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
48
|
+
</ul>
|
49
|
+
<div>
|
50
|
+
<script type="text/javascript"><!--
|
51
|
+
allClassesLink = document.getElementById("allclasses_navbar_top");
|
52
|
+
if(window==top) {
|
53
|
+
allClassesLink.style.display = "block";
|
54
|
+
}
|
55
|
+
else {
|
56
|
+
allClassesLink.style.display = "none";
|
57
|
+
}
|
58
|
+
//-->
|
59
|
+
</script>
|
60
|
+
</div>
|
61
|
+
<div>
|
62
|
+
<ul class="subNavList">
|
63
|
+
<li>Summary: </li>
|
64
|
+
<li>Nested | </li>
|
65
|
+
<li><a href="#field_summary">Field</a> | </li>
|
66
|
+
<li><a href="#constructor_summary">Constr</a> | </li>
|
67
|
+
<li><a href="#method_summary">Method</a></li>
|
68
|
+
</ul>
|
69
|
+
<ul class="subNavList">
|
70
|
+
<li>Detail: </li>
|
71
|
+
<li><a href="#field_detail">Field</a> | </li>
|
72
|
+
<li><a href="#constructor_detail">Constr</a> | </li>
|
73
|
+
<li><a href="#method_detail">Method</a></li>
|
74
|
+
</ul>
|
75
|
+
</div>
|
76
|
+
<a name="skip-navbar_top">
|
77
|
+
<!-- -->
|
78
|
+
</a></div>
|
79
|
+
<!-- ========= END OF TOP NAVBAR ========= -->
|
80
|
+
<!-- ======== START OF CLASS DATA ======== -->
|
81
|
+
<div class="header">
|
82
|
+
<div class="subTitle">org.libjpegturbo.turbojpeg</div>
|
83
|
+
<h2 title="Class TJDecompressor" class="title">Class TJDecompressor</h2>
|
84
|
+
</div>
|
85
|
+
<div class="contentContainer">
|
86
|
+
<ul class="inheritance">
|
87
|
+
<li>java.lang.Object</li>
|
88
|
+
<li>
|
89
|
+
<ul class="inheritance">
|
90
|
+
<li>org.libjpegturbo.turbojpeg.TJDecompressor</li>
|
91
|
+
</ul>
|
92
|
+
</li>
|
93
|
+
</ul>
|
94
|
+
<div class="description">
|
95
|
+
<ul class="blockList">
|
96
|
+
<li class="blockList">
|
97
|
+
<dl>
|
98
|
+
<dt>All Implemented Interfaces:</dt>
|
99
|
+
<dd>java.io.Closeable, java.lang.AutoCloseable</dd>
|
100
|
+
</dl>
|
101
|
+
<dl>
|
102
|
+
<dt>Direct Known Subclasses:</dt>
|
103
|
+
<dd><a href="../../../org/libjpegturbo/turbojpeg/TJTransformer.html" title="class in org.libjpegturbo.turbojpeg">TJTransformer</a></dd>
|
104
|
+
</dl>
|
105
|
+
<hr>
|
106
|
+
<br>
|
107
|
+
<pre>public class <span class="strong">TJDecompressor</span>
|
108
|
+
extends java.lang.Object
|
109
|
+
implements java.io.Closeable</pre>
|
110
|
+
<div class="block">TurboJPEG decompressor</div>
|
111
|
+
</li>
|
112
|
+
</ul>
|
113
|
+
</div>
|
114
|
+
<div class="summary">
|
115
|
+
<ul class="blockList">
|
116
|
+
<li class="blockList">
|
117
|
+
<!-- =========== FIELD SUMMARY =========== -->
|
118
|
+
<ul class="blockList">
|
119
|
+
<li class="blockList"><a name="field_summary">
|
120
|
+
<!-- -->
|
121
|
+
</a>
|
122
|
+
<h3>Field Summary</h3>
|
123
|
+
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
|
124
|
+
<caption><span>Fields</span><span class="tabEnd"> </span></caption>
|
125
|
+
<tr>
|
126
|
+
<th class="colFirst" scope="col">Modifier and Type</th>
|
127
|
+
<th class="colLast" scope="col">Field and Description</th>
|
128
|
+
</tr>
|
129
|
+
<tr class="altColor">
|
130
|
+
<td class="colFirst"><code>protected long</code></td>
|
131
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#handle">handle</a></strong></code> </td>
|
132
|
+
</tr>
|
133
|
+
<tr class="rowColor">
|
134
|
+
<td class="colFirst"><code>protected byte[]</code></td>
|
135
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#jpegBuf">jpegBuf</a></strong></code> </td>
|
136
|
+
</tr>
|
137
|
+
<tr class="altColor">
|
138
|
+
<td class="colFirst"><code>protected int</code></td>
|
139
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#jpegBufSize">jpegBufSize</a></strong></code> </td>
|
140
|
+
</tr>
|
141
|
+
<tr class="rowColor">
|
142
|
+
<td class="colFirst"><code>protected int</code></td>
|
143
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#jpegColorspace">jpegColorspace</a></strong></code> </td>
|
144
|
+
</tr>
|
145
|
+
<tr class="altColor">
|
146
|
+
<td class="colFirst"><code>protected int</code></td>
|
147
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#jpegHeight">jpegHeight</a></strong></code> </td>
|
148
|
+
</tr>
|
149
|
+
<tr class="rowColor">
|
150
|
+
<td class="colFirst"><code>protected int</code></td>
|
151
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#jpegSubsamp">jpegSubsamp</a></strong></code> </td>
|
152
|
+
</tr>
|
153
|
+
<tr class="altColor">
|
154
|
+
<td class="colFirst"><code>protected int</code></td>
|
155
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#jpegWidth">jpegWidth</a></strong></code> </td>
|
156
|
+
</tr>
|
157
|
+
<tr class="rowColor">
|
158
|
+
<td class="colFirst"><code>protected <a href="../../../org/libjpegturbo/turbojpeg/YUVImage.html" title="class in org.libjpegturbo.turbojpeg">YUVImage</a></code></td>
|
159
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#yuvImage">yuvImage</a></strong></code> </td>
|
160
|
+
</tr>
|
161
|
+
</table>
|
162
|
+
</li>
|
163
|
+
</ul>
|
164
|
+
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
165
|
+
<ul class="blockList">
|
166
|
+
<li class="blockList"><a name="constructor_summary">
|
167
|
+
<!-- -->
|
168
|
+
</a>
|
169
|
+
<h3>Constructor Summary</h3>
|
170
|
+
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
|
171
|
+
<caption><span>Constructors</span><span class="tabEnd"> </span></caption>
|
172
|
+
<tr>
|
173
|
+
<th class="colOne" scope="col">Constructor and Description</th>
|
174
|
+
</tr>
|
175
|
+
<tr class="altColor">
|
176
|
+
<td class="colOne"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#TJDecompressor()">TJDecompressor</a></strong>()</code>
|
177
|
+
<div class="block">Create a TurboJPEG decompresssor instance.</div>
|
178
|
+
</td>
|
179
|
+
</tr>
|
180
|
+
<tr class="rowColor">
|
181
|
+
<td class="colOne"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#TJDecompressor(byte[])">TJDecompressor</a></strong>(byte[] jpegImage)</code>
|
182
|
+
<div class="block">Create a TurboJPEG decompressor instance and associate the JPEG source
|
183
|
+
image stored in <code>jpegImage</code> with the newly created instance.</div>
|
184
|
+
</td>
|
185
|
+
</tr>
|
186
|
+
<tr class="altColor">
|
187
|
+
<td class="colOne"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#TJDecompressor(byte[],%20int)">TJDecompressor</a></strong>(byte[] jpegImage,
|
188
|
+
int imageSize)</code>
|
189
|
+
<div class="block">Create a TurboJPEG decompressor instance and associate the JPEG source
|
190
|
+
image of length <code>imageSize</code> bytes stored in
|
191
|
+
<code>jpegImage</code> with the newly created instance.</div>
|
192
|
+
</td>
|
193
|
+
</tr>
|
194
|
+
<tr class="rowColor">
|
195
|
+
<td class="colOne"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#TJDecompressor(org.libjpegturbo.turbojpeg.YUVImage)">TJDecompressor</a></strong>(<a href="../../../org/libjpegturbo/turbojpeg/YUVImage.html" title="class in org.libjpegturbo.turbojpeg">YUVImage</a> yuvImage)</code>
|
196
|
+
<div class="block">Create a TurboJPEG decompressor instance and associate the YUV planar
|
197
|
+
source image stored in <code>yuvImage</code> with the newly created
|
198
|
+
instance.</div>
|
199
|
+
</td>
|
200
|
+
</tr>
|
201
|
+
</table>
|
202
|
+
</li>
|
203
|
+
</ul>
|
204
|
+
<!-- ========== METHOD SUMMARY =========== -->
|
205
|
+
<ul class="blockList">
|
206
|
+
<li class="blockList"><a name="method_summary">
|
207
|
+
<!-- -->
|
208
|
+
</a>
|
209
|
+
<h3>Method Summary</h3>
|
210
|
+
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
|
211
|
+
<caption><span>Methods</span><span class="tabEnd"> </span></caption>
|
212
|
+
<tr>
|
213
|
+
<th class="colFirst" scope="col">Modifier and Type</th>
|
214
|
+
<th class="colLast" scope="col">Method and Description</th>
|
215
|
+
</tr>
|
216
|
+
<tr class="altColor">
|
217
|
+
<td class="colFirst"><code>void</code></td>
|
218
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#close()">close</a></strong>()</code>
|
219
|
+
<div class="block">Free the native structures associated with this decompressor instance.</div>
|
220
|
+
</td>
|
221
|
+
</tr>
|
222
|
+
<tr class="rowColor">
|
223
|
+
<td class="colFirst"><code>void</code></td>
|
224
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(java.awt.image.BufferedImage,%20int)">decompress</a></strong>(java.awt.image.BufferedImage dstImage,
|
225
|
+
int flags)</code>
|
226
|
+
<div class="block">Decompress the JPEG source image or decode the YUV source image associated
|
227
|
+
with this decompressor instance and output a decompressed/decoded image to
|
228
|
+
the given <code>BufferedImage</code> instance.</div>
|
229
|
+
</td>
|
230
|
+
</tr>
|
231
|
+
<tr class="altColor">
|
232
|
+
<td class="colFirst"><code>void</code></td>
|
233
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(byte[],%20int,%20int,%20int,%20int,%20int)">decompress</a></strong>(byte[] dstBuf,
|
234
|
+
int desiredWidth,
|
235
|
+
int pitch,
|
236
|
+
int desiredHeight,
|
237
|
+
int pixelFormat,
|
238
|
+
int flags)</code>
|
239
|
+
<div class="block"><strong>Deprecated.</strong>
|
240
|
+
<div class="block"><i>Use
|
241
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(byte[],%20int,%20int,%20int,%20int,%20int,%20int,%20int)"><code>decompress(byte[], int, int, int, int, int, int, int)</code></a> instead.</i></div>
|
242
|
+
</div>
|
243
|
+
</td>
|
244
|
+
</tr>
|
245
|
+
<tr class="rowColor">
|
246
|
+
<td class="colFirst"><code>void</code></td>
|
247
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(byte[],%20int,%20int,%20int,%20int,%20int,%20int,%20int)">decompress</a></strong>(byte[] dstBuf,
|
248
|
+
int x,
|
249
|
+
int y,
|
250
|
+
int desiredWidth,
|
251
|
+
int pitch,
|
252
|
+
int desiredHeight,
|
253
|
+
int pixelFormat,
|
254
|
+
int flags)</code>
|
255
|
+
<div class="block">Decompress the JPEG source image or decode the YUV source image associated
|
256
|
+
with this decompressor instance and output a grayscale, RGB, or CMYK image
|
257
|
+
to the given destination buffer.</div>
|
258
|
+
</td>
|
259
|
+
</tr>
|
260
|
+
<tr class="altColor">
|
261
|
+
<td class="colFirst"><code>void</code></td>
|
262
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(int[],%20int,%20int,%20int,%20int,%20int,%20int,%20int)">decompress</a></strong>(int[] dstBuf,
|
263
|
+
int x,
|
264
|
+
int y,
|
265
|
+
int desiredWidth,
|
266
|
+
int stride,
|
267
|
+
int desiredHeight,
|
268
|
+
int pixelFormat,
|
269
|
+
int flags)</code>
|
270
|
+
<div class="block">Decompress the JPEG source image or decode the YUV source image associated
|
271
|
+
with this decompressor instance and output a grayscale, RGB, or CMYK image
|
272
|
+
to the given destination buffer.</div>
|
273
|
+
</td>
|
274
|
+
</tr>
|
275
|
+
<tr class="rowColor">
|
276
|
+
<td class="colFirst"><code>java.awt.image.BufferedImage</code></td>
|
277
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(int,%20int,%20int,%20int)">decompress</a></strong>(int desiredWidth,
|
278
|
+
int desiredHeight,
|
279
|
+
int bufferedImageType,
|
280
|
+
int flags)</code>
|
281
|
+
<div class="block">Decompress the JPEG source image or decode the YUV source image associated
|
282
|
+
with this decompressor instance and return a <code>BufferedImage</code>
|
283
|
+
instance containing the decompressed/decoded image.</div>
|
284
|
+
</td>
|
285
|
+
</tr>
|
286
|
+
<tr class="altColor">
|
287
|
+
<td class="colFirst"><code>byte[]</code></td>
|
288
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(int,%20int,%20int,%20int,%20int)">decompress</a></strong>(int desiredWidth,
|
289
|
+
int pitch,
|
290
|
+
int desiredHeight,
|
291
|
+
int pixelFormat,
|
292
|
+
int flags)</code>
|
293
|
+
<div class="block">Decompress the JPEG source image associated with this decompressor
|
294
|
+
instance and return a buffer containing the decompressed image.</div>
|
295
|
+
</td>
|
296
|
+
</tr>
|
297
|
+
<tr class="rowColor">
|
298
|
+
<td class="colFirst"><code>void</code></td>
|
299
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompressToYUV(byte[],%20int)">decompressToYUV</a></strong>(byte[] dstBuf,
|
300
|
+
int flags)</code>
|
301
|
+
<div class="block"><strong>Deprecated.</strong>
|
302
|
+
<div class="block"><i>Use <a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompressToYUV(org.libjpegturbo.turbojpeg.YUVImage,%20int)"><code>decompressToYUV(YUVImage, int)</code></a> instead.</i></div>
|
303
|
+
</div>
|
304
|
+
</td>
|
305
|
+
</tr>
|
306
|
+
<tr class="altColor">
|
307
|
+
<td class="colFirst"><code>byte[]</code></td>
|
308
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompressToYUV(int)">decompressToYUV</a></strong>(int flags)</code>
|
309
|
+
<div class="block"><strong>Deprecated.</strong>
|
310
|
+
<div class="block"><i>Use <a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompressToYUV(int,%20int,%20int,%20int)"><code>decompressToYUV(int, int, int, int)</code></a> instead.</i></div>
|
311
|
+
</div>
|
312
|
+
</td>
|
313
|
+
</tr>
|
314
|
+
<tr class="rowColor">
|
315
|
+
<td class="colFirst"><code><a href="../../../org/libjpegturbo/turbojpeg/YUVImage.html" title="class in org.libjpegturbo.turbojpeg">YUVImage</a></code></td>
|
316
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompressToYUV(int,%20int[],%20int,%20int)">decompressToYUV</a></strong>(int desiredWidth,
|
317
|
+
int[] strides,
|
318
|
+
int desiredHeight,
|
319
|
+
int flags)</code>
|
320
|
+
<div class="block">Decompress the JPEG source image associated with this decompressor
|
321
|
+
instance into a set of Y, U (Cb), and V (Cr) image planes and return a
|
322
|
+
<code>YUVImage</code> instance containing the decompressed image planes.</div>
|
323
|
+
</td>
|
324
|
+
</tr>
|
325
|
+
<tr class="altColor">
|
326
|
+
<td class="colFirst"><code><a href="../../../org/libjpegturbo/turbojpeg/YUVImage.html" title="class in org.libjpegturbo.turbojpeg">YUVImage</a></code></td>
|
327
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompressToYUV(int,%20int,%20int,%20int)">decompressToYUV</a></strong>(int desiredWidth,
|
328
|
+
int pad,
|
329
|
+
int desiredHeight,
|
330
|
+
int flags)</code>
|
331
|
+
<div class="block">Decompress the JPEG source image associated with this decompressor
|
332
|
+
instance into a unified YUV planar image buffer and return a
|
333
|
+
<code>YUVImage</code> instance containing the decompressed image.</div>
|
334
|
+
</td>
|
335
|
+
</tr>
|
336
|
+
<tr class="rowColor">
|
337
|
+
<td class="colFirst"><code>void</code></td>
|
338
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompressToYUV(org.libjpegturbo.turbojpeg.YUVImage,%20int)">decompressToYUV</a></strong>(<a href="../../../org/libjpegturbo/turbojpeg/YUVImage.html" title="class in org.libjpegturbo.turbojpeg">YUVImage</a> dstImage,
|
339
|
+
int flags)</code>
|
340
|
+
<div class="block">Decompress the JPEG source image associated with this decompressor
|
341
|
+
instance into a YUV planar image and store it in the given
|
342
|
+
<code>YUVImage</code> instance.</div>
|
343
|
+
</td>
|
344
|
+
</tr>
|
345
|
+
<tr class="altColor">
|
346
|
+
<td class="colFirst"><code>protected void</code></td>
|
347
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#finalize()">finalize</a></strong>()</code> </td>
|
348
|
+
</tr>
|
349
|
+
<tr class="rowColor">
|
350
|
+
<td class="colFirst"><code>int</code></td>
|
351
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#getColorspace()">getColorspace</a></strong>()</code>
|
352
|
+
<div class="block">Returns the colorspace used in the source image (JPEG or YUV) associated
|
353
|
+
with this decompressor instance.</div>
|
354
|
+
</td>
|
355
|
+
</tr>
|
356
|
+
<tr class="altColor">
|
357
|
+
<td class="colFirst"><code>int</code></td>
|
358
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#getHeight()">getHeight</a></strong>()</code>
|
359
|
+
<div class="block">Returns the height of the source image (JPEG or YUV) associated with this
|
360
|
+
decompressor instance.</div>
|
361
|
+
</td>
|
362
|
+
</tr>
|
363
|
+
<tr class="rowColor">
|
364
|
+
<td class="colFirst"><code>byte[]</code></td>
|
365
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#getJPEGBuf()">getJPEGBuf</a></strong>()</code>
|
366
|
+
<div class="block">Returns the JPEG image buffer associated with this decompressor instance.</div>
|
367
|
+
</td>
|
368
|
+
</tr>
|
369
|
+
<tr class="altColor">
|
370
|
+
<td class="colFirst"><code>int</code></td>
|
371
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#getJPEGSize()">getJPEGSize</a></strong>()</code>
|
372
|
+
<div class="block">Returns the size of the JPEG image (in bytes) associated with this
|
373
|
+
decompressor instance.</div>
|
374
|
+
</td>
|
375
|
+
</tr>
|
376
|
+
<tr class="rowColor">
|
377
|
+
<td class="colFirst"><code>int</code></td>
|
378
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#getScaledHeight(int,%20int)">getScaledHeight</a></strong>(int desiredWidth,
|
379
|
+
int desiredHeight)</code>
|
380
|
+
<div class="block">Returns the height of the largest scaled-down image that the TurboJPEG
|
381
|
+
decompressor can generate without exceeding the desired image width and
|
382
|
+
height.</div>
|
383
|
+
</td>
|
384
|
+
</tr>
|
385
|
+
<tr class="altColor">
|
386
|
+
<td class="colFirst"><code>int</code></td>
|
387
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#getScaledWidth(int,%20int)">getScaledWidth</a></strong>(int desiredWidth,
|
388
|
+
int desiredHeight)</code>
|
389
|
+
<div class="block">Returns the width of the largest scaled-down image that the TurboJPEG
|
390
|
+
decompressor can generate without exceeding the desired image width and
|
391
|
+
height.</div>
|
392
|
+
</td>
|
393
|
+
</tr>
|
394
|
+
<tr class="rowColor">
|
395
|
+
<td class="colFirst"><code>int</code></td>
|
396
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#getSubsamp()">getSubsamp</a></strong>()</code>
|
397
|
+
<div class="block">Returns the level of chrominance subsampling used in the source image
|
398
|
+
(JPEG or YUV) associated with this decompressor instance.</div>
|
399
|
+
</td>
|
400
|
+
</tr>
|
401
|
+
<tr class="altColor">
|
402
|
+
<td class="colFirst"><code>int</code></td>
|
403
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#getWidth()">getWidth</a></strong>()</code>
|
404
|
+
<div class="block">Returns the width of the source image (JPEG or YUV) associated with this
|
405
|
+
decompressor instance.</div>
|
406
|
+
</td>
|
407
|
+
</tr>
|
408
|
+
<tr class="rowColor">
|
409
|
+
<td class="colFirst"><code>void</code></td>
|
410
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#setJPEGImage(byte[],%20int)">setJPEGImage</a></strong>(byte[] jpegImage,
|
411
|
+
int imageSize)</code>
|
412
|
+
<div class="block"><strong>Deprecated.</strong>
|
413
|
+
<div class="block"><i>Use <a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#setSourceImage(byte[],%20int)"><code>setSourceImage(byte[], int)</code></a> instead.</i></div>
|
414
|
+
</div>
|
415
|
+
</td>
|
416
|
+
</tr>
|
417
|
+
<tr class="altColor">
|
418
|
+
<td class="colFirst"><code>void</code></td>
|
419
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#setSourceImage(byte[],%20int)">setSourceImage</a></strong>(byte[] jpegImage,
|
420
|
+
int imageSize)</code>
|
421
|
+
<div class="block">Associate the JPEG image of length <code>imageSize</code> bytes stored in
|
422
|
+
<code>jpegImage</code> with this decompressor instance.</div>
|
423
|
+
</td>
|
424
|
+
</tr>
|
425
|
+
<tr class="rowColor">
|
426
|
+
<td class="colFirst"><code>void</code></td>
|
427
|
+
<td class="colLast"><code><strong><a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#setSourceImage(org.libjpegturbo.turbojpeg.YUVImage)">setSourceImage</a></strong>(<a href="../../../org/libjpegturbo/turbojpeg/YUVImage.html" title="class in org.libjpegturbo.turbojpeg">YUVImage</a> srcImage)</code>
|
428
|
+
<div class="block">Associate the specified YUV planar source image with this decompressor
|
429
|
+
instance.</div>
|
430
|
+
</td>
|
431
|
+
</tr>
|
432
|
+
</table>
|
433
|
+
<ul class="blockList">
|
434
|
+
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
|
435
|
+
<!-- -->
|
436
|
+
</a>
|
437
|
+
<h3>Methods inherited from class java.lang.Object</h3>
|
438
|
+
<code>clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</code></li>
|
439
|
+
</ul>
|
440
|
+
</li>
|
441
|
+
</ul>
|
442
|
+
</li>
|
443
|
+
</ul>
|
444
|
+
</div>
|
445
|
+
<div class="details">
|
446
|
+
<ul class="blockList">
|
447
|
+
<li class="blockList">
|
448
|
+
<!-- ============ FIELD DETAIL =========== -->
|
449
|
+
<ul class="blockList">
|
450
|
+
<li class="blockList"><a name="field_detail">
|
451
|
+
<!-- -->
|
452
|
+
</a>
|
453
|
+
<h3>Field Detail</h3>
|
454
|
+
<a name="handle">
|
455
|
+
<!-- -->
|
456
|
+
</a>
|
457
|
+
<ul class="blockList">
|
458
|
+
<li class="blockList">
|
459
|
+
<h4>handle</h4>
|
460
|
+
<pre>protected long handle</pre>
|
461
|
+
</li>
|
462
|
+
</ul>
|
463
|
+
<a name="jpegBuf">
|
464
|
+
<!-- -->
|
465
|
+
</a>
|
466
|
+
<ul class="blockList">
|
467
|
+
<li class="blockList">
|
468
|
+
<h4>jpegBuf</h4>
|
469
|
+
<pre>protected byte[] jpegBuf</pre>
|
470
|
+
</li>
|
471
|
+
</ul>
|
472
|
+
<a name="jpegBufSize">
|
473
|
+
<!-- -->
|
474
|
+
</a>
|
475
|
+
<ul class="blockList">
|
476
|
+
<li class="blockList">
|
477
|
+
<h4>jpegBufSize</h4>
|
478
|
+
<pre>protected int jpegBufSize</pre>
|
479
|
+
</li>
|
480
|
+
</ul>
|
481
|
+
<a name="yuvImage">
|
482
|
+
<!-- -->
|
483
|
+
</a>
|
484
|
+
<ul class="blockList">
|
485
|
+
<li class="blockList">
|
486
|
+
<h4>yuvImage</h4>
|
487
|
+
<pre>protected <a href="../../../org/libjpegturbo/turbojpeg/YUVImage.html" title="class in org.libjpegturbo.turbojpeg">YUVImage</a> yuvImage</pre>
|
488
|
+
</li>
|
489
|
+
</ul>
|
490
|
+
<a name="jpegWidth">
|
491
|
+
<!-- -->
|
492
|
+
</a>
|
493
|
+
<ul class="blockList">
|
494
|
+
<li class="blockList">
|
495
|
+
<h4>jpegWidth</h4>
|
496
|
+
<pre>protected int jpegWidth</pre>
|
497
|
+
</li>
|
498
|
+
</ul>
|
499
|
+
<a name="jpegHeight">
|
500
|
+
<!-- -->
|
501
|
+
</a>
|
502
|
+
<ul class="blockList">
|
503
|
+
<li class="blockList">
|
504
|
+
<h4>jpegHeight</h4>
|
505
|
+
<pre>protected int jpegHeight</pre>
|
506
|
+
</li>
|
507
|
+
</ul>
|
508
|
+
<a name="jpegSubsamp">
|
509
|
+
<!-- -->
|
510
|
+
</a>
|
511
|
+
<ul class="blockList">
|
512
|
+
<li class="blockList">
|
513
|
+
<h4>jpegSubsamp</h4>
|
514
|
+
<pre>protected int jpegSubsamp</pre>
|
515
|
+
</li>
|
516
|
+
</ul>
|
517
|
+
<a name="jpegColorspace">
|
518
|
+
<!-- -->
|
519
|
+
</a>
|
520
|
+
<ul class="blockListLast">
|
521
|
+
<li class="blockList">
|
522
|
+
<h4>jpegColorspace</h4>
|
523
|
+
<pre>protected int jpegColorspace</pre>
|
524
|
+
</li>
|
525
|
+
</ul>
|
526
|
+
</li>
|
527
|
+
</ul>
|
528
|
+
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
529
|
+
<ul class="blockList">
|
530
|
+
<li class="blockList"><a name="constructor_detail">
|
531
|
+
<!-- -->
|
532
|
+
</a>
|
533
|
+
<h3>Constructor Detail</h3>
|
534
|
+
<a name="TJDecompressor()">
|
535
|
+
<!-- -->
|
536
|
+
</a>
|
537
|
+
<ul class="blockList">
|
538
|
+
<li class="blockList">
|
539
|
+
<h4>TJDecompressor</h4>
|
540
|
+
<pre>public TJDecompressor()
|
541
|
+
throws <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
|
542
|
+
<div class="block">Create a TurboJPEG decompresssor instance.</div>
|
543
|
+
<dl><dt><span class="strong">Throws:</span></dt>
|
544
|
+
<dd><code><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd></dl>
|
545
|
+
</li>
|
546
|
+
</ul>
|
547
|
+
<a name="TJDecompressor(byte[])">
|
548
|
+
<!-- -->
|
549
|
+
</a>
|
550
|
+
<ul class="blockList">
|
551
|
+
<li class="blockList">
|
552
|
+
<h4>TJDecompressor</h4>
|
553
|
+
<pre>public TJDecompressor(byte[] jpegImage)
|
554
|
+
throws <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
|
555
|
+
<div class="block">Create a TurboJPEG decompressor instance and associate the JPEG source
|
556
|
+
image stored in <code>jpegImage</code> with the newly created instance.</div>
|
557
|
+
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jpegImage</code> - JPEG image buffer (size of the JPEG image is assumed to
|
558
|
+
be the length of the array.) This buffer is not modified.</dd>
|
559
|
+
<dt><span class="strong">Throws:</span></dt>
|
560
|
+
<dd><code><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd></dl>
|
561
|
+
</li>
|
562
|
+
</ul>
|
563
|
+
<a name="TJDecompressor(byte[], int)">
|
564
|
+
<!-- -->
|
565
|
+
</a>
|
566
|
+
<ul class="blockList">
|
567
|
+
<li class="blockList">
|
568
|
+
<h4>TJDecompressor</h4>
|
569
|
+
<pre>public TJDecompressor(byte[] jpegImage,
|
570
|
+
int imageSize)
|
571
|
+
throws <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
|
572
|
+
<div class="block">Create a TurboJPEG decompressor instance and associate the JPEG source
|
573
|
+
image of length <code>imageSize</code> bytes stored in
|
574
|
+
<code>jpegImage</code> with the newly created instance.</div>
|
575
|
+
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jpegImage</code> - JPEG image buffer. This buffer is not modified.</dd><dd><code>imageSize</code> - size of the JPEG image (in bytes)</dd>
|
576
|
+
<dt><span class="strong">Throws:</span></dt>
|
577
|
+
<dd><code><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd></dl>
|
578
|
+
</li>
|
579
|
+
</ul>
|
580
|
+
<a name="TJDecompressor(org.libjpegturbo.turbojpeg.YUVImage)">
|
581
|
+
<!-- -->
|
582
|
+
</a>
|
583
|
+
<ul class="blockListLast">
|
584
|
+
<li class="blockList">
|
585
|
+
<h4>TJDecompressor</h4>
|
586
|
+
<pre>public TJDecompressor(<a href="../../../org/libjpegturbo/turbojpeg/YUVImage.html" title="class in org.libjpegturbo.turbojpeg">YUVImage</a> yuvImage)
|
587
|
+
throws <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
|
588
|
+
<div class="block">Create a TurboJPEG decompressor instance and associate the YUV planar
|
589
|
+
source image stored in <code>yuvImage</code> with the newly created
|
590
|
+
instance.</div>
|
591
|
+
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>yuvImage</code> - <a href="../../../org/libjpegturbo/turbojpeg/YUVImage.html" title="class in org.libjpegturbo.turbojpeg"><code>YUVImage</code></a> instance containing a YUV planar
|
592
|
+
image to be decoded. This image is not modified.</dd>
|
593
|
+
<dt><span class="strong">Throws:</span></dt>
|
594
|
+
<dd><code><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd></dl>
|
595
|
+
</li>
|
596
|
+
</ul>
|
597
|
+
</li>
|
598
|
+
</ul>
|
599
|
+
<!-- ============ METHOD DETAIL ========== -->
|
600
|
+
<ul class="blockList">
|
601
|
+
<li class="blockList"><a name="method_detail">
|
602
|
+
<!-- -->
|
603
|
+
</a>
|
604
|
+
<h3>Method Detail</h3>
|
605
|
+
<a name="setSourceImage(byte[], int)">
|
606
|
+
<!-- -->
|
607
|
+
</a>
|
608
|
+
<ul class="blockList">
|
609
|
+
<li class="blockList">
|
610
|
+
<h4>setSourceImage</h4>
|
611
|
+
<pre>public void setSourceImage(byte[] jpegImage,
|
612
|
+
int imageSize)
|
613
|
+
throws <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
|
614
|
+
<div class="block">Associate the JPEG image of length <code>imageSize</code> bytes stored in
|
615
|
+
<code>jpegImage</code> with this decompressor instance. This image will
|
616
|
+
be used as the source image for subsequent decompress operations.</div>
|
617
|
+
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>jpegImage</code> - JPEG image buffer. This buffer is not modified.</dd><dd><code>imageSize</code> - size of the JPEG image (in bytes)</dd>
|
618
|
+
<dt><span class="strong">Throws:</span></dt>
|
619
|
+
<dd><code><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd></dl>
|
620
|
+
</li>
|
621
|
+
</ul>
|
622
|
+
<a name="setJPEGImage(byte[], int)">
|
623
|
+
<!-- -->
|
624
|
+
</a>
|
625
|
+
<ul class="blockList">
|
626
|
+
<li class="blockList">
|
627
|
+
<h4>setJPEGImage</h4>
|
628
|
+
<pre>@Deprecated
|
629
|
+
public void setJPEGImage(byte[] jpegImage,
|
630
|
+
int imageSize)
|
631
|
+
throws <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
|
632
|
+
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#setSourceImage(byte[],%20int)"><code>setSourceImage(byte[], int)</code></a> instead.</i></div>
|
633
|
+
<dl><dt><span class="strong">Throws:</span></dt>
|
634
|
+
<dd><code><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd></dl>
|
635
|
+
</li>
|
636
|
+
</ul>
|
637
|
+
<a name="setSourceImage(org.libjpegturbo.turbojpeg.YUVImage)">
|
638
|
+
<!-- -->
|
639
|
+
</a>
|
640
|
+
<ul class="blockList">
|
641
|
+
<li class="blockList">
|
642
|
+
<h4>setSourceImage</h4>
|
643
|
+
<pre>public void setSourceImage(<a href="../../../org/libjpegturbo/turbojpeg/YUVImage.html" title="class in org.libjpegturbo.turbojpeg">YUVImage</a> srcImage)</pre>
|
644
|
+
<div class="block">Associate the specified YUV planar source image with this decompressor
|
645
|
+
instance. Subsequent decompress operations will decode this image into an
|
646
|
+
RGB or grayscale destination image.</div>
|
647
|
+
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>srcImage</code> - <a href="../../../org/libjpegturbo/turbojpeg/YUVImage.html" title="class in org.libjpegturbo.turbojpeg"><code>YUVImage</code></a> instance containing a YUV planar image to
|
648
|
+
be decoded. This image is not modified.</dd></dl>
|
649
|
+
</li>
|
650
|
+
</ul>
|
651
|
+
<a name="getWidth()">
|
652
|
+
<!-- -->
|
653
|
+
</a>
|
654
|
+
<ul class="blockList">
|
655
|
+
<li class="blockList">
|
656
|
+
<h4>getWidth</h4>
|
657
|
+
<pre>public int getWidth()</pre>
|
658
|
+
<div class="block">Returns the width of the source image (JPEG or YUV) associated with this
|
659
|
+
decompressor instance.</div>
|
660
|
+
<dl><dt><span class="strong">Returns:</span></dt><dd>the width of the source image (JPEG or YUV) associated with this
|
661
|
+
decompressor instance.</dd></dl>
|
662
|
+
</li>
|
663
|
+
</ul>
|
664
|
+
<a name="getHeight()">
|
665
|
+
<!-- -->
|
666
|
+
</a>
|
667
|
+
<ul class="blockList">
|
668
|
+
<li class="blockList">
|
669
|
+
<h4>getHeight</h4>
|
670
|
+
<pre>public int getHeight()</pre>
|
671
|
+
<div class="block">Returns the height of the source image (JPEG or YUV) associated with this
|
672
|
+
decompressor instance.</div>
|
673
|
+
<dl><dt><span class="strong">Returns:</span></dt><dd>the height of the source image (JPEG or YUV) associated with this
|
674
|
+
decompressor instance.</dd></dl>
|
675
|
+
</li>
|
676
|
+
</ul>
|
677
|
+
<a name="getSubsamp()">
|
678
|
+
<!-- -->
|
679
|
+
</a>
|
680
|
+
<ul class="blockList">
|
681
|
+
<li class="blockList">
|
682
|
+
<h4>getSubsamp</h4>
|
683
|
+
<pre>public int getSubsamp()</pre>
|
684
|
+
<div class="block">Returns the level of chrominance subsampling used in the source image
|
685
|
+
(JPEG or YUV) associated with this decompressor instance. See
|
686
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJ.html#SAMP_444"><code>TJ.SAMP_*</code></a>.</div>
|
687
|
+
<dl><dt><span class="strong">Returns:</span></dt><dd>the level of chrominance subsampling used in the source image
|
688
|
+
(JPEG or YUV) associated with this decompressor instance.</dd></dl>
|
689
|
+
</li>
|
690
|
+
</ul>
|
691
|
+
<a name="getColorspace()">
|
692
|
+
<!-- -->
|
693
|
+
</a>
|
694
|
+
<ul class="blockList">
|
695
|
+
<li class="blockList">
|
696
|
+
<h4>getColorspace</h4>
|
697
|
+
<pre>public int getColorspace()</pre>
|
698
|
+
<div class="block">Returns the colorspace used in the source image (JPEG or YUV) associated
|
699
|
+
with this decompressor instance. See <a href="../../../org/libjpegturbo/turbojpeg/TJ.html#CS_RGB"><code>TJ.CS_*</code></a>. If the
|
700
|
+
source image is YUV, then this always returns <a href="../../../org/libjpegturbo/turbojpeg/TJ.html#CS_YCbCr"><code>TJ.CS_YCbCr</code></a>.</div>
|
701
|
+
<dl><dt><span class="strong">Returns:</span></dt><dd>the colorspace used in the source image (JPEG or YUV) associated
|
702
|
+
with this decompressor instance.</dd></dl>
|
703
|
+
</li>
|
704
|
+
</ul>
|
705
|
+
<a name="getJPEGBuf()">
|
706
|
+
<!-- -->
|
707
|
+
</a>
|
708
|
+
<ul class="blockList">
|
709
|
+
<li class="blockList">
|
710
|
+
<h4>getJPEGBuf</h4>
|
711
|
+
<pre>public byte[] getJPEGBuf()</pre>
|
712
|
+
<div class="block">Returns the JPEG image buffer associated with this decompressor instance.</div>
|
713
|
+
<dl><dt><span class="strong">Returns:</span></dt><dd>the JPEG image buffer associated with this decompressor instance.</dd></dl>
|
714
|
+
</li>
|
715
|
+
</ul>
|
716
|
+
<a name="getJPEGSize()">
|
717
|
+
<!-- -->
|
718
|
+
</a>
|
719
|
+
<ul class="blockList">
|
720
|
+
<li class="blockList">
|
721
|
+
<h4>getJPEGSize</h4>
|
722
|
+
<pre>public int getJPEGSize()</pre>
|
723
|
+
<div class="block">Returns the size of the JPEG image (in bytes) associated with this
|
724
|
+
decompressor instance.</div>
|
725
|
+
<dl><dt><span class="strong">Returns:</span></dt><dd>the size of the JPEG image (in bytes) associated with this
|
726
|
+
decompressor instance.</dd></dl>
|
727
|
+
</li>
|
728
|
+
</ul>
|
729
|
+
<a name="getScaledWidth(int, int)">
|
730
|
+
<!-- -->
|
731
|
+
</a>
|
732
|
+
<ul class="blockList">
|
733
|
+
<li class="blockList">
|
734
|
+
<h4>getScaledWidth</h4>
|
735
|
+
<pre>public int getScaledWidth(int desiredWidth,
|
736
|
+
int desiredHeight)</pre>
|
737
|
+
<div class="block">Returns the width of the largest scaled-down image that the TurboJPEG
|
738
|
+
decompressor can generate without exceeding the desired image width and
|
739
|
+
height.</div>
|
740
|
+
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>desiredWidth</code> - desired width (in pixels) of the decompressed image.
|
741
|
+
Setting this to 0 is the same as setting it to the width of the JPEG image
|
742
|
+
(in other words, the width will not be considered when determining the
|
743
|
+
scaled image size.)</dd><dd><code>desiredHeight</code> - desired height (in pixels) of the decompressed image.
|
744
|
+
Setting this to 0 is the same as setting it to the height of the JPEG
|
745
|
+
image (in other words, the height will not be considered when determining
|
746
|
+
the scaled image size.)</dd>
|
747
|
+
<dt><span class="strong">Returns:</span></dt><dd>the width of the largest scaled-down image that the TurboJPEG
|
748
|
+
decompressor can generate without exceeding the desired image width and
|
749
|
+
height.</dd></dl>
|
750
|
+
</li>
|
751
|
+
</ul>
|
752
|
+
<a name="getScaledHeight(int, int)">
|
753
|
+
<!-- -->
|
754
|
+
</a>
|
755
|
+
<ul class="blockList">
|
756
|
+
<li class="blockList">
|
757
|
+
<h4>getScaledHeight</h4>
|
758
|
+
<pre>public int getScaledHeight(int desiredWidth,
|
759
|
+
int desiredHeight)</pre>
|
760
|
+
<div class="block">Returns the height of the largest scaled-down image that the TurboJPEG
|
761
|
+
decompressor can generate without exceeding the desired image width and
|
762
|
+
height.</div>
|
763
|
+
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>desiredWidth</code> - desired width (in pixels) of the decompressed image.
|
764
|
+
Setting this to 0 is the same as setting it to the width of the JPEG image
|
765
|
+
(in other words, the width will not be considered when determining the
|
766
|
+
scaled image size.)</dd><dd><code>desiredHeight</code> - desired height (in pixels) of the decompressed image.
|
767
|
+
Setting this to 0 is the same as setting it to the height of the JPEG
|
768
|
+
image (in other words, the height will not be considered when determining
|
769
|
+
the scaled image size.)</dd>
|
770
|
+
<dt><span class="strong">Returns:</span></dt><dd>the height of the largest scaled-down image that the TurboJPEG
|
771
|
+
decompressor can generate without exceeding the desired image width and
|
772
|
+
height.</dd></dl>
|
773
|
+
</li>
|
774
|
+
</ul>
|
775
|
+
<a name="decompress(byte[], int, int, int, int, int, int, int)">
|
776
|
+
<!-- -->
|
777
|
+
</a>
|
778
|
+
<ul class="blockList">
|
779
|
+
<li class="blockList">
|
780
|
+
<h4>decompress</h4>
|
781
|
+
<pre>public void decompress(byte[] dstBuf,
|
782
|
+
int x,
|
783
|
+
int y,
|
784
|
+
int desiredWidth,
|
785
|
+
int pitch,
|
786
|
+
int desiredHeight,
|
787
|
+
int pixelFormat,
|
788
|
+
int flags)
|
789
|
+
throws <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
|
790
|
+
<div class="block">Decompress the JPEG source image or decode the YUV source image associated
|
791
|
+
with this decompressor instance and output a grayscale, RGB, or CMYK image
|
792
|
+
to the given destination buffer.
|
793
|
+
<p>
|
794
|
+
NOTE: The output image is fully recoverable if this method throws a
|
795
|
+
non-fatal <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg"><code>TJException</code></a> (unless
|
796
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJ.html#FLAG_STOPONWARNING"><code>TJ.FLAG_STOPONWARNING</code></a> is specified.)</div>
|
797
|
+
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dstBuf</code> - buffer that will receive the decompressed/decoded image.
|
798
|
+
If the source image is a JPEG image, then this buffer should normally be
|
799
|
+
<code>pitch * scaledHeight</code> bytes in size, where
|
800
|
+
<code>scaledHeight</code> can be determined by calling <code>
|
801
|
+
scalingFactor.<a href="../../../org/libjpegturbo/turbojpeg/TJScalingFactor.html#getScaled(int)"><code>getScaled</code></a>(jpegHeight)
|
802
|
+
</code> with one of the scaling factors returned from <a href="../../../org/libjpegturbo/turbojpeg/TJ.html#getScalingFactors()"><code>TJ.getScalingFactors()</code></a> or by calling <a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#getScaledHeight(int,%20int)"><code>getScaledHeight(int, int)</code></a>. If the
|
803
|
+
source image is a YUV image, then this buffer should normally be
|
804
|
+
<code>pitch * height</code> bytes in size, where <code>height</code> is
|
805
|
+
the height of the YUV image. However, the buffer may also be larger than
|
806
|
+
the dimensions of the source image, in which case the <code>x</code>,
|
807
|
+
<code>y</code>, and <code>pitch</code> parameters can be used to specify
|
808
|
+
the region into which the source image should be decompressed/decoded.</dd><dd><code>x</code> - x offset (in pixels) of the region in the destination image into
|
809
|
+
which the source image should be decompressed/decoded</dd><dd><code>y</code> - y offset (in pixels) of the region in the destination image into
|
810
|
+
which the source image should be decompressed/decoded</dd><dd><code>desiredWidth</code> - If the source image is a JPEG image, then this
|
811
|
+
specifies the desired width (in pixels) of the decompressed image (or
|
812
|
+
image region.) If the desired destination image dimensions are different
|
813
|
+
than the source image dimensions, then TurboJPEG will use scaling in the
|
814
|
+
JPEG decompressor to generate the largest possible image that will fit
|
815
|
+
within the desired dimensions. Setting this to 0 is the same as setting
|
816
|
+
it to the width of the JPEG image (in other words, the width will not be
|
817
|
+
considered when determining the scaled image size.) This parameter is
|
818
|
+
ignored if the source image is a YUV image.</dd><dd><code>pitch</code> - bytes per line of the destination image. Normally, this
|
819
|
+
should be set to <code>scaledWidth * TJ.pixelSize(pixelFormat)</code> if
|
820
|
+
the destination image is unpadded, but you can use this to, for instance,
|
821
|
+
pad each line of the destination image to a 4-byte boundary or to
|
822
|
+
decompress/decode the source image into a region of a larger image. NOTE:
|
823
|
+
if the source image is a JPEG image, then <code>scaledWidth</code> can be
|
824
|
+
determined by calling <code>
|
825
|
+
scalingFactor.<a href="../../../org/libjpegturbo/turbojpeg/TJScalingFactor.html#getScaled(int)"><code>getScaled</code></a>(jpegWidth)
|
826
|
+
</code> or by calling <a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#getScaledWidth(int,%20int)"><code>getScaledWidth(int, int)</code></a>. If the source image is a
|
827
|
+
YUV image, then <code>scaledWidth</code> is the width of the YUV image.
|
828
|
+
Setting this parameter to 0 is the equivalent of setting it to
|
829
|
+
<code>scaledWidth * TJ.pixelSize(pixelFormat)</code>.</dd><dd><code>desiredHeight</code> - If the source image is a JPEG image, then this
|
830
|
+
specifies the desired height (in pixels) of the decompressed image (or
|
831
|
+
image region.) If the desired destination image dimensions are different
|
832
|
+
than the source image dimensions, then TurboJPEG will use scaling in the
|
833
|
+
JPEG decompressor to generate the largest possible image that will fit
|
834
|
+
within the desired dimensions. Setting this to 0 is the same as setting
|
835
|
+
it to the height of the JPEG image (in other words, the height will not be
|
836
|
+
considered when determining the scaled image size.) This parameter is
|
837
|
+
ignored if the source image is a YUV image.</dd><dd><code>pixelFormat</code> - pixel format of the decompressed/decoded image (one of
|
838
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJ.html#PF_RGB"><code>TJ.PF_*</code></a>)</dd><dd><code>flags</code> - the bitwise OR of one or more of
|
839
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJ.html#FLAG_BOTTOMUP"><code>TJ.FLAG_*</code></a></dd>
|
840
|
+
<dt><span class="strong">Throws:</span></dt>
|
841
|
+
<dd><code><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd></dl>
|
842
|
+
</li>
|
843
|
+
</ul>
|
844
|
+
<a name="decompress(byte[], int, int, int, int, int)">
|
845
|
+
<!-- -->
|
846
|
+
</a>
|
847
|
+
<ul class="blockList">
|
848
|
+
<li class="blockList">
|
849
|
+
<h4>decompress</h4>
|
850
|
+
<pre>@Deprecated
|
851
|
+
public void decompress(byte[] dstBuf,
|
852
|
+
int desiredWidth,
|
853
|
+
int pitch,
|
854
|
+
int desiredHeight,
|
855
|
+
int pixelFormat,
|
856
|
+
int flags)
|
857
|
+
throws <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
|
858
|
+
<div class="block"><span class="strong">Deprecated.</span> <i>Use
|
859
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(byte[],%20int,%20int,%20int,%20int,%20int,%20int,%20int)"><code>decompress(byte[], int, int, int, int, int, int, int)</code></a> instead.</i></div>
|
860
|
+
<dl><dt><span class="strong">Throws:</span></dt>
|
861
|
+
<dd><code><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd></dl>
|
862
|
+
</li>
|
863
|
+
</ul>
|
864
|
+
<a name="decompress(int, int, int, int, int)">
|
865
|
+
<!-- -->
|
866
|
+
</a>
|
867
|
+
<ul class="blockList">
|
868
|
+
<li class="blockList">
|
869
|
+
<h4>decompress</h4>
|
870
|
+
<pre>public byte[] decompress(int desiredWidth,
|
871
|
+
int pitch,
|
872
|
+
int desiredHeight,
|
873
|
+
int pixelFormat,
|
874
|
+
int flags)
|
875
|
+
throws <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
|
876
|
+
<div class="block">Decompress the JPEG source image associated with this decompressor
|
877
|
+
instance and return a buffer containing the decompressed image.</div>
|
878
|
+
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>desiredWidth</code> - see
|
879
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(byte[],%20int,%20int,%20int,%20int,%20int,%20int,%20int)"><code>decompress(byte[], int, int, int, int, int, int, int)</code></a>
|
880
|
+
for description</dd><dd><code>pitch</code> - see
|
881
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(byte[],%20int,%20int,%20int,%20int,%20int,%20int,%20int)"><code>decompress(byte[], int, int, int, int, int, int, int)</code></a>
|
882
|
+
for description</dd><dd><code>desiredHeight</code> - see
|
883
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(byte[],%20int,%20int,%20int,%20int,%20int,%20int,%20int)"><code>decompress(byte[], int, int, int, int, int, int, int)</code></a>
|
884
|
+
for description</dd><dd><code>pixelFormat</code> - pixel format of the decompressed image (one of
|
885
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJ.html#PF_RGB"><code>TJ.PF_*</code></a>)</dd><dd><code>flags</code> - the bitwise OR of one or more of
|
886
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJ.html#FLAG_BOTTOMUP"><code>TJ.FLAG_*</code></a></dd>
|
887
|
+
<dt><span class="strong">Returns:</span></dt><dd>a buffer containing the decompressed image.</dd>
|
888
|
+
<dt><span class="strong">Throws:</span></dt>
|
889
|
+
<dd><code><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd></dl>
|
890
|
+
</li>
|
891
|
+
</ul>
|
892
|
+
<a name="decompressToYUV(org.libjpegturbo.turbojpeg.YUVImage, int)">
|
893
|
+
<!-- -->
|
894
|
+
</a>
|
895
|
+
<ul class="blockList">
|
896
|
+
<li class="blockList">
|
897
|
+
<h4>decompressToYUV</h4>
|
898
|
+
<pre>public void decompressToYUV(<a href="../../../org/libjpegturbo/turbojpeg/YUVImage.html" title="class in org.libjpegturbo.turbojpeg">YUVImage</a> dstImage,
|
899
|
+
int flags)
|
900
|
+
throws <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
|
901
|
+
<div class="block">Decompress the JPEG source image associated with this decompressor
|
902
|
+
instance into a YUV planar image and store it in the given
|
903
|
+
<code>YUVImage</code> instance. This method performs JPEG decompression
|
904
|
+
but leaves out the color conversion step, so a planar YUV image is
|
905
|
+
generated instead of an RGB or grayscale image. This method cannot be
|
906
|
+
used to decompress JPEG source images with the CMYK or YCCK colorspace.
|
907
|
+
<p>
|
908
|
+
NOTE: The YUV planar output image is fully recoverable if this method
|
909
|
+
throws a non-fatal <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg"><code>TJException</code></a> (unless
|
910
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJ.html#FLAG_STOPONWARNING"><code>TJ.FLAG_STOPONWARNING</code></a> is specified.)</div>
|
911
|
+
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dstImage</code> - <a href="../../../org/libjpegturbo/turbojpeg/YUVImage.html" title="class in org.libjpegturbo.turbojpeg"><code>YUVImage</code></a> instance that will receive the YUV planar
|
912
|
+
image. The level of subsampling specified in this <code>YUVImage</code>
|
913
|
+
instance must match that of the JPEG image, and the width and height
|
914
|
+
specified in the <code>YUVImage</code> instance must match one of the
|
915
|
+
scaled image sizes that TurboJPEG is capable of generating from the JPEG
|
916
|
+
source image.</dd><dd><code>flags</code> - the bitwise OR of one or more of
|
917
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJ.html#FLAG_BOTTOMUP"><code>TJ.FLAG_*</code></a></dd>
|
918
|
+
<dt><span class="strong">Throws:</span></dt>
|
919
|
+
<dd><code><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd></dl>
|
920
|
+
</li>
|
921
|
+
</ul>
|
922
|
+
<a name="decompressToYUV(byte[], int)">
|
923
|
+
<!-- -->
|
924
|
+
</a>
|
925
|
+
<ul class="blockList">
|
926
|
+
<li class="blockList">
|
927
|
+
<h4>decompressToYUV</h4>
|
928
|
+
<pre>@Deprecated
|
929
|
+
public void decompressToYUV(byte[] dstBuf,
|
930
|
+
int flags)
|
931
|
+
throws <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
|
932
|
+
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompressToYUV(org.libjpegturbo.turbojpeg.YUVImage,%20int)"><code>decompressToYUV(YUVImage, int)</code></a> instead.</i></div>
|
933
|
+
<dl><dt><span class="strong">Throws:</span></dt>
|
934
|
+
<dd><code><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd></dl>
|
935
|
+
</li>
|
936
|
+
</ul>
|
937
|
+
<a name="decompressToYUV(int, int[], int, int)">
|
938
|
+
<!-- -->
|
939
|
+
</a>
|
940
|
+
<ul class="blockList">
|
941
|
+
<li class="blockList">
|
942
|
+
<h4>decompressToYUV</h4>
|
943
|
+
<pre>public <a href="../../../org/libjpegturbo/turbojpeg/YUVImage.html" title="class in org.libjpegturbo.turbojpeg">YUVImage</a> decompressToYUV(int desiredWidth,
|
944
|
+
int[] strides,
|
945
|
+
int desiredHeight,
|
946
|
+
int flags)
|
947
|
+
throws <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
|
948
|
+
<div class="block">Decompress the JPEG source image associated with this decompressor
|
949
|
+
instance into a set of Y, U (Cb), and V (Cr) image planes and return a
|
950
|
+
<code>YUVImage</code> instance containing the decompressed image planes.
|
951
|
+
This method performs JPEG decompression but leaves out the color
|
952
|
+
conversion step, so a planar YUV image is generated instead of an RGB or
|
953
|
+
grayscale image. This method cannot be used to decompress JPEG source
|
954
|
+
images with the CMYK or YCCK colorspace.</div>
|
955
|
+
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>desiredWidth</code> - desired width (in pixels) of the YUV image. If the
|
956
|
+
desired image dimensions are different than the dimensions of the JPEG
|
957
|
+
image being decompressed, then TurboJPEG will use scaling in the JPEG
|
958
|
+
decompressor to generate the largest possible image that will fit within
|
959
|
+
the desired dimensions. Setting this to 0 is the same as setting it to
|
960
|
+
the width of the JPEG image (in other words, the width will not be
|
961
|
+
considered when determining the scaled image size.)</dd><dd><code>strides</code> - an array of integers, each specifying the number of bytes
|
962
|
+
per line in the corresponding plane of the output image. Setting the
|
963
|
+
stride for any plane to 0 is the same as setting it to the scaled
|
964
|
+
component width of the plane. If <tt>strides</tt> is NULL, then the
|
965
|
+
strides for all planes will be set to their respective scaled component
|
966
|
+
widths. You can adjust the strides in order to add an arbitrary amount of
|
967
|
+
line padding to each plane.</dd><dd><code>desiredHeight</code> - desired height (in pixels) of the YUV image. If the
|
968
|
+
desired image dimensions are different than the dimensions of the JPEG
|
969
|
+
image being decompressed, then TurboJPEG will use scaling in the JPEG
|
970
|
+
decompressor to generate the largest possible image that will fit within
|
971
|
+
the desired dimensions. Setting this to 0 is the same as setting it to
|
972
|
+
the height of the JPEG image (in other words, the height will not be
|
973
|
+
considered when determining the scaled image size.)</dd><dd><code>flags</code> - the bitwise OR of one or more of
|
974
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJ.html#FLAG_BOTTOMUP"><code>TJ.FLAG_*</code></a></dd>
|
975
|
+
<dt><span class="strong">Returns:</span></dt><dd>a YUV planar image.</dd>
|
976
|
+
<dt><span class="strong">Throws:</span></dt>
|
977
|
+
<dd><code><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd></dl>
|
978
|
+
</li>
|
979
|
+
</ul>
|
980
|
+
<a name="decompressToYUV(int, int, int, int)">
|
981
|
+
<!-- -->
|
982
|
+
</a>
|
983
|
+
<ul class="blockList">
|
984
|
+
<li class="blockList">
|
985
|
+
<h4>decompressToYUV</h4>
|
986
|
+
<pre>public <a href="../../../org/libjpegturbo/turbojpeg/YUVImage.html" title="class in org.libjpegturbo.turbojpeg">YUVImage</a> decompressToYUV(int desiredWidth,
|
987
|
+
int pad,
|
988
|
+
int desiredHeight,
|
989
|
+
int flags)
|
990
|
+
throws <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
|
991
|
+
<div class="block">Decompress the JPEG source image associated with this decompressor
|
992
|
+
instance into a unified YUV planar image buffer and return a
|
993
|
+
<code>YUVImage</code> instance containing the decompressed image. This
|
994
|
+
method performs JPEG decompression but leaves out the color conversion
|
995
|
+
step, so a planar YUV image is generated instead of an RGB or grayscale
|
996
|
+
image. This method cannot be used to decompress JPEG source images with
|
997
|
+
the CMYK or YCCK colorspace.</div>
|
998
|
+
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>desiredWidth</code> - desired width (in pixels) of the YUV image. If the
|
999
|
+
desired image dimensions are different than the dimensions of the JPEG
|
1000
|
+
image being decompressed, then TurboJPEG will use scaling in the JPEG
|
1001
|
+
decompressor to generate the largest possible image that will fit within
|
1002
|
+
the desired dimensions. Setting this to 0 is the same as setting it to
|
1003
|
+
the width of the JPEG image (in other words, the width will not be
|
1004
|
+
considered when determining the scaled image size.)</dd><dd><code>pad</code> - the width of each line in each plane of the YUV image will be
|
1005
|
+
padded to the nearest multiple of this number of bytes (must be a power of
|
1006
|
+
2.)</dd><dd><code>desiredHeight</code> - desired height (in pixels) of the YUV image. If the
|
1007
|
+
desired image dimensions are different than the dimensions of the JPEG
|
1008
|
+
image being decompressed, then TurboJPEG will use scaling in the JPEG
|
1009
|
+
decompressor to generate the largest possible image that will fit within
|
1010
|
+
the desired dimensions. Setting this to 0 is the same as setting it to
|
1011
|
+
the height of the JPEG image (in other words, the height will not be
|
1012
|
+
considered when determining the scaled image size.)</dd><dd><code>flags</code> - the bitwise OR of one or more of
|
1013
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJ.html#FLAG_BOTTOMUP"><code>TJ.FLAG_*</code></a></dd>
|
1014
|
+
<dt><span class="strong">Returns:</span></dt><dd>a YUV planar image.</dd>
|
1015
|
+
<dt><span class="strong">Throws:</span></dt>
|
1016
|
+
<dd><code><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd></dl>
|
1017
|
+
</li>
|
1018
|
+
</ul>
|
1019
|
+
<a name="decompressToYUV(int)">
|
1020
|
+
<!-- -->
|
1021
|
+
</a>
|
1022
|
+
<ul class="blockList">
|
1023
|
+
<li class="blockList">
|
1024
|
+
<h4>decompressToYUV</h4>
|
1025
|
+
<pre>@Deprecated
|
1026
|
+
public byte[] decompressToYUV(int flags)
|
1027
|
+
throws <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
|
1028
|
+
<div class="block"><span class="strong">Deprecated.</span> <i>Use <a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompressToYUV(int,%20int,%20int,%20int)"><code>decompressToYUV(int, int, int, int)</code></a> instead.</i></div>
|
1029
|
+
<dl><dt><span class="strong">Throws:</span></dt>
|
1030
|
+
<dd><code><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd></dl>
|
1031
|
+
</li>
|
1032
|
+
</ul>
|
1033
|
+
<a name="decompress(int[], int, int, int, int, int, int, int)">
|
1034
|
+
<!-- -->
|
1035
|
+
</a>
|
1036
|
+
<ul class="blockList">
|
1037
|
+
<li class="blockList">
|
1038
|
+
<h4>decompress</h4>
|
1039
|
+
<pre>public void decompress(int[] dstBuf,
|
1040
|
+
int x,
|
1041
|
+
int y,
|
1042
|
+
int desiredWidth,
|
1043
|
+
int stride,
|
1044
|
+
int desiredHeight,
|
1045
|
+
int pixelFormat,
|
1046
|
+
int flags)
|
1047
|
+
throws <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
|
1048
|
+
<div class="block">Decompress the JPEG source image or decode the YUV source image associated
|
1049
|
+
with this decompressor instance and output a grayscale, RGB, or CMYK image
|
1050
|
+
to the given destination buffer.
|
1051
|
+
<p>
|
1052
|
+
NOTE: The output image is fully recoverable if this method throws a
|
1053
|
+
non-fatal <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg"><code>TJException</code></a> (unless
|
1054
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJ.html#FLAG_STOPONWARNING"><code>TJ.FLAG_STOPONWARNING</code></a> is specified.)</div>
|
1055
|
+
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dstBuf</code> - buffer that will receive the decompressed/decoded image.
|
1056
|
+
If the source image is a JPEG image, then this buffer should normally be
|
1057
|
+
<code>stride * scaledHeight</code> pixels in size, where
|
1058
|
+
<code>scaledHeight</code> can be determined by calling <code>
|
1059
|
+
scalingFactor.<a href="../../../org/libjpegturbo/turbojpeg/TJScalingFactor.html#getScaled(int)"><code>getScaled</code></a>(jpegHeight)
|
1060
|
+
</code> with one of the scaling factors returned from <a href="../../../org/libjpegturbo/turbojpeg/TJ.html#getScalingFactors()"><code>TJ.getScalingFactors()</code></a> or by calling <a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#getScaledHeight(int,%20int)"><code>getScaledHeight(int, int)</code></a>. If the
|
1061
|
+
source image is a YUV image, then this buffer should normally be
|
1062
|
+
<code>stride * height</code> pixels in size, where <code>height</code> is
|
1063
|
+
the height of the YUV image. However, the buffer may also be larger than
|
1064
|
+
the dimensions of the JPEG image, in which case the <code>x</code>,
|
1065
|
+
<code>y</code>, and <code>stride</code> parameters can be used to specify
|
1066
|
+
the region into which the source image should be decompressed.</dd><dd><code>x</code> - x offset (in pixels) of the region in the destination image into
|
1067
|
+
which the source image should be decompressed/decoded</dd><dd><code>y</code> - y offset (in pixels) of the region in the destination image into
|
1068
|
+
which the source image should be decompressed/decoded</dd><dd><code>desiredWidth</code> - If the source image is a JPEG image, then this
|
1069
|
+
specifies the desired width (in pixels) of the decompressed image (or
|
1070
|
+
image region.) If the desired destination image dimensions are different
|
1071
|
+
than the source image dimensions, then TurboJPEG will use scaling in the
|
1072
|
+
JPEG decompressor to generate the largest possible image that will fit
|
1073
|
+
within the desired dimensions. Setting this to 0 is the same as setting
|
1074
|
+
it to the width of the JPEG image (in other words, the width will not be
|
1075
|
+
considered when determining the scaled image size.) This parameter is
|
1076
|
+
ignored if the source image is a YUV image.</dd><dd><code>stride</code> - pixels per line of the destination image. Normally, this
|
1077
|
+
should be set to <code>scaledWidth</code>, but you can use this to, for
|
1078
|
+
instance, decompress the JPEG image into a region of a larger image.
|
1079
|
+
NOTE: if the source image is a JPEG image, then <code>scaledWidth</code>
|
1080
|
+
can be determined by calling <code>
|
1081
|
+
scalingFactor.<a href="../../../org/libjpegturbo/turbojpeg/TJScalingFactor.html#getScaled(int)"><code>getScaled</code></a>(jpegWidth)
|
1082
|
+
</code> or by calling <a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#getScaledWidth(int,%20int)"><code>getScaledWidth(int, int)</code></a>. If the source image is a
|
1083
|
+
YUV image, then <code>scaledWidth</code> is the width of the YUV image.
|
1084
|
+
Setting this parameter to 0 is the equivalent of setting it to
|
1085
|
+
<code>scaledWidth</code>.</dd><dd><code>desiredHeight</code> - If the source image is a JPEG image, then this
|
1086
|
+
specifies the desired height (in pixels) of the decompressed image (or
|
1087
|
+
image region.) If the desired destination image dimensions are different
|
1088
|
+
than the source image dimensions, then TurboJPEG will use scaling in the
|
1089
|
+
JPEG decompressor to generate the largest possible image that will fit
|
1090
|
+
within the desired dimensions. Setting this to 0 is the same as setting
|
1091
|
+
it to the height of the JPEG image (in other words, the height will not be
|
1092
|
+
considered when determining the scaled image size.) This parameter is
|
1093
|
+
ignored if the source image is a YUV image.</dd><dd><code>pixelFormat</code> - pixel format of the decompressed image (one of
|
1094
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJ.html#PF_RGB"><code>TJ.PF_*</code></a>)</dd><dd><code>flags</code> - the bitwise OR of one or more of
|
1095
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJ.html#FLAG_BOTTOMUP"><code>TJ.FLAG_*</code></a></dd>
|
1096
|
+
<dt><span class="strong">Throws:</span></dt>
|
1097
|
+
<dd><code><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd></dl>
|
1098
|
+
</li>
|
1099
|
+
</ul>
|
1100
|
+
<a name="decompress(java.awt.image.BufferedImage, int)">
|
1101
|
+
<!-- -->
|
1102
|
+
</a>
|
1103
|
+
<ul class="blockList">
|
1104
|
+
<li class="blockList">
|
1105
|
+
<h4>decompress</h4>
|
1106
|
+
<pre>public void decompress(java.awt.image.BufferedImage dstImage,
|
1107
|
+
int flags)
|
1108
|
+
throws <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
|
1109
|
+
<div class="block">Decompress the JPEG source image or decode the YUV source image associated
|
1110
|
+
with this decompressor instance and output a decompressed/decoded image to
|
1111
|
+
the given <code>BufferedImage</code> instance.
|
1112
|
+
<p>
|
1113
|
+
NOTE: The output image is fully recoverable if this method throws a
|
1114
|
+
non-fatal <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg"><code>TJException</code></a> (unless
|
1115
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJ.html#FLAG_STOPONWARNING"><code>TJ.FLAG_STOPONWARNING</code></a> is specified.)</div>
|
1116
|
+
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>dstImage</code> - a <code>BufferedImage</code> instance that will receive
|
1117
|
+
the decompressed/decoded image. If the source image is a JPEG image, then
|
1118
|
+
the width and height of the <code>BufferedImage</code> instance must match
|
1119
|
+
one of the scaled image sizes that TurboJPEG is capable of generating from
|
1120
|
+
the JPEG image. If the source image is a YUV image, then the width and
|
1121
|
+
height of the <code>BufferedImage</code> instance must match the width and
|
1122
|
+
height of the YUV image.</dd><dd><code>flags</code> - the bitwise OR of one or more of
|
1123
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJ.html#FLAG_BOTTOMUP"><code>TJ.FLAG_*</code></a></dd>
|
1124
|
+
<dt><span class="strong">Throws:</span></dt>
|
1125
|
+
<dd><code><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd></dl>
|
1126
|
+
</li>
|
1127
|
+
</ul>
|
1128
|
+
<a name="decompress(int, int, int, int)">
|
1129
|
+
<!-- -->
|
1130
|
+
</a>
|
1131
|
+
<ul class="blockList">
|
1132
|
+
<li class="blockList">
|
1133
|
+
<h4>decompress</h4>
|
1134
|
+
<pre>public java.awt.image.BufferedImage decompress(int desiredWidth,
|
1135
|
+
int desiredHeight,
|
1136
|
+
int bufferedImageType,
|
1137
|
+
int flags)
|
1138
|
+
throws <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
|
1139
|
+
<div class="block">Decompress the JPEG source image or decode the YUV source image associated
|
1140
|
+
with this decompressor instance and return a <code>BufferedImage</code>
|
1141
|
+
instance containing the decompressed/decoded image.</div>
|
1142
|
+
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>desiredWidth</code> - see
|
1143
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(byte[],%20int,%20int,%20int,%20int,%20int,%20int,%20int)"><code>decompress(byte[], int, int, int, int, int, int, int)</code></a> for
|
1144
|
+
description</dd><dd><code>desiredHeight</code> - see
|
1145
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJDecompressor.html#decompress(byte[],%20int,%20int,%20int,%20int,%20int,%20int,%20int)"><code>decompress(byte[], int, int, int, int, int, int, int)</code></a> for
|
1146
|
+
description</dd><dd><code>bufferedImageType</code> - the image type of the <code>BufferedImage</code>
|
1147
|
+
instance that will be created (for instance,
|
1148
|
+
<code>BufferedImage.TYPE_INT_RGB</code>)</dd><dd><code>flags</code> - the bitwise OR of one or more of
|
1149
|
+
<a href="../../../org/libjpegturbo/turbojpeg/TJ.html#FLAG_BOTTOMUP"><code>TJ.FLAG_*</code></a></dd>
|
1150
|
+
<dt><span class="strong">Returns:</span></dt><dd>a <code>BufferedImage</code> instance containing the
|
1151
|
+
decompressed/decoded image.</dd>
|
1152
|
+
<dt><span class="strong">Throws:</span></dt>
|
1153
|
+
<dd><code><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd></dl>
|
1154
|
+
</li>
|
1155
|
+
</ul>
|
1156
|
+
<a name="close()">
|
1157
|
+
<!-- -->
|
1158
|
+
</a>
|
1159
|
+
<ul class="blockList">
|
1160
|
+
<li class="blockList">
|
1161
|
+
<h4>close</h4>
|
1162
|
+
<pre>public void close()
|
1163
|
+
throws <a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></pre>
|
1164
|
+
<div class="block">Free the native structures associated with this decompressor instance.</div>
|
1165
|
+
<dl>
|
1166
|
+
<dt><strong>Specified by:</strong></dt>
|
1167
|
+
<dd><code>close</code> in interface <code>java.io.Closeable</code></dd>
|
1168
|
+
<dt><strong>Specified by:</strong></dt>
|
1169
|
+
<dd><code>close</code> in interface <code>java.lang.AutoCloseable</code></dd>
|
1170
|
+
<dt><span class="strong">Throws:</span></dt>
|
1171
|
+
<dd><code><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg">TJException</a></code></dd></dl>
|
1172
|
+
</li>
|
1173
|
+
</ul>
|
1174
|
+
<a name="finalize()">
|
1175
|
+
<!-- -->
|
1176
|
+
</a>
|
1177
|
+
<ul class="blockListLast">
|
1178
|
+
<li class="blockList">
|
1179
|
+
<h4>finalize</h4>
|
1180
|
+
<pre>protected void finalize()
|
1181
|
+
throws java.lang.Throwable</pre>
|
1182
|
+
<dl>
|
1183
|
+
<dt><strong>Overrides:</strong></dt>
|
1184
|
+
<dd><code>finalize</code> in class <code>java.lang.Object</code></dd>
|
1185
|
+
<dt><span class="strong">Throws:</span></dt>
|
1186
|
+
<dd><code>java.lang.Throwable</code></dd></dl>
|
1187
|
+
</li>
|
1188
|
+
</ul>
|
1189
|
+
</li>
|
1190
|
+
</ul>
|
1191
|
+
</li>
|
1192
|
+
</ul>
|
1193
|
+
</div>
|
1194
|
+
</div>
|
1195
|
+
<!-- ========= END OF CLASS DATA ========= -->
|
1196
|
+
<!-- ======= START OF BOTTOM NAVBAR ====== -->
|
1197
|
+
<div class="bottomNav"><a name="navbar_bottom">
|
1198
|
+
<!-- -->
|
1199
|
+
</a><a href="#skip-navbar_bottom" title="Skip navigation links"></a><a name="navbar_bottom_firstrow">
|
1200
|
+
<!-- -->
|
1201
|
+
</a>
|
1202
|
+
<ul class="navList" title="Navigation">
|
1203
|
+
<li><a href="../../../org/libjpegturbo/turbojpeg/package-summary.html">Package</a></li>
|
1204
|
+
<li class="navBarCell1Rev">Class</li>
|
1205
|
+
<li><a href="package-tree.html">Tree</a></li>
|
1206
|
+
<li><a href="../../../deprecated-list.html">Deprecated</a></li>
|
1207
|
+
<li><a href="../../../index-all.html">Index</a></li>
|
1208
|
+
<li><a href="../../../help-doc.html">Help</a></li>
|
1209
|
+
</ul>
|
1210
|
+
</div>
|
1211
|
+
<div class="subNav">
|
1212
|
+
<ul class="navList">
|
1213
|
+
<li><a href="../../../org/libjpegturbo/turbojpeg/TJCustomFilter.html" title="interface in org.libjpegturbo.turbojpeg"><span class="strong">Prev Class</span></a></li>
|
1214
|
+
<li><a href="../../../org/libjpegturbo/turbojpeg/TJException.html" title="class in org.libjpegturbo.turbojpeg"><span class="strong">Next Class</span></a></li>
|
1215
|
+
</ul>
|
1216
|
+
<ul class="navList">
|
1217
|
+
<li><a href="../../../index.html?org/libjpegturbo/turbojpeg/TJDecompressor.html" target="_top">Frames</a></li>
|
1218
|
+
<li><a href="TJDecompressor.html" target="_top">No Frames</a></li>
|
1219
|
+
</ul>
|
1220
|
+
<ul class="navList" id="allclasses_navbar_bottom">
|
1221
|
+
<li><a href="../../../allclasses-noframe.html">All Classes</a></li>
|
1222
|
+
</ul>
|
1223
|
+
<div>
|
1224
|
+
<script type="text/javascript"><!--
|
1225
|
+
allClassesLink = document.getElementById("allclasses_navbar_bottom");
|
1226
|
+
if(window==top) {
|
1227
|
+
allClassesLink.style.display = "block";
|
1228
|
+
}
|
1229
|
+
else {
|
1230
|
+
allClassesLink.style.display = "none";
|
1231
|
+
}
|
1232
|
+
//-->
|
1233
|
+
</script>
|
1234
|
+
</div>
|
1235
|
+
<div>
|
1236
|
+
<ul class="subNavList">
|
1237
|
+
<li>Summary: </li>
|
1238
|
+
<li>Nested | </li>
|
1239
|
+
<li><a href="#field_summary">Field</a> | </li>
|
1240
|
+
<li><a href="#constructor_summary">Constr</a> | </li>
|
1241
|
+
<li><a href="#method_summary">Method</a></li>
|
1242
|
+
</ul>
|
1243
|
+
<ul class="subNavList">
|
1244
|
+
<li>Detail: </li>
|
1245
|
+
<li><a href="#field_detail">Field</a> | </li>
|
1246
|
+
<li><a href="#constructor_detail">Constr</a> | </li>
|
1247
|
+
<li><a href="#method_detail">Method</a></li>
|
1248
|
+
</ul>
|
1249
|
+
</div>
|
1250
|
+
<a name="skip-navbar_bottom">
|
1251
|
+
<!-- -->
|
1252
|
+
</a></div>
|
1253
|
+
<!-- ======== END OF BOTTOM NAVBAR ======= -->
|
1254
|
+
</body>
|
1255
|
+
</html>
|