pyjpegio 0.3.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (513) hide show
  1. pyjpegio-0.3.0/LICENSE +201 -0
  2. pyjpegio-0.3.0/MANIFEST.in +22 -0
  3. pyjpegio-0.3.0/NOTICE +26 -0
  4. pyjpegio-0.3.0/PKG-INFO +206 -0
  5. pyjpegio-0.3.0/README.md +172 -0
  6. pyjpegio-0.3.0/RELEASE.md +60 -0
  7. pyjpegio-0.3.0/pyproject.toml +88 -0
  8. pyjpegio-0.3.0/requirements.txt +3 -0
  9. pyjpegio-0.3.0/requirements_dev.txt +3 -0
  10. pyjpegio-0.3.0/setup.cfg +4 -0
  11. pyjpegio-0.3.0/setup.py +196 -0
  12. pyjpegio-0.3.0/src/jpegio/__init__.py +41 -0
  13. pyjpegio-0.3.0/src/jpegio/_backend/jstruct.cpp +719 -0
  14. pyjpegio-0.3.0/src/jpegio/_backend/jstruct.h +100 -0
  15. pyjpegio-0.3.0/src/jpegio/_backend/mat2D.h +394 -0
  16. pyjpegio-0.3.0/src/jpegio/_capi/componentinfo.cpp +89 -0
  17. pyjpegio-0.3.0/src/jpegio/_capi/decompressedjpeg.cpp +703 -0
  18. pyjpegio-0.3.0/src/jpegio/clibjpeg.pxd +6 -0
  19. pyjpegio-0.3.0/src/jpegio/componentinfo.pxd +16 -0
  20. pyjpegio-0.3.0/src/jpegio/componentinfo.pyx +16 -0
  21. pyjpegio-0.3.0/src/jpegio/decompressedjpeg.pxd +46 -0
  22. pyjpegio-0.3.0/src/jpegio/decompressedjpeg.pyx +393 -0
  23. pyjpegio-0.3.0/src/jpegio/flags.py +14 -0
  24. pyjpegio-0.3.0/src/jpegio/io.py +34 -0
  25. pyjpegio-0.3.0/src/jpegio/jstruct.pxd +87 -0
  26. pyjpegio-0.3.0/src/jpegio/tools.py +126 -0
  27. pyjpegio-0.3.0/src/pyjpegio.egg-info/PKG-INFO +206 -0
  28. pyjpegio-0.3.0/src/pyjpegio.egg-info/SOURCES.txt +511 -0
  29. pyjpegio-0.3.0/src/pyjpegio.egg-info/dependency_links.txt +1 -0
  30. pyjpegio-0.3.0/src/pyjpegio.egg-info/not-zip-safe +1 -0
  31. pyjpegio-0.3.0/src/pyjpegio.egg-info/requires.txt +1 -0
  32. pyjpegio-0.3.0/src/pyjpegio.egg-info/top_level.txt +1 -0
  33. pyjpegio-0.3.0/tests/test_coefficients.py +211 -0
  34. pyjpegio-0.3.0/tests/test_decompressedjpeg.py +269 -0
  35. pyjpegio-0.3.0/tests/test_steg.py +124 -0
  36. pyjpegio-0.3.0/tests/test_stegoappdb.py +38 -0
  37. pyjpegio-0.3.0/third_party/libjpeg-turbo/BUILDING.md +705 -0
  38. pyjpegio-0.3.0/third_party/libjpeg-turbo/CMakeLists.txt +2076 -0
  39. pyjpegio-0.3.0/third_party/libjpeg-turbo/ChangeLog.md +2740 -0
  40. pyjpegio-0.3.0/third_party/libjpeg-turbo/LICENSE.md +147 -0
  41. pyjpegio-0.3.0/third_party/libjpeg-turbo/README.ijg +260 -0
  42. pyjpegio-0.3.0/third_party/libjpeg-turbo/README.md +375 -0
  43. pyjpegio-0.3.0/third_party/libjpeg-turbo/cmakescripts/BuildPackages.cmake +190 -0
  44. pyjpegio-0.3.0/third_party/libjpeg-turbo/cmakescripts/GNUInstallDirs.cmake +424 -0
  45. pyjpegio-0.3.0/third_party/libjpeg-turbo/cmakescripts/GenerateWrappers.cmake +37 -0
  46. pyjpegio-0.3.0/third_party/libjpeg-turbo/cmakescripts/PackageInfo.cmake +13 -0
  47. pyjpegio-0.3.0/third_party/libjpeg-turbo/cmakescripts/cmake_uninstall.cmake.in +24 -0
  48. pyjpegio-0.3.0/third_party/libjpeg-turbo/cmakescripts/testclean.cmake +64 -0
  49. pyjpegio-0.3.0/third_party/libjpeg-turbo/cmakescripts/tjbenchtest.cmake +70 -0
  50. pyjpegio-0.3.0/third_party/libjpeg-turbo/cmakescripts/tjexampletest.cmake +22 -0
  51. pyjpegio-0.3.0/third_party/libjpeg-turbo/release/Config.cmake.in +4 -0
  52. pyjpegio-0.3.0/third_party/libjpeg-turbo/release/Distribution.xml.in +24 -0
  53. pyjpegio-0.3.0/third_party/libjpeg-turbo/release/License.rtf +20 -0
  54. pyjpegio-0.3.0/third_party/libjpeg-turbo/release/ReadMe.txt +5 -0
  55. pyjpegio-0.3.0/third_party/libjpeg-turbo/release/Welcome.rtf.in +17 -0
  56. pyjpegio-0.3.0/third_party/libjpeg-turbo/release/deb-control.in +31 -0
  57. pyjpegio-0.3.0/third_party/libjpeg-turbo/release/installer.nsi.in +214 -0
  58. pyjpegio-0.3.0/third_party/libjpeg-turbo/release/libjpeg.pc.in +10 -0
  59. pyjpegio-0.3.0/third_party/libjpeg-turbo/release/libturbojpeg.pc.in +10 -0
  60. pyjpegio-0.3.0/third_party/libjpeg-turbo/release/makedpkg.in +124 -0
  61. pyjpegio-0.3.0/third_party/libjpeg-turbo/release/makemacpkg.in +188 -0
  62. pyjpegio-0.3.0/third_party/libjpeg-turbo/release/makerpm.in +30 -0
  63. pyjpegio-0.3.0/third_party/libjpeg-turbo/release/makesrpm.in +48 -0
  64. pyjpegio-0.3.0/third_party/libjpeg-turbo/release/maketarball.in +51 -0
  65. pyjpegio-0.3.0/third_party/libjpeg-turbo/release/rpm.spec.in +240 -0
  66. pyjpegio-0.3.0/third_party/libjpeg-turbo/release/uninstall.in +120 -0
  67. pyjpegio-0.3.0/third_party/libjpeg-turbo/sharedlib/CMakeLists.txt +179 -0
  68. pyjpegio-0.3.0/third_party/libjpeg-turbo/sharedlib/spng/CMakeLists.txt +29 -0
  69. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/CMakeLists.txt +571 -0
  70. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/README.md +198 -0
  71. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/aarch32/jccolext-neon.c +149 -0
  72. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/aarch32/jchuff-neon.c +330 -0
  73. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/aarch32/jsimdcpu.c +137 -0
  74. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/aarch64/jccolext-neon.c +318 -0
  75. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/aarch64/jchuff-neon.c +406 -0
  76. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/aarch64/jsimdcpu.c +34 -0
  77. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/align.h +28 -0
  78. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/jccolor-neon.c +152 -0
  79. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/jcgray-neon.c +114 -0
  80. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/jcgryext-neon.c +108 -0
  81. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/jchuff.h +131 -0
  82. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/jcphuff-neon.c +619 -0
  83. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/jcsample-neon.c +196 -0
  84. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/jdcolext-neon.c +375 -0
  85. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/jdcolor-neon.c +135 -0
  86. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/jdmerge-neon.c +138 -0
  87. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/jdmrgext-neon.c +723 -0
  88. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/jdsample-neon.c +563 -0
  89. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/jfdctfst-neon.c +209 -0
  90. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/jfdctint-neon.c +369 -0
  91. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/jidctfst-neon.c +467 -0
  92. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/jidctint-neon.c +794 -0
  93. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/jidctred-neon.c +480 -0
  94. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/jquanti-neon.c +188 -0
  95. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/arm/neon-compat.h.in +53 -0
  96. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/common/jcsample.h +28 -0
  97. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jccolext-avx2.asm +659 -0
  98. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jccolext-mmx.asm +500 -0
  99. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jccolext-sse2.asm +562 -0
  100. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jccolor-avx2.asm +117 -0
  101. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jccolor-mmx.asm +117 -0
  102. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jccolor-sse2.asm +116 -0
  103. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jcgray-avx2.asm +109 -0
  104. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jcgray-mmx.asm +109 -0
  105. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jcgray-sse2.asm +108 -0
  106. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jcgryext-avx2.asm +525 -0
  107. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jcgryext-mmx.asm +370 -0
  108. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jcgryext-sse2.asm +428 -0
  109. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jchuff-sse2.asm +837 -0
  110. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jcphuff-sse2.asm +657 -0
  111. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jcsample-avx2.asm +382 -0
  112. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jcsample-mmx.asm +318 -0
  113. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jcsample-sse2.asm +345 -0
  114. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jdcolext-avx2.asm +585 -0
  115. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jdcolext-mmx.asm +422 -0
  116. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jdcolext-sse2.asm +512 -0
  117. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jdcolor-avx2.asm +114 -0
  118. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jdcolor-mmx.asm +113 -0
  119. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jdcolor-sse2.asm +113 -0
  120. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jdmerge-avx2.asm +132 -0
  121. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jdmerge-mmx.asm +119 -0
  122. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jdmerge-sse2.asm +131 -0
  123. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jdmrgext-avx2.asm +639 -0
  124. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jdmrgext-mmx.asm +472 -0
  125. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jdmrgext-sse2.asm +568 -0
  126. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jdsample-avx2.asm +850 -0
  127. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jdsample-mmx.asm +731 -0
  128. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jdsample-sse2.asm +720 -0
  129. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jfdctflt-3dn.asm +329 -0
  130. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jfdctflt-sse.asm +376 -0
  131. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jfdctfst-mmx.asm +401 -0
  132. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jfdctfst-sse2.asm +409 -0
  133. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jfdctint-avx2.asm +327 -0
  134. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jfdctint-mmx.asm +622 -0
  135. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jfdctint-sse2.asm +635 -0
  136. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jidctflt-3dn.asm +446 -0
  137. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jidctflt-sse.asm +566 -0
  138. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jidctflt-sse2.asm +512 -0
  139. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jidctfst-mmx.asm +493 -0
  140. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jidctfst-sse2.asm +518 -0
  141. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jidctint-avx2.asm +463 -0
  142. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jidctint-mmx.asm +853 -0
  143. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jidctint-sse2.asm +887 -0
  144. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jidctred-mmx.asm +706 -0
  145. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jidctred-sse2.asm +600 -0
  146. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jquantf-3dn.asm +224 -0
  147. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jquantf-sse.asm +202 -0
  148. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jquantf-sse2.asm +162 -0
  149. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jquanti-avx2.asm +183 -0
  150. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jquanti-mmx.asm +265 -0
  151. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jquanti-sse2.asm +200 -0
  152. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/i386/jsimdcpu.asm +130 -0
  153. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/jsimd.c +1512 -0
  154. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/jsimd.h +121 -0
  155. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/jsimdconst.h +49 -0
  156. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/jsimddct.h +82 -0
  157. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/jsimdint.h +666 -0
  158. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/mips64/jccolext-mmi.c +455 -0
  159. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/mips64/jccolor-mmi.c +145 -0
  160. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/mips64/jcgray-mmi.c +129 -0
  161. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/mips64/jcgryext-mmi.c +374 -0
  162. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/mips64/jcsample-mmi.c +95 -0
  163. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/mips64/jdcolext-mmi.c +433 -0
  164. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/mips64/jdcolor-mmi.c +136 -0
  165. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/mips64/jdmerge-mmi.c +146 -0
  166. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/mips64/jdmrgext-mmi.c +631 -0
  167. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/mips64/jdsample-mmi.c +303 -0
  168. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/mips64/jfdctfst-mmi.c +253 -0
  169. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/mips64/jfdctint-mmi.c +396 -0
  170. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/mips64/jidctfst-mmi.c +394 -0
  171. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/mips64/jidctint-mmi.c +569 -0
  172. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/mips64/jquanti-mmi.c +122 -0
  173. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/mips64/jsimd_mmi.h +68 -0
  174. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/mips64/jsimdcpu.c +115 -0
  175. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/mips64/loongson-mmintrin.h +1333 -0
  176. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/nasm/jcolsamp.inc +135 -0
  177. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/nasm/jdct.inc +31 -0
  178. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/nasm/jsimdcfg.inc +92 -0
  179. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/nasm/jsimdcfg.inc.h +134 -0
  180. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/nasm/jsimdext.inc +545 -0
  181. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/powerpc/jccolext-altivec.c +270 -0
  182. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/powerpc/jccolor-altivec.c +114 -0
  183. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/powerpc/jcgray-altivec.c +109 -0
  184. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/powerpc/jcgryext-altivec.c +229 -0
  185. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/powerpc/jcsample-altivec.c +156 -0
  186. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/powerpc/jdcolext-altivec.c +277 -0
  187. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/powerpc/jdcolor-altivec.c +104 -0
  188. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/powerpc/jdmerge-altivec.c +128 -0
  189. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/powerpc/jdmrgext-altivec.c +331 -0
  190. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/powerpc/jdsample-altivec.c +398 -0
  191. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/powerpc/jfdctfst-altivec.c +153 -0
  192. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/powerpc/jfdctint-altivec.c +257 -0
  193. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/powerpc/jidctfst-altivec.c +254 -0
  194. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/powerpc/jidctint-altivec.c +356 -0
  195. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/powerpc/jquanti-altivec.c +249 -0
  196. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/powerpc/jsimd_altivec.h +97 -0
  197. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/powerpc/jsimdcpu.c +167 -0
  198. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/riscv64/jccolext-rvv.c +142 -0
  199. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/riscv64/jccolor-rvv.c +121 -0
  200. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/riscv64/jcgray-rvv.c +114 -0
  201. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/riscv64/jcgryext-rvv.c +108 -0
  202. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/riscv64/jcsample-rvv.c +157 -0
  203. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/riscv64/jdcolext-rvv.c +157 -0
  204. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/riscv64/jdcolor-rvv.c +126 -0
  205. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/riscv64/jdmerge-rvv.c +138 -0
  206. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/riscv64/jdmrgext-rvv.c +226 -0
  207. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/riscv64/jdsample-rvv.c +378 -0
  208. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/riscv64/jfdctfst-rvv.c +266 -0
  209. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/riscv64/jfdctint-rvv.c +354 -0
  210. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/riscv64/jidctfst-rvv.c +432 -0
  211. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/riscv64/jidctint-rvv.c +464 -0
  212. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/riscv64/jquanti-rvv.c +127 -0
  213. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/riscv64/jsimd_rvv.h +313 -0
  214. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/riscv64/jsimdcpu.S +49 -0
  215. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/riscv64/jsimdcpu.c +86 -0
  216. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/simdcoverage.c +155 -0
  217. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jccolext-avx2.asm +638 -0
  218. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jccolext-sse2.asm +541 -0
  219. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jccolor-avx2.asm +117 -0
  220. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jccolor-sse2.asm +116 -0
  221. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jcgray-avx2.asm +109 -0
  222. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jcgray-sse2.asm +108 -0
  223. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jcgryext-avx2.asm +508 -0
  224. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jcgryext-sse2.asm +411 -0
  225. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jchuff-sse2.asm +638 -0
  226. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jcphuff-sse2.asm +626 -0
  227. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jcsample-avx2.asm +361 -0
  228. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jcsample-sse2.asm +324 -0
  229. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jdcolext-avx2.asm +564 -0
  230. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jdcolext-sse2.asm +491 -0
  231. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jdcolor-avx2.asm +114 -0
  232. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jdcolor-sse2.asm +113 -0
  233. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jdmerge-avx2.asm +132 -0
  234. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jdmerge-sse2.asm +131 -0
  235. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jdmrgext-avx2.asm +658 -0
  236. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jdmrgext-sse2.asm +587 -0
  237. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jdsample-avx2.asm +788 -0
  238. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jdsample-sse2.asm +663 -0
  239. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jfdctflt-sse.asm +360 -0
  240. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jfdctfst-sse2.asm +393 -0
  241. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jfdctint-avx2.asm +314 -0
  242. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jfdctint-sse2.asm +623 -0
  243. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jidctflt-sse2.asm +494 -0
  244. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jidctfst-sse2.asm +508 -0
  245. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jidctint-avx2.asm +426 -0
  246. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jidctint-sse2.asm +876 -0
  247. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jidctred-sse2.asm +577 -0
  248. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jquantf-sse2.asm +149 -0
  249. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jquanti-avx2.asm +162 -0
  250. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jquanti-sse2.asm +187 -0
  251. pyjpegio-0.3.0/third_party/libjpeg-turbo/simd/x86_64/jsimdcpu.asm +85 -0
  252. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/bmpsizetest.c +1002 -0
  253. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/cderror.h +124 -0
  254. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/cdjpeg.c +156 -0
  255. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/cdjpeg.h +204 -0
  256. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/cjpeg.c +903 -0
  257. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/cmyk.h +61 -0
  258. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/djpeg.c +1008 -0
  259. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/example.c +644 -0
  260. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jaricom.c +157 -0
  261. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jcapimin.c +331 -0
  262. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jcapistd.c +204 -0
  263. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jcarith.c +932 -0
  264. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jccoefct.c +484 -0
  265. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jccolext.c +149 -0
  266. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jccolor.c +671 -0
  267. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jcdctmgr.c +777 -0
  268. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jcdiffct.c +419 -0
  269. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jchuff.c +1162 -0
  270. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jchuff.h +52 -0
  271. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jcicc.c +105 -0
  272. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jcinit.c +154 -0
  273. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jclhuff.c +589 -0
  274. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jclossls.c +330 -0
  275. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jcmainct.c +187 -0
  276. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jcmarker.c +670 -0
  277. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jcmaster.c +808 -0
  278. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jcmaster.h +43 -0
  279. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jcomapi.c +243 -0
  280. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jconfig.h.in +60 -0
  281. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jconfig.txt +92 -0
  282. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jconfigint.h.in +80 -0
  283. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jcparam.c +592 -0
  284. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jcphuff.c +1099 -0
  285. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jcprepct.c +413 -0
  286. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jcsample.c +558 -0
  287. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jcstest.c +106 -0
  288. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jctrans.c +415 -0
  289. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdapimin.c +428 -0
  290. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdapistd.c +793 -0
  291. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdarith.c +782 -0
  292. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdatadst-tj.c +214 -0
  293. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdatadst.c +291 -0
  294. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdatasrc-tj.c +194 -0
  295. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdatasrc.c +289 -0
  296. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdcoefct.c +937 -0
  297. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdcoefct.h +88 -0
  298. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdcol565.c +392 -0
  299. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdcolext.c +142 -0
  300. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdcolor.c +889 -0
  301. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdct.h +248 -0
  302. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jddctmgr.c +362 -0
  303. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jddiffct.c +411 -0
  304. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdhuff.c +836 -0
  305. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdhuff.h +250 -0
  306. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdicc.c +167 -0
  307. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdinput.c +424 -0
  308. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdlhuff.c +302 -0
  309. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdlossls.c +300 -0
  310. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdmainct.c +483 -0
  311. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdmainct.h +78 -0
  312. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdmarker.c +1385 -0
  313. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdmaster.c +916 -0
  314. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdmaster.h +28 -0
  315. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdmerge.c +579 -0
  316. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdmerge.h +48 -0
  317. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdmrg565.c +355 -0
  318. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdmrgext.c +182 -0
  319. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdphuff.c +681 -0
  320. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdpostct.c +328 -0
  321. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdsample.c +568 -0
  322. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdsample.h +53 -0
  323. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jdtrans.c +162 -0
  324. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jerror.c +243 -0
  325. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jerror.h +336 -0
  326. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jfdctflt.c +169 -0
  327. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jfdctfst.c +227 -0
  328. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jfdctint.c +288 -0
  329. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jidctflt.c +263 -0
  330. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jidctfst.c +389 -0
  331. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jidctint.c +2662 -0
  332. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jidctred.c +434 -0
  333. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jinclude.h +147 -0
  334. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jlossls.h +101 -0
  335. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jmemmgr.c +1290 -0
  336. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jmemnobs.c +110 -0
  337. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jmemsys.h +147 -0
  338. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jmorecfg.h +389 -0
  339. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jpeg_nbits.c +4137 -0
  340. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jpeg_nbits.h +43 -0
  341. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jpegapicomp.h +32 -0
  342. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jpegint.h +668 -0
  343. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jpeglib.h +1223 -0
  344. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jpegtran.c +768 -0
  345. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jquant1.c +864 -0
  346. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jquant2.c +1293 -0
  347. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jsamplecomp.h +339 -0
  348. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jstdhuff.c +144 -0
  349. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jutils.c +148 -0
  350. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/jversion.h.in +30 -0
  351. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/libjpeg.map.in +11 -0
  352. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/md5/CMakeLists.txt +7 -0
  353. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/md5/md5.c +275 -0
  354. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/md5/md5.h +58 -0
  355. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/md5/md5cmp.c +59 -0
  356. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/md5/md5hl.c +129 -0
  357. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/md5/md5sum.c +60 -0
  358. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/rdbmp.c +684 -0
  359. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/rdcolmap.c +265 -0
  360. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/rdgif.c +724 -0
  361. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/rdjpgcom.c +493 -0
  362. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/rdpng.c +728 -0
  363. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/rdppm.c +949 -0
  364. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/rdswitch.c +428 -0
  365. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/rdtarga.c +515 -0
  366. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/CMakeLists.txt +26 -0
  367. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/LICENSE +25 -0
  368. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/libpng-LICENSE.txt +36 -0
  369. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/spng.c +6987 -0
  370. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/spng.h +537 -0
  371. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/zlib/LICENSE +22 -0
  372. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/zlib/adler32.c +164 -0
  373. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/zlib/compress.c +99 -0
  374. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/zlib/crc32.c +983 -0
  375. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/zlib/crc32.h +9446 -0
  376. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/zlib/deflate.c +2185 -0
  377. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/zlib/deflate.h +383 -0
  378. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/zlib/gzguts.h +216 -0
  379. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/zlib/inffast.c +321 -0
  380. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/zlib/inffast.h +11 -0
  381. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/zlib/inffixed.h +94 -0
  382. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/zlib/inflate.c +1413 -0
  383. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/zlib/inflate.h +126 -0
  384. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/zlib/inftrees.c +424 -0
  385. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/zlib/inftrees.h +64 -0
  386. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/zlib/trees.c +1119 -0
  387. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/zlib/trees.h +128 -0
  388. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/zlib/zconf.h +556 -0
  389. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/zlib/zlib.h +2057 -0
  390. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/zlib/zutil.c +313 -0
  391. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/spng/zlib/zutil.h +331 -0
  392. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/strtest.c +150 -0
  393. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/tjbench.c +1459 -0
  394. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/tjcomp.c +355 -0
  395. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/tjdecomp.c +387 -0
  396. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/tjtran.c +375 -0
  397. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/tjunittest.c +1462 -0
  398. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/tjutil.c +70 -0
  399. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/tjutil.h +53 -0
  400. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/transupp.c +2535 -0
  401. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/transupp.h +233 -0
  402. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/turbojpeg-mapfile +120 -0
  403. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/turbojpeg-mp.c +638 -0
  404. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/turbojpeg.c +3204 -0
  405. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/turbojpeg.h +2923 -0
  406. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jcapistd-12.c +14 -0
  407. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jcapistd-16.c +14 -0
  408. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jcapistd-8.c +14 -0
  409. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jccoefct-12.c +14 -0
  410. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jccoefct-8.c +14 -0
  411. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jccolor-12.c +14 -0
  412. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jccolor-16.c +14 -0
  413. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jccolor-8.c +14 -0
  414. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jcdctmgr-12.c +14 -0
  415. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jcdctmgr-8.c +14 -0
  416. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jcdiffct-12.c +14 -0
  417. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jcdiffct-16.c +14 -0
  418. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jcdiffct-8.c +14 -0
  419. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jclossls-12.c +14 -0
  420. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jclossls-16.c +14 -0
  421. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jclossls-8.c +14 -0
  422. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jcmainct-12.c +14 -0
  423. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jcmainct-16.c +14 -0
  424. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jcmainct-8.c +14 -0
  425. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jcprepct-12.c +14 -0
  426. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jcprepct-16.c +14 -0
  427. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jcprepct-8.c +14 -0
  428. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jcsample-12.c +14 -0
  429. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jcsample-16.c +14 -0
  430. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jcsample-8.c +14 -0
  431. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jdapistd-12.c +14 -0
  432. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jdapistd-16.c +14 -0
  433. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jdapistd-8.c +14 -0
  434. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jdcoefct-12.c +14 -0
  435. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jdcoefct-8.c +14 -0
  436. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jdcolor-12.c +14 -0
  437. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jdcolor-16.c +14 -0
  438. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jdcolor-8.c +14 -0
  439. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jddctmgr-12.c +14 -0
  440. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jddctmgr-8.c +14 -0
  441. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jddiffct-12.c +14 -0
  442. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jddiffct-16.c +14 -0
  443. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jddiffct-8.c +14 -0
  444. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jdlossls-12.c +14 -0
  445. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jdlossls-16.c +14 -0
  446. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jdlossls-8.c +14 -0
  447. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jdmainct-12.c +14 -0
  448. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jdmainct-16.c +14 -0
  449. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jdmainct-8.c +14 -0
  450. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jdmerge-12.c +14 -0
  451. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jdmerge-8.c +14 -0
  452. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jdpostct-12.c +14 -0
  453. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jdpostct-16.c +14 -0
  454. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jdpostct-8.c +14 -0
  455. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jdsample-12.c +14 -0
  456. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jdsample-16.c +14 -0
  457. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jdsample-8.c +14 -0
  458. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jfdctfst-12.c +14 -0
  459. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jfdctfst-8.c +14 -0
  460. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jfdctint-12.c +14 -0
  461. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jfdctint-8.c +14 -0
  462. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jidctflt-12.c +14 -0
  463. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jidctflt-8.c +14 -0
  464. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jidctfst-12.c +14 -0
  465. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jidctfst-8.c +14 -0
  466. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jidctint-12.c +14 -0
  467. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jidctint-8.c +14 -0
  468. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jidctred-12.c +14 -0
  469. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jidctred-8.c +14 -0
  470. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jquant1-12.c +14 -0
  471. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jquant1-8.c +14 -0
  472. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jquant2-12.c +14 -0
  473. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jquant2-8.c +14 -0
  474. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jutils-12.c +14 -0
  475. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jutils-16.c +14 -0
  476. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/jutils-8.c +14 -0
  477. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/rdcolmap-12.c +14 -0
  478. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/rdcolmap-8.c +14 -0
  479. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/rdpng-12.c +14 -0
  480. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/rdpng-16.c +14 -0
  481. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/rdpng-8.c +14 -0
  482. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/rdppm-12.c +14 -0
  483. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/rdppm-16.c +14 -0
  484. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/rdppm-8.c +14 -0
  485. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/template.c +14 -0
  486. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/wrgif-12.c +14 -0
  487. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/wrgif-8.c +14 -0
  488. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/wrpng-12.c +14 -0
  489. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/wrpng-16.c +14 -0
  490. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/wrpng-8.c +14 -0
  491. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/wrppm-12.c +14 -0
  492. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/wrppm-16.c +14 -0
  493. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrapper/wrppm-8.c +14 -0
  494. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrbmp.c +570 -0
  495. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrgif.c +596 -0
  496. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrjpgcom.c +577 -0
  497. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrpng.c +546 -0
  498. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrppm.c +393 -0
  499. pyjpegio-0.3.0/third_party/libjpeg-turbo/src/wrtarga.c +272 -0
  500. pyjpegio-0.3.0/third_party/libjpeg-turbo/test/croptest.in +95 -0
  501. pyjpegio-0.3.0/third_party/libjpeg-turbo/test/indexedcolortest.in +247 -0
  502. pyjpegio-0.3.0/third_party/libjpeg-turbo/test/tjbenchtest.in +476 -0
  503. pyjpegio-0.3.0/third_party/libjpeg-turbo/test/tjcomptest.in +211 -0
  504. pyjpegio-0.3.0/third_party/libjpeg-turbo/test/tjdecomptest.in +347 -0
  505. pyjpegio-0.3.0/third_party/libjpeg-turbo/test/tjtrantest.in +172 -0
  506. pyjpegio-0.3.0/third_party/libjpeg-turbo/win/gcc/projectTargets-release.cmake.in +49 -0
  507. pyjpegio-0.3.0/third_party/libjpeg-turbo/win/jpeg.rc.in +35 -0
  508. pyjpegio-0.3.0/third_party/libjpeg-turbo/win/jpeg62.def +133 -0
  509. pyjpegio-0.3.0/third_party/libjpeg-turbo/win/jpeg7.def +135 -0
  510. pyjpegio-0.3.0/third_party/libjpeg-turbo/win/jpeg8.def +136 -0
  511. pyjpegio-0.3.0/third_party/libjpeg-turbo/win/projectTargets.cmake.in +115 -0
  512. pyjpegio-0.3.0/third_party/libjpeg-turbo/win/turbojpeg.rc.in +35 -0
  513. pyjpegio-0.3.0/third_party/libjpeg-turbo/win/vc/projectTargets-release.cmake.in +49 -0
pyjpegio-0.3.0/LICENSE ADDED
@@ -0,0 +1,201 @@
1
+ Apache License
2
+ Version 2.0, January 2004
3
+ http://www.apache.org/licenses/
4
+
5
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
6
+
7
+ 1. Definitions.
8
+
9
+ "License" shall mean the terms and conditions for use, reproduction,
10
+ and distribution as defined by Sections 1 through 9 of this document.
11
+
12
+ "Licensor" shall mean the copyright owner or entity authorized by
13
+ the copyright owner that is granting the License.
14
+
15
+ "Legal Entity" shall mean the union of the acting entity and all
16
+ other entities that control, are controlled by, or are under common
17
+ control with that entity. For the purposes of this definition,
18
+ "control" means (i) the power, direct or indirect, to cause the
19
+ direction or management of such entity, whether by contract or
20
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
21
+ outstanding shares, or (iii) beneficial ownership of such entity.
22
+
23
+ "You" (or "Your") shall mean an individual or Legal Entity
24
+ exercising permissions granted by this License.
25
+
26
+ "Source" form shall mean the preferred form for making modifications,
27
+ including but not limited to software source code, documentation
28
+ source, and configuration files.
29
+
30
+ "Object" form shall mean any form resulting from mechanical
31
+ transformation or translation of a Source form, including but
32
+ not limited to compiled object code, generated documentation,
33
+ and conversions to other media types.
34
+
35
+ "Work" shall mean the work of authorship, whether in Source or
36
+ Object form, made available under the License, as indicated by a
37
+ copyright notice that is included in or attached to the work
38
+ (an example is provided in the Appendix below).
39
+
40
+ "Derivative Works" shall mean any work, whether in Source or Object
41
+ form, that is based on (or derived from) the Work and for which the
42
+ editorial revisions, annotations, elaborations, or other modifications
43
+ represent, as a whole, an original work of authorship. For the purposes
44
+ of this License, Derivative Works shall not include works that remain
45
+ separable from, or merely link (or bind by name) to the interfaces of,
46
+ the Work and Derivative Works thereof.
47
+
48
+ "Contribution" shall mean any work of authorship, including
49
+ the original version of the Work and any modifications or additions
50
+ to that Work or Derivative Works thereof, that is intentionally
51
+ submitted to Licensor for inclusion in the Work by the copyright owner
52
+ or by an individual or Legal Entity authorized to submit on behalf of
53
+ the copyright owner. For the purposes of this definition, "submitted"
54
+ means any form of electronic, verbal, or written communication sent
55
+ to the Licensor or its representatives, including but not limited to
56
+ communication on electronic mailing lists, source code control systems,
57
+ and issue tracking systems that are managed by, or on behalf of, the
58
+ Licensor for the purpose of discussing and improving the Work, but
59
+ excluding communication that is conspicuously marked or otherwise
60
+ designated in writing by the copyright owner as "Not a Contribution."
61
+
62
+ "Contributor" shall mean Licensor and any individual or Legal Entity
63
+ on behalf of whom a Contribution has been received by Licensor and
64
+ subsequently incorporated within the Work.
65
+
66
+ 2. Grant of Copyright License. Subject to the terms and conditions of
67
+ this License, each Contributor hereby grants to You a perpetual,
68
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
69
+ copyright license to reproduce, prepare Derivative Works of,
70
+ publicly display, publicly perform, sublicense, and distribute the
71
+ Work and such Derivative Works in Source or Object form.
72
+
73
+ 3. Grant of Patent License. Subject to the terms and conditions of
74
+ this License, each Contributor hereby grants to You a perpetual,
75
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
76
+ (except as stated in this section) patent license to make, have made,
77
+ use, offer to sell, sell, import, and otherwise transfer the Work,
78
+ where such license applies only to those patent claims licensable
79
+ by such Contributor that are necessarily infringed by their
80
+ Contribution(s) alone or by combination of their Contribution(s)
81
+ with the Work to which such Contribution(s) was submitted. If You
82
+ institute patent litigation against any entity (including a
83
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
84
+ or a Contribution incorporated within the Work constitutes direct
85
+ or contributory patent infringement, then any patent licenses
86
+ granted to You under this License for that Work shall terminate
87
+ as of the date such litigation is filed.
88
+
89
+ 4. Redistribution. You may reproduce and distribute copies of the
90
+ Work or Derivative Works thereof in any medium, with or without
91
+ modifications, and in Source or Object form, provided that You
92
+ meet the following conditions:
93
+
94
+ (a) You must give any other recipients of the Work or
95
+ Derivative Works a copy of this License; and
96
+
97
+ (b) You must cause any modified files to carry prominent notices
98
+ stating that You changed the files; and
99
+
100
+ (c) You must retain, in the Source form of any Derivative Works
101
+ that You distribute, all copyright, patent, trademark, and
102
+ attribution notices from the Source form of the Work,
103
+ excluding those notices that do not pertain to any part of
104
+ the Derivative Works; and
105
+
106
+ (d) If the Work includes a "NOTICE" text file as part of its
107
+ distribution, then any Derivative Works that You distribute must
108
+ include a readable copy of the attribution notices contained
109
+ within such NOTICE file, excluding those notices that do not
110
+ pertain to any part of the Derivative Works, in at least one
111
+ of the following places: within a NOTICE text file distributed
112
+ as part of the Derivative Works; within the Source form or
113
+ documentation, if provided along with the Derivative Works; or,
114
+ within a display generated by the Derivative Works, if and
115
+ wherever such third-party notices normally appear. The contents
116
+ of the NOTICE file are for informational purposes only and
117
+ do not modify the License. You may add Your own attribution
118
+ notices within Derivative Works that You distribute, alongside
119
+ or as an addendum to the NOTICE text from the Work, provided
120
+ that such additional attribution notices cannot be construed
121
+ as modifying the License.
122
+
123
+ You may add Your own copyright statement to Your modifications and
124
+ may provide additional or different license terms and conditions
125
+ for use, reproduction, or distribution of Your modifications, or
126
+ for any such Derivative Works as a whole, provided Your use,
127
+ reproduction, and distribution of the Work otherwise complies with
128
+ the conditions stated in this License.
129
+
130
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
131
+ any Contribution intentionally submitted for inclusion in the Work
132
+ by You to the Licensor shall be under the terms and conditions of
133
+ this License, without any additional terms or conditions.
134
+ Notwithstanding the above, nothing herein shall supersede or modify
135
+ the terms of any separate license agreement you may have executed
136
+ with Licensor regarding such Contributions.
137
+
138
+ 6. Trademarks. This License does not grant permission to use the trade
139
+ names, trademarks, service marks, or product names of the Licensor,
140
+ except as required for reasonable and customary use in describing the
141
+ origin of the Work and reproducing the content of the NOTICE file.
142
+
143
+ 7. Disclaimer of Warranty. Unless required by applicable law or
144
+ agreed to in writing, Licensor provides the Work (and each
145
+ Contributor provides its Contributions) on an "AS IS" BASIS,
146
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
147
+ implied, including, without limitation, any warranties or conditions
148
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
149
+ PARTICULAR PURPOSE. You are solely responsible for determining the
150
+ appropriateness of using or redistributing the Work and assume any
151
+ risks associated with Your exercise of permissions under this License.
152
+
153
+ 8. Limitation of Liability. In no event and under no legal theory,
154
+ whether in tort (including negligence), contract, or otherwise,
155
+ unless required by applicable law (such as deliberate and grossly
156
+ negligent acts) or agreed to in writing, shall any Contributor be
157
+ liable to You for damages, including any direct, indirect, special,
158
+ incidental, or consequential damages of any character arising as a
159
+ result of this License or out of the use or inability to use the
160
+ Work (including but not limited to damages for loss of goodwill,
161
+ work stoppage, computer failure or malfunction, or any and all
162
+ other commercial damages or losses), even if such Contributor
163
+ has been advised of the possibility of such damages.
164
+
165
+ 9. Accepting Warranty or Additional Liability. While redistributing
166
+ the Work or Derivative Works thereof, You may choose to offer,
167
+ and charge a fee for, acceptance of support, warranty, indemnity,
168
+ or other liability obligations and/or rights consistent with this
169
+ License. However, in accepting such obligations, You may act only
170
+ on Your own behalf and on Your sole responsibility, not on behalf
171
+ of any other Contributor, and only if You agree to indemnify,
172
+ defend, and hold each Contributor harmless for any liability
173
+ incurred by, or claims asserted against, such Contributor by reason
174
+ of your accepting any such warranty or additional liability.
175
+
176
+ END OF TERMS AND CONDITIONS
177
+
178
+ APPENDIX: How to apply the Apache License to your work.
179
+
180
+ To apply the Apache License to your work, attach the following
181
+ boilerplate notice, with the fields enclosed by brackets "[]"
182
+ replaced with your own identifying information. (Don't include
183
+ the brackets!) The text should be enclosed in the appropriate
184
+ comment syntax for the file format. We also recommend that a
185
+ file or class name and description of purpose be included on the
186
+ same "printed page" as the copyright notice for easier
187
+ identification within third-party archives.
188
+
189
+ Copyright [yyyy] [name of copyright owner]
190
+
191
+ Licensed under the Apache License, Version 2.0 (the "License");
192
+ you may not use this file except in compliance with the License.
193
+ You may obtain a copy of the License at
194
+
195
+ http://www.apache.org/licenses/LICENSE-2.0
196
+
197
+ Unless required by applicable law or agreed to in writing, software
198
+ distributed under the License is distributed on an "AS IS" BASIS,
199
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
200
+ See the License for the specific language governing permissions and
201
+ limitations under the License.
@@ -0,0 +1,22 @@
1
+ # Source files needed to build from an sdist.
2
+ recursive-include src/jpegio *.pyx *.pxd *.py *.h *.cpp
3
+
4
+ # Vendored libjpeg-turbo source (compiled from source at build time).
5
+ graft third_party/libjpeg-turbo
6
+
7
+ # Metadata, licenses and attribution (required for redistribution).
8
+ include LICENSE
9
+ include NOTICE
10
+ include README.md
11
+ include RELEASE.md
12
+ include requirements.txt
13
+ include requirements_dev.txt
14
+
15
+ # Tests (data files are intentionally excluded to keep the sdist small).
16
+ recursive-include tests *.py
17
+
18
+ # Never ship build artifacts or caches.
19
+ prune build
20
+ prune dist
21
+ prune examples/.ipynb_checkpoints
22
+ global-exclude __pycache__ *.pyc *.pyo *.so *.pyd *.o *.obj
pyjpegio-0.3.0/NOTICE ADDED
@@ -0,0 +1,26 @@
1
+ # Third-Party Notices
2
+
3
+ `jpegio` is licensed under the Apache License 2.0 (see [LICENSE](LICENSE)).
4
+
5
+ It bundles and statically links **libjpeg-turbo**, which is redistributed here
6
+ under its own permissive licenses. The libjpeg-turbo source is included,
7
+ unmodified, under [`third_party/libjpeg-turbo/`](third_party/libjpeg-turbo/).
8
+
9
+ ## libjpeg-turbo
10
+
11
+ - Version: 3.2.0
12
+ - Homepage: https://libjpeg-turbo.org/
13
+ - Source: https://github.com/libjpeg-turbo/libjpeg-turbo
14
+ - Licenses: the IJG (Independent JPEG Group) License and the Modified (3-clause)
15
+ BSD License; the SIMD code is additionally covered by the zlib License.
16
+ Full terms:
17
+ - [`third_party/libjpeg-turbo/LICENSE.md`](third_party/libjpeg-turbo/LICENSE.md)
18
+ - [`third_party/libjpeg-turbo/README.ijg`](third_party/libjpeg-turbo/README.ijg)
19
+
20
+ As required by the IJG License, and because `jpegio`'s binary wheels statically
21
+ link libjpeg-turbo:
22
+
23
+ > This software is based in part on the work of the Independent JPEG Group.
24
+
25
+ Neither the name of the IJG nor of the libjpeg-turbo Project, nor the names of
26
+ their contributors, are used to endorse or promote `jpegio`.
@@ -0,0 +1,206 @@
1
+ Metadata-Version: 2.4
2
+ Name: pyjpegio
3
+ Version: 0.3.0
4
+ Summary: A python package for accessing the internal variables of the JPEG file format.
5
+ Author-email: Daewon Lee <daewon4you@gmail.com>
6
+ License: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/dwgoon/jpegio
8
+ Project-URL: Repository, https://github.com/dwgoon/jpegio
9
+ Project-URL: Issues, https://github.com/dwgoon/jpegio/issues
10
+ Keywords: jpeg,dct,coefficient,quantization,libjpeg,steganography
11
+ Classifier: Development Status :: 4 - Beta
12
+ Classifier: Intended Audience :: Developers
13
+ Classifier: Intended Audience :: Science/Research
14
+ Classifier: License :: OSI Approved :: Apache Software License
15
+ Classifier: Operating System :: OS Independent
16
+ Classifier: Programming Language :: C++
17
+ Classifier: Programming Language :: Cython
18
+ Classifier: Programming Language :: Python :: 3
19
+ Classifier: Programming Language :: Python :: 3.9
20
+ Classifier: Programming Language :: Python :: 3.10
21
+ Classifier: Programming Language :: Python :: 3.11
22
+ Classifier: Programming Language :: Python :: 3.12
23
+ Classifier: Programming Language :: Python :: 3.13
24
+ Classifier: Topic :: Multimedia :: Graphics
25
+ Classifier: Topic :: Scientific/Engineering :: Image Processing
26
+ Requires-Python: >=3.9
27
+ Description-Content-Type: text/markdown
28
+ License-File: LICENSE
29
+ License-File: NOTICE
30
+ License-File: third_party/libjpeg-turbo/LICENSE.md
31
+ License-File: third_party/libjpeg-turbo/README.ijg
32
+ Requires-Dist: numpy>=1.23
33
+ Dynamic: license-file
34
+
35
+ # JpegIO
36
+
37
+ - A python package for accessing the internal variables of the JPEG file format
38
+ such as DCT coefficients and quantization tables.
39
+ - See also [jpeglib](https://github.com/martinbenes1996/jpeglib), which supports
40
+ a comprehensive set of JPEG libraries.
41
+
42
+ ## Installation
43
+
44
+ Pick the easiest method that works for you, in order of convenience.
45
+
46
+ **1. From PyPI:**
47
+
48
+ ```
49
+ pip install pyjpegio
50
+ ```
51
+
52
+ > [!NOTE]
53
+ > The distribution name on PyPI is `pyjpegio`, but the import name is still
54
+ > `jpegio`. Install with `pip install pyjpegio`, then use `import jpegio` in
55
+ > your code.
56
+
57
+ **2. From GitHub:**
58
+
59
+ ```
60
+ pip install "git+https://github.com/dwgoon/jpegio.git"
61
+ ```
62
+
63
+ **3. From a local source checkout:**
64
+
65
+ ```
66
+ pip install .
67
+ ```
68
+
69
+ Prebuilt wheels for Linux, macOS and Windows (CPython 3.9 through 3.13) are
70
+ produced in CI with [cibuildwheel](https://cibuildwheel.pypa.io/), so method 1
71
+ needs no compiler. Methods 2 and 3 build the bundled
72
+ [libjpeg-turbo](https://github.com/libjpeg-turbo/libjpeg-turbo) from source and
73
+ require:
74
+
75
+ - A C/C++ compiler (MSVC on Windows, GCC on Linux, Clang on macOS).
76
+ - `CMake` and `NumPy`, installed automatically as build dependencies.
77
+ - `NASM` is optional; when present, libjpeg-turbo SIMD acceleration is enabled.
78
+ - `Cython` is not needed for the default (C-API) build; it is only required for
79
+ the optional `JPEGIO_BACKEND=cython` build.
80
+
81
+ ## Making a wheel
82
+
83
+ ```
84
+ pip install build
85
+ python -m build
86
+ ```
87
+
88
+ The resulting wheel and source distribution are placed in the `dist` directory.
89
+ Cross-platform wheels are built in CI with
90
+ [cibuildwheel](https://cibuildwheel.pypa.io/).
91
+
92
+ ## Binding backend
93
+
94
+ This branch ships two interchangeable bindings to the same C++ backend,
95
+ selected at build time with the `JPEGIO_BACKEND` environment variable:
96
+
97
+ - `capi` (default): a hand-written CPython C-API extension. **No Cython is
98
+ required to build it.**
99
+ - `cython`: the Cython (`.pyx`) implementation. Requires `Cython` in the build
100
+ environment (it is intentionally not a default build dependency).
101
+
102
+ ```
103
+ # default (C-API):
104
+ pip install .
105
+
106
+ # Cython backend (needs Cython in the build env):
107
+ pip install cython
108
+ JPEGIO_BACKEND=cython pip install . --no-build-isolation
109
+ ```
110
+
111
+ Both backends expose the exact same Python API and produce identical results.
112
+
113
+ ## Dependency
114
+
115
+ At runtime this package only requires:
116
+
117
+ - [`NumPy`](https://numpy.org/)
118
+
119
+ At build time it additionally uses `Cython`, `CMake` and (optionally) `NASM`.
120
+ libjpeg-turbo is bundled and statically linked, so there is no external libjpeg
121
+ runtime dependency.
122
+
123
+ ## Usage example
124
+
125
+ ```python
126
+ import jpegio as jio
127
+
128
+ jpeg = jio.read("image.jpg")
129
+ coef_array = jpeg.coef_arrays[0]
130
+ quant_tbl = jpeg.quant_tables[0]
131
+
132
+ # Modifying jpeg.coef_arrays...
133
+ # Modifying jpeg.quant_tables...
134
+
135
+ jio.write(jpeg, "image_modified.jpg")
136
+ ```
137
+
138
+ - `coef_arrays` is a list of `numpy.ndarray` objects that represent the DCT
139
+ coefficients of the YCbCr channels in the JPEG.
140
+ - `quant_tables` is a list of `numpy.ndarray` objects that represent the
141
+ quantization tables in the JPEG.
142
+
143
+ The pixel-domain (spatial) image is not decoded by default. Pass
144
+ `read_spatial=True` to also populate `spatial_arrays`:
145
+
146
+ ```python
147
+ jpeg = jio.read("image.jpg", read_spatial=True)
148
+ red_channel = jpeg.spatial_arrays[0]
149
+ ```
150
+
151
+ You can also utilize other variables (one of the simplest ways to find them is
152
+ to use `dir(jpeg)`). The names of the member variables follow the convention of
153
+ libjpeg.
154
+
155
+ ## Steganography helpers
156
+
157
+ jpegio exposes the JPEG internals that matter for JPEG steganography and
158
+ steganalysis, with read/write access to the embedding-relevant attributes.
159
+
160
+ - **All markers** are preserved (not just COM). `jpeg.markers` is a list of
161
+ `{"type": int, "data": bytes}` for APP0..APP15 and COM, so EXIF/JFIF/ICC/Adobe
162
+ round-trip and you can hide/read data in markers.
163
+ - Read/write JPEG properties: `restart_interval`, `arith_code`,
164
+ `optimize_coding`, `progressive_mode`, color-space and dimension fields; plus
165
+ read-only `data_precision`, JFIF density, Adobe transform. `comp_info` edits
166
+ are honoured on write.
167
+ - The `jpegio.tools` module:
168
+
169
+ ```python
170
+ import jpegio as jio
171
+ from jpegio import tools
172
+
173
+ jpeg = jio.read("image.jpg")
174
+
175
+ z = tools.coefficients_zigzag(jpeg.coef_arrays[0]) # (H, W, 64) zigzag blocks
176
+ vals, cnts = tools.dct_histogram(jpeg.coef_arrays[0], mode=1) # per-mode histogram
177
+ capacity = tools.embedding_capacity(jpeg) # nzAC capacity
178
+ tools.set_coefficient(jpeg, 0, 1, 2, 3, 4, 7) # component, block row/col, (u, v), value
179
+
180
+ jpeg.markers.append({"type": jio.MARKER_COM, "data": b"payload"})
181
+ jio.write(jpeg, "stego.jpg")
182
+ ```
183
+
184
+ ## References
185
+ - The core parts of this package, implemented in C/C++, are adopted from the
186
+ source code of [Jessica Fridrich's laboratory](http://dde.binghamton.edu).
187
+ - The functionality of libjpeg is provided by
188
+ [libjpeg-turbo](https://github.com/libjpeg-turbo/libjpeg-turbo), which is in
189
+ turn based on the work of the [IJG](https://www.ijg.org/).
190
+
191
+ ## License
192
+
193
+ [Apache License 2.0](/LICENSE)
194
+
195
+ This package bundles and statically links **libjpeg-turbo**, which is
196
+ redistributed under its own permissive (BSD-style) licenses. See
197
+ [NOTICE](/NOTICE) and
198
+ [third_party/libjpeg-turbo/LICENSE.md](/third_party/libjpeg-turbo/LICENSE.md) for details.
199
+
200
+ > This software is based in part on the work of the Independent JPEG Group.
201
+
202
+ ## Contributors
203
+ - [@dwgoon](https://github.com/dwgoon)
204
+ - [@detrin](https://github.com/detrin)
205
+ - [@martinbenes1996](https://github.com/martinbenes1996)
206
+ - [@EldritchJS](https://github.com/EldritchJS)
@@ -0,0 +1,172 @@
1
+ # JpegIO
2
+
3
+ - A python package for accessing the internal variables of the JPEG file format
4
+ such as DCT coefficients and quantization tables.
5
+ - See also [jpeglib](https://github.com/martinbenes1996/jpeglib), which supports
6
+ a comprehensive set of JPEG libraries.
7
+
8
+ ## Installation
9
+
10
+ Pick the easiest method that works for you, in order of convenience.
11
+
12
+ **1. From PyPI:**
13
+
14
+ ```
15
+ pip install pyjpegio
16
+ ```
17
+
18
+ > [!NOTE]
19
+ > The distribution name on PyPI is `pyjpegio`, but the import name is still
20
+ > `jpegio`. Install with `pip install pyjpegio`, then use `import jpegio` in
21
+ > your code.
22
+
23
+ **2. From GitHub:**
24
+
25
+ ```
26
+ pip install "git+https://github.com/dwgoon/jpegio.git"
27
+ ```
28
+
29
+ **3. From a local source checkout:**
30
+
31
+ ```
32
+ pip install .
33
+ ```
34
+
35
+ Prebuilt wheels for Linux, macOS and Windows (CPython 3.9 through 3.13) are
36
+ produced in CI with [cibuildwheel](https://cibuildwheel.pypa.io/), so method 1
37
+ needs no compiler. Methods 2 and 3 build the bundled
38
+ [libjpeg-turbo](https://github.com/libjpeg-turbo/libjpeg-turbo) from source and
39
+ require:
40
+
41
+ - A C/C++ compiler (MSVC on Windows, GCC on Linux, Clang on macOS).
42
+ - `CMake` and `NumPy`, installed automatically as build dependencies.
43
+ - `NASM` is optional; when present, libjpeg-turbo SIMD acceleration is enabled.
44
+ - `Cython` is not needed for the default (C-API) build; it is only required for
45
+ the optional `JPEGIO_BACKEND=cython` build.
46
+
47
+ ## Making a wheel
48
+
49
+ ```
50
+ pip install build
51
+ python -m build
52
+ ```
53
+
54
+ The resulting wheel and source distribution are placed in the `dist` directory.
55
+ Cross-platform wheels are built in CI with
56
+ [cibuildwheel](https://cibuildwheel.pypa.io/).
57
+
58
+ ## Binding backend
59
+
60
+ This branch ships two interchangeable bindings to the same C++ backend,
61
+ selected at build time with the `JPEGIO_BACKEND` environment variable:
62
+
63
+ - `capi` (default): a hand-written CPython C-API extension. **No Cython is
64
+ required to build it.**
65
+ - `cython`: the Cython (`.pyx`) implementation. Requires `Cython` in the build
66
+ environment (it is intentionally not a default build dependency).
67
+
68
+ ```
69
+ # default (C-API):
70
+ pip install .
71
+
72
+ # Cython backend (needs Cython in the build env):
73
+ pip install cython
74
+ JPEGIO_BACKEND=cython pip install . --no-build-isolation
75
+ ```
76
+
77
+ Both backends expose the exact same Python API and produce identical results.
78
+
79
+ ## Dependency
80
+
81
+ At runtime this package only requires:
82
+
83
+ - [`NumPy`](https://numpy.org/)
84
+
85
+ At build time it additionally uses `Cython`, `CMake` and (optionally) `NASM`.
86
+ libjpeg-turbo is bundled and statically linked, so there is no external libjpeg
87
+ runtime dependency.
88
+
89
+ ## Usage example
90
+
91
+ ```python
92
+ import jpegio as jio
93
+
94
+ jpeg = jio.read("image.jpg")
95
+ coef_array = jpeg.coef_arrays[0]
96
+ quant_tbl = jpeg.quant_tables[0]
97
+
98
+ # Modifying jpeg.coef_arrays...
99
+ # Modifying jpeg.quant_tables...
100
+
101
+ jio.write(jpeg, "image_modified.jpg")
102
+ ```
103
+
104
+ - `coef_arrays` is a list of `numpy.ndarray` objects that represent the DCT
105
+ coefficients of the YCbCr channels in the JPEG.
106
+ - `quant_tables` is a list of `numpy.ndarray` objects that represent the
107
+ quantization tables in the JPEG.
108
+
109
+ The pixel-domain (spatial) image is not decoded by default. Pass
110
+ `read_spatial=True` to also populate `spatial_arrays`:
111
+
112
+ ```python
113
+ jpeg = jio.read("image.jpg", read_spatial=True)
114
+ red_channel = jpeg.spatial_arrays[0]
115
+ ```
116
+
117
+ You can also utilize other variables (one of the simplest ways to find them is
118
+ to use `dir(jpeg)`). The names of the member variables follow the convention of
119
+ libjpeg.
120
+
121
+ ## Steganography helpers
122
+
123
+ jpegio exposes the JPEG internals that matter for JPEG steganography and
124
+ steganalysis, with read/write access to the embedding-relevant attributes.
125
+
126
+ - **All markers** are preserved (not just COM). `jpeg.markers` is a list of
127
+ `{"type": int, "data": bytes}` for APP0..APP15 and COM, so EXIF/JFIF/ICC/Adobe
128
+ round-trip and you can hide/read data in markers.
129
+ - Read/write JPEG properties: `restart_interval`, `arith_code`,
130
+ `optimize_coding`, `progressive_mode`, color-space and dimension fields; plus
131
+ read-only `data_precision`, JFIF density, Adobe transform. `comp_info` edits
132
+ are honoured on write.
133
+ - The `jpegio.tools` module:
134
+
135
+ ```python
136
+ import jpegio as jio
137
+ from jpegio import tools
138
+
139
+ jpeg = jio.read("image.jpg")
140
+
141
+ z = tools.coefficients_zigzag(jpeg.coef_arrays[0]) # (H, W, 64) zigzag blocks
142
+ vals, cnts = tools.dct_histogram(jpeg.coef_arrays[0], mode=1) # per-mode histogram
143
+ capacity = tools.embedding_capacity(jpeg) # nzAC capacity
144
+ tools.set_coefficient(jpeg, 0, 1, 2, 3, 4, 7) # component, block row/col, (u, v), value
145
+
146
+ jpeg.markers.append({"type": jio.MARKER_COM, "data": b"payload"})
147
+ jio.write(jpeg, "stego.jpg")
148
+ ```
149
+
150
+ ## References
151
+ - The core parts of this package, implemented in C/C++, are adopted from the
152
+ source code of [Jessica Fridrich's laboratory](http://dde.binghamton.edu).
153
+ - The functionality of libjpeg is provided by
154
+ [libjpeg-turbo](https://github.com/libjpeg-turbo/libjpeg-turbo), which is in
155
+ turn based on the work of the [IJG](https://www.ijg.org/).
156
+
157
+ ## License
158
+
159
+ [Apache License 2.0](/LICENSE)
160
+
161
+ This package bundles and statically links **libjpeg-turbo**, which is
162
+ redistributed under its own permissive (BSD-style) licenses. See
163
+ [NOTICE](/NOTICE) and
164
+ [third_party/libjpeg-turbo/LICENSE.md](/third_party/libjpeg-turbo/LICENSE.md) for details.
165
+
166
+ > This software is based in part on the work of the Independent JPEG Group.
167
+
168
+ ## Contributors
169
+ - [@dwgoon](https://github.com/dwgoon)
170
+ - [@detrin](https://github.com/detrin)
171
+ - [@martinbenes1996](https://github.com/martinbenes1996)
172
+ - [@EldritchJS](https://github.com/EldritchJS)
@@ -0,0 +1,60 @@
1
+ # Release 0.3.0
2
+
3
+ ## Major Features and Improvements
4
+ * **libjpeg-turbo 3.2.0** is now bundled and built from source with CMake on all
5
+ platforms (Windows/macOS/Linux); the old per-platform prebuilt libjpeg /
6
+ libjpeg-turbo binaries are removed. SIMD is enabled automatically when NASM is
7
+ available.
8
+ * Reading a **corrupt or truncated JPEG now raises a Python exception** instead
9
+ of terminating the interpreter (the previous behaviour called `exit()`).
10
+ Several memory and correctness bugs in the C++ backend were fixed.
11
+ * A **hand-written CPython C-API binding** was added as an alternative to the
12
+ Cython binding, selectable with the `JPEGIO_BACKEND` environment variable
13
+ (`capi` default, `cython` optional). Cython is no longer required to build.
14
+ * Spatial (pixel-domain) decoding is now **opt-in** via `read_spatial=True` and
15
+ exposed through `spatial_arrays`.
16
+ * **Python 3.9–3.13** are supported; cross-platform wheels are built in CI with
17
+ [cibuildwheel](https://cibuildwheel.pypa.io/).
18
+ * The project moved to a `src/` layout, and the vendored library to
19
+ `third_party/`.
20
+
21
+ ## Steganography-oriented features (0.3.0)
22
+ * **All markers are preserved**, not just COM. `markers` is now a list of
23
+ `{"type": int, "data": bytes}` (APP0..APP15 and COM), so EXIF/JFIF/ICC/Adobe
24
+ metadata round-trips and markers can be read/written for embedding.
25
+ * More JPEG properties are exposed, and the encoding-relevant ones are
26
+ **read/write**: `restart_interval`, `arith_code`, `optimize_coding`,
27
+ `progressive_mode`, color-space and dimension fields, plus read-only
28
+ `data_precision`, JFIF density and Adobe transform. `comp_info` edits (table
29
+ assignments, sampling factors) are honoured on write.
30
+ * A `jpegio.tools` module adds zigzag ordering (`to_zigzag`/`coefficients_zigzag`),
31
+ DCT coefficient histograms (`dct_histogram`), per-component nnz / embedding
32
+ capacity, absolute coefficient get/set, and marker filters.
33
+
34
+ ## Breaking Changes
35
+ * `jpegio.read()` now raises `FileNotFoundError` / `ValueError` on a missing or
36
+ empty path, instead of printing a message and returning a broken object.
37
+ * The pixel-domain image is no longer decoded by default; pass
38
+ `read_spatial=True` to populate `spatial_arrays`.
39
+
40
+ # Release 0.2.2
41
+
42
+ ## Major Features and Improvements
43
+ * The type of `DecompressedJpeg.markers` is changed to `List[bytes]` from `List[str]`.
44
+ From now on, decoding the markers is up to users.
45
+
46
+ # Release 0.2.0
47
+
48
+ ## Major Features and Improvements
49
+ * ``DecompressedJpeg`` supports both reading and writing some internal variables of JPEG file format.
50
+ * The core of `DecompressedJpeg` has been changed to `jstruct` and `mat2D` in C++, which are adopted from [Fridrich's lab.](http://dde.binghamton.edu), and partly modified for Python wrapping.
51
+ * `ZigZagDct1d` is removed and will be updated again in the future.
52
+ * A test case for reading StegoAppDB JPEG files has added.
53
+ * The type of `DecompressedJpeg.quant_tables` is changed to list from `numpy.ndarray`.
54
+
55
+ # Release 0.1.3
56
+
57
+ ## Major Features and Improvements
58
+ * `DecompressedJpeg` supports only reading JPEG files, not writing.
59
+ * `DecompressedJpeg` depends on the functionality of libjpeg (linux and macos) or libjpeg-turbo (windows).
60
+ * `ZigZagDct1d` efficiently reads DCT coefficients in the zig-zag way and presents it as `numpy.ndarray`.