entangledstate-isbn 1.4.0 → 1.4.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (290) hide show
  1. data/README +1 -1
  2. data/Rakefile +0 -18
  3. data/VERSION +1 -0
  4. data/isbn.gemspec +290 -7
  5. data/lib/isbn.rb +6 -6
  6. data/src/gocr-0.48/.cvsignore +6 -0
  7. data/src/gocr-0.48/AUTHORS +7 -0
  8. data/src/gocr-0.48/BUGS +55 -0
  9. data/src/gocr-0.48/CREDITS +17 -0
  10. data/src/gocr-0.48/HISTORY +243 -0
  11. data/src/gocr-0.48/INSTALL +83 -0
  12. data/src/gocr-0.48/Makefile +193 -0
  13. data/src/gocr-0.48/Makefile.in +193 -0
  14. data/src/gocr-0.48/README +165 -0
  15. data/src/gocr-0.48/READMEde.txt +80 -0
  16. data/src/gocr-0.48/REMARK.txt +18 -0
  17. data/src/gocr-0.48/REVIEW +538 -0
  18. data/src/gocr-0.48/TODO +65 -0
  19. data/src/gocr-0.48/bin/.cvsignore +2 -0
  20. data/src/gocr-0.48/bin/create_db +38 -0
  21. data/src/gocr-0.48/bin/gocr.tcl +527 -0
  22. data/src/gocr-0.48/bin/gocr_chk.sh +44 -0
  23. data/src/gocr-0.48/configure +4689 -0
  24. data/src/gocr-0.48/configure.in +71 -0
  25. data/src/gocr-0.48/doc/.#Makefile.1.6 +39 -0
  26. data/src/gocr-0.48/doc/.cvsignore +2 -0
  27. data/src/gocr-0.48/doc/Makefile +39 -0
  28. data/src/gocr-0.48/doc/Makefile.in +39 -0
  29. data/src/gocr-0.48/doc/example.dtd +53 -0
  30. data/src/gocr-0.48/doc/example.xml +21 -0
  31. data/src/gocr-0.48/doc/examples.txt +67 -0
  32. data/src/gocr-0.48/doc/gocr.html +578 -0
  33. data/src/gocr-0.48/doc/unicode.txt +57 -0
  34. data/src/gocr-0.48/examples/.#Makefile.1.22 +166 -0
  35. data/src/gocr-0.48/examples/4x6.png +0 -0
  36. data/src/gocr-0.48/examples/4x6.txt +2 -0
  37. data/src/gocr-0.48/examples/5x7.png +0 -0
  38. data/src/gocr-0.48/examples/5x7.png.txt +2 -0
  39. data/src/gocr-0.48/examples/5x8.png +0 -0
  40. data/src/gocr-0.48/examples/5x8.png.txt +2 -0
  41. data/src/gocr-0.48/examples/Makefile +166 -0
  42. data/src/gocr-0.48/examples/color.fig +20 -0
  43. data/src/gocr-0.48/examples/ex.fig +16 -0
  44. data/src/gocr-0.48/examples/font.tex +22 -0
  45. data/src/gocr-0.48/examples/font1.tex +46 -0
  46. data/src/gocr-0.48/examples/font2.fig +27 -0
  47. data/src/gocr-0.48/examples/font_nw.tex +24 -0
  48. data/src/gocr-0.48/examples/handwrt1.jpg +0 -0
  49. data/src/gocr-0.48/examples/handwrt1.txt +10 -0
  50. data/src/gocr-0.48/examples/inverse.fig +20 -0
  51. data/src/gocr-0.48/examples/matrix.jpg +0 -0
  52. data/src/gocr-0.48/examples/ocr-a-subset.png +0 -0
  53. data/src/gocr-0.48/examples/ocr-a-subset.png.txt +4 -0
  54. data/src/gocr-0.48/examples/ocr-a.png +0 -0
  55. data/src/gocr-0.48/examples/ocr-a.txt +6 -0
  56. data/src/gocr-0.48/examples/ocr-b.png +0 -0
  57. data/src/gocr-0.48/examples/ocr-b.png.txt +4 -0
  58. data/src/gocr-0.48/examples/polish.tex +28 -0
  59. data/src/gocr-0.48/examples/rotate45.fig +14 -0
  60. data/src/gocr-0.48/examples/score +36 -0
  61. data/src/gocr-0.48/examples/text.tex +28 -0
  62. data/src/gocr-0.48/gocr.spec +143 -0
  63. data/src/gocr-0.48/gpl.html +537 -0
  64. data/src/gocr-0.48/include/.cvsignore +2 -0
  65. data/src/gocr-0.48/include/config.h +36 -0
  66. data/src/gocr-0.48/include/config.h.in +36 -0
  67. data/src/gocr-0.48/include/version.h +2 -0
  68. data/src/gocr-0.48/install-sh +3 -0
  69. data/src/gocr-0.48/make.bat +57 -0
  70. data/src/gocr-0.48/man/.cvsignore +2 -0
  71. data/src/gocr-0.48/man/Makefile +29 -0
  72. data/src/gocr-0.48/man/Makefile.in +29 -0
  73. data/src/gocr-0.48/man/man1/gocr.1 +166 -0
  74. data/src/gocr-0.48/src/.cvsignore +4 -0
  75. data/src/gocr-0.48/src/Makefile +132 -0
  76. data/src/gocr-0.48/src/Makefile.in +132 -0
  77. data/src/gocr-0.48/src/amiga.h +31 -0
  78. data/src/gocr-0.48/src/barcode.c +846 -0
  79. data/src/gocr-0.48/src/barcode.c.orig +593 -0
  80. data/src/gocr-0.48/src/barcode.h +11 -0
  81. data/src/gocr-0.48/src/box.c +372 -0
  82. data/src/gocr-0.48/src/database.c +462 -0
  83. data/src/gocr-0.48/src/detect.c +943 -0
  84. data/src/gocr-0.48/src/gocr.c +373 -0
  85. data/src/gocr-0.48/src/gocr.h +288 -0
  86. data/src/gocr-0.48/src/jconv.c +168 -0
  87. data/src/gocr-0.48/src/job.c +84 -0
  88. data/src/gocr-0.48/src/lines.c +350 -0
  89. data/src/gocr-0.48/src/list.c +334 -0
  90. data/src/gocr-0.48/src/list.h +90 -0
  91. data/src/gocr-0.48/src/ocr0.c +6756 -0
  92. data/src/gocr-0.48/src/ocr0.h +63 -0
  93. data/src/gocr-0.48/src/ocr0n.c +1475 -0
  94. data/src/gocr-0.48/src/ocr1.c +85 -0
  95. data/src/gocr-0.48/src/ocr1.h +3 -0
  96. data/src/gocr-0.48/src/otsu.c +289 -0
  97. data/src/gocr-0.48/src/otsu.h +23 -0
  98. data/src/gocr-0.48/src/output.c +289 -0
  99. data/src/gocr-0.48/src/output.h +37 -0
  100. data/src/gocr-0.48/src/pcx.c +153 -0
  101. data/src/gocr-0.48/src/pcx.h +9 -0
  102. data/src/gocr-0.48/src/pgm2asc.c +2893 -0
  103. data/src/gocr-0.48/src/pgm2asc.h +105 -0
  104. data/src/gocr-0.48/src/pixel.c +537 -0
  105. data/src/gocr-0.48/src/pnm.c +533 -0
  106. data/src/gocr-0.48/src/pnm.h +35 -0
  107. data/src/gocr-0.48/src/progress.c +87 -0
  108. data/src/gocr-0.48/src/progress.h +42 -0
  109. data/src/gocr-0.48/src/remove.c +703 -0
  110. data/src/gocr-0.48/src/tga.c +87 -0
  111. data/src/gocr-0.48/src/tga.h +6 -0
  112. data/src/gocr-0.48/src/unicode.c +1314 -0
  113. data/src/gocr-0.48/src/unicode.h +1257 -0
  114. data/src/jpeg-7/Makefile.am +133 -0
  115. data/src/jpeg-7/Makefile.in +1089 -0
  116. data/src/jpeg-7/README +322 -0
  117. data/src/jpeg-7/aclocal.m4 +8990 -0
  118. data/src/jpeg-7/ansi2knr.1 +36 -0
  119. data/src/jpeg-7/ansi2knr.c +739 -0
  120. data/src/jpeg-7/cderror.h +132 -0
  121. data/src/jpeg-7/cdjpeg.c +181 -0
  122. data/src/jpeg-7/cdjpeg.h +187 -0
  123. data/src/jpeg-7/change.log +270 -0
  124. data/src/jpeg-7/cjpeg.1 +325 -0
  125. data/src/jpeg-7/cjpeg.c +616 -0
  126. data/src/jpeg-7/ckconfig.c +402 -0
  127. data/src/jpeg-7/coderules.txt +118 -0
  128. data/src/jpeg-7/config.guess +1561 -0
  129. data/src/jpeg-7/config.sub +1686 -0
  130. data/src/jpeg-7/configure +17139 -0
  131. data/src/jpeg-7/configure.ac +317 -0
  132. data/src/jpeg-7/depcomp +630 -0
  133. data/src/jpeg-7/djpeg.1 +251 -0
  134. data/src/jpeg-7/djpeg.c +617 -0
  135. data/src/jpeg-7/example.c +433 -0
  136. data/src/jpeg-7/filelist.txt +215 -0
  137. data/src/jpeg-7/install-sh +520 -0
  138. data/src/jpeg-7/install.txt +1097 -0
  139. data/src/jpeg-7/jaricom.c +148 -0
  140. data/src/jpeg-7/jcapimin.c +282 -0
  141. data/src/jpeg-7/jcapistd.c +161 -0
  142. data/src/jpeg-7/jcarith.c +921 -0
  143. data/src/jpeg-7/jccoefct.c +453 -0
  144. data/src/jpeg-7/jccolor.c +459 -0
  145. data/src/jpeg-7/jcdctmgr.c +482 -0
  146. data/src/jpeg-7/jchuff.c +1612 -0
  147. data/src/jpeg-7/jcinit.c +65 -0
  148. data/src/jpeg-7/jcmainct.c +293 -0
  149. data/src/jpeg-7/jcmarker.c +667 -0
  150. data/src/jpeg-7/jcmaster.c +770 -0
  151. data/src/jpeg-7/jcomapi.c +106 -0
  152. data/src/jpeg-7/jconfig.bcc +48 -0
  153. data/src/jpeg-7/jconfig.cfg +45 -0
  154. data/src/jpeg-7/jconfig.dj +38 -0
  155. data/src/jpeg-7/jconfig.mac +43 -0
  156. data/src/jpeg-7/jconfig.manx +43 -0
  157. data/src/jpeg-7/jconfig.mc6 +52 -0
  158. data/src/jpeg-7/jconfig.sas +43 -0
  159. data/src/jpeg-7/jconfig.st +42 -0
  160. data/src/jpeg-7/jconfig.txt +155 -0
  161. data/src/jpeg-7/jconfig.vc +45 -0
  162. data/src/jpeg-7/jconfig.vms +37 -0
  163. data/src/jpeg-7/jconfig.wat +38 -0
  164. data/src/jpeg-7/jcparam.c +632 -0
  165. data/src/jpeg-7/jcprepct.c +358 -0
  166. data/src/jpeg-7/jcsample.c +545 -0
  167. data/src/jpeg-7/jctrans.c +381 -0
  168. data/src/jpeg-7/jdapimin.c +396 -0
  169. data/src/jpeg-7/jdapistd.c +275 -0
  170. data/src/jpeg-7/jdarith.c +762 -0
  171. data/src/jpeg-7/jdatadst.c +151 -0
  172. data/src/jpeg-7/jdatasrc.c +212 -0
  173. data/src/jpeg-7/jdcoefct.c +736 -0
  174. data/src/jpeg-7/jdcolor.c +396 -0
  175. data/src/jpeg-7/jdct.h +393 -0
  176. data/src/jpeg-7/jddctmgr.c +382 -0
  177. data/src/jpeg-7/jdhuff.c +1309 -0
  178. data/src/jpeg-7/jdinput.c +384 -0
  179. data/src/jpeg-7/jdmainct.c +512 -0
  180. data/src/jpeg-7/jdmarker.c +1360 -0
  181. data/src/jpeg-7/jdmaster.c +663 -0
  182. data/src/jpeg-7/jdmerge.c +400 -0
  183. data/src/jpeg-7/jdpostct.c +290 -0
  184. data/src/jpeg-7/jdsample.c +361 -0
  185. data/src/jpeg-7/jdtrans.c +136 -0
  186. data/src/jpeg-7/jerror.c +252 -0
  187. data/src/jpeg-7/jerror.h +304 -0
  188. data/src/jpeg-7/jfdctflt.c +174 -0
  189. data/src/jpeg-7/jfdctfst.c +230 -0
  190. data/src/jpeg-7/jfdctint.c +4348 -0
  191. data/src/jpeg-7/jidctflt.c +242 -0
  192. data/src/jpeg-7/jidctfst.c +368 -0
  193. data/src/jpeg-7/jidctint.c +5137 -0
  194. data/src/jpeg-7/jinclude.h +91 -0
  195. data/src/jpeg-7/jmemansi.c +167 -0
  196. data/src/jpeg-7/jmemdos.c +638 -0
  197. data/src/jpeg-7/jmemdosa.asm +379 -0
  198. data/src/jpeg-7/jmemmac.c +289 -0
  199. data/src/jpeg-7/jmemmgr.c +1118 -0
  200. data/src/jpeg-7/jmemname.c +276 -0
  201. data/src/jpeg-7/jmemnobs.c +109 -0
  202. data/src/jpeg-7/jmemsys.h +198 -0
  203. data/src/jpeg-7/jmorecfg.h +369 -0
  204. data/src/jpeg-7/jpegint.h +395 -0
  205. data/src/jpeg-7/jpeglib.h +1135 -0
  206. data/src/jpeg-7/jpegtran.1 +272 -0
  207. data/src/jpeg-7/jpegtran.c +546 -0
  208. data/src/jpeg-7/jquant1.c +856 -0
  209. data/src/jpeg-7/jquant2.c +1310 -0
  210. data/src/jpeg-7/jutils.c +179 -0
  211. data/src/jpeg-7/jversion.h +14 -0
  212. data/src/jpeg-7/libjpeg.map +4 -0
  213. data/src/jpeg-7/libjpeg.txt +3067 -0
  214. data/src/jpeg-7/ltmain.sh +8406 -0
  215. data/src/jpeg-7/makcjpeg.st +36 -0
  216. data/src/jpeg-7/makdjpeg.st +36 -0
  217. data/src/jpeg-7/makeadsw.vc6 +77 -0
  218. data/src/jpeg-7/makeasln.vc9 +33 -0
  219. data/src/jpeg-7/makecdep.vc6 +82 -0
  220. data/src/jpeg-7/makecdsp.vc6 +130 -0
  221. data/src/jpeg-7/makecmak.vc6 +159 -0
  222. data/src/jpeg-7/makecvcp.vc9 +186 -0
  223. data/src/jpeg-7/makeddep.vc6 +82 -0
  224. data/src/jpeg-7/makeddsp.vc6 +130 -0
  225. data/src/jpeg-7/makedmak.vc6 +159 -0
  226. data/src/jpeg-7/makedvcp.vc9 +186 -0
  227. data/src/jpeg-7/makefile.ansi +220 -0
  228. data/src/jpeg-7/makefile.bcc +291 -0
  229. data/src/jpeg-7/makefile.dj +226 -0
  230. data/src/jpeg-7/makefile.manx +220 -0
  231. data/src/jpeg-7/makefile.mc6 +255 -0
  232. data/src/jpeg-7/makefile.mms +224 -0
  233. data/src/jpeg-7/makefile.sas +258 -0
  234. data/src/jpeg-7/makefile.unix +234 -0
  235. data/src/jpeg-7/makefile.vc +217 -0
  236. data/src/jpeg-7/makefile.vms +142 -0
  237. data/src/jpeg-7/makefile.wat +239 -0
  238. data/src/jpeg-7/makejdep.vc6 +423 -0
  239. data/src/jpeg-7/makejdsp.vc6 +285 -0
  240. data/src/jpeg-7/makejdsw.vc6 +29 -0
  241. data/src/jpeg-7/makejmak.vc6 +425 -0
  242. data/src/jpeg-7/makejsln.vc9 +17 -0
  243. data/src/jpeg-7/makejvcp.vc9 +328 -0
  244. data/src/jpeg-7/makeproj.mac +213 -0
  245. data/src/jpeg-7/makerdep.vc6 +6 -0
  246. data/src/jpeg-7/makerdsp.vc6 +78 -0
  247. data/src/jpeg-7/makermak.vc6 +110 -0
  248. data/src/jpeg-7/makervcp.vc9 +133 -0
  249. data/src/jpeg-7/maketdep.vc6 +43 -0
  250. data/src/jpeg-7/maketdsp.vc6 +122 -0
  251. data/src/jpeg-7/maketmak.vc6 +131 -0
  252. data/src/jpeg-7/maketvcp.vc9 +178 -0
  253. data/src/jpeg-7/makewdep.vc6 +6 -0
  254. data/src/jpeg-7/makewdsp.vc6 +78 -0
  255. data/src/jpeg-7/makewmak.vc6 +110 -0
  256. data/src/jpeg-7/makewvcp.vc9 +133 -0
  257. data/src/jpeg-7/makljpeg.st +68 -0
  258. data/src/jpeg-7/maktjpeg.st +30 -0
  259. data/src/jpeg-7/makvms.opt +4 -0
  260. data/src/jpeg-7/missing +376 -0
  261. data/src/jpeg-7/rdbmp.c +439 -0
  262. data/src/jpeg-7/rdcolmap.c +253 -0
  263. data/src/jpeg-7/rdgif.c +38 -0
  264. data/src/jpeg-7/rdjpgcom.1 +63 -0
  265. data/src/jpeg-7/rdjpgcom.c +515 -0
  266. data/src/jpeg-7/rdppm.c +459 -0
  267. data/src/jpeg-7/rdrle.c +387 -0
  268. data/src/jpeg-7/rdswitch.c +365 -0
  269. data/src/jpeg-7/rdtarga.c +500 -0
  270. data/src/jpeg-7/structure.txt +945 -0
  271. data/src/jpeg-7/testimg.bmp +0 -0
  272. data/src/jpeg-7/testimg.jpg +0 -0
  273. data/src/jpeg-7/testimg.ppm +4 -0
  274. data/src/jpeg-7/testimgp.jpg +0 -0
  275. data/src/jpeg-7/testorig.jpg +0 -0
  276. data/src/jpeg-7/testprog.jpg +0 -0
  277. data/src/jpeg-7/transupp.c +1533 -0
  278. data/src/jpeg-7/transupp.h +205 -0
  279. data/src/jpeg-7/usage.txt +605 -0
  280. data/src/jpeg-7/wizard.txt +211 -0
  281. data/src/jpeg-7/wrbmp.c +442 -0
  282. data/src/jpeg-7/wrgif.c +399 -0
  283. data/src/jpeg-7/wrjpgcom.1 +103 -0
  284. data/src/jpeg-7/wrjpgcom.c +583 -0
  285. data/src/jpeg-7/wrppm.c +269 -0
  286. data/src/jpeg-7/wrrle.c +305 -0
  287. data/src/jpeg-7/wrtarga.c +253 -0
  288. metadata +287 -6
  289. data/LICENSE +0 -20
  290. data/VERSION.yml +0 -4
Binary file
Binary file
@@ -0,0 +1,4 @@
1
+ P6
2
+ 227 149
3
+ 255
4
+ 0/-0/-10.21/51.51.62/72.83/83/83/:3-:3-:3-:3-:3-:2/91.91.80-80-91.91.:2/80-80-80-80-80-80-80-80-6.+6.+6.+5-*5-*4,)4,)4,)4,)4,)4,)4,)4,)4,)4,)4,).+$/,%/,%0-&1.'2/(30)30)63,63,74-85.85.96/:70:70A;/B<0D>2F@2IA4JB5KC6KD4MD5MD5MD3NB2OC3OC3PD4QE5T>1Y?2b@4nB5}E6�G8�G9�E7�F9�F9�E8�F;�F>�F?�G@�G@�CN�CL�CL�DK�DI�BF�>B�<A�;A�9@�9?�;@�>@�?@�?<�=;�@.�@.�@.�?-�?-�@-�?-�?-�@,�A.�A-�B,�A*�A)�@*�A*�?/�?/�?/�>,�>,�<+�<+�<+�?+�?+�=*�=*�=*�>+�?+�@,�?:�>7�=4�?1�B3�D3�D3�D4�?/�@2�E8�H;�H9mB2T8*D3#:659549547326216005//50-72/72/72/61-61-50,50,50,.0-.0-.0-//-//-0/-2.-3--5,-4+,4*+4(*7(+=.1E69L<?n@B|HJ�MN�NO�VZ�cl�n��s��|����}��|��pz�`a�TLuRCjSKcOG_MH\TR`fdo|}�������������������{|jhgUXWERO>UPdUPdUPd0/-0/-10.10.40-51.62/72.83/83/83/:3-:3-:3-:3-:3-91.91.80-80-80-80-91.91.80-80-80-80-80-80-80-80-6.+6.+5-*5-*5-*4,)4,)4,)5-*5-*5-*5-*5-*5-*5-*5-*/,%0-&0-&1.'2/(30)41*41*63,63,74-74-85.96/:70:70@:.A;/C=1E?3H@3IA4JB5JC3LC4LC4KB3MA1MA1NB2OC3PD4P>0U?1^A3jC4xD6�D4�D5�B3�B3�@2�@4�B7�C:�E<�F=�G>�AK�AI�CI�DH�DG�BD�@D�>C�;A�9@�9?�<?�?@�@@�@<�=8�@.�@.�?-�?-�?-�?,�?-�@-�@,�@-�A-�A+�A*�@+�@*�A*�?/�?/�>.�>.�>,�=+�<+�<+�>-�>*�>*�=*�=*�>+�?,�@-�@8�>5�>3�?1�A3�D4�D3�C4�A2�B6�E8�I;�G:kA3S9*D4$<66;55:4493382271161.61.72/72/72/61-61-50,50,50,.0-.0-.0-//-//-0/-2.-2.-3--5,-4*+4(*5)+<-0C47I:=h<;vDC�JI�LJ�ST�`h�k{�r��{����|��y��lv�[\�QHsQBkOFaOFaNI_RN_[Yfnot������������������~ojk[]\JVUCXQaXQaXQa/.,/.,0/-10.40-40-51.51.72.72.72.92,92,92,92,92,91.80-7/,7/,7/,7/,80-91.80-80-80-80-80-80-80-80-6.+5-*5-*5-*4,)4,)4,)4,)5-*5-*5-*5-*5-*5-*5-*5-*1.'1.'2/(30)30)41*41*52+63,63,63,74-85.96/96/:70?9-@:.B<0D>2G?4H@3H@3H@3I@1I@1I@1K?1K?/L@0MA1NB2MA1QA2YB2dC2qC3|C2�A2�@0�<+�:+�;,�>0�@4�C8�F=�G>�?E�@F�BG�CF�DF�CE�AD�?D�;@�:?�:@�=@�@@�A=�@;�>7�@-�@-�@-�?,�?,�?-�>,�?,�?-�@-�@,�A+�A,�@*�A*�@)�?/�>.�>.�>.�=+�=+�=+�<+�=,�=,�<+�=)�>*�>*�?+�@,�B7�?5�>3�>2�A4�C5�D5�C4�D6�F9�I=�I=�F;gA4P:,B6&=77=77<66:4493383072/72/62/62/62/52-52-41,41,41,,1-,1-.0-.0-//-//-0/-2.-5//4..5,-4*+4*+9-/>24C79_83l?:|E@�IB�NK�Z^�ft�n��w��~�z��s�dm�UU�NEtO?lMBbPEcQHcMH^NK\[[estx��������������|xzlghXZ[KVTEZT`ZT`ZT`.-+/.,/.,0/-10.40-40-40-51.61-61-61-81+81+81+81+50-50-4/,4/,4/,4/,50-50-61.61.61.61.61.61.61.61.3.+3.+3.+2-*2-*2-*1,)1,)4/,4/,4/,4/,4/,4/,4/,4/,30+30+30+41,41,52-52-52-52-52-63.74/850850961961>8,?9-@:.B<0E=2E=2F>1F>1G=1G>/F=.I=/I=/J>0L@0L@0JD4NE4TD4^D3hE2sB1~A/�>-�9'�9'�9)�<-�@3�E8�I<�J>�@C�AC�CE�DE�CD�AC�@C�>A�;@�:?�:>�=@�A?�B=�A7�>5�@,�@,�@,�?-�>,�>,�?,�>-�?-�?,�@-�@,�@+�@*�@)�@(�>.�>.�>.�=-�=-�=-�<*�<*�=+�=+�<*�<*�=+�=,�>-�>-�B6�?5�?2�@2�B4�C6�B5�B5�F:�H>�K@�J@|F:aA4K;.?9+@86@86?75>64:5294183073062/62/62/32.32-21,21,21,-2.-2.-2./1./1.00.00.10.5106005//5,-4+,6,-:01>45W6-b<3qA7}D9�H@�RQ�_i�i��s�|z�u~�my�^g�RQ�MDyM?rN@dPEgQFfLC^GBVNLZ^^fjnquzvx}vz�vwzokoa`bUWYKTUG]V^]V^]V^.-+.-+.-+/.,0/-10.3/,40-3/,4/+4/+4/+4/+6/)6/)6/)4/,4/,3.+3.+3.+3.+4/,4/,50-50-50-50-50-50-50-50-3.+3.+2-*2-*2-*1,)1,)1,)4/,4/,4/,4/,4/,4/,4/,4/,41,41,41,41,41,52-52-52-52-52-63.63.74/850961961<5+=6,?8.@9/B:/C;0C;0C;.D:.D:.D:.G;-H<.I=/J>0K?1GH6KH7PG6XG5aF3jD1uB/|?,�;)�:'�;(�=,�B2�G7�K<�M>�DB�DC�DB�EB�C@�@@�>>�:>�:=�9<�;>�?>�B>�C:�A5�?0�@-�?,�?,�?,�>+�>+�>-�?-�?,�?-�?,�?+�?*�?+�?*�>)�?.�?.�>-�>-�>-�=,�=,�=,�=,�=,�=,�=,�<,�=-�>.�>.�B4�A4�@1�@3�B5�C7�A8�@7�B;�G?�KC�J@uE;Y>3C9-78*@86@86?75>64=53:5294173062/43/43/32.23.12-12,12,,2.-2.-2.-2./1./1.00.00.3205105104..2,,4+,7./901P5*Y9,e>/n@1tB7|KG�Yc�g~p�xx�s{�js�]e�TT�OG�LAyPAjPAhMAeJA`GBYHEXKKWMPU^bc`fbcha`f\Z`TWZOUYKWYL`WZ`WZ`WZ,,,,,,---.-+/.,0/-10.3/,2.+2.+3.*3.*3.*3.*3.*3.*3.+3.+2-*1,)1,)2-*3.+3.+3.+3.+3.+3.+3.+3.+3.+3.+2-*2-*2-*2-*1,)1,)1,)0+(3.+3.+3.+3.+3.+3.+3.+3.+41,41,41,41,41,41,41,41,41,52-52-63.74/850850850;4*<5+=6,>7-@7.A8/A9.A9.C9/C9-C9-F:.G;/H<.J>0K?1FI8GH6MH5TG6[F3dC0lA.t?-{<*�;)�;*�=,�A1�F5�J:�M=�E@�FA�FA�E@�C?�@>�==�9<�:<�9;�;=�?=�B=�D8�A2�>,�@,�@,�?+�>-�>-�>,�>,�>.�>-�?,�?,�>,�?+�>*�>)�?)�>-�>-�>-�>-�=,�=,�=,�<+�=,�<+�<+�<+�<+�=.�>/�?0�C2�A2�@2�A5�B9�C:�@:�@9�@9�H@�NG�NEoG=R@4?;039-A75A75@64>63<4194083/74/63.43.34/23.13.02-02-02--3/-3/-3/.3/.3/02/02/11/11/32032040/2.-1-,4..5//H4)M5)X8+a<,f>2nGBzYb�l��u�{|�u|�mu�bi�[[�SL�LB�QAnN?jI=cH>`HB^FCX@BO<?HBGJFLJJQJJQIIQFKQGOUISYMaXSaXSaXS++++++,,,---/.,/.,0/-0/-1-*1-*1-*2-)2-)2-)2-)2-)2-*2-*1,)1,)1,)1,)2-*2-*1,)1,)1,)1,)1,)1,)1,)1,)2-*2-*2-*1,)1,)1,)0+(0+(3.+3.+3.+3.+3.+3.+3.+3.+41,41,41,30+30+30+30+30+41,41,52-63.74/74/850850:3+;4,<5-=6.?6-?6-?6-?6-B8.B8.C9/E9-G;/H<0J>2K?3DG6EF6KE5PD4VC2^C2e@.m>,v=,|;)�:)�;*�=.�B2�F7�I:�D<�F>�G>�F>�E>�C?�@>�<>�9:�9:�;<�@<�B;�D6�A/�=)�@-�@-�@-�?,�?,�>.�=-�>-�>,�?.�?-�?,�>,�>*�?*�>)�>-�>-�>-�=,�=,�=,�<-�<-�<-�<-�<,�<,�=-�=0�=0�>1�D2�C1�A3�B6�C:�A<�B=�B=�EA�PJ�XP�ZOqSIVI@BD97A6A83@72?61=60<4194083/63.43.43.34.13.13.02-.3-.3--3/-3/-3/.3/.3/.3/02/02/00.11/22021/0/-/.,2.-3/.?0)C1'K3'T8,Z<2dGCw]h�s�������|��sz�kq�ed�VS�JC�N>kK<gG;cG=`FB]DBX?AP;?H:BE?HGDMHGQIGQHJRGNVKRZOaYNaYNaYN++++++,,,,,,---/.,0/-0/-/.,1-*1-*1-*2-)2-)2-)2-)1-,0,+0,+/+*/+*0,+0,+1-,/+*/+*/+*/+*/+*/+*/+*/+*1-,1-,1-,0,+0,+/+*/+*/+*1-,1-,1-,1-,1-,1-,1-,1-,3/,3/,3/,3/,3/,3/,3/,3/,40-40-51.62/62/73084184192,:3-;4,<5->5.>5.>5.>5,B8/B8/C9/E8/G:1I<3J=4K?3EC6FB6IC5NB4TA3\@2b>0h=-q<.w9*}8)�7*�:,�=/�B2�D5�E9�F;�G<�H=�H>�F@�C?�@@�:9�:9�=;�A;�D:�E4�A-�?(�A-�A-�@.�@.�?.�>-�?-�>/�>.�@.�?.�?-�>+�?*�>)�>+�>-�>-�>-�=,�=.�=-�=-�=-�</�<.�<.�<.�<.�=0�>1�?2�D2�C1�B4�B6�C;�C>�C>�D?�PJ�[T�e\�f]s_TYUJFNC>KA@70@72>71=6094.83-63,63.43.34.34.13.13..3-.3-.3--3/-3/-3/.3/.3/.3/.3/02/.0-00.22022000.0/-0/-10.8,,;,)B1*K7.S<4^IHtbn�z������ʂ��y��rw�ik�XV�GD�I<gG<fD<aC>^C@[ABV>DP>EMGQSKWUQ^WU`XS_UR^TT^SV`UaZHaZHaZH,-/,-/------------.-+.-+/.,/.,1-*0,)0,)0,)/+(0+'/+*/+*/+*/+*/+*/+*/+*0,+/+*/+*/+*/+*/+*/+*/+*/+*/+*/+*/+*0,+0,+1-,1-,2.-1-,1-,1-,1-,1-,1-,1-,1-,0,)1-*2.+3/,3/,3/,3/,3/,3/,3/,3/,3/,40-51.62/73081+92,:3-;4.=4/>5.>5.>5.?4.?5,@6-C6.D7.F90G:1H;2F?5H@5J@6N@5R>3W<1\:0a7+k9.t8-|8+�9,�;/�=0�?1�?2�@3�B5�D8�E:�G=�F>�D?�B>�?=�A?�D?�E>�C8�C1�B.�B,�A.�@-�?,�?,�=-�=-�>.�?.�<,�=,�=+�>-�=,�=+�=*�>*�<+�<+�<+�<,�<,�<,�;-�;-�=/�</�</�=0�?1�@4�A5�B6�F3�E4�F7�H>�F@�C>�DA�KG�XR�f]�qf�th|rfik^S_SCSHQJBLE=D=5<8/95,74-63,33+43.34.23-13.02--2,,1+,1+-2.-2.-2.-2.-2.-2./1./1.02/02/11/11/11/11/11/11/5*2;/3A32C4/J;6]OOymy��������Ӑ�݂��tz�jn�_b�YZ�PHmHBdA>]>>X?AVBHVLU^U`bbqnn}xv�|p�ulyoguh_k_T`Ta[Eb\Fc]G,-/,-/,-/,-/---------.-+/.,.-+.-+0,)/+(/+(/+(/+(.*).*).*).*)/+*/+*/+*/+*/+*/+*/+*/+*/+*/+*/+*/+*/+*/+*/+*0,+0,+0,+1-,1-,1-,1-,1-,1-,1-,1-,1-,1-,0,)0,)1-*2.+3/,3/,2.+2.+2.+2.+2.+2.+3/,40-51.62/80-91.:2/;30=4/>50>50=4-?4.?4.?4.B5-C6.E80G:2H;3H>5J=5L=6O>6Q=4V;2Z90_7/h8.p7.y6-�8-�9.�;1�<1�>1�@3�A5�B5�E8�E:�F<�E=�C=�C?�D@�F@�F>�F8�C2�B/�C-�B0�A/�@.�?-�?-�>-�>.�>.�=,�=.�=-�=,�=+�>-�=,�>,�=+�=+�<,�<,�<,�;-�;-�<-�</�=/�=1�=1�>4�@6�A7�B8�H7�F7�G:�I@�HB�FA�JF�TM�dZ�re�~o�p~|mlteYgZJZOPLAKI=EC7@>2=:1:7.44*11)23+23-12,/1,/1,.0+.0+.0-/1./1./1./1./1./1./1./1.02/11/11/11/11/11/11/11/5*:9-9<15?53H?:^VTxsz��������ΐ�ׄ��x��py�kt�en�__yXZsSUjRWjU]j\gmguvr�v�������}��v�yp�sfteXfW_YA`ZBb\D,-/,-/,-/,-/,-/---------.-+.-+.-+-,*/+(.*'.*'.*'.*+.*+.*+.*+-)*-)*-)*-)*/+,/+,/+,/+,/+,/+,/+,/+,.*+.*+/+,/+,/+,0,-0,-0,-0,-0,-0,-1-.1-.1-.1-.1-.0,+0,+1-,2.-2.-2.-2.-1-,1-,1-,1-,1-,2.-3/.40/51080-91.:2/;30=31=31=4/=4/?40?4.?4.A4.C60D7/F91G:2H;5J;6K<7N=6P;6S:5V72[60c60k6.t5,}7/�9/�:0�<0�<1�@3�@4�@3�A3�C6�C8�D:�C<�F>�G@�HB�H?�E:�C3�B0�B.�B/�A.�@-�>-�>-�>-�>-�?0�<-�=-�=,�=.�>-�=,�=+�=+�<*�<,�<,�;+�;+�<-�;,�;-�<0�<0�<2�>3�?4�A8�C:�D;�K<�H;�H>�JD�IF�KG�SM�_V�rg��q��z��{��wr�ocqbVdWPQCMN@HI;DD8@@4::055+/0(01)01+/0*/0+./*./*//-//-//-//-//-//-//-//-//-//-00.00.00.00.00.00.00.00.6*>6+;8.6;63HE>_^Yyz|��������Î�˄��}��{��|��|����y��q~�o|�n}�o��y��������������������|�{j{iXiW\V<^X>`Z@-.0-.0-.0-.0-.0-.0......---.-+-,*-,*,+).*'.*'.*',*++)*+)*+)*+)**()*()*(),*+,*+,*+,*+,*+,*+,*+,*+,*+,*+,*+,*+,*+-+,-+,-+,-+,.,-.,-.,-.,-/-./-./-./+*0,+1-,1-,1-,1-,0,+0,+0,+0,+0,+0,+1-,2.-3/.40/91/:20;31<42=31=31=31=31>3/>3/>3/@3-A4.C60D71E82G83H94I:5L:6M:6N94Q83T50^72e60o6/x8/�90�:/�;1�=1�?4�?4�?2�@1�A2�C5�D7�D:�F<�G>�IA�H>�F:�C4�B0�B.�A.�A.�?-�>,�>,�=.�=.�=.�<,�<.�=.�=-�<.�=-�=-�<,�;)�;+�;+�;+�;,�;,�;-�:,�;/�<1�<1�>5�@7�C:�E<�F=�M>�I<�H>�IC�LG�PL�\T�j^��o��y���������z�ym{lam_UYHQUDKO@EI:@D6;=057,13(01)/0*/.).-).-).-+/.,0/-/.,/.,/.,/.,/.,/.,/.,/.,0/-0/-0/-0/-0/-0/-0/-0/-8*A6):3-1961HJ=bfX{�y������������������������������������������}������������������������~k|iUfSXT7ZV9^Z=+/2+/2-.0-.0-.0-.0-.0...------.-+-,*-,*,+),+),+),*+,*+,*++)*+)**()*()*(),*+,*+,*+,*+,*+,*+,*+,*+,*+,*+,*+,*+,*++)*+)*+)*,*+-+,-+,.,-.,-/-./-./-./+*0,+0,+0,+0,+0,+/+*.*)/+*/+*/+*/+*0,+1-,3/.40/91/:20;31<42=32=32<20<20=20=2.=2.?1.@2/A4.B5/C60D63C84D95G96G96H94K84N51V72_60h70r7/}:1�<1�=2�>2�?7�?5�?5�?3�A3�C5�D6�E8�E;�F=�G>�F=�D8�B5�@0�@/�A-�A-�?,�>+�<,�<,�=-�=/�<.�<-�=-�<.�<-�<,�<,�<,�;+�:*�:*�:*�:+�:+�:,�:.;0�<1�=4?6�B9�D;�G@�HA�LA�H?�HA�KG�OL�WQ�f]�wh��w������������|�}t�qlte\eRV_LMVCEL<?F6<@27;-68-01)00(.-(/+(/+(/+*2,,3--1-,1-,1-,1-,1-,1-,1-,1-,0/-0/-0/-0/-0/-0/-0/-0/-9*?5)73*-66*GL6_iPx�n������������������������������������������������������������������{�xgzdQcMTS5VU7XW9,03,03,03,03./1./1./1///..........-+.-+.-+-,*-,*-+,-+,-+,,*++)**()*()*()+)*+)*+)*+)*+)*+)*+)*+)*,*+,*++)*+)*+)**()*()*(),*+,*+,*+-+,.,-.,-/-./-./+*/+*0,+0,+/+*/+*.*)-)(0,+0,+/+*0,+1-,2.-3/.40/:12:12;23<42=32<21<21;1/=20<1/<1->0-?1.@2/A30A30?61@72@93A96A96B94E74G51O61W6/a6/j8/u9.�</�=0�>0�>7�>5�?5�@4�B4�C4�C4�D4�B5�C8�E:�E;�C7�@4�?1�?2�A,�?-�=,�=,�<+�<+�<.�<.�;-�</�<.�;-�;,�<,�;-�<-�:*�:*�9)�:)�:+�9+:+9-�<1<3?5�A8�C<�F?�JB�JE�JA�G@�HC�NJ�VR�_Y�pe��r��{������������~�~z�uszjcqZ]iSR^JHT@BK:>E5:@29<134,22*1.)/+(/*'0**3*+4+,1++1++1++1++1++1++1++0,+1-,1-,1-,1-,1-,1-,1-,/.,;(;5(23+(56$CL-\hDt�`��w�������������������Ƥ�Ш�ɯ�ʰ�˯�ɪ��������������������������{w�rdx]MaHQQ5QQ5RR6,03,03,03,03./1./1./1./1/////////0/-/.,/.,.-+.-+/-..,-.,--+,,*++)*+)**()+)*+)*+)*+)*+)*+)*+)*+)*+)*+)*+)**()*()*())'()'(+)*+)*,*+-+,.,-.,-/-./-./+*/+*/+*/+*/+*.*)-)(,('0,+0,+0,+0,+1-,2.-40/40/:12;23;23<34=32<21<21;10<1/<1/<1/=/,>0->0-?1.@2/;60;62;83<94=:5=:5?82A60F5.O4-W5+b6+n8,x:-<,�<.�:6�<5�=5�@4�A4�B3�B2�@0�?1�@4�B7�B9�@6�?5�=2�?2�@-�?-�>,�<+�;*�;,�;-�;-�;,�<.�;-�<-�;.�;-�;,�;,�9)�9)�9)�9*�9*�9+~8,}9,=1�=4�@7�B9�E>�HC�KF�MH�IA�GA�JF�SO�\X�h`�{n��y�����������~������w{nixacr[ZhQP]IIUACL;>D6<?467/44,30+0+(1)'1()3)*5+,2)*2)*2)*2)*2)*0**0**0**1++1++0,+0,+0,+0,+0,+0,+;&57(/4-%46?I$Ue8p�T��k��}����������������ɓ�Ҕ�Ұ�Ү�ѭ�̥�����������������������{{�tq�k_sWJ^CMM1LL0KK/,03,03,03,03./1./1./1./10000000000/-0/-0/-/.,/.,0.//-./-..,--+,,*++)*+)*+)*+)*+)*+)*+)*+)*+)*+)*+)*+)*+)**()*())'()'((&'*()+)*,*+,*+-+,.,-/-./-./+*/+*/+*/+*.*)-)(,(',('1-,1-,1-,1-,2.-3/.40/510;23;23<34<34=34<21;10;10<1/<1/;0.=/.=/,>0-?1.?1.96/:729839839:4:94;83>71A2+I2*S2)^4(j6)s8*|:*~;+�84�:5�=4�@3�B3�A1�@/�>-�<-�=0�@4�A7�@7�>4�=4�=3�@-�?,�=+�<*�;*�;,�;,�<-�;.�<.�;-�;,�:-�;-�;,�;,�9)�9)�9(�9*�9*�8*~8,}9,�>2?5�@7�C<�G?�ID�MG�OI�IC�HD�MJ�UT�a^�ng��s������������|��|������y�ql{dgv__nWXeQP\HIRAAG9=@579.66.41,1,)1)'2()3)*4*+2)*2)*2)*2)*2)*2)*2)*0**1++1++1++0,+0,+0,+0,+0,+:&27(+4."47=HRb1l~J��b��r��|�����~��{����ƅ�΅�ɢ�ɟ�Ȟ�×�������������~������~�vu�ml�dZnRG[?IL/GJ-DG*/0*/0*/0*01+01+01+21,21,32-63.63.63.52-50,4/+4/+8.,7/,6.+5-+4,*2-*1++0,-0,-.,/--/-,1,+0*+/)*.()./(0/(//(//(//(//)-.)-.*+/+,-,*-,(.-).-)-.(./)./)--/--/---.../-.0/-2.+3.+2-)4,)5.(7.)8/(;0*;1(<2)<5+=4+>5.>5.>5.=4-<3.<1-=2.<1-<1/;0.=/.>0/>0/?11H-&C1';5)2:++=-(=.-;.45-?-+H()R%(X((Z.+Z8.[A2\G6wC-{B.�C1�A3�?1�;0�:/�8+�;-�>.�B1�D0�D0�B.�?,�<*�63�83�:2�<1�@1B0|A/|A/�C2�A1�>1�=0�;/�:.�9-�9-v:/|@5u=0n9)s@/s@/t<+{@0{<-�?4�D9�H?�LA�NB�QC�RC�HK�TR�d]�ue{�lw�sz�|������������������y��k�{a�wh�ea�]\zV[sS]mR[cLVTEPH=J;6G53B,/=&,:#+:#-9#/8".#/-#-,$-,&*+))+-(.1'/2'/4'06&14'14'13'32(32(30(3.)-0,-0,)//'=>0WZErx\�g��s��p��q��r��r��s��{�����������������{��z��{��~��}�����|z�vr�oi{e[jWLZIKO@CG8>B3/0*01+01+01+12,12,21,32-43.63.74/74/63.61-50,50,7/,7/,6.+6.,5-+2-*1++0,+0,-/-./-0--/-,1+*/)*.()-/(//(//(//(//)-/)-.*+.*+/+*-,*.-).-)/.*./)./)./)..0....../-./.,/.,1-*3.+3.*5.(6/)8/(90);0*<2)=3*>5,>5,>5.>5.>5.=4-<3,=2.=2.<1-;0.;0.;0.=/.>0/?10F/'D0)A3*=4+96-85.83-<1-?-+D*)K)(P*'U.)[4-_:1c?3s@+xA-�A0�?2�?4�;3�:1�;1�9.�<-�>.�A0�B1�B/�A/�@/�93�:3�;2�=1�?0�@0@/�?/�A1�>0�=0�;/�;.�:-�:,�:,w9.x<1s9-n9)r?.s>.q9*u:,}=1�@5�E:�H?�K@�MB�PC�QC�DJ�QR�d]�vf��p}�w~����������������������w�}o�xa�g\�`V�ZU}XWyXWpSPbJKVECI;@A998340-0,+/+,.)--(,*,+)+***,+),-(,/)-2(03(03(02(02(10)1/*1-*1,+3,+32-12./0,)--%9:,TWBox[��i��o��l��n��p��p��p��w��������������{��x��w��y��|��|���{x�uq�nh{eYjWL[HGK<@D5:>/12,12,12,12,23-23-43.43.54/74/85085085083/72.61-80-80-7/,6.,6.,3.+2,,1-,1-./-.0.1..0--/,+0+*/*).1'//(//(//)-/)-/)-.*+.*+0,+0,+/.*/.*/.*0/*/0*/0*/////////0./0/-1-,1-*2-)4/+70*90+:1*<1+=3*>4+?5,?6-?6-@7.@70?6/>5.=4->3/=2.<1-;0.;0.;0.;0.<1/=20C2*E0+H/+L,-N+/M*.J*/E+.A-,@.*@/(C/(M/'Y0*d1-j30i;+o;-w;0�=4�<4�;5�94�:4�;2�=2�>2�@1�A2�A3�B5�C6�=2�=1�>1�>0�>/�=.�=.�=.�<.�;.�:-�9,�;,�;+~=+z=*}=3z<1v:/u;-x@1x@1v<.v;-?3�B6�F=�H?�JA�KA�NC�PD�DH�QQ�c^�ug��n��t~�}�������������������������{a�k[�eX�aV�`W�`W]QtVMiPC[E=RA6F9/<2*5-&1+%.)$-(1&*1&*1&*1&*1&*1(-2).1+//*0-+0,+0+,0),1(-1&.1&.14.24.0.*'**"66*PUAmv[~�i��k~�h�j��n��n~�m��q��x��|��z��w��v��t��u�w��y�y��}}�yw�sp�mh{eYkUL[HEG:=?28:-23-23-34.34.34.45/54/54/650961961:72:72:51940940:2/91.91.80-7/-4/,4/,3/.3/.3/01/01/00.1..0--/,,.2).2).2).0*.0*,0*,0*,/+*1-,1-*0/+0/+10+10+10+10+11111100010.10.2.+2.+3.*91.92,;2+<3,>4+@6-@6-A7.A8/A8/B90A8/A81@70>5.?4.=2.=2.<1-;0.;0.<1/=20=20?5,E2.O-.W(0]#/\"0W#/L'.C/.:3-55);5)E1(U.'c+*l*+e;/j;1s=3}<6�;8�;9�;7�:6�>9�?9�B9�C9�B9�B9�A9�@7�B/�B/�@.�@.�>-�<,�:+�9+�8*�8*�9*�9)�<)z=(w?(t@(�=3{7,x8,z</v;-w=/{A5{?4�B7�D:�G=�I@�I@�LB�NF�PH�OL�YS�f[�sb��g}�mz�v{�|�������������������~��zm�mi�ie�gd�ef�gc�e]~_Zw[PhPI_J@Q?8D60:/-5**/(),%7$(7$(5%(4%(1&*1(+/+,.,-*+-(,-'--%-/%-/$./$./$./1(+1+-0+(.+$88,PUAiqYv�e{�hy�f{�i�n}�my�kz�m�r��s��q}�o}�p}�s~�t~�v}�w|�x}�zz�wu�qn�jg{bWkRK]GGE9?=1:8,45/45/45/560560560761761872:72;83<94<94=84<73<73<41<41;30;3083072/61.61.5106216213122011/00.//-.4+.4+.4+.4+.2,.2,,2,,2,,3/,3/,3/,10,21,21,32-32-22222032032032.51.61-61-;4.<5-=4-@6-A7.B8/E8/E8/C:1C:1E;2D:1C90B71@5/@5/>3/>3/=2.=2.=20=20>31>31>7/C41O/2Y*2_%3`#2Y%1N+1B3077-39+68*?5)N1)]-)e+)c;3h<3r=7z=:�<<�<=�;;�;:�;9>8�A:C;�C<�B<�@9�?8E/�D/�C.�@-�=,�<,�9+�9+�6)�7)�9)�;)~=)w?(sA(qB(�6/|/'�8/�?4w5)s5*}A6}C7E9�G<�I>�J?�K@�LD�OG�SJycL~hS�oY�u]�}b��i��u��|�~|��~���������|�}{�y�n}�ly�lw�kw�mt�jo�gl~dbqZ[hTSZHIK=B@4=6,8/&5+":&(8%'6&'2&&0(&-)(++)).*'+*&,*&,*'+*'+,)*,**,**,-#$2*(50,85,BC5UZFfpWn}^t�cq�bt�ex�iw�ks�hs�iw�mz�mx�lw�kv�ly�q{�u{�w|�wx�uz�ww�tq�om�hd{_WkPJ^CFB9>:195,560560671671782782872872983<94=:5>;6>;6?:6>95>95?74?74>63=52;62:5294194184184195484373243132021/6-.6-.6-.6-.6-.4..4/,4/,40-40-40-52-32-32-43.43.431431542540841850940:5/=60?6/@7.B8/C9/F90G:1H;2F<3F<3F<3F<3E;2C90B71A60@5/@51>50=4/=4/>42?53?53=82A64I35Q16V.6U-5R/5J22A62::08<.9;-?9)H6*P4)U3)]2+c4.k62t76}77�89�79�78}75{:6|=8{?7@9�@:�@;�?;|E0}D0�C0�A/�=.�;-�:-�9,�8+�9+�:+<+{>+x?+uA+tB+�2,�2,�LE�XQ�A8|90�F;�J>yH:zJ<{M@|NA~NB�PE�UJ�YN_uNgwRtzX�{^�|b��i��s��|��z��|����|��x�~t�yq�v��p��o��n��p��p}�px�ms�kk~bgu\_iQWZGPM<H@3B6*>0%:,+7,*5+)1,(-,'+.').((/().(+-*,,*/+*3)*6',7&,9&,2)$<3,E>4JF:QR@]bLgqVizXm�]j�\j�]p�bq�eo�do�er�hu�kr�hq�it�lx�rz�vy�vy�vv�tw�tu�ro�kj�fc|^UlOJ^BHA9@91;4,671782782782893893983:94:94=:5>;6?<7?<7@;7@;7@;7B:7B:7A96@85=84=84<73<73<74<74<74;74:6395284173080.80.80.80.80.80.61.61.61-52-52-52-63.63.54/54/540540651952:72=84=82@93?80A8/C90D:0E;1H;2I=1I=1H>4H>4H>4G=4F<3D:1B8/A60B71@70@72?61?61@72@72A83=84@85B86D97E:8G96G96E:4C90B90B:/B:-D;,F:*H;*H;*].&b0)n3/x73�98�;;�<<�>;�A>�A<?6}=4~;3�;5�=8�>:~C3�B3�A2�?2�=1�<0�;/�;/;.|=.{=.|>/|>/|>/}>/}>/�.*�;8�kf�~y�ZT�C<�LAN@tJ:qM=pQ?qR@tSB{VD�[J�_OUOe�Uz~[�y_�ra�of�rk�xo��v��z��~��������~}�yy�v��r��r��r��r��t|�sv�ps�pl�ig�eby\\lQU_GMP;ED0A<)>3-<3,92*41(01).1(+1'+0)/0*2/*6,*:*+@'+D%+G$+H#+A7+LC4WP@[XE`bLgmQiwVj{Wl�[g�Wf�Wj�^n�an�an�br�fr�ko�hn�iq�nw�sy�vx�uu�ts�su�ts�pn�li�cb{[TmMH`@MD=E<5@707827828938938939:4:94:94;:5>;6?<7@=8@=8A<8A<8A<8A<8A<8A<8@;7?:6>95>95=84>95>95>95>95=84<73:51940:0.:0.:0.91.91.91.91.72.61-61-63.63.63.74/74/74/540651961;83<94?:4@;5B;3A8/B90C9/E;1H<0I=1J>2K=2K>5K>5J=4J=4F<3E;2C90B8/B92B92A81@72@72@93A:4A:4?74>95=<7>?7?@8@@6D@5J=4J70N5.Q6-Q6+O8*M:+I<)H=)l3(r6,~;3�@:�DA�HD�JG�LH�QJ�MD�D;�;2�8-�7-�91�;4�?7�?7�=6�<5�=5�=4|>3y?3vA3uA3uA3y?3}=3�:3�83�73�%$�<;�{z����hc�G@�K@wI:mN<gR=dU>fW@jX@r\E}aL�eQj{O{{U�w\�l`�^_�R\�M[�O^�mu�xx΅~��������}��x��u��r��r��u��u��u��s{�sx�rq�lp�hi�adtW]gLVX@LJ3GB.L40H3.D3,?2*:1(70&40'40'81):/+?-+C++H(+M%-O$-Q#-PE1[P:d^FgfJilOnuTm{Wl~Vk�Zg�Vg�Vm�]p�ap�br�dv�hr�lo�km�ip�mw�ty�xw�wt�us�tu�ts�qo�ki�cb{[TmMGa>SJCKB;F=69:49:49:49:49:4:;5=<7=<7=<7?<7@=8@=8A>9C>:D?;D?;E@<E@<E@<D?;D?9C>8C>8D=7B;5B;5B;5B;5B;5B;5A:4A:4A83A83A83@72@72>71>71>71<71<71;60:5/85085074/74/761961961:72<71=82A:2B;1C:1E;1F<2J>2K?3L@2N@3N@3M@7M@7L?6K>5I<3F<2E;2E;2B90A81A81?80?80?82@93@93<5/LE?IB:E<5OB:K:2J3+\>6Z5-`5.`4+^/'\0%b8,g@1gB2�I;�G;�I?�LA�F>�>7�=6�D;�ND�QE�VH�YK�PB�@5�:0�=4�9;�9:�67�54�96�@:{@8o?3oC6lB4m?2u:2�74�35�-3�(1�EE�ba�ED�WU�yv�VO�F<�WGlS=f\CedFgfHgbEm_DyeL�nV�dK�p]�ph�W]�8K�(D�&H�+L�<W�G\�Xe�nr�|zف}ֆ؉���w��w��x��x��x��y��y��x��m��m�~i�ta�gY{YMtLBpE<r;>d02b22\31L)'D'#I2,J70F5.E2,E0+H0.I-,I)*O+-V24VK/`W:f_BgdEkoLu}Xu�]o�Wj�Wl�Xn�]q�`s�bu�bu�dv�eq�ks�ms�oq�os�rw�xz�zy�zx�yq�rm�jj�gh�dazZTnKIc@TKBSJAPG>9:49:49:49:4:;5;<6>=8?>9>=8@=8A>9A>9B?:D?;D?;D?;FA;E@:E@:E@:D?9D?9E>8E>8E>8E>6E>6D=5C<4D;4D;4C:3B92B92B92B92A81A81@91@93>71<71;60;60:5/85.74-74-96196/96/;60<8/>:1A:0C:1C;0E;1G=1J>0L@2M?2NA1NA1N@5N@5M?6J=4I<3H;2E;1E;2C:1B90A81@91@91@91?;2?;2C:3G81I0,V..j68u99{;;�EC�D?�H@�I?�G>�JA�NH�PL�MK�E3�C2�B4�B6�>3�6-�7+�<0�C5�@.�@.�E3�F6�E5�H9�N@�KR�GN�@F�9=�8:�?<�A:r@5k?2uK=�NC�@:�,-�(0�8F�K\�JI�MM�>=�>?�_\�XQ�@5�UDvbJa]@Z_?ekIonOshJ{fK�kP�]V�][�SZ�<N�'E�D�H�!K�(N�.N�9R�F[�M^�O]�O]�S`�ak�cl�gn�kp�nr�st�vu�ww�{z�wz�ux�ot�ir�cn�^k�\i�`n�Ra�JW�GQ�DK�FIk79FS2-L0,F2+I6/J91I;2M>7SD=]P.dY9ga?ifCnrMz�[z�bt�^r�]o�]o�^q�^u�bw�cw�cw�cr�mw�rz�vy�w~�}������������z�|q�ql�jh�c`yYTnKJdAWQEVPDUOC8938938939:4;<6<=7?>9@?:@?:B?:C@;C@;C@;D?;D?;D?;FA;FA;FA;E@:E@:G@:G@8F?7IB:HA9H?8G>5F=4E<3E<3D;2D:1D:1D:1C:1D;2D;4D;4C<4?80?80<71;60:5/:5/94.94.96/96/96/;7.<8/@9/A:0C;0E;1F<0I=/K?1M@0M@0NA1M@0N@5M?4L>3K=2I<3H;2E;1D:0C:1C:1A:0A:2?;2@<3@<3A=4SE<P40g35�AG�JW�S`�[f�^c�B>�I?�MA�OB�RJ�SR�NS�EN�E2�B0�@0�?1�:-�7*�8+�=/�E4�>+�7$�:%�>+�@/�B2�C5�/8�9B�DL�KR�NR�LL�B>}:1u;/q9,s5*�2-�47�<G�EW�La�FC�41�:9�21�MK�b]�J?�\JzdLebCbfEpqOysS~iL�iN�rZ�W`�NZ�@Q�3I�-H�-N�*M�&H�-M�,K�.J�2L�1K�.K�.L�1O�=Z�?[�B]�Fa�Jc�Mf�Qh�Sk�Ph�Oi�Lg�Ki�Kj�Lo�Os�Qu�h��_|�Zt�Uk�Yl�dr�R[r-0]''X1,T<2N@5?<-7:)<C1GP=[N,aW4e_=heBstR�d~�hw�dx�gs�er�cr�ct�cw�fz�gz�e~�x��������������������������z�yn�mg~b^wYTmMKfCXUFXUFYVG7827828939:4;<6=>8@?:A@;BA<DA<DA<DA<DA<E@<E@<E@<GB<GB<GB<FA;FA;HA9HA9HA9LC:KB9JA8I@7H>4G=3F<2E;1D:0D:0E;1E;1D;2E<3E<3E<3@91?80?80<71;60:5/:5/:5/96/96-;7.;7.=9.@9/C;0D<1F<0F=.J>0L?/M@0M@0O?/O?/O>4O>4N=3K=2J<1G:1G:1D:0D;2D;2B;1B;1@<3A=4A>5A>5Q9/X+&�:?�P`�Oe�Of�Pc�GO�20�:/�?.�C3�F=�FG�>H�2B�H6�F5�B3�@3�?1�>1�B4�D6�G5�B/�<)�;&�<(�:(�5&�3$�7<�8>�7>�6=�<B�JM�TS�ZT�@7�6+�.%�62�HK�NX�@Q�0E�:4�-(�74�64�D@�\U�WK�XFtX@rgIysS|qQ�hJ�dK�oY�~k�GV�AP�9J�8I�=N�@Q�:N�5H�@S�:M�4K�3K�0J�-I�-L�1S�1T�1T�3W�3W�6Z�9\�;^�<a�@f�=f�<e�<g�<i�?m�Bp�Es�Lu�Nu�Rv�Pq�Rn�`x�dv�Wb|15h0/U3*L:,BA/:C.5G/5L2VH+_T6i`CokN||`��r��v}�qz�q|�s|�sz�oz�m}�m��s��x���������������������������������s�qh|c]tWSlLLgDVWEWXFYZH671671782893:;5<=7?>9@?:BA<DA<DA<DA<DA<FA=FA=FA=FC<GB<GB<HC=HC=JC;JC;JC9LC:KB9KA7J@6H>4G=1H<0G;/E;/E;/E;/E;1E;1D<1D;2D;2@9/@91@91?82<71;60;60:5/;7.;7.;7.<8-?8.A;/C;0D</G=1I=/K?/M@0M@/P@0O?/O?/O>4N=3N=3J<1I;0G;/F90D:0D<1D;2B;1@<1A=2A>5B?6C@7_4-t42�KS�Yi�H_�:Q�2C�#+�/)�9(�;&�=)�@3�A=�:?�0;�D4�B3�?2�>2�?5�C7�G;�J<�>/�?-�=+�:)�9'�:*�;-�</�EB�CB�=?�6:�7<�AF�LN�RP�D>�LD�TL�TN�KJ�>C�3>�.<�5+�7.�0+�94�82�@9�[P�UDxO9~dI�lP�bF�]F�eT�qd�sj�<I�9D�8A�<D�CH�HK�JL�IM�LS�DM�:I�5H�1G�-F�0J�5P�7V�7X�7X�8Z�:[�<_�>b�?e�Ai�Bk�Bm�Am�@o�@o�@q�Aq�Bn�=h�Em�Jp�Gh�Mi�Zr�bs�Yc�@D]($M-"PC2PR=CO76H.WH1eYCujT�{g��y�����������~����������������������������������þ�����þ�����������y�vh{e\sWTmONiHTYBUZCW\E560560671782893:;5=<7>=8@?:B?:C@;DA<EB=FA=GB>GB>GD=GD=HC=ID>IE<KD<KD<MD;LC:KC8LB8KA5L@4K?3J>0I=/G>/G>/F<0F<0E;/E;1D<1C:1B90A:2@91@91?82<71;60;60;7.;7.;7,<8-?8.A;/D</F<0H?0J>0K?/M@0NA0P@0O?/O@-P>2N>1M<2L;1I;0H:/F90C9/C;0B<0B;1@<1A=2A?3B@4C@7t50�FE�Y_�Ub�@Q�5F�0;�*+�1%�9#�;!�: �=&�=.�90�2-�:,�:-�9-�6,�91�A9�E;�E:�?2�@0�<,�6'�6)�=0�D9�G=�9*�@4�D=�A@�<?�7<�05�-.�63�H@�TJ�NE�=7�0.�.0�27�3$�</�,"�7/�2,�6/�g\�m^�XC�\C�W?�R=�\L�ja�fb�UT�AI�>D�<@�?>�C>�JB�RM�ZW�PR�EL�;G�6F�2D�/B�1G�6L�:T�:T�:T�:W�=\�?a�Be�Di�<e�>h�?j�Am�@n�?o�>m�=m�Fn�:a�>d�In�Jl�Mm�So�Xn�p��_j�ILt:6\6-O9+OD2SN:`PArdW�|p��������������������������������������������������������������̿�����������m~k^u[VoQSlNU_DV`EWaF560560560560671893:94;:5=<7@=8A>9C@;DA<GB>HC?HC?GD=HE>ID>ID>JF=LE=MF<NE<ME:MC9MC7OC7NB6MA3MA3N@3JA2JA2I@1H>2G=1F<0D<1D<1C:1B;1A:2@91?82?82<71<71<8/<8-<8->7-@:.B:/D</F<0H?0K?/M@0NA0NA0P@0O@-O@-O=1O=1M=0L;1I;0G9.E9-C9/B:/A;/A:0?;0?=1@>2B@4@@4+)�JK�SV�=B�/6�.3�./�0)�1 �9!�=!�=�= �=#�;#�6"�6-�8/�5.�3,�71�@:�B<�@6�B7�A5�</�8+�:0�B:�C=�@;�@(�?+�5)�)$� #�")�'/�-2�((�.)�2*�4*�4*�1*�0+�.+�6#�5&�2$�6,�6.�>7�`U�q�eS�WC�N:�XG�e[�a_�PT�BI�DK�@D�@?�B<�B8�B9�IA�PL�KP�@K�9H�7H�5H�3E�7G�=K�9R�9R�7R�7U�7X�9]�<a�=g�@k�@n�Bq�Dt�Cu�Cu�Cv�Bu�Fg�Aa�Ee�Jl�Jk�Ut�^z�\v�i~�o~�nw�]a�CAh6/hB7vTHwf_�}v�����������������������Ž�������������������������������������������˻��������t�qexb[tWXqS\iK\iK[hJ560560560560560671872983<;6?<7@=8B?:DA<GB>HC?ID@HE>HE>ID>JE?JF=MF>MF<OF=NF;OE;ND8PD8PD6PD6QC6QC6OC5MD5KB3JA2H>2G=1E=2D<1C:1C:1A:2A:2@93?82<71<71<8-<8-<8-?8.@:.B:/D</F<0I@1K?/M@0NA0P@0PA.O@-O@-O=1O=1M=0L;1H:/G9.E9-C9/A9.@:.@9/?;0?=1@>2??3@@4�67�]_�Z[�78�,,�/,�,#�0#�8$�B(�G*�G'�F$�F$�C!�? �81�;2�92�50�:6�B>�D=�>7�<3�<2�</�<1�F<�KD�E>�72�:�<$�:*�.(�$&�'�'�%�%(�,)�2*�5*�3(�2'�/&�-%�=(�2�>0�5)�7/�?7�C9�qd�m]�YF�VE�i\�lf�SS�@H�?L�<B�:=�<:�@9�>4�6,�4.�44�BH�8G�2F�3H�5I�7G�<J�BN�>Y�=X�:W�6W�5Y�5\�6_�7e�;k�:m�;o�<r�<r�=t�>t�>v�Eb�Nk�Tq�If�?\�Rq�f��f��^w�bv�ky�s{�rv�fe�ZV�TN��~������Ļ����������������������������������������������������������������þĪ�����y�vi|f`w[\uWbqRapQ`oP201312423653875984984983;:5<<4==5??5AA7CC9EE9EE9HH@HH>HH<HI9KJ6LK6MM5MM5LK7IG8EE;HGELIPKIWFCVA=TQF4NC1JA0KB1MD5LB6F>3B90E<5C:5@85?74@86?67>56:44F85E76B87@78>:;<:=<<>==????A@<DA:HB6JA2M@-P?+O?(CB0F?/K:2O62Q35Q28N5;F:<??=-=3)A1.J4/G-,?#5B&GP3�`S�J<�7)�7'�:'�9%�;&�@)�;$�='�?+�?+�:)�6&�4%�2$�8'�8'�:(�>,�B0�D2�D0�B/�?,�>*�<*�=-�C4�F7�>0�3&�6+�8,�:-�=/�=.�</�90�5/�/,�--�.,�0,�4,�9)�=)�>(�9%�4�4 �9%�8&�6&�@4�QE�IA�MI�UU�VX�JP�9A�4?�9D�CH�CF�AA�?;�=3�=/�?/�@0�Q@�QC�LC�C=�??�@E�>G�8C�GM�EN�EQ�ES�AR�=S�>X�Cb�Gi�Bh�<f�;g�=k�Ds�Iy�K}�My�Nw�Rt�Tq�Qk�Ql�[x�d��Y��?l�Mx�X{�Yp�y��ca�}s�������Ź��������������������������������������������������������������������ʻ��������|�zt|qpzo~�sy�nv}k0./1/0320542653762873872:94;;3==5??5AA7CC9DD8EE9HH@HH>HH<JH9KJ6LK6MM5NM8KJ6KI<KJEQORWU`ZWhVTjQNiSI@ND;H?6F=6G>7H?8F=6C:5C<6A:4?74?74@85>95=84;63>3/=4/>42<74=98<;9=<:>=;@?;C@9G@6J@4L@0O@-P?+P>(=B,?A,E=0H92K63J46F35A57>=;8=69?5?A4C=-J9)^B4sRC�K=�;-�2#�6&�:'�8$�9%�?(�;%�=(�@,�@-�=,�9*�6(�5(�;+�:*�9)�;+�?.�B/�B/�@.�?.�:(�<+�E6�H9�?1�8+�7+�5+�7,�:.�;/�=/�;/�8/�4/�0-�--�-+�/+�4)�8(�;'�=&�:'�7"�8%�=*�;*�5&�;/�G<�G?�JF�PO�PQ�GK�;@�:A�?G�DG�DC�B?�>8�;1�;-�<-�>.�F5�M?�NE�GC�?@�>B�>F�>H�DJ�CL�DP�FT�BS�=S�>X�Ba�Fh�Ci�?i�@l�Bp�Gv�Jz�L|�Ix�Ht�Kp�Rs�]z�`{�Xw�Mq�Ck�Al�Cj�Jg�^p�pugNI��v���̲���������������������������������������������������������������������������Ų����������������������}/.,0/-10.21/43/540762761:94::2<<4>>4@@6BB8CC9DD8IF=IG;JH;KJ8MJ7NL7NL7OL9KI:NKBTSQ_^dihxmm�lk�ih�cYd[QZQGPJ@IH>FG>CC=A@:<A;;?:7<73<73=82>:1>:1=90:3-94.;60=82=:3>;4?<5?<3C?4F@4I?3L@2O?0P?-Q>-P>*3@&7?'<=+A;-B8/A62>42;31=85B:7H94O2.[+)o-.�:=�EJ�9+�2$�1"�9'�<)�7$�8$�<&�;&�=)�A-�A/�>.�<-�:-�:.�>0�<.�9+�:+�<+�>-�>-�=,�?-�9(�>/�L=�H:�6*�2&�;0�5*�6+�8,�:.�;/�9.�7/�2,�/-�.+�.+�0)�2'�6&�8$�:#�7$�5#�8'�>-�=.�7)�8.�A7�<5�?8�EA�KI�IJ�CC�?A�@C�DC�C?�B;�=4�:.�9*�;*�<+�9)�E8�NE�IE�?@�<A�AI�FP�AG�@I�CO�GT�EU�@U�>X�@_�Df�Ci�Dm�Fp�Iw�K{�L|�K{�Cv�Gw�Jt�Nt�Z|�a��Uv�Cd�Hk�Rv�=\�H`�z��}~\F;��r��ճ���������������������������������������������������������������������������ξ�����������������������/.,/.,0/-10,21-32.54/650872991;;3==3??5AA7BB8CC9IE<JF;KG;OI9PK8QL8QL8OL;LJ=SPK^]bmlzzz�������~�|u�rk�e^}YSoRMdMEZG@PB<HD?F@;?<87;62;7.<8-=9-<8,880991;;1><0?=1@<0?<-A;+F?/H?.K?/M@/O?/P?/Q>/P=.<@)=?*?>,?<-?;0=:3;:5:94<94D95N43[*-o&-�-8�3C�7H�7)�7&�9(�?-�?,�9&�9#�;&�:&�<)�>,�@/�>/�<0�=/�=0�@5�=2�:,�8*�9+�:,�:,�:*�;,�;-�B4�E9�?3�1'�2(�:1�3+�4*�7,�8-�8.�7,�3,�1,�0,�.+�.)�0(�1&�4$�6 �8�/�0�4$�;,�</�9.�<2�C;�6/�70�;5�E@�MI�LG�C?�;8�A9�@8�>4�</�:+�8*�:+�<-�4&�?3�HB�HE�AB�@D�EL�LU�?E�?G�BK�HU�HW�BW�?W�@\�Bb�Cf�Fm�Is�My�O|�L{�Jy�@t�L~�Q}�Jr�Lo�Uw�Uu�Lj�Ec�Kf�>V�et���͑�]=2aP@�wlѥ������������������������������������������������������������������������������º��������������������10,10,0/+0/+10,21,43.54/77/880991;;1==3??5AA7BB8KD:LF:OG:QJ:RK9SL9RM:QK=OKBVTUfdowx���������Î�Ə�����{w�rl�id�_[~UPnNJaJGXEBM?=B;7696196-86*86)581692891;;/><-?<+C<)D<'I>*J?+L?,M@/M@0M?2M?4L>3M?4K?3F<2B90=909:25<44>57<5>:1H3.\0/{48�;D�9E�2A�<+�<+�@.�A/�@-�<'�<'�>*�8%�:'�<+�=.�;/�;.�<0�<1�A6�>3�:/�7,�7,�8+�8+�8+�7+�A5�C8�8.�1&�3)�7-�6-�2+�3)�5+�6,�5,�4-�2*�/*�/,�.*�/)�0'�1#�4!�6�7�/�/�2"�5)�9-�:0�?6�E=�F>�@9�<5�@9�KD�NG�F<�;1�=1�<0�</�;,�9*�:+�=-�?2�9-�=4�@:�C?�BD�DH�IO�OV�>C�>E�BJ�JT�JY�FX�CY�B]�@_�Bd�Fj�Js�Ox�Oz�Ly�Ix�Gw�R��Q}�Iq�Im�St�Vt�Ni�D^�F]�Yk�������KFd2)�jc͖�����������������������������������������������������������������������������������ɿ�˾�����Ⱦȿ���84163.52-30+30+41,52-63,85.96/:70<90>;2@=4B?6B?6KC8ME:PF:SJ9TK:UL;SL<RL@QLHZW^kj|~������Θ�ڙ�ޙ�ޓ�֋�̆��~�xv�ml�fe�]ZwVTiMKXDAH><=;:6;8396/267465672880<:-A<)D>(G?(I?&J?)IA,JA0IA4IA6HA9G@:R9<N8;I68A57:65384.93+;12?517+=3'X:0{D=�GC�>?�46�<*�=+�?-�?-�>,�>*�?+�@-�8%�9(�:+�:+�9,�9.�:0�;2�>7�;4�81�8.�8.�9/�8.�6,�7-�C9�?5�0&�,#�7/�<4�4,�1*�1*�2)�3*�3+�2+�/*�.(�.*�-)�/)�2&�3$�5"�7 �7�5#�3#�2$�2&�5)�7,�;3�?8�YR�RJ�HA�D;�F<�J?�G;�?3�;(�;(�;*�:)�:(�:+�>0�A3�A6�<5�<6�A?�EE�GI�JM�MQ�AD�?E�CI�JT�N[�JZ�F\�F]�A]�Ba�Ei�Jp�Nw�Oz�Mx�Kx�R{�R{�Ov�Ot�Vw�]{�So�D^�Uj�Qd�dt��������`c�KL�keώ��������������������������������������������������������������������������������������������������<94;8385052-41*41*52+63,74-85.96/;8/=:1?<3A>5B?6KA7MC7RF8UI9WK;WK;UL=SJASJK[Xcnl������ǚ�ޞ�졩��홛敘ߔ�֐�̈�����zz�rq�fd|XWiPN\IGRFCJDBG=?K==G;:?;:8<92A;-D=*F@*F@(GA)GB.ED2CC7BC=AC@>BAG9HH<JG?LGDODGN@JL;II:ID?KA<@2F=.bH9QB�K<�@2�;-�=+�>,�>,�?+�@,�@-�?-�=*�8'�8)�9*�9,�8-�8.�91�;3�;4�:3�81�81�92�:2�70�6/�<3�>5�91�2*�3*�;2�<3�5,�0(�1)�1*�1+�0+�/)�-(�,(�-)�.)�0)�2(�5%�6#�7!�8 �8%�8%�5%�4%�4(�6+�7.�7/�NG�XP�ZQ�RI�H>�E9�B5�?1�<&�<&�<(�;'�9(�;*�>0�@4�D;�?9�@:�FC�IH�HG�IH�JM�CF�AD�DI�KS�QZ�N]�L]�J`�D^�Da�Ff�Il�Nu�Ox�Ox�Ny�Yz�Wv�Vu�Yx�]{�Zu�Qk�I`�Wk�Ug�N\�^k�KZ�Sa�Sa�Q_�jfɂ~窧������������������������������������������������������������������������������������������������@=6=:3:7074-52+52+52+63,74-74-96/;8/=:1?<3@=4A>5M@7OC7RF8WJ:XK:YL<WK=TICSJM^Xfpm������͜�磬���������������Ꝡ㙛ؕ�Β�ĉ��yy�ji�`]|XUpSOhPLcMJeKG^FBS@=H?;<?:4B<0A>-C@-CB.BC3AE7>E=<EB;EF9DF:D]@JcHTjR]oXdt\fp]dj`ac`[W]LDgI>�UE�YF�L7�A+�A+�@,�A-�A-�A-�A.�A/�=+�7&�7(�8)�8+�8-�6-�7/�8/�;2�73�61�61�72�94�94�81�6/�A:�8/�3*�7/�=5�=5�8/�6-�0'�0'�0(�/)�.)�-)�+(�+(�-)�/)�1)�4)�5'�8&�8$�8#�8$�9%�7$�6&�7)�8,�7+�4*�3+�NG�d\�`Y�OF�B9�<2�:/�?&�>&�=&�;%�9&�9*�;/�>3�C9�A9�E?�KH�LI�GD�FE�JI�FG�CD�DH�MS�RZ�R\�N^�Oa�G^�Gb�Gd�Ii�Nr�Rv�Ry�Ry�[u�\x�`}�_|�Up�Mg�Pg�Yn�[m�bs�L]�Sd�M_�Rg�I_�E]�d`�tqښ�������������������������������������������������������������������������������������������������A>5@=4?<3=:1;8/96-74+63*52)52)63*74-:70=:3@=6B?8J@6OC7RF8VI9WJ9XK;ZL?[NHTIMXR`gd�|}���̗�瞩������������������������꟡ܙ�ҍ����ur�he�]Z�XR~YP{YQxVOpOG_E?M?:@?;8@@6>>2@B5@F:>E=:C>9CB<GI?MP:YvKh�[u�du�nx�|z�q�|`n�]e�X[�XU�WM�M?�A,�:"�;#�<(�>*�?,�@.�@.�?-�=,�;,�6'�5(�6*�7-�7-�8/�91�81�84�95�:6�85�61�61�83�:3�C<�=6�70�@7�[R�lc�]T�@7�1'�2)�1*�/)�*&�'%�(&�*(�-)�0*�2)�1%�0#�1"�5$�:(�=&�=&�=)�<*�;,�9+�8,�6-�@8�71�GA�c^�XQ�B<�@9�3.�<#�<$�<&�<&�:(�:)�<.�=2�>4�C;�PJ�XT�OJ�@;�@:�KE�FE�FE�JK�PT�QW�NV�KV�L\�Rd�Of�Ke�Jf�Mn�Rs�Rv�Pt�[w�Zu�Zu�[w�]x�Zs�Wn�Vi�ct�Vg�\m�Yl�DX�BX�Me�Ib�nh�hcˎ�赲���������������������������������������������������������������������������������������������C?4B>3A=2?;0=90;7.:6-95,73*73*73*83-:5/=82@;5B=7I?5LB6QE7UH8VI8YI9YK>ZMEUKLXP_ebyz���ɔ�䚧���������������������������������䘘،�ɀ~�uq�ie�b^�cV�bU�]T�WOtNHdFCTBAIAAA;=8@C<DG@BD??A@BCGMNSWW_Vl�gy�w��������}��q��_w�Xk�Ta�OU�FD�=4�9(�:$�<#�8%�7%�8&�:(�8'�9(�7(�5&�3%�4(�7-�;0�<3�=5�;5�;5�>9�<7�<7�=9�A=�C=�B<�A;�@:�A9�@7�8/�1'�6+�I>�\Q�?4�6,�+#�)#�,)�./�,-�((�0.�4/�7/�6,�4)�2&�3%�5&�='�<'�<(�;(�:(�7)�6(�4(�8/�5-�<6�PJ�SO�LH�A?�/,�=%�>&�='�<'�9(�8(�9,�:/�>4�B:�OF�WP�QK�D=�B<�KD�IF�IF�ML�SR�TV�PV�NV�OZ�Vf�Uh�Si�Rk�Rm�Sq�St�Rs�No�Tv�\|�^{�[v�Uo�Qg�Re�Uf�Qb�Zh�Zj�M^�Rc�Wi�I\�ha�\W��{٩����������������������������������������������������������������������������������������������EA5EA6C?4A=2?;0=9.<8-;7.84+84+73*83-:5/=82?:4A<6G>5JB7ND8RF6TG6WG7YI:YKBWKKXP[b^wsu����ޗ�����������������������������������뙗���Ղ��xt�qm�l`�i]�dY�^V�VQyNKhEDV@@J76;?=>HBBKABN?BYFJmX_}fn�t��}�����}��w��p��c��Rp�E^�I\�EP�9<�3,�7(�;%�; �<*�<*�;)�;*�<,�<-�<-�<.�6*�8.�<1�>5�@8�>7�<3�:2�73�40�3/�93�A;�E?�A<�<5�<4�4,�4*�7-�2'�, �6*�H<�I>�@6�4-�-)�+*�+,�+,�*,�))�/+�3,�5.�4+�2(�2'�2'�:&�;'�<(�;)�;*�:,�8+�8,�4+�;4�:5�<7�ON�XY�EE�02�=(�<(�<(�:'�9)�8*�7*�7,�>2�A6�JA�UK�RI�H>�E:�H@�ID�HC�LG�SP�SS�PQ�MQ�NW�Xd�Zh�[p�Zr�Uo�Ql�Pn�Rp�Fm�Ov�Z}�[{�Vq�Sk�Vk�[m�Yh�Yh�`m�`k�\f�en�fm�T[�cY}ND�lfØ�߹�������������������������������������������������������������������������������������������IE9HD8FB6D@4B>2@<1?;0>:/:6-95,95,94.:5/<71>93@;5E>6HA7LD7QE5RE4UF3WG7WI<XMIXNW_Zppp������֔�횪������������������������������������엖䌋ق��{z�xl�pf�h_�_Z�YW�QQwGGc@?Q<6DF9BS>C_@EmDJ�OU�]f�jr�e��k��l��f��]��Ty�Fg�8U�0H�>P�BM�:<�7/�@.�B*�<!�5$�5$�5$�6&�7(�8)�;-�</�@6�@5�@6�?6�<5�:1�6.�4,�/(�-'�.(�3-�:4�;4�81�4-�5,�+"�)�7,�B4�?0�4%�.�F7�I<�H?�<9�,,�"%�&)�/2�-.�/-�2.�3,�2*�0(�/'�/)�8*�9+�;-�=-�>/�?0�@3�@3�6*�KB�JE�50�FF�Z\�HK�?B�=-�;+�:*�:*�:*�9,�9+�8,�<0�>2�F9�OB�PD�H<�C7�D7�F?�F?�JC�PK�RO�ML�KM�KP�X`�[h�aq�au�Wo�Og�Mg�Pk�Ju�Oy�Sw�Rq�Sm�[p�cu�ix�gu�ao�bm�el�gl�jj�jh�c_�dVeH:_T���ͫ�������������������������������������������������������������������������������������������LI:KH9JG8HD8FB6D@4B>3A=2=9.<8/;7.;60;60<71>93?:4B?8EA8JD8NE4PE1TE0VG4XH9ZMEVMR[Whkl�~����В�噧����������������������������������铕⊌ل�Ӆ�{u�mj�dd�_a�X[�QQsNHbUFY_CRlBL�EO�LV�U]�[d�]f�Ju�Nx�Pu�Ln�Fc�?Y�5J�+?�5E�AM�FK�><�>6�H8�J6�B)�>-�=-�<-�>/�?2�B4�D7�E:�E9�B7�>5�:2�6-�5,�3+�2*�1*�4-�60�90�80�7/�6.�5,�/&�5+�6)�2#�1"�9)�>-�<+�=-�D7�KA�D?�56�)-�)-�.2�67�55�30�1,�/,�/,�0-�/-�80�:1�:1�<0�<0�=0�?0�>1�7+�WL�`X�;6�;:�OQ�EH�OT�=2�:/�8,�8,�:-�;.�;-�:.�:-�<.�B3�H9�I:�D6�@2�>0�E<�E<�I@�PI�RM�NK�KK�LO�Z`�^h�fr�hx�]q�Og�Me�Qj�Pz�Qx�Qp�Sm�\q�hx�jw�ep�fr�_k�_k�kr�su�lh�f\�l^ujXVI8kXJ�{t���������������������������������������������������������������������������������������������QK=PJ<OI;MG9KE9IC7GA5G@6B;1A:2@91?82?82?82A:4B:7@?:EB;IE9MF6PE1RF0UF1WG7YLCUKLZTbii�|����ɓ�ޗ�먫��������������������������������횞蕙⑕ޒ�ډ��|��rx�nu�lp�hh�j_x`x�Wj�O_�OZ�R\�R[�OV�HP�:P�=Q�AP�CL�CI�?B�9:�45�IJ�HH�@A�76�93�B8�E8�@1�E6�E6�F7�E8�G8�G:�H<�G;�>3�;1�8/�4*�3*�4+�4,�5-�9/�<2�=4�<3�90�5-�5,�6-�.$�;.�<.�1"�.�8$�=)�;&�:'�9+�:1�=9�@@�;?�27�+1�,.�+,�+)�+(�/.�44�88�:;�55�64�73�6/�7-�5*�5(�5&�5'�PE�mc�HA�42�CC�>B�UY�B;�=6�70�6-�9/�<1�=1�=.�9)�<+�@.�B0�B0�?.�=,�<+�C8�D9�H=�PG�SL�OI�OJ�OP�_c�ai�it�m|�du�Uj�Rg�Wo�Sx�Ut�Wp�_p�oy�y~�ms�Xa�am�`m�ao�s{숊ɂ|�wj�yhhpYMO:^WG�qg���ݿ����������������������������������������������������������������������������������������SM=RL<QK=OI;MG9KE9JD8IB8E>4D=5B;3A:4@93A:4A96B:7@A;CC;IE:NG7QF2RF.UF/WH5XJ=RHFXR\jh�}����ƒ�ږ�奦�����������������������������띤蛢晞⒚ۊ�҅�ʂ�‚������y��m��cz�Wi�P]�KW�GP�?H�9A�;6�<5�B6�H7�J5�G1�D.�@/�UG�G?�;7�64�88�:;�98�66�=.�<.�;.�;,�8+�6*�3)�1&�5*�3*�3(�2)�3*�5,�6.�7/�>3�<2�;1�8/�7.�6,�4*�3)�3&�3%�4%�6&�=)�>*�9$�2�;(�5%�3'�60�;<�=@�7=�27�-1�..�--�0.�44�9:�;=�;>�.4�/3�01�1/�1*�2(�1%�3$�2#�>/�j_�TL�95�@@�:=�RU�JE�B=�93�5.�8.�;0�<0�=-�<*�?-�@.�?-�;(�;(�<)�=*�>2�>2�D8�LB�PF�NF�MG�NL�bc�bf�hq�o{�hx�Ym�Uj�[p�Xs�\t�bq�kt��퉇�yy�_d�hr�l|�cs�kw���餟�����z\pWFR<UVFtg^���ܾ����������������������������������������������������������������������������������������UO?TN>RL<PJ<NH:LF:KE9JC9G@6F?7D=5B;5A:4A:4B:7C;8@A<DD<IG;MG7OG2RF.VG0WH3VH;RGCWRYjh~~����Œ�ؖ�㡞����������������������������뢪룫좪롩蘡䖡ᔟݓ�ِ�ѐ�ǒ������m��c{�Wj�M\�BN�;E�6>�4:�B*�D)�H)�N+�O(�L%�H%�D&�WB�F8�;5�>>�BH�>F�5>�08�F8�E7�D7�A3�=0�8,�3)�0%�0&�1(�2(�3*�5,�5,�4,�4,�C8�=2�7-�7-�:/�9/�5+�1'�7*�0"�0!�9&�9%�5 �9#�E.�:&�:)�7+�3.�//�05�5;�;B�IM�GJ�DD�@@�>>�9:�28�.4�'/�(/�*.�-.�0+�2*�5)�7(�0!�/�eY�]T�A<�ED�;=�NR�PM�FC�:6�5/�8.�:/�</�<+�>,�A/�B0�=)�8%�9&�;)�>,�8+�8+�>1�G<�K@�IA�IC�JG�`a�^b�dl�lx�ix�Zk�Ti�Zo�^t�cu�gq�qr݅�锍ꋇ�ru�q{�x��`s�Xg����֫����TnSAS;PTCkaW���ݿ����������������������������������������������������������������������������������������XO@XO@WN?VM>TK<SJ;RI:QH9MD5LC4KB3I@1H?0H?0H?0H?0FC<GE9JG8NI6RJ5UJ4UJ4VK9XNDULMXTbii�{~���Ƒ�ڗ�妢���������������������������ꧨ뫨ﲧ���������������珣֢�˴������bn�EP�:G�5B�4>�8>�=@�D@�HB�;D�;B�CG�99�B@�D@�/-�HI�HK�AG�;D�8A�:?�<>�<;�<9�A=�>9�C=�LC�K@�>2�7+�;-�9,�8-�7-�3,�0,�/-�11�34�A1�9)�1 �1"�8(�;*�6%�2�2�4�5�4 �3"�3%�3(�3)�.(�2+�6+�8*�8(�7&�7%�6'�3'�2,�31�01�+2�*2�+4�-6�+1�*/�+,�.-�4.�8,�7(�5#�.�3 �XH�ZL�<2�OG�5/�IF�QR�LK�DB�<8�80�7,�9+�;+�;)�:'�9%�:&�<)�=+�=+�=,�9.�;.�=1�?1�?1�@1�@2�A4�k_�qe�d[�mi�ro�cb�ji�tu�k|�iv�dm�_h�af�gj�nk�qk�|w�}��Yj�[w�Zp������a�z]sMIZ6LR6snX���˷����������������������������������������������������������������������������������������YPAXO@XO@VM>UL=TK<SJ;RI:NE6MD5LC4KB3JA2JA2JA2JA2FC<GE9JG8OH6RJ5UJ4VK5VK9XNDUMKYUcii�{}����ԓ�ߠ������������������������ퟧ梦榣誢���瞧������垞Ҭ�º���r��Ub�CM�;D�7?�6=�8=�=?�AA�DA�:C�8?�@D�;;�C@�A=�41�OP�DF�>D�:B�7?�7;�89�:8�;7�F?�<5�<4�G>�LA�C7�;,�9+�7*�7+�7-�4-�2.�3/�53�66�?0�<-�6)�4&�6%�6%�4"�4�:"�:"�:#�;&�<*�;,�8,�5*�3.�5-�7-�8*�6&�4"�4!�3"�2$�1(�/+�.,�,-�,1�-3�.4�*,�,-�0.�2.�3*�5'�7'�9'�@,�*�E5�?1�F>�WP�C?�BA�WV�RR�KJ�C>�=5�9.�9+�8(�;)�;(�:'�;'�>+�?-�@/�>-�9.�;0�=0�=1�?0�?1�B3�C6�i\�md�b[�kf�ol�ba�kl�uv�p��o|�ir�^f�Y^�ad�qn�|v�yu�x~�Rd�Ur�Xn������X�n[tLN_;QZ;us\����ú���������������������������������������������������������������������������������������ZQBYPAYPAWN?VM>UL=TK<TK<QH9PG8OF7MD5MD5MD5MD5MD5GD;JF;MG9PI7SK6VK5VK5VK9WMCVNL\Vbki�y{������͏�ؙ����䘙障������������蜤✢������៙㞗䐝㖛ݠ�Ү�¼���r��Zq�CQ�AJ�>C�<?�;=�<?�=A�>C�>C�;C�7=�?A�A@�D?�=8�96�WW�BC�=B�:A�7<�58�66�96�;6�HA�:3�5+�A5�K>�H:�=/�8)�7)�7+�8,�7.�60�63�87�;;�5)�6*�6*�6*�5(�7)�:*�?,�5�5�6 �7"�9)�8+�4(�0&�=;�>8�=5�</�9)�8$�7"�7#�7%�2&�.&�-'�-*�.-�//�//�*)�/+�4.�5,�3&�5#�9&�>*�B/�1 �TE�<0�A;�C?�JI�TS�VV�SS�OM�IE�C;�<2�8+�6&�7&�7%�7$�:'�<*�>-�=,�=,�:.�;/�<.�=/�=.�?0�B4�E7�\O�g]�aY�lg�po�ab�fg�ko�P`�^k�hq�em�`e�dg�qq�zw�vs�nu�J]�Mj�Um񜡟��P�cVoEOd=Va?ww]���������������������������������������������������������������������������������������������\PB\PB[OAZN@YM?YM?XL>XL>UI;TH:SG9RF8RF8RF8RF8RF8JF=KG<OI;RK9TL7WL6WL6WL:VL@UMJ\V`jh~yy������Ď�Д�Ҕ�Օ�ۖ�㘛ꘞ욢훣뜥昢ߖ�ؓ�Փ�Փ�ג�֐�ց������~��r��e��Tz�Da�:K�@H�BC�C?�C?�AA�?C�=F�;F�?F�:>�>@�FC�A<�71�>:�[W�AB�?C�=@�:=�89�97�=8�A:�E;�9/�2(�</�E7�E6�>/�9(�8)�8+�:,�:/�80�83�;7�=:�3+�3,�5,�4-�6-�7.�:.�>/�9(�<)�>-�>.�=/�=2�>6�>7�?>�?<�?7�=1�:*�9%�;$�<%�<(�8'�2#�1%�2(�4,�2,�0*�3*�5*�7+�7)�7'�8%�<(�>*�<(�=,�^P�F<�3/�.-�?B�UX�vu�ro�jg�^Y�PI�A7�5(�.�8'�9&�8&�:)�=,�=-�>,�<-�<.�<.�=/�<-�;-�>0�B3�E9�MA�`W�a[�pl�tr�`a�]a�^d�FV�Ye�gp�go�dl�jp�st�xv�ss�en�CX�Eb�Rk뒘���N�\Ql?Ri?ZhDy|_���������������������������������������������������������������������������������������������\PB\PB[OA[OAZN@YM?YM?YM?WK=VJ<UI;UI;TH:UI;UI;UI;LH=OI=QI<TK:WL8XM7YM7XM;UK?UKI\U]hexut�|~������Ď����Ɛ�͒�Ԓ�ܓ����ᕚޕ�ܒ�Ԍ�̇�ƃ�Á��}��z�|v��q��h��[��Kv�>c�7U�8I�AE�FA�IA�IA�FC�AG�;J�9J�DI�>A�@?�JE�?8�3,�D<�TP�DC�AC�>@�>?�>=�@<�E;�H<�=2�7,�5'�9*�=-�=-�<+�<)�;*�;,�<-�;/�8/�70�83�95�:7�64�22�31�42�50�2+�1)�2'�9-�<0�90�5/�52�<;�DC�57�66�61�5,�5&�6"�9#�;#�>'�9&�5$�5'�9,�;0�:/�8-�?1�;-�8'�7&�:'�<)�='�;&�>-�:*�>2�B:�.+�::�14�26�73�;7�C>�JE�QI�SH�TH�UG�?0�>.�<,�<-�>.�@.�?/�?.�=0�=.�<.�<.�<,�=.�A3�D6�LA�bZ�c]�nl�rr�`c�`e�`g�ix�oz�lt�`h�^f�kq�w{�{|�pq�^h�@W�>]�Oh懍���X�aXuE\vIgwP��f��������������������������������������Ż㾺޺�޼���������������������������������������������[OA[OA[OAZN@ZN@YM?YM?YM?XL>XL>WK=VJ<VJ<WK=WK=XL>PI?QI>SK>UL;XM9YM7YM7XM;WK=ULGYSWc_nmk�tt�|~���������������ȍ�ώ�ԏ�Ս�Ӑ�Ӌ�ʂ��{��u|�ov�gp�ck��n~�ey�Zv�Mo�?c�2V�0L�6G�@C�GB�LB�MC�IG�CJ�<N�8N�FH�CC�A>�ID�<4�5*�I@�LF�CA�>=�:;�;;�?=�E=�H<�I;�7*�7*�8(�9(�9'�9&�:(�;(�;)�=,�<-�;.�8.�6.�6/�5.�24�.1�+0�/2�37�69�45�21�/,�31�63�42�/3�/5�5?�=G�,2�.2�2/�3,�5(�8'�;&�>(�9$�8$�8&�:,�?1�A5�B5�A6�I8�B1�<*�:&�<)�?*�<)�9&�;*�6)�0'�B<�1/�>A�.2�'-�3-�4.�71�92�8.�5*�2&�1#�E5�A2�=.�:+�9)�:+�:,�:,�</�=.�>/�=.�<+�=,�?/�A4�SG�g^�d_�ki�no�ch�jq�ox�p}�t~�mw�cj�dl�qz�w|�su�kp�Xf�AY�:[�Kf�}����l�oj�Xo�Zx�`��r�����������������������������������ū٫�Ӧ�ѥ�ԩ�Ԯ�ֱ�ں������������������������������������ZN>ZN>ZN>ZN>YM=YM=YM=YM=XL<XL<WK;WK;WK;XL<XL<YM=RJ?TJ@UL=XL<YN:ZN8ZN8ZM:YM?VKEXOP^Xbd_sif�qp�yy�|�~����������Ĉ�ˉ�Ή�̈�ȃ��{~�ux�or�jm�eg�ac��ac�X^�O\�H\�=V�1K�/D�7B�>@�E@�JB�KC�HG�BL�<N�8P�DD�ED�A=�IB�:/�7,�PF�B<�=8�64�10�51�>8�E;�F9�E6�8(�:*�:*�:'�8%�:&�:'�:&�9&�:)�;*�9+�7+�5+�3+�4-�)-�)/�,3�.4�07�18�28�58�7;�8<�9?�9A�9D�6G�6H�5J�)1�,2�02�4/�7-�9*�<+�=,�7&�9*�</�>2�?4�>4�?6�?6�N<�H7�B1�=,�:'�:'�9(�9)�3%�9/�@8�D>�0/�-.�38�38�4-�6.�80�:1�;1�;0�:.�:/�L?�F:�?2�9*�7)�7*�8*�8*�<-�>/�?0�=/�<+�<+�<,�>0�KA�c[�c^�ki�os�hn�rz�v�er�oy�r{�js�lv�v�u}�io�fl�Rb�A[�6Y�Fa�t{�����~z�f{�f��h��u����˭����������������������շ�ˮ�Ũ�Ò�‘�ē�ș�˝�ˡ�Χ�Ү�ٻ����������������������������Ǿ[N>ZM=ZM=ZM=ZM=ZM=YL<YL<ZM=YL<YL<XK;XK;YL<ZM=ZM=TJ@TJ>XL>YN<ZM:ZN8ZN8ZM:[O?WMDWMKZSZ^Xfb]sjfsp�vw�xx�|{��~�����Lj�ʉ�ɂ}�~z�zu�vq�vo�sl�og�ld��PH�JE�FF�EO�@L�7D�3@�8>�<=�A=�E?�GB�DH�AK�=M�:O�BA�GD�A<�H=�;.�</�VK�>5�83�.,�)&�.*�:3�C9�D6�@0�:(�<)�<)�:'�;(�=(�;'�8%�6"�7%�8)�7*�5(�3(�3)�3*�03�58�7<�38�,2�&-�'-�)1�,3�'0�%/�'6�+=�(A�:�2�".�&0�+1�0/�1,�4+�5)�6*�6+�90�>5�>7�:4�61�50�61�L?�K<�F7�>/�6(�3%�6)�9-�5*�6-�C<�74�21� �89�35�2(�3)�4)�5)�5+�5*�5+�7+�YN�RF�H;�@4�</�;0�=1�=1�:-�</�=0�=.�<,�:*�:*�;-�<2�YQ�b]�pp�vy�lt�rz�r}�y�����z��iq�eo�p|�t}�nt�`j�Na�@^�3W�A^�nt������~�i}�g��h��q�������̭�ܽ�ٻ�Դ�̩�ß��������������~��~�������Ï�Ñ�ŗ�ɟ�Ϊ�ҵ�������������������ºν�ȷ�ZM=ZM=ZM=ZM=ZM=ZM=ZM=ZM=XK;XK;XK;YL<YL<ZM=ZM=ZM=YMAYM?ZM=[N=[N;\O<\P:\O<ZM=YMAWLHXNOXQX]Ub`Yka\pif�ok�sp�vq�{u��}Ê�ˊ�ɈŠ~��z��r��r��u��l�z^��G9�C7�A:�C@�?=�89�:<�BC�<<�=<�>=�@A�BI�CM�AN�>N�A<�@9�?6�?3�=/�=0�E8�MD�61�;6�1.�2.�C<�?3�6'�?.�6#�:'�<)�;'�9%�:&�:'�:&�:'�9(�7(�3$�."�/%�7.�=5�72�30�.-�)(�%&�#%�"'�"'�$*� )�!,�%7�'<�;�4�3�)7�".�"+�*-�--�+(�-)�41�62�54�64�55�12�-.�+,�++�<4�91�:1�TK�"�+#�F>�.&�/(�<7�E@�:7�/,�.*�41�:7�?3�;.�5)�3&�5*�:.�;0�8.�bW�ZO�D8�6,�:/�9-�3)�6,�1%�2&�2&�4'�7'�:,�<.�=/�:.�C;�\W�pp�sv�v~�y��q|�{��x��u}�s{�r~�q}�lx�is�bm�I\�=\�8[�:V�ek�����}~�i|�d}�c��j��u������������|��vx�qw�o|�r��t��w�u��y������������������������§�̹���������־�ʻ�������ZM<ZM<ZM<ZM<ZM<ZM<ZM<ZM<XK:XK:XK:YL;YL;ZM<ZM<ZM<ZL?ZL?ZM=]M=]N;^O<^O<\O<]P?[OA[NFYNJZPQ\SX_U^_Wbb\xib�ng�qj�vp��y���Ɗ�ŏ�Ð~��t��n��q��u��i��Y��;.�7)�6)�>1�B6�?6�?8�A=�=;�:<�:@�<D�?I�AI�@K�?H�>7�=4�<1�</�:,�;+�B5�JA�G@�A=�63�41�@9�C8�:+�6%�8%�;(�=*�=*�;(�;(�:(�:&�9(�5&�2%�2%�5*�8.�80�91�2&�0%�.#�,$�+%�+'�,+�-,�)-�%+�#.�&5�$9�5�1�
Binary file
Binary file
Binary file
@@ -0,0 +1,1533 @@
1
+ /*
2
+ * transupp.c
3
+ *
4
+ * Copyright (C) 1997-2009, Thomas G. Lane, Guido Vollbeding.
5
+ * This file is part of the Independent JPEG Group's software.
6
+ * For conditions of distribution and use, see the accompanying README file.
7
+ *
8
+ * This file contains image transformation routines and other utility code
9
+ * used by the jpegtran sample application. These are NOT part of the core
10
+ * JPEG library. But we keep these routines separate from jpegtran.c to
11
+ * ease the task of maintaining jpegtran-like programs that have other user
12
+ * interfaces.
13
+ */
14
+
15
+ /* Although this file really shouldn't have access to the library internals,
16
+ * it's helpful to let it call jround_up() and jcopy_block_row().
17
+ */
18
+ #define JPEG_INTERNALS
19
+
20
+ #include "jinclude.h"
21
+ #include "jpeglib.h"
22
+ #include "transupp.h" /* My own external interface */
23
+ #include <ctype.h> /* to declare isdigit() */
24
+
25
+
26
+ #if TRANSFORMS_SUPPORTED
27
+
28
+ /*
29
+ * Lossless image transformation routines. These routines work on DCT
30
+ * coefficient arrays and thus do not require any lossy decompression
31
+ * or recompression of the image.
32
+ * Thanks to Guido Vollbeding for the initial design and code of this feature,
33
+ * and to Ben Jackson for introducing the cropping feature.
34
+ *
35
+ * Horizontal flipping is done in-place, using a single top-to-bottom
36
+ * pass through the virtual source array. It will thus be much the
37
+ * fastest option for images larger than main memory.
38
+ *
39
+ * The other routines require a set of destination virtual arrays, so they
40
+ * need twice as much memory as jpegtran normally does. The destination
41
+ * arrays are always written in normal scan order (top to bottom) because
42
+ * the virtual array manager expects this. The source arrays will be scanned
43
+ * in the corresponding order, which means multiple passes through the source
44
+ * arrays for most of the transforms. That could result in much thrashing
45
+ * if the image is larger than main memory.
46
+ *
47
+ * If cropping or trimming is involved, the destination arrays may be smaller
48
+ * than the source arrays. Note it is not possible to do horizontal flip
49
+ * in-place when a nonzero Y crop offset is specified, since we'd have to move
50
+ * data from one block row to another but the virtual array manager doesn't
51
+ * guarantee we can touch more than one row at a time. So in that case,
52
+ * we have to use a separate destination array.
53
+ *
54
+ * Some notes about the operating environment of the individual transform
55
+ * routines:
56
+ * 1. Both the source and destination virtual arrays are allocated from the
57
+ * source JPEG object, and therefore should be manipulated by calling the
58
+ * source's memory manager.
59
+ * 2. The destination's component count should be used. It may be smaller
60
+ * than the source's when forcing to grayscale.
61
+ * 3. Likewise the destination's sampling factors should be used. When
62
+ * forcing to grayscale the destination's sampling factors will be all 1,
63
+ * and we may as well take that as the effective iMCU size.
64
+ * 4. When "trim" is in effect, the destination's dimensions will be the
65
+ * trimmed values but the source's will be untrimmed.
66
+ * 5. When "crop" is in effect, the destination's dimensions will be the
67
+ * cropped values but the source's will be uncropped. Each transform
68
+ * routine is responsible for picking up source data starting at the
69
+ * correct X and Y offset for the crop region. (The X and Y offsets
70
+ * passed to the transform routines are measured in iMCU blocks of the
71
+ * destination.)
72
+ * 6. All the routines assume that the source and destination buffers are
73
+ * padded out to a full iMCU boundary. This is true, although for the
74
+ * source buffer it is an undocumented property of jdcoefct.c.
75
+ */
76
+
77
+
78
+ LOCAL(void)
79
+ do_crop (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
80
+ JDIMENSION x_crop_offset, JDIMENSION y_crop_offset,
81
+ jvirt_barray_ptr *src_coef_arrays,
82
+ jvirt_barray_ptr *dst_coef_arrays)
83
+ /* Crop. This is only used when no rotate/flip is requested with the crop. */
84
+ {
85
+ JDIMENSION dst_blk_y, x_crop_blocks, y_crop_blocks;
86
+ int ci, offset_y;
87
+ JBLOCKARRAY src_buffer, dst_buffer;
88
+ jpeg_component_info *compptr;
89
+
90
+ /* We simply have to copy the right amount of data (the destination's
91
+ * image size) starting at the given X and Y offsets in the source.
92
+ */
93
+ for (ci = 0; ci < dstinfo->num_components; ci++) {
94
+ compptr = dstinfo->comp_info + ci;
95
+ x_crop_blocks = x_crop_offset * compptr->h_samp_factor;
96
+ y_crop_blocks = y_crop_offset * compptr->v_samp_factor;
97
+ for (dst_blk_y = 0; dst_blk_y < compptr->height_in_blocks;
98
+ dst_blk_y += compptr->v_samp_factor) {
99
+ dst_buffer = (*srcinfo->mem->access_virt_barray)
100
+ ((j_common_ptr) srcinfo, dst_coef_arrays[ci], dst_blk_y,
101
+ (JDIMENSION) compptr->v_samp_factor, TRUE);
102
+ src_buffer = (*srcinfo->mem->access_virt_barray)
103
+ ((j_common_ptr) srcinfo, src_coef_arrays[ci],
104
+ dst_blk_y + y_crop_blocks,
105
+ (JDIMENSION) compptr->v_samp_factor, FALSE);
106
+ for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) {
107
+ jcopy_block_row(src_buffer[offset_y] + x_crop_blocks,
108
+ dst_buffer[offset_y],
109
+ compptr->width_in_blocks);
110
+ }
111
+ }
112
+ }
113
+ }
114
+
115
+
116
+ LOCAL(void)
117
+ do_flip_h_no_crop (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
118
+ JDIMENSION x_crop_offset,
119
+ jvirt_barray_ptr *src_coef_arrays)
120
+ /* Horizontal flip; done in-place, so no separate dest array is required.
121
+ * NB: this only works when y_crop_offset is zero.
122
+ */
123
+ {
124
+ JDIMENSION MCU_cols, comp_width, blk_x, blk_y, x_crop_blocks;
125
+ int ci, k, offset_y;
126
+ JBLOCKARRAY buffer;
127
+ JCOEFPTR ptr1, ptr2;
128
+ JCOEF temp1, temp2;
129
+ jpeg_component_info *compptr;
130
+
131
+ /* Horizontal mirroring of DCT blocks is accomplished by swapping
132
+ * pairs of blocks in-place. Within a DCT block, we perform horizontal
133
+ * mirroring by changing the signs of odd-numbered columns.
134
+ * Partial iMCUs at the right edge are left untouched.
135
+ */
136
+ MCU_cols = srcinfo->image_width / (dstinfo->max_h_samp_factor * DCTSIZE);
137
+
138
+ for (ci = 0; ci < dstinfo->num_components; ci++) {
139
+ compptr = dstinfo->comp_info + ci;
140
+ comp_width = MCU_cols * compptr->h_samp_factor;
141
+ x_crop_blocks = x_crop_offset * compptr->h_samp_factor;
142
+ for (blk_y = 0; blk_y < compptr->height_in_blocks;
143
+ blk_y += compptr->v_samp_factor) {
144
+ buffer = (*srcinfo->mem->access_virt_barray)
145
+ ((j_common_ptr) srcinfo, src_coef_arrays[ci], blk_y,
146
+ (JDIMENSION) compptr->v_samp_factor, TRUE);
147
+ for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) {
148
+ /* Do the mirroring */
149
+ for (blk_x = 0; blk_x * 2 < comp_width; blk_x++) {
150
+ ptr1 = buffer[offset_y][blk_x];
151
+ ptr2 = buffer[offset_y][comp_width - blk_x - 1];
152
+ /* this unrolled loop doesn't need to know which row it's on... */
153
+ for (k = 0; k < DCTSIZE2; k += 2) {
154
+ temp1 = *ptr1; /* swap even column */
155
+ temp2 = *ptr2;
156
+ *ptr1++ = temp2;
157
+ *ptr2++ = temp1;
158
+ temp1 = *ptr1; /* swap odd column with sign change */
159
+ temp2 = *ptr2;
160
+ *ptr1++ = -temp2;
161
+ *ptr2++ = -temp1;
162
+ }
163
+ }
164
+ if (x_crop_blocks > 0) {
165
+ /* Now left-justify the portion of the data to be kept.
166
+ * We can't use a single jcopy_block_row() call because that routine
167
+ * depends on memcpy(), whose behavior is unspecified for overlapping
168
+ * source and destination areas. Sigh.
169
+ */
170
+ for (blk_x = 0; blk_x < compptr->width_in_blocks; blk_x++) {
171
+ jcopy_block_row(buffer[offset_y] + blk_x + x_crop_blocks,
172
+ buffer[offset_y] + blk_x,
173
+ (JDIMENSION) 1);
174
+ }
175
+ }
176
+ }
177
+ }
178
+ }
179
+ }
180
+
181
+
182
+ LOCAL(void)
183
+ do_flip_h (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
184
+ JDIMENSION x_crop_offset, JDIMENSION y_crop_offset,
185
+ jvirt_barray_ptr *src_coef_arrays,
186
+ jvirt_barray_ptr *dst_coef_arrays)
187
+ /* Horizontal flip in general cropping case */
188
+ {
189
+ JDIMENSION MCU_cols, comp_width, dst_blk_x, dst_blk_y;
190
+ JDIMENSION x_crop_blocks, y_crop_blocks;
191
+ int ci, k, offset_y;
192
+ JBLOCKARRAY src_buffer, dst_buffer;
193
+ JBLOCKROW src_row_ptr, dst_row_ptr;
194
+ JCOEFPTR src_ptr, dst_ptr;
195
+ jpeg_component_info *compptr;
196
+
197
+ /* Here we must output into a separate array because we can't touch
198
+ * different rows of a single virtual array simultaneously. Otherwise,
199
+ * this is essentially the same as the routine above.
200
+ */
201
+ MCU_cols = srcinfo->image_width / (dstinfo->max_h_samp_factor * DCTSIZE);
202
+
203
+ for (ci = 0; ci < dstinfo->num_components; ci++) {
204
+ compptr = dstinfo->comp_info + ci;
205
+ comp_width = MCU_cols * compptr->h_samp_factor;
206
+ x_crop_blocks = x_crop_offset * compptr->h_samp_factor;
207
+ y_crop_blocks = y_crop_offset * compptr->v_samp_factor;
208
+ for (dst_blk_y = 0; dst_blk_y < compptr->height_in_blocks;
209
+ dst_blk_y += compptr->v_samp_factor) {
210
+ dst_buffer = (*srcinfo->mem->access_virt_barray)
211
+ ((j_common_ptr) srcinfo, dst_coef_arrays[ci], dst_blk_y,
212
+ (JDIMENSION) compptr->v_samp_factor, TRUE);
213
+ src_buffer = (*srcinfo->mem->access_virt_barray)
214
+ ((j_common_ptr) srcinfo, src_coef_arrays[ci],
215
+ dst_blk_y + y_crop_blocks,
216
+ (JDIMENSION) compptr->v_samp_factor, FALSE);
217
+ for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) {
218
+ dst_row_ptr = dst_buffer[offset_y];
219
+ src_row_ptr = src_buffer[offset_y];
220
+ for (dst_blk_x = 0; dst_blk_x < compptr->width_in_blocks; dst_blk_x++) {
221
+ if (x_crop_blocks + dst_blk_x < comp_width) {
222
+ /* Do the mirrorable blocks */
223
+ dst_ptr = dst_row_ptr[dst_blk_x];
224
+ src_ptr = src_row_ptr[comp_width - x_crop_blocks - dst_blk_x - 1];
225
+ /* this unrolled loop doesn't need to know which row it's on... */
226
+ for (k = 0; k < DCTSIZE2; k += 2) {
227
+ *dst_ptr++ = *src_ptr++; /* copy even column */
228
+ *dst_ptr++ = - *src_ptr++; /* copy odd column with sign change */
229
+ }
230
+ } else {
231
+ /* Copy last partial block(s) verbatim */
232
+ jcopy_block_row(src_row_ptr + dst_blk_x + x_crop_blocks,
233
+ dst_row_ptr + dst_blk_x,
234
+ (JDIMENSION) 1);
235
+ }
236
+ }
237
+ }
238
+ }
239
+ }
240
+ }
241
+
242
+
243
+ LOCAL(void)
244
+ do_flip_v (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
245
+ JDIMENSION x_crop_offset, JDIMENSION y_crop_offset,
246
+ jvirt_barray_ptr *src_coef_arrays,
247
+ jvirt_barray_ptr *dst_coef_arrays)
248
+ /* Vertical flip */
249
+ {
250
+ JDIMENSION MCU_rows, comp_height, dst_blk_x, dst_blk_y;
251
+ JDIMENSION x_crop_blocks, y_crop_blocks;
252
+ int ci, i, j, offset_y;
253
+ JBLOCKARRAY src_buffer, dst_buffer;
254
+ JBLOCKROW src_row_ptr, dst_row_ptr;
255
+ JCOEFPTR src_ptr, dst_ptr;
256
+ jpeg_component_info *compptr;
257
+
258
+ /* We output into a separate array because we can't touch different
259
+ * rows of the source virtual array simultaneously. Otherwise, this
260
+ * is a pretty straightforward analog of horizontal flip.
261
+ * Within a DCT block, vertical mirroring is done by changing the signs
262
+ * of odd-numbered rows.
263
+ * Partial iMCUs at the bottom edge are copied verbatim.
264
+ */
265
+ MCU_rows = srcinfo->image_height / (dstinfo->max_v_samp_factor * DCTSIZE);
266
+
267
+ for (ci = 0; ci < dstinfo->num_components; ci++) {
268
+ compptr = dstinfo->comp_info + ci;
269
+ comp_height = MCU_rows * compptr->v_samp_factor;
270
+ x_crop_blocks = x_crop_offset * compptr->h_samp_factor;
271
+ y_crop_blocks = y_crop_offset * compptr->v_samp_factor;
272
+ for (dst_blk_y = 0; dst_blk_y < compptr->height_in_blocks;
273
+ dst_blk_y += compptr->v_samp_factor) {
274
+ dst_buffer = (*srcinfo->mem->access_virt_barray)
275
+ ((j_common_ptr) srcinfo, dst_coef_arrays[ci], dst_blk_y,
276
+ (JDIMENSION) compptr->v_samp_factor, TRUE);
277
+ if (y_crop_blocks + dst_blk_y < comp_height) {
278
+ /* Row is within the mirrorable area. */
279
+ src_buffer = (*srcinfo->mem->access_virt_barray)
280
+ ((j_common_ptr) srcinfo, src_coef_arrays[ci],
281
+ comp_height - y_crop_blocks - dst_blk_y -
282
+ (JDIMENSION) compptr->v_samp_factor,
283
+ (JDIMENSION) compptr->v_samp_factor, FALSE);
284
+ } else {
285
+ /* Bottom-edge blocks will be copied verbatim. */
286
+ src_buffer = (*srcinfo->mem->access_virt_barray)
287
+ ((j_common_ptr) srcinfo, src_coef_arrays[ci],
288
+ dst_blk_y + y_crop_blocks,
289
+ (JDIMENSION) compptr->v_samp_factor, FALSE);
290
+ }
291
+ for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) {
292
+ if (y_crop_blocks + dst_blk_y < comp_height) {
293
+ /* Row is within the mirrorable area. */
294
+ dst_row_ptr = dst_buffer[offset_y];
295
+ src_row_ptr = src_buffer[compptr->v_samp_factor - offset_y - 1];
296
+ src_row_ptr += x_crop_blocks;
297
+ for (dst_blk_x = 0; dst_blk_x < compptr->width_in_blocks;
298
+ dst_blk_x++) {
299
+ dst_ptr = dst_row_ptr[dst_blk_x];
300
+ src_ptr = src_row_ptr[dst_blk_x];
301
+ for (i = 0; i < DCTSIZE; i += 2) {
302
+ /* copy even row */
303
+ for (j = 0; j < DCTSIZE; j++)
304
+ *dst_ptr++ = *src_ptr++;
305
+ /* copy odd row with sign change */
306
+ for (j = 0; j < DCTSIZE; j++)
307
+ *dst_ptr++ = - *src_ptr++;
308
+ }
309
+ }
310
+ } else {
311
+ /* Just copy row verbatim. */
312
+ jcopy_block_row(src_buffer[offset_y] + x_crop_blocks,
313
+ dst_buffer[offset_y],
314
+ compptr->width_in_blocks);
315
+ }
316
+ }
317
+ }
318
+ }
319
+ }
320
+
321
+
322
+ LOCAL(void)
323
+ do_transpose (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
324
+ JDIMENSION x_crop_offset, JDIMENSION y_crop_offset,
325
+ jvirt_barray_ptr *src_coef_arrays,
326
+ jvirt_barray_ptr *dst_coef_arrays)
327
+ /* Transpose source into destination */
328
+ {
329
+ JDIMENSION dst_blk_x, dst_blk_y, x_crop_blocks, y_crop_blocks;
330
+ int ci, i, j, offset_x, offset_y;
331
+ JBLOCKARRAY src_buffer, dst_buffer;
332
+ JCOEFPTR src_ptr, dst_ptr;
333
+ jpeg_component_info *compptr;
334
+
335
+ /* Transposing pixels within a block just requires transposing the
336
+ * DCT coefficients.
337
+ * Partial iMCUs at the edges require no special treatment; we simply
338
+ * process all the available DCT blocks for every component.
339
+ */
340
+ for (ci = 0; ci < dstinfo->num_components; ci++) {
341
+ compptr = dstinfo->comp_info + ci;
342
+ x_crop_blocks = x_crop_offset * compptr->h_samp_factor;
343
+ y_crop_blocks = y_crop_offset * compptr->v_samp_factor;
344
+ for (dst_blk_y = 0; dst_blk_y < compptr->height_in_blocks;
345
+ dst_blk_y += compptr->v_samp_factor) {
346
+ dst_buffer = (*srcinfo->mem->access_virt_barray)
347
+ ((j_common_ptr) srcinfo, dst_coef_arrays[ci], dst_blk_y,
348
+ (JDIMENSION) compptr->v_samp_factor, TRUE);
349
+ for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) {
350
+ for (dst_blk_x = 0; dst_blk_x < compptr->width_in_blocks;
351
+ dst_blk_x += compptr->h_samp_factor) {
352
+ src_buffer = (*srcinfo->mem->access_virt_barray)
353
+ ((j_common_ptr) srcinfo, src_coef_arrays[ci],
354
+ dst_blk_x + x_crop_blocks,
355
+ (JDIMENSION) compptr->h_samp_factor, FALSE);
356
+ for (offset_x = 0; offset_x < compptr->h_samp_factor; offset_x++) {
357
+ dst_ptr = dst_buffer[offset_y][dst_blk_x + offset_x];
358
+ src_ptr = src_buffer[offset_x][dst_blk_y + offset_y + y_crop_blocks];
359
+ for (i = 0; i < DCTSIZE; i++)
360
+ for (j = 0; j < DCTSIZE; j++)
361
+ dst_ptr[j*DCTSIZE+i] = src_ptr[i*DCTSIZE+j];
362
+ }
363
+ }
364
+ }
365
+ }
366
+ }
367
+ }
368
+
369
+
370
+ LOCAL(void)
371
+ do_rot_90 (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
372
+ JDIMENSION x_crop_offset, JDIMENSION y_crop_offset,
373
+ jvirt_barray_ptr *src_coef_arrays,
374
+ jvirt_barray_ptr *dst_coef_arrays)
375
+ /* 90 degree rotation is equivalent to
376
+ * 1. Transposing the image;
377
+ * 2. Horizontal mirroring.
378
+ * These two steps are merged into a single processing routine.
379
+ */
380
+ {
381
+ JDIMENSION MCU_cols, comp_width, dst_blk_x, dst_blk_y;
382
+ JDIMENSION x_crop_blocks, y_crop_blocks;
383
+ int ci, i, j, offset_x, offset_y;
384
+ JBLOCKARRAY src_buffer, dst_buffer;
385
+ JCOEFPTR src_ptr, dst_ptr;
386
+ jpeg_component_info *compptr;
387
+
388
+ /* Because of the horizontal mirror step, we can't process partial iMCUs
389
+ * at the (output) right edge properly. They just get transposed and
390
+ * not mirrored.
391
+ */
392
+ MCU_cols = srcinfo->image_height / (dstinfo->max_h_samp_factor * DCTSIZE);
393
+
394
+ for (ci = 0; ci < dstinfo->num_components; ci++) {
395
+ compptr = dstinfo->comp_info + ci;
396
+ comp_width = MCU_cols * compptr->h_samp_factor;
397
+ x_crop_blocks = x_crop_offset * compptr->h_samp_factor;
398
+ y_crop_blocks = y_crop_offset * compptr->v_samp_factor;
399
+ for (dst_blk_y = 0; dst_blk_y < compptr->height_in_blocks;
400
+ dst_blk_y += compptr->v_samp_factor) {
401
+ dst_buffer = (*srcinfo->mem->access_virt_barray)
402
+ ((j_common_ptr) srcinfo, dst_coef_arrays[ci], dst_blk_y,
403
+ (JDIMENSION) compptr->v_samp_factor, TRUE);
404
+ for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) {
405
+ for (dst_blk_x = 0; dst_blk_x < compptr->width_in_blocks;
406
+ dst_blk_x += compptr->h_samp_factor) {
407
+ if (x_crop_blocks + dst_blk_x < comp_width) {
408
+ /* Block is within the mirrorable area. */
409
+ src_buffer = (*srcinfo->mem->access_virt_barray)
410
+ ((j_common_ptr) srcinfo, src_coef_arrays[ci],
411
+ comp_width - x_crop_blocks - dst_blk_x -
412
+ (JDIMENSION) compptr->h_samp_factor,
413
+ (JDIMENSION) compptr->h_samp_factor, FALSE);
414
+ } else {
415
+ /* Edge blocks are transposed but not mirrored. */
416
+ src_buffer = (*srcinfo->mem->access_virt_barray)
417
+ ((j_common_ptr) srcinfo, src_coef_arrays[ci],
418
+ dst_blk_x + x_crop_blocks,
419
+ (JDIMENSION) compptr->h_samp_factor, FALSE);
420
+ }
421
+ for (offset_x = 0; offset_x < compptr->h_samp_factor; offset_x++) {
422
+ dst_ptr = dst_buffer[offset_y][dst_blk_x + offset_x];
423
+ if (x_crop_blocks + dst_blk_x < comp_width) {
424
+ /* Block is within the mirrorable area. */
425
+ src_ptr = src_buffer[compptr->h_samp_factor - offset_x - 1]
426
+ [dst_blk_y + offset_y + y_crop_blocks];
427
+ for (i = 0; i < DCTSIZE; i++) {
428
+ for (j = 0; j < DCTSIZE; j++)
429
+ dst_ptr[j*DCTSIZE+i] = src_ptr[i*DCTSIZE+j];
430
+ i++;
431
+ for (j = 0; j < DCTSIZE; j++)
432
+ dst_ptr[j*DCTSIZE+i] = -src_ptr[i*DCTSIZE+j];
433
+ }
434
+ } else {
435
+ /* Edge blocks are transposed but not mirrored. */
436
+ src_ptr = src_buffer[offset_x]
437
+ [dst_blk_y + offset_y + y_crop_blocks];
438
+ for (i = 0; i < DCTSIZE; i++)
439
+ for (j = 0; j < DCTSIZE; j++)
440
+ dst_ptr[j*DCTSIZE+i] = src_ptr[i*DCTSIZE+j];
441
+ }
442
+ }
443
+ }
444
+ }
445
+ }
446
+ }
447
+ }
448
+
449
+
450
+ LOCAL(void)
451
+ do_rot_270 (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
452
+ JDIMENSION x_crop_offset, JDIMENSION y_crop_offset,
453
+ jvirt_barray_ptr *src_coef_arrays,
454
+ jvirt_barray_ptr *dst_coef_arrays)
455
+ /* 270 degree rotation is equivalent to
456
+ * 1. Horizontal mirroring;
457
+ * 2. Transposing the image.
458
+ * These two steps are merged into a single processing routine.
459
+ */
460
+ {
461
+ JDIMENSION MCU_rows, comp_height, dst_blk_x, dst_blk_y;
462
+ JDIMENSION x_crop_blocks, y_crop_blocks;
463
+ int ci, i, j, offset_x, offset_y;
464
+ JBLOCKARRAY src_buffer, dst_buffer;
465
+ JCOEFPTR src_ptr, dst_ptr;
466
+ jpeg_component_info *compptr;
467
+
468
+ /* Because of the horizontal mirror step, we can't process partial iMCUs
469
+ * at the (output) bottom edge properly. They just get transposed and
470
+ * not mirrored.
471
+ */
472
+ MCU_rows = srcinfo->image_width / (dstinfo->max_v_samp_factor * DCTSIZE);
473
+
474
+ for (ci = 0; ci < dstinfo->num_components; ci++) {
475
+ compptr = dstinfo->comp_info + ci;
476
+ comp_height = MCU_rows * compptr->v_samp_factor;
477
+ x_crop_blocks = x_crop_offset * compptr->h_samp_factor;
478
+ y_crop_blocks = y_crop_offset * compptr->v_samp_factor;
479
+ for (dst_blk_y = 0; dst_blk_y < compptr->height_in_blocks;
480
+ dst_blk_y += compptr->v_samp_factor) {
481
+ dst_buffer = (*srcinfo->mem->access_virt_barray)
482
+ ((j_common_ptr) srcinfo, dst_coef_arrays[ci], dst_blk_y,
483
+ (JDIMENSION) compptr->v_samp_factor, TRUE);
484
+ for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) {
485
+ for (dst_blk_x = 0; dst_blk_x < compptr->width_in_blocks;
486
+ dst_blk_x += compptr->h_samp_factor) {
487
+ src_buffer = (*srcinfo->mem->access_virt_barray)
488
+ ((j_common_ptr) srcinfo, src_coef_arrays[ci],
489
+ dst_blk_x + x_crop_blocks,
490
+ (JDIMENSION) compptr->h_samp_factor, FALSE);
491
+ for (offset_x = 0; offset_x < compptr->h_samp_factor; offset_x++) {
492
+ dst_ptr = dst_buffer[offset_y][dst_blk_x + offset_x];
493
+ if (y_crop_blocks + dst_blk_y < comp_height) {
494
+ /* Block is within the mirrorable area. */
495
+ src_ptr = src_buffer[offset_x]
496
+ [comp_height - y_crop_blocks - dst_blk_y - offset_y - 1];
497
+ for (i = 0; i < DCTSIZE; i++) {
498
+ for (j = 0; j < DCTSIZE; j++) {
499
+ dst_ptr[j*DCTSIZE+i] = src_ptr[i*DCTSIZE+j];
500
+ j++;
501
+ dst_ptr[j*DCTSIZE+i] = -src_ptr[i*DCTSIZE+j];
502
+ }
503
+ }
504
+ } else {
505
+ /* Edge blocks are transposed but not mirrored. */
506
+ src_ptr = src_buffer[offset_x]
507
+ [dst_blk_y + offset_y + y_crop_blocks];
508
+ for (i = 0; i < DCTSIZE; i++)
509
+ for (j = 0; j < DCTSIZE; j++)
510
+ dst_ptr[j*DCTSIZE+i] = src_ptr[i*DCTSIZE+j];
511
+ }
512
+ }
513
+ }
514
+ }
515
+ }
516
+ }
517
+ }
518
+
519
+
520
+ LOCAL(void)
521
+ do_rot_180 (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
522
+ JDIMENSION x_crop_offset, JDIMENSION y_crop_offset,
523
+ jvirt_barray_ptr *src_coef_arrays,
524
+ jvirt_barray_ptr *dst_coef_arrays)
525
+ /* 180 degree rotation is equivalent to
526
+ * 1. Vertical mirroring;
527
+ * 2. Horizontal mirroring.
528
+ * These two steps are merged into a single processing routine.
529
+ */
530
+ {
531
+ JDIMENSION MCU_cols, MCU_rows, comp_width, comp_height, dst_blk_x, dst_blk_y;
532
+ JDIMENSION x_crop_blocks, y_crop_blocks;
533
+ int ci, i, j, offset_y;
534
+ JBLOCKARRAY src_buffer, dst_buffer;
535
+ JBLOCKROW src_row_ptr, dst_row_ptr;
536
+ JCOEFPTR src_ptr, dst_ptr;
537
+ jpeg_component_info *compptr;
538
+
539
+ MCU_cols = srcinfo->image_width / (dstinfo->max_h_samp_factor * DCTSIZE);
540
+ MCU_rows = srcinfo->image_height / (dstinfo->max_v_samp_factor * DCTSIZE);
541
+
542
+ for (ci = 0; ci < dstinfo->num_components; ci++) {
543
+ compptr = dstinfo->comp_info + ci;
544
+ comp_width = MCU_cols * compptr->h_samp_factor;
545
+ comp_height = MCU_rows * compptr->v_samp_factor;
546
+ x_crop_blocks = x_crop_offset * compptr->h_samp_factor;
547
+ y_crop_blocks = y_crop_offset * compptr->v_samp_factor;
548
+ for (dst_blk_y = 0; dst_blk_y < compptr->height_in_blocks;
549
+ dst_blk_y += compptr->v_samp_factor) {
550
+ dst_buffer = (*srcinfo->mem->access_virt_barray)
551
+ ((j_common_ptr) srcinfo, dst_coef_arrays[ci], dst_blk_y,
552
+ (JDIMENSION) compptr->v_samp_factor, TRUE);
553
+ if (y_crop_blocks + dst_blk_y < comp_height) {
554
+ /* Row is within the vertically mirrorable area. */
555
+ src_buffer = (*srcinfo->mem->access_virt_barray)
556
+ ((j_common_ptr) srcinfo, src_coef_arrays[ci],
557
+ comp_height - y_crop_blocks - dst_blk_y -
558
+ (JDIMENSION) compptr->v_samp_factor,
559
+ (JDIMENSION) compptr->v_samp_factor, FALSE);
560
+ } else {
561
+ /* Bottom-edge rows are only mirrored horizontally. */
562
+ src_buffer = (*srcinfo->mem->access_virt_barray)
563
+ ((j_common_ptr) srcinfo, src_coef_arrays[ci],
564
+ dst_blk_y + y_crop_blocks,
565
+ (JDIMENSION) compptr->v_samp_factor, FALSE);
566
+ }
567
+ for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) {
568
+ dst_row_ptr = dst_buffer[offset_y];
569
+ if (y_crop_blocks + dst_blk_y < comp_height) {
570
+ /* Row is within the mirrorable area. */
571
+ src_row_ptr = src_buffer[compptr->v_samp_factor - offset_y - 1];
572
+ for (dst_blk_x = 0; dst_blk_x < compptr->width_in_blocks; dst_blk_x++) {
573
+ dst_ptr = dst_row_ptr[dst_blk_x];
574
+ if (x_crop_blocks + dst_blk_x < comp_width) {
575
+ /* Process the blocks that can be mirrored both ways. */
576
+ src_ptr = src_row_ptr[comp_width - x_crop_blocks - dst_blk_x - 1];
577
+ for (i = 0; i < DCTSIZE; i += 2) {
578
+ /* For even row, negate every odd column. */
579
+ for (j = 0; j < DCTSIZE; j += 2) {
580
+ *dst_ptr++ = *src_ptr++;
581
+ *dst_ptr++ = - *src_ptr++;
582
+ }
583
+ /* For odd row, negate every even column. */
584
+ for (j = 0; j < DCTSIZE; j += 2) {
585
+ *dst_ptr++ = - *src_ptr++;
586
+ *dst_ptr++ = *src_ptr++;
587
+ }
588
+ }
589
+ } else {
590
+ /* Any remaining right-edge blocks are only mirrored vertically. */
591
+ src_ptr = src_row_ptr[x_crop_blocks + dst_blk_x];
592
+ for (i = 0; i < DCTSIZE; i += 2) {
593
+ for (j = 0; j < DCTSIZE; j++)
594
+ *dst_ptr++ = *src_ptr++;
595
+ for (j = 0; j < DCTSIZE; j++)
596
+ *dst_ptr++ = - *src_ptr++;
597
+ }
598
+ }
599
+ }
600
+ } else {
601
+ /* Remaining rows are just mirrored horizontally. */
602
+ src_row_ptr = src_buffer[offset_y];
603
+ for (dst_blk_x = 0; dst_blk_x < compptr->width_in_blocks; dst_blk_x++) {
604
+ if (x_crop_blocks + dst_blk_x < comp_width) {
605
+ /* Process the blocks that can be mirrored. */
606
+ dst_ptr = dst_row_ptr[dst_blk_x];
607
+ src_ptr = src_row_ptr[comp_width - x_crop_blocks - dst_blk_x - 1];
608
+ for (i = 0; i < DCTSIZE2; i += 2) {
609
+ *dst_ptr++ = *src_ptr++;
610
+ *dst_ptr++ = - *src_ptr++;
611
+ }
612
+ } else {
613
+ /* Any remaining right-edge blocks are only copied. */
614
+ jcopy_block_row(src_row_ptr + dst_blk_x + x_crop_blocks,
615
+ dst_row_ptr + dst_blk_x,
616
+ (JDIMENSION) 1);
617
+ }
618
+ }
619
+ }
620
+ }
621
+ }
622
+ }
623
+ }
624
+
625
+
626
+ LOCAL(void)
627
+ do_transverse (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
628
+ JDIMENSION x_crop_offset, JDIMENSION y_crop_offset,
629
+ jvirt_barray_ptr *src_coef_arrays,
630
+ jvirt_barray_ptr *dst_coef_arrays)
631
+ /* Transverse transpose is equivalent to
632
+ * 1. 180 degree rotation;
633
+ * 2. Transposition;
634
+ * or
635
+ * 1. Horizontal mirroring;
636
+ * 2. Transposition;
637
+ * 3. Horizontal mirroring.
638
+ * These steps are merged into a single processing routine.
639
+ */
640
+ {
641
+ JDIMENSION MCU_cols, MCU_rows, comp_width, comp_height, dst_blk_x, dst_blk_y;
642
+ JDIMENSION x_crop_blocks, y_crop_blocks;
643
+ int ci, i, j, offset_x, offset_y;
644
+ JBLOCKARRAY src_buffer, dst_buffer;
645
+ JCOEFPTR src_ptr, dst_ptr;
646
+ jpeg_component_info *compptr;
647
+
648
+ MCU_cols = srcinfo->image_height / (dstinfo->max_h_samp_factor * DCTSIZE);
649
+ MCU_rows = srcinfo->image_width / (dstinfo->max_v_samp_factor * DCTSIZE);
650
+
651
+ for (ci = 0; ci < dstinfo->num_components; ci++) {
652
+ compptr = dstinfo->comp_info + ci;
653
+ comp_width = MCU_cols * compptr->h_samp_factor;
654
+ comp_height = MCU_rows * compptr->v_samp_factor;
655
+ x_crop_blocks = x_crop_offset * compptr->h_samp_factor;
656
+ y_crop_blocks = y_crop_offset * compptr->v_samp_factor;
657
+ for (dst_blk_y = 0; dst_blk_y < compptr->height_in_blocks;
658
+ dst_blk_y += compptr->v_samp_factor) {
659
+ dst_buffer = (*srcinfo->mem->access_virt_barray)
660
+ ((j_common_ptr) srcinfo, dst_coef_arrays[ci], dst_blk_y,
661
+ (JDIMENSION) compptr->v_samp_factor, TRUE);
662
+ for (offset_y = 0; offset_y < compptr->v_samp_factor; offset_y++) {
663
+ for (dst_blk_x = 0; dst_blk_x < compptr->width_in_blocks;
664
+ dst_blk_x += compptr->h_samp_factor) {
665
+ if (x_crop_blocks + dst_blk_x < comp_width) {
666
+ /* Block is within the mirrorable area. */
667
+ src_buffer = (*srcinfo->mem->access_virt_barray)
668
+ ((j_common_ptr) srcinfo, src_coef_arrays[ci],
669
+ comp_width - x_crop_blocks - dst_blk_x -
670
+ (JDIMENSION) compptr->h_samp_factor,
671
+ (JDIMENSION) compptr->h_samp_factor, FALSE);
672
+ } else {
673
+ src_buffer = (*srcinfo->mem->access_virt_barray)
674
+ ((j_common_ptr) srcinfo, src_coef_arrays[ci],
675
+ dst_blk_x + x_crop_blocks,
676
+ (JDIMENSION) compptr->h_samp_factor, FALSE);
677
+ }
678
+ for (offset_x = 0; offset_x < compptr->h_samp_factor; offset_x++) {
679
+ dst_ptr = dst_buffer[offset_y][dst_blk_x + offset_x];
680
+ if (y_crop_blocks + dst_blk_y < comp_height) {
681
+ if (x_crop_blocks + dst_blk_x < comp_width) {
682
+ /* Block is within the mirrorable area. */
683
+ src_ptr = src_buffer[compptr->h_samp_factor - offset_x - 1]
684
+ [comp_height - y_crop_blocks - dst_blk_y - offset_y - 1];
685
+ for (i = 0; i < DCTSIZE; i++) {
686
+ for (j = 0; j < DCTSIZE; j++) {
687
+ dst_ptr[j*DCTSIZE+i] = src_ptr[i*DCTSIZE+j];
688
+ j++;
689
+ dst_ptr[j*DCTSIZE+i] = -src_ptr[i*DCTSIZE+j];
690
+ }
691
+ i++;
692
+ for (j = 0; j < DCTSIZE; j++) {
693
+ dst_ptr[j*DCTSIZE+i] = -src_ptr[i*DCTSIZE+j];
694
+ j++;
695
+ dst_ptr[j*DCTSIZE+i] = src_ptr[i*DCTSIZE+j];
696
+ }
697
+ }
698
+ } else {
699
+ /* Right-edge blocks are mirrored in y only */
700
+ src_ptr = src_buffer[offset_x]
701
+ [comp_height - y_crop_blocks - dst_blk_y - offset_y - 1];
702
+ for (i = 0; i < DCTSIZE; i++) {
703
+ for (j = 0; j < DCTSIZE; j++) {
704
+ dst_ptr[j*DCTSIZE+i] = src_ptr[i*DCTSIZE+j];
705
+ j++;
706
+ dst_ptr[j*DCTSIZE+i] = -src_ptr[i*DCTSIZE+j];
707
+ }
708
+ }
709
+ }
710
+ } else {
711
+ if (x_crop_blocks + dst_blk_x < comp_width) {
712
+ /* Bottom-edge blocks are mirrored in x only */
713
+ src_ptr = src_buffer[compptr->h_samp_factor - offset_x - 1]
714
+ [dst_blk_y + offset_y + y_crop_blocks];
715
+ for (i = 0; i < DCTSIZE; i++) {
716
+ for (j = 0; j < DCTSIZE; j++)
717
+ dst_ptr[j*DCTSIZE+i] = src_ptr[i*DCTSIZE+j];
718
+ i++;
719
+ for (j = 0; j < DCTSIZE; j++)
720
+ dst_ptr[j*DCTSIZE+i] = -src_ptr[i*DCTSIZE+j];
721
+ }
722
+ } else {
723
+ /* At lower right corner, just transpose, no mirroring */
724
+ src_ptr = src_buffer[offset_x]
725
+ [dst_blk_y + offset_y + y_crop_blocks];
726
+ for (i = 0; i < DCTSIZE; i++)
727
+ for (j = 0; j < DCTSIZE; j++)
728
+ dst_ptr[j*DCTSIZE+i] = src_ptr[i*DCTSIZE+j];
729
+ }
730
+ }
731
+ }
732
+ }
733
+ }
734
+ }
735
+ }
736
+ }
737
+
738
+
739
+ /* Parse an unsigned integer: subroutine for jtransform_parse_crop_spec.
740
+ * Returns TRUE if valid integer found, FALSE if not.
741
+ * *strptr is advanced over the digit string, and *result is set to its value.
742
+ */
743
+
744
+ LOCAL(boolean)
745
+ jt_read_integer (const char ** strptr, JDIMENSION * result)
746
+ {
747
+ const char * ptr = *strptr;
748
+ JDIMENSION val = 0;
749
+
750
+ for (; isdigit(*ptr); ptr++) {
751
+ val = val * 10 + (JDIMENSION) (*ptr - '0');
752
+ }
753
+ *result = val;
754
+ if (ptr == *strptr)
755
+ return FALSE; /* oops, no digits */
756
+ *strptr = ptr;
757
+ return TRUE;
758
+ }
759
+
760
+
761
+ /* Parse a crop specification (written in X11 geometry style).
762
+ * The routine returns TRUE if the spec string is valid, FALSE if not.
763
+ *
764
+ * The crop spec string should have the format
765
+ * <width>x<height>{+-}<xoffset>{+-}<yoffset>
766
+ * where width, height, xoffset, and yoffset are unsigned integers.
767
+ * Each of the elements can be omitted to indicate a default value.
768
+ * (A weakness of this style is that it is not possible to omit xoffset
769
+ * while specifying yoffset, since they look alike.)
770
+ *
771
+ * This code is loosely based on XParseGeometry from the X11 distribution.
772
+ */
773
+
774
+ GLOBAL(boolean)
775
+ jtransform_parse_crop_spec (jpeg_transform_info *info, const char *spec)
776
+ {
777
+ info->crop = FALSE;
778
+ info->crop_width_set = JCROP_UNSET;
779
+ info->crop_height_set = JCROP_UNSET;
780
+ info->crop_xoffset_set = JCROP_UNSET;
781
+ info->crop_yoffset_set = JCROP_UNSET;
782
+
783
+ if (isdigit(*spec)) {
784
+ /* fetch width */
785
+ if (! jt_read_integer(&spec, &info->crop_width))
786
+ return FALSE;
787
+ info->crop_width_set = JCROP_POS;
788
+ }
789
+ if (*spec == 'x' || *spec == 'X') {
790
+ /* fetch height */
791
+ spec++;
792
+ if (! jt_read_integer(&spec, &info->crop_height))
793
+ return FALSE;
794
+ info->crop_height_set = JCROP_POS;
795
+ }
796
+ if (*spec == '+' || *spec == '-') {
797
+ /* fetch xoffset */
798
+ info->crop_xoffset_set = (*spec == '-') ? JCROP_NEG : JCROP_POS;
799
+ spec++;
800
+ if (! jt_read_integer(&spec, &info->crop_xoffset))
801
+ return FALSE;
802
+ }
803
+ if (*spec == '+' || *spec == '-') {
804
+ /* fetch yoffset */
805
+ info->crop_yoffset_set = (*spec == '-') ? JCROP_NEG : JCROP_POS;
806
+ spec++;
807
+ if (! jt_read_integer(&spec, &info->crop_yoffset))
808
+ return FALSE;
809
+ }
810
+ /* We had better have gotten to the end of the string. */
811
+ if (*spec != '\0')
812
+ return FALSE;
813
+ info->crop = TRUE;
814
+ return TRUE;
815
+ }
816
+
817
+
818
+ /* Trim off any partial iMCUs on the indicated destination edge */
819
+
820
+ LOCAL(void)
821
+ trim_right_edge (jpeg_transform_info *info, JDIMENSION full_width)
822
+ {
823
+ JDIMENSION MCU_cols;
824
+
825
+ MCU_cols = info->output_width / (info->max_h_samp_factor * DCTSIZE);
826
+ if (MCU_cols > 0 && info->x_crop_offset + MCU_cols ==
827
+ full_width / (info->max_h_samp_factor * DCTSIZE))
828
+ info->output_width = MCU_cols * (info->max_h_samp_factor * DCTSIZE);
829
+ }
830
+
831
+ LOCAL(void)
832
+ trim_bottom_edge (jpeg_transform_info *info, JDIMENSION full_height)
833
+ {
834
+ JDIMENSION MCU_rows;
835
+
836
+ MCU_rows = info->output_height / (info->max_v_samp_factor * DCTSIZE);
837
+ if (MCU_rows > 0 && info->y_crop_offset + MCU_rows ==
838
+ full_height / (info->max_v_samp_factor * DCTSIZE))
839
+ info->output_height = MCU_rows * (info->max_v_samp_factor * DCTSIZE);
840
+ }
841
+
842
+
843
+ /* Request any required workspace.
844
+ *
845
+ * This routine figures out the size that the output image will be
846
+ * (which implies that all the transform parameters must be set before
847
+ * it is called).
848
+ *
849
+ * We allocate the workspace virtual arrays from the source decompression
850
+ * object, so that all the arrays (both the original data and the workspace)
851
+ * will be taken into account while making memory management decisions.
852
+ * Hence, this routine must be called after jpeg_read_header (which reads
853
+ * the image dimensions) and before jpeg_read_coefficients (which realizes
854
+ * the source's virtual arrays).
855
+ */
856
+
857
+ GLOBAL(void)
858
+ jtransform_request_workspace (j_decompress_ptr srcinfo,
859
+ jpeg_transform_info *info)
860
+ {
861
+ jvirt_barray_ptr *coef_arrays = NULL;
862
+ boolean need_workspace, transpose_it;
863
+ jpeg_component_info *compptr;
864
+ JDIMENSION xoffset, yoffset, width_in_iMCUs, height_in_iMCUs;
865
+ JDIMENSION width_in_blocks, height_in_blocks;
866
+ int ci, h_samp_factor, v_samp_factor;
867
+
868
+ /* Determine number of components in output image */
869
+ if (info->force_grayscale &&
870
+ srcinfo->jpeg_color_space == JCS_YCbCr &&
871
+ srcinfo->num_components == 3) {
872
+ /* We'll only process the first component */
873
+ info->num_components = 1;
874
+ } else {
875
+ /* Process all the components */
876
+ info->num_components = srcinfo->num_components;
877
+ }
878
+ /* If there is only one output component, force the iMCU size to be 1;
879
+ * else use the source iMCU size. (This allows us to do the right thing
880
+ * when reducing color to grayscale, and also provides a handy way of
881
+ * cleaning up "funny" grayscale images whose sampling factors are not 1x1.)
882
+ */
883
+
884
+ switch (info->transform) {
885
+ case JXFORM_TRANSPOSE:
886
+ case JXFORM_TRANSVERSE:
887
+ case JXFORM_ROT_90:
888
+ case JXFORM_ROT_270:
889
+ info->output_width = srcinfo->image_height;
890
+ info->output_height = srcinfo->image_width;
891
+ if (info->num_components == 1) {
892
+ info->max_h_samp_factor = 1;
893
+ info->max_v_samp_factor = 1;
894
+ } else {
895
+ info->max_h_samp_factor = srcinfo->max_v_samp_factor;
896
+ info->max_v_samp_factor = srcinfo->max_h_samp_factor;
897
+ }
898
+ break;
899
+ default:
900
+ info->output_width = srcinfo->image_width;
901
+ info->output_height = srcinfo->image_height;
902
+ if (info->num_components == 1) {
903
+ info->max_h_samp_factor = 1;
904
+ info->max_v_samp_factor = 1;
905
+ } else {
906
+ info->max_h_samp_factor = srcinfo->max_h_samp_factor;
907
+ info->max_v_samp_factor = srcinfo->max_v_samp_factor;
908
+ }
909
+ break;
910
+ }
911
+
912
+ /* If cropping has been requested, compute the crop area's position and
913
+ * dimensions, ensuring that its upper left corner falls at an iMCU boundary.
914
+ */
915
+ if (info->crop) {
916
+ /* Insert default values for unset crop parameters */
917
+ if (info->crop_xoffset_set == JCROP_UNSET)
918
+ info->crop_xoffset = 0; /* default to +0 */
919
+ if (info->crop_yoffset_set == JCROP_UNSET)
920
+ info->crop_yoffset = 0; /* default to +0 */
921
+ if (info->crop_xoffset >= info->output_width ||
922
+ info->crop_yoffset >= info->output_height)
923
+ ERREXIT(srcinfo, JERR_BAD_CROP_SPEC);
924
+ if (info->crop_width_set == JCROP_UNSET)
925
+ info->crop_width = info->output_width - info->crop_xoffset;
926
+ if (info->crop_height_set == JCROP_UNSET)
927
+ info->crop_height = info->output_height - info->crop_yoffset;
928
+ /* Ensure parameters are valid */
929
+ if (info->crop_width <= 0 || info->crop_width > info->output_width ||
930
+ info->crop_height <= 0 || info->crop_height > info->output_height ||
931
+ info->crop_xoffset > info->output_width - info->crop_width ||
932
+ info->crop_yoffset > info->output_height - info->crop_height)
933
+ ERREXIT(srcinfo, JERR_BAD_CROP_SPEC);
934
+ /* Convert negative crop offsets into regular offsets */
935
+ if (info->crop_xoffset_set == JCROP_NEG)
936
+ xoffset = info->output_width - info->crop_width - info->crop_xoffset;
937
+ else
938
+ xoffset = info->crop_xoffset;
939
+ if (info->crop_yoffset_set == JCROP_NEG)
940
+ yoffset = info->output_height - info->crop_height - info->crop_yoffset;
941
+ else
942
+ yoffset = info->crop_yoffset;
943
+ /* Now adjust so that upper left corner falls at an iMCU boundary */
944
+ info->output_width =
945
+ info->crop_width + (xoffset % (info->max_h_samp_factor * DCTSIZE));
946
+ info->output_height =
947
+ info->crop_height + (yoffset % (info->max_v_samp_factor * DCTSIZE));
948
+ /* Save x/y offsets measured in iMCUs */
949
+ info->x_crop_offset = xoffset / (info->max_h_samp_factor * DCTSIZE);
950
+ info->y_crop_offset = yoffset / (info->max_v_samp_factor * DCTSIZE);
951
+ } else {
952
+ info->x_crop_offset = 0;
953
+ info->y_crop_offset = 0;
954
+ }
955
+
956
+ /* Figure out whether we need workspace arrays,
957
+ * and if so whether they are transposed relative to the source.
958
+ */
959
+ need_workspace = FALSE;
960
+ transpose_it = FALSE;
961
+ switch (info->transform) {
962
+ case JXFORM_NONE:
963
+ if (info->x_crop_offset != 0 || info->y_crop_offset != 0)
964
+ need_workspace = TRUE;
965
+ /* No workspace needed if neither cropping nor transforming */
966
+ break;
967
+ case JXFORM_FLIP_H:
968
+ if (info->trim)
969
+ trim_right_edge(info, srcinfo->image_width);
970
+ if (info->y_crop_offset != 0)
971
+ need_workspace = TRUE;
972
+ /* do_flip_h_no_crop doesn't need a workspace array */
973
+ break;
974
+ case JXFORM_FLIP_V:
975
+ if (info->trim)
976
+ trim_bottom_edge(info, srcinfo->image_height);
977
+ /* Need workspace arrays having same dimensions as source image. */
978
+ need_workspace = TRUE;
979
+ break;
980
+ case JXFORM_TRANSPOSE:
981
+ /* transpose does NOT have to trim anything */
982
+ /* Need workspace arrays having transposed dimensions. */
983
+ need_workspace = TRUE;
984
+ transpose_it = TRUE;
985
+ break;
986
+ case JXFORM_TRANSVERSE:
987
+ if (info->trim) {
988
+ trim_right_edge(info, srcinfo->image_height);
989
+ trim_bottom_edge(info, srcinfo->image_width);
990
+ }
991
+ /* Need workspace arrays having transposed dimensions. */
992
+ need_workspace = TRUE;
993
+ transpose_it = TRUE;
994
+ break;
995
+ case JXFORM_ROT_90:
996
+ if (info->trim)
997
+ trim_right_edge(info, srcinfo->image_height);
998
+ /* Need workspace arrays having transposed dimensions. */
999
+ need_workspace = TRUE;
1000
+ transpose_it = TRUE;
1001
+ break;
1002
+ case JXFORM_ROT_180:
1003
+ if (info->trim) {
1004
+ trim_right_edge(info, srcinfo->image_width);
1005
+ trim_bottom_edge(info, srcinfo->image_height);
1006
+ }
1007
+ /* Need workspace arrays having same dimensions as source image. */
1008
+ need_workspace = TRUE;
1009
+ break;
1010
+ case JXFORM_ROT_270:
1011
+ if (info->trim)
1012
+ trim_bottom_edge(info, srcinfo->image_width);
1013
+ /* Need workspace arrays having transposed dimensions. */
1014
+ need_workspace = TRUE;
1015
+ transpose_it = TRUE;
1016
+ break;
1017
+ }
1018
+
1019
+ /* Allocate workspace if needed.
1020
+ * Note that we allocate arrays padded out to the next iMCU boundary,
1021
+ * so that transform routines need not worry about missing edge blocks.
1022
+ */
1023
+ if (need_workspace) {
1024
+ coef_arrays = (jvirt_barray_ptr *)
1025
+ (*srcinfo->mem->alloc_small) ((j_common_ptr) srcinfo, JPOOL_IMAGE,
1026
+ SIZEOF(jvirt_barray_ptr) * info->num_components);
1027
+ width_in_iMCUs = (JDIMENSION)
1028
+ jdiv_round_up((long) info->output_width,
1029
+ (long) (info->max_h_samp_factor * DCTSIZE));
1030
+ height_in_iMCUs = (JDIMENSION)
1031
+ jdiv_round_up((long) info->output_height,
1032
+ (long) (info->max_v_samp_factor * DCTSIZE));
1033
+ for (ci = 0; ci < info->num_components; ci++) {
1034
+ compptr = srcinfo->comp_info + ci;
1035
+ if (info->num_components == 1) {
1036
+ /* we're going to force samp factors to 1x1 in this case */
1037
+ h_samp_factor = v_samp_factor = 1;
1038
+ } else if (transpose_it) {
1039
+ h_samp_factor = compptr->v_samp_factor;
1040
+ v_samp_factor = compptr->h_samp_factor;
1041
+ } else {
1042
+ h_samp_factor = compptr->h_samp_factor;
1043
+ v_samp_factor = compptr->v_samp_factor;
1044
+ }
1045
+ width_in_blocks = width_in_iMCUs * h_samp_factor;
1046
+ height_in_blocks = height_in_iMCUs * v_samp_factor;
1047
+ coef_arrays[ci] = (*srcinfo->mem->request_virt_barray)
1048
+ ((j_common_ptr) srcinfo, JPOOL_IMAGE, FALSE,
1049
+ width_in_blocks, height_in_blocks, (JDIMENSION) v_samp_factor);
1050
+ }
1051
+ }
1052
+
1053
+ info->workspace_coef_arrays = coef_arrays;
1054
+ }
1055
+
1056
+
1057
+ /* Transpose destination image parameters */
1058
+
1059
+ LOCAL(void)
1060
+ transpose_critical_parameters (j_compress_ptr dstinfo)
1061
+ {
1062
+ int tblno, i, j, ci, itemp;
1063
+ jpeg_component_info *compptr;
1064
+ JQUANT_TBL *qtblptr;
1065
+ UINT16 qtemp;
1066
+
1067
+ /* Transpose sampling factors */
1068
+ for (ci = 0; ci < dstinfo->num_components; ci++) {
1069
+ compptr = dstinfo->comp_info + ci;
1070
+ itemp = compptr->h_samp_factor;
1071
+ compptr->h_samp_factor = compptr->v_samp_factor;
1072
+ compptr->v_samp_factor = itemp;
1073
+ }
1074
+
1075
+ /* Transpose quantization tables */
1076
+ for (tblno = 0; tblno < NUM_QUANT_TBLS; tblno++) {
1077
+ qtblptr = dstinfo->quant_tbl_ptrs[tblno];
1078
+ if (qtblptr != NULL) {
1079
+ for (i = 0; i < DCTSIZE; i++) {
1080
+ for (j = 0; j < i; j++) {
1081
+ qtemp = qtblptr->quantval[i*DCTSIZE+j];
1082
+ qtblptr->quantval[i*DCTSIZE+j] = qtblptr->quantval[j*DCTSIZE+i];
1083
+ qtblptr->quantval[j*DCTSIZE+i] = qtemp;
1084
+ }
1085
+ }
1086
+ }
1087
+ }
1088
+ }
1089
+
1090
+
1091
+ /* Adjust Exif image parameters.
1092
+ *
1093
+ * We try to adjust the Tags ExifImageWidth and ExifImageHeight if possible.
1094
+ */
1095
+
1096
+ LOCAL(void)
1097
+ adjust_exif_parameters (JOCTET FAR * data, unsigned int length,
1098
+ JDIMENSION new_width, JDIMENSION new_height)
1099
+ {
1100
+ boolean is_motorola; /* Flag for byte order */
1101
+ unsigned int number_of_tags, tagnum;
1102
+ unsigned int firstoffset, offset;
1103
+ JDIMENSION new_value;
1104
+
1105
+ if (length < 12) return; /* Length of an IFD entry */
1106
+
1107
+ /* Discover byte order */
1108
+ if (GETJOCTET(data[0]) == 0x49 && GETJOCTET(data[1]) == 0x49)
1109
+ is_motorola = FALSE;
1110
+ else if (GETJOCTET(data[0]) == 0x4D && GETJOCTET(data[1]) == 0x4D)
1111
+ is_motorola = TRUE;
1112
+ else
1113
+ return;
1114
+
1115
+ /* Check Tag Mark */
1116
+ if (is_motorola) {
1117
+ if (GETJOCTET(data[2]) != 0) return;
1118
+ if (GETJOCTET(data[3]) != 0x2A) return;
1119
+ } else {
1120
+ if (GETJOCTET(data[3]) != 0) return;
1121
+ if (GETJOCTET(data[2]) != 0x2A) return;
1122
+ }
1123
+
1124
+ /* Get first IFD offset (offset to IFD0) */
1125
+ if (is_motorola) {
1126
+ if (GETJOCTET(data[4]) != 0) return;
1127
+ if (GETJOCTET(data[5]) != 0) return;
1128
+ firstoffset = GETJOCTET(data[6]);
1129
+ firstoffset <<= 8;
1130
+ firstoffset += GETJOCTET(data[7]);
1131
+ } else {
1132
+ if (GETJOCTET(data[7]) != 0) return;
1133
+ if (GETJOCTET(data[6]) != 0) return;
1134
+ firstoffset = GETJOCTET(data[5]);
1135
+ firstoffset <<= 8;
1136
+ firstoffset += GETJOCTET(data[4]);
1137
+ }
1138
+ if (firstoffset > length - 2) return; /* check end of data segment */
1139
+
1140
+ /* Get the number of directory entries contained in this IFD */
1141
+ if (is_motorola) {
1142
+ number_of_tags = GETJOCTET(data[firstoffset]);
1143
+ number_of_tags <<= 8;
1144
+ number_of_tags += GETJOCTET(data[firstoffset+1]);
1145
+ } else {
1146
+ number_of_tags = GETJOCTET(data[firstoffset+1]);
1147
+ number_of_tags <<= 8;
1148
+ number_of_tags += GETJOCTET(data[firstoffset]);
1149
+ }
1150
+ if (number_of_tags == 0) return;
1151
+ firstoffset += 2;
1152
+
1153
+ /* Search for ExifSubIFD offset Tag in IFD0 */
1154
+ for (;;) {
1155
+ if (firstoffset > length - 12) return; /* check end of data segment */
1156
+ /* Get Tag number */
1157
+ if (is_motorola) {
1158
+ tagnum = GETJOCTET(data[firstoffset]);
1159
+ tagnum <<= 8;
1160
+ tagnum += GETJOCTET(data[firstoffset+1]);
1161
+ } else {
1162
+ tagnum = GETJOCTET(data[firstoffset+1]);
1163
+ tagnum <<= 8;
1164
+ tagnum += GETJOCTET(data[firstoffset]);
1165
+ }
1166
+ if (tagnum == 0x8769) break; /* found ExifSubIFD offset Tag */
1167
+ if (--number_of_tags == 0) return;
1168
+ firstoffset += 12;
1169
+ }
1170
+
1171
+ /* Get the ExifSubIFD offset */
1172
+ if (is_motorola) {
1173
+ if (GETJOCTET(data[firstoffset+8]) != 0) return;
1174
+ if (GETJOCTET(data[firstoffset+9]) != 0) return;
1175
+ offset = GETJOCTET(data[firstoffset+10]);
1176
+ offset <<= 8;
1177
+ offset += GETJOCTET(data[firstoffset+11]);
1178
+ } else {
1179
+ if (GETJOCTET(data[firstoffset+11]) != 0) return;
1180
+ if (GETJOCTET(data[firstoffset+10]) != 0) return;
1181
+ offset = GETJOCTET(data[firstoffset+9]);
1182
+ offset <<= 8;
1183
+ offset += GETJOCTET(data[firstoffset+8]);
1184
+ }
1185
+ if (offset > length - 2) return; /* check end of data segment */
1186
+
1187
+ /* Get the number of directory entries contained in this SubIFD */
1188
+ if (is_motorola) {
1189
+ number_of_tags = GETJOCTET(data[offset]);
1190
+ number_of_tags <<= 8;
1191
+ number_of_tags += GETJOCTET(data[offset+1]);
1192
+ } else {
1193
+ number_of_tags = GETJOCTET(data[offset+1]);
1194
+ number_of_tags <<= 8;
1195
+ number_of_tags += GETJOCTET(data[offset]);
1196
+ }
1197
+ if (number_of_tags < 2) return;
1198
+ offset += 2;
1199
+
1200
+ /* Search for ExifImageWidth and ExifImageHeight Tags in this SubIFD */
1201
+ do {
1202
+ if (offset > length - 12) return; /* check end of data segment */
1203
+ /* Get Tag number */
1204
+ if (is_motorola) {
1205
+ tagnum = GETJOCTET(data[offset]);
1206
+ tagnum <<= 8;
1207
+ tagnum += GETJOCTET(data[offset+1]);
1208
+ } else {
1209
+ tagnum = GETJOCTET(data[offset+1]);
1210
+ tagnum <<= 8;
1211
+ tagnum += GETJOCTET(data[offset]);
1212
+ }
1213
+ if (tagnum == 0xA002 || tagnum == 0xA003) {
1214
+ if (tagnum == 0xA002)
1215
+ new_value = new_width; /* ExifImageWidth Tag */
1216
+ else
1217
+ new_value = new_height; /* ExifImageHeight Tag */
1218
+ if (is_motorola) {
1219
+ data[offset+2] = 0; /* Format = unsigned long (4 octets) */
1220
+ data[offset+3] = 4;
1221
+ data[offset+4] = 0; /* Number Of Components = 1 */
1222
+ data[offset+5] = 0;
1223
+ data[offset+6] = 0;
1224
+ data[offset+7] = 1;
1225
+ data[offset+8] = 0;
1226
+ data[offset+9] = 0;
1227
+ data[offset+10] = (JOCTET)((new_value >> 8) & 0xFF);
1228
+ data[offset+11] = (JOCTET)(new_value & 0xFF);
1229
+ } else {
1230
+ data[offset+2] = 4; /* Format = unsigned long (4 octets) */
1231
+ data[offset+3] = 0;
1232
+ data[offset+4] = 1; /* Number Of Components = 1 */
1233
+ data[offset+5] = 0;
1234
+ data[offset+6] = 0;
1235
+ data[offset+7] = 0;
1236
+ data[offset+8] = (JOCTET)(new_value & 0xFF);
1237
+ data[offset+9] = (JOCTET)((new_value >> 8) & 0xFF);
1238
+ data[offset+10] = 0;
1239
+ data[offset+11] = 0;
1240
+ }
1241
+ }
1242
+ offset += 12;
1243
+ } while (--number_of_tags);
1244
+ }
1245
+
1246
+
1247
+ /* Adjust output image parameters as needed.
1248
+ *
1249
+ * This must be called after jpeg_copy_critical_parameters()
1250
+ * and before jpeg_write_coefficients().
1251
+ *
1252
+ * The return value is the set of virtual coefficient arrays to be written
1253
+ * (either the ones allocated by jtransform_request_workspace, or the
1254
+ * original source data arrays). The caller will need to pass this value
1255
+ * to jpeg_write_coefficients().
1256
+ */
1257
+
1258
+ GLOBAL(jvirt_barray_ptr *)
1259
+ jtransform_adjust_parameters (j_decompress_ptr srcinfo,
1260
+ j_compress_ptr dstinfo,
1261
+ jvirt_barray_ptr *src_coef_arrays,
1262
+ jpeg_transform_info *info)
1263
+ {
1264
+ /* If force-to-grayscale is requested, adjust destination parameters */
1265
+ if (info->force_grayscale) {
1266
+ /* First, ensure we have YCbCr or grayscale data, and that the source's
1267
+ * Y channel is full resolution. (No reasonable person would make Y
1268
+ * be less than full resolution, so actually coping with that case
1269
+ * isn't worth extra code space. But we check it to avoid crashing.)
1270
+ */
1271
+ if (((dstinfo->jpeg_color_space == JCS_YCbCr &&
1272
+ dstinfo->num_components == 3) ||
1273
+ (dstinfo->jpeg_color_space == JCS_GRAYSCALE &&
1274
+ dstinfo->num_components == 1)) &&
1275
+ srcinfo->comp_info[0].h_samp_factor == srcinfo->max_h_samp_factor &&
1276
+ srcinfo->comp_info[0].v_samp_factor == srcinfo->max_v_samp_factor) {
1277
+ /* We use jpeg_set_colorspace to make sure subsidiary settings get fixed
1278
+ * properly. Among other things, it sets the target h_samp_factor &
1279
+ * v_samp_factor to 1, which typically won't match the source.
1280
+ * We have to preserve the source's quantization table number, however.
1281
+ */
1282
+ int sv_quant_tbl_no = dstinfo->comp_info[0].quant_tbl_no;
1283
+ jpeg_set_colorspace(dstinfo, JCS_GRAYSCALE);
1284
+ dstinfo->comp_info[0].quant_tbl_no = sv_quant_tbl_no;
1285
+ } else {
1286
+ /* Sorry, can't do it */
1287
+ ERREXIT(dstinfo, JERR_CONVERSION_NOTIMPL);
1288
+ }
1289
+ } else if (info->num_components == 1) {
1290
+ /* For a single-component source, we force the destination sampling factors
1291
+ * to 1x1, with or without force_grayscale. This is useful because some
1292
+ * decoders choke on grayscale images with other sampling factors.
1293
+ */
1294
+ dstinfo->comp_info[0].h_samp_factor = 1;
1295
+ dstinfo->comp_info[0].v_samp_factor = 1;
1296
+ }
1297
+
1298
+ /* Correct the destination's image dimensions as necessary
1299
+ * for crop and rotate/flip operations.
1300
+ */
1301
+ dstinfo->image_width = info->output_width;
1302
+ dstinfo->image_height = info->output_height;
1303
+
1304
+ /* Transpose destination image parameters */
1305
+ switch (info->transform) {
1306
+ case JXFORM_TRANSPOSE:
1307
+ case JXFORM_TRANSVERSE:
1308
+ case JXFORM_ROT_90:
1309
+ case JXFORM_ROT_270:
1310
+ transpose_critical_parameters(dstinfo);
1311
+ break;
1312
+ default:
1313
+ break;
1314
+ }
1315
+
1316
+ /* Adjust Exif properties */
1317
+ if (srcinfo->marker_list != NULL &&
1318
+ srcinfo->marker_list->marker == JPEG_APP0+1 &&
1319
+ srcinfo->marker_list->data_length >= 6 &&
1320
+ GETJOCTET(srcinfo->marker_list->data[0]) == 0x45 &&
1321
+ GETJOCTET(srcinfo->marker_list->data[1]) == 0x78 &&
1322
+ GETJOCTET(srcinfo->marker_list->data[2]) == 0x69 &&
1323
+ GETJOCTET(srcinfo->marker_list->data[3]) == 0x66 &&
1324
+ GETJOCTET(srcinfo->marker_list->data[4]) == 0 &&
1325
+ GETJOCTET(srcinfo->marker_list->data[5]) == 0) {
1326
+ /* Suppress output of JFIF marker */
1327
+ dstinfo->write_JFIF_header = FALSE;
1328
+ /* Adjust Exif image parameters */
1329
+ if (dstinfo->image_width != srcinfo->image_width ||
1330
+ dstinfo->image_height != srcinfo->image_height)
1331
+ /* Align data segment to start of TIFF structure for parsing */
1332
+ adjust_exif_parameters(srcinfo->marker_list->data + 6,
1333
+ srcinfo->marker_list->data_length - 6,
1334
+ dstinfo->image_width, dstinfo->image_height);
1335
+ }
1336
+
1337
+ /* Return the appropriate output data set */
1338
+ if (info->workspace_coef_arrays != NULL)
1339
+ return info->workspace_coef_arrays;
1340
+ return src_coef_arrays;
1341
+ }
1342
+
1343
+
1344
+ /* Execute the actual transformation, if any.
1345
+ *
1346
+ * This must be called *after* jpeg_write_coefficients, because it depends
1347
+ * on jpeg_write_coefficients to have computed subsidiary values such as
1348
+ * the per-component width and height fields in the destination object.
1349
+ *
1350
+ * Note that some transformations will modify the source data arrays!
1351
+ */
1352
+
1353
+ GLOBAL(void)
1354
+ jtransform_execute_transform (j_decompress_ptr srcinfo,
1355
+ j_compress_ptr dstinfo,
1356
+ jvirt_barray_ptr *src_coef_arrays,
1357
+ jpeg_transform_info *info)
1358
+ {
1359
+ jvirt_barray_ptr *dst_coef_arrays = info->workspace_coef_arrays;
1360
+
1361
+ /* Note: conditions tested here should match those in switch statement
1362
+ * in jtransform_request_workspace()
1363
+ */
1364
+ switch (info->transform) {
1365
+ case JXFORM_NONE:
1366
+ if (info->x_crop_offset != 0 || info->y_crop_offset != 0)
1367
+ do_crop(srcinfo, dstinfo, info->x_crop_offset, info->y_crop_offset,
1368
+ src_coef_arrays, dst_coef_arrays);
1369
+ break;
1370
+ case JXFORM_FLIP_H:
1371
+ if (info->y_crop_offset != 0)
1372
+ do_flip_h(srcinfo, dstinfo, info->x_crop_offset, info->y_crop_offset,
1373
+ src_coef_arrays, dst_coef_arrays);
1374
+ else
1375
+ do_flip_h_no_crop(srcinfo, dstinfo, info->x_crop_offset,
1376
+ src_coef_arrays);
1377
+ break;
1378
+ case JXFORM_FLIP_V:
1379
+ do_flip_v(srcinfo, dstinfo, info->x_crop_offset, info->y_crop_offset,
1380
+ src_coef_arrays, dst_coef_arrays);
1381
+ break;
1382
+ case JXFORM_TRANSPOSE:
1383
+ do_transpose(srcinfo, dstinfo, info->x_crop_offset, info->y_crop_offset,
1384
+ src_coef_arrays, dst_coef_arrays);
1385
+ break;
1386
+ case JXFORM_TRANSVERSE:
1387
+ do_transverse(srcinfo, dstinfo, info->x_crop_offset, info->y_crop_offset,
1388
+ src_coef_arrays, dst_coef_arrays);
1389
+ break;
1390
+ case JXFORM_ROT_90:
1391
+ do_rot_90(srcinfo, dstinfo, info->x_crop_offset, info->y_crop_offset,
1392
+ src_coef_arrays, dst_coef_arrays);
1393
+ break;
1394
+ case JXFORM_ROT_180:
1395
+ do_rot_180(srcinfo, dstinfo, info->x_crop_offset, info->y_crop_offset,
1396
+ src_coef_arrays, dst_coef_arrays);
1397
+ break;
1398
+ case JXFORM_ROT_270:
1399
+ do_rot_270(srcinfo, dstinfo, info->x_crop_offset, info->y_crop_offset,
1400
+ src_coef_arrays, dst_coef_arrays);
1401
+ break;
1402
+ }
1403
+ }
1404
+
1405
+ /* jtransform_perfect_transform
1406
+ *
1407
+ * Determine whether lossless transformation is perfectly
1408
+ * possible for a specified image and transformation.
1409
+ *
1410
+ * Inputs:
1411
+ * image_width, image_height: source image dimensions.
1412
+ * MCU_width, MCU_height: pixel dimensions of MCU.
1413
+ * transform: transformation identifier.
1414
+ * Parameter sources from initialized jpeg_struct
1415
+ * (after reading source header):
1416
+ * image_width = cinfo.image_width
1417
+ * image_height = cinfo.image_height
1418
+ * MCU_width = cinfo.max_h_samp_factor * DCTSIZE
1419
+ * MCU_height = cinfo.max_v_samp_factor * DCTSIZE
1420
+ * Result:
1421
+ * TRUE = perfect transformation possible
1422
+ * FALSE = perfect transformation not possible
1423
+ * (may use custom action then)
1424
+ */
1425
+
1426
+ GLOBAL(boolean)
1427
+ jtransform_perfect_transform(JDIMENSION image_width, JDIMENSION image_height,
1428
+ int MCU_width, int MCU_height,
1429
+ JXFORM_CODE transform)
1430
+ {
1431
+ boolean result = TRUE; /* initialize TRUE */
1432
+
1433
+ switch (transform) {
1434
+ case JXFORM_FLIP_H:
1435
+ case JXFORM_ROT_270:
1436
+ if (image_width % (JDIMENSION) MCU_width)
1437
+ result = FALSE;
1438
+ break;
1439
+ case JXFORM_FLIP_V:
1440
+ case JXFORM_ROT_90:
1441
+ if (image_height % (JDIMENSION) MCU_height)
1442
+ result = FALSE;
1443
+ break;
1444
+ case JXFORM_TRANSVERSE:
1445
+ case JXFORM_ROT_180:
1446
+ if (image_width % (JDIMENSION) MCU_width)
1447
+ result = FALSE;
1448
+ if (image_height % (JDIMENSION) MCU_height)
1449
+ result = FALSE;
1450
+ break;
1451
+ default:
1452
+ break;
1453
+ }
1454
+
1455
+ return result;
1456
+ }
1457
+
1458
+ #endif /* TRANSFORMS_SUPPORTED */
1459
+
1460
+
1461
+ /* Setup decompression object to save desired markers in memory.
1462
+ * This must be called before jpeg_read_header() to have the desired effect.
1463
+ */
1464
+
1465
+ GLOBAL(void)
1466
+ jcopy_markers_setup (j_decompress_ptr srcinfo, JCOPY_OPTION option)
1467
+ {
1468
+ #ifdef SAVE_MARKERS_SUPPORTED
1469
+ int m;
1470
+
1471
+ /* Save comments except under NONE option */
1472
+ if (option != JCOPYOPT_NONE) {
1473
+ jpeg_save_markers(srcinfo, JPEG_COM, 0xFFFF);
1474
+ }
1475
+ /* Save all types of APPn markers iff ALL option */
1476
+ if (option == JCOPYOPT_ALL) {
1477
+ for (m = 0; m < 16; m++)
1478
+ jpeg_save_markers(srcinfo, JPEG_APP0 + m, 0xFFFF);
1479
+ }
1480
+ #endif /* SAVE_MARKERS_SUPPORTED */
1481
+ }
1482
+
1483
+ /* Copy markers saved in the given source object to the destination object.
1484
+ * This should be called just after jpeg_start_compress() or
1485
+ * jpeg_write_coefficients().
1486
+ * Note that those routines will have written the SOI, and also the
1487
+ * JFIF APP0 or Adobe APP14 markers if selected.
1488
+ */
1489
+
1490
+ GLOBAL(void)
1491
+ jcopy_markers_execute (j_decompress_ptr srcinfo, j_compress_ptr dstinfo,
1492
+ JCOPY_OPTION option)
1493
+ {
1494
+ jpeg_saved_marker_ptr marker;
1495
+
1496
+ /* In the current implementation, we don't actually need to examine the
1497
+ * option flag here; we just copy everything that got saved.
1498
+ * But to avoid confusion, we do not output JFIF and Adobe APP14 markers
1499
+ * if the encoder library already wrote one.
1500
+ */
1501
+ for (marker = srcinfo->marker_list; marker != NULL; marker = marker->next) {
1502
+ if (dstinfo->write_JFIF_header &&
1503
+ marker->marker == JPEG_APP0 &&
1504
+ marker->data_length >= 5 &&
1505
+ GETJOCTET(marker->data[0]) == 0x4A &&
1506
+ GETJOCTET(marker->data[1]) == 0x46 &&
1507
+ GETJOCTET(marker->data[2]) == 0x49 &&
1508
+ GETJOCTET(marker->data[3]) == 0x46 &&
1509
+ GETJOCTET(marker->data[4]) == 0)
1510
+ continue; /* reject duplicate JFIF */
1511
+ if (dstinfo->write_Adobe_marker &&
1512
+ marker->marker == JPEG_APP0+14 &&
1513
+ marker->data_length >= 5 &&
1514
+ GETJOCTET(marker->data[0]) == 0x41 &&
1515
+ GETJOCTET(marker->data[1]) == 0x64 &&
1516
+ GETJOCTET(marker->data[2]) == 0x6F &&
1517
+ GETJOCTET(marker->data[3]) == 0x62 &&
1518
+ GETJOCTET(marker->data[4]) == 0x65)
1519
+ continue; /* reject duplicate Adobe */
1520
+ #ifdef NEED_FAR_POINTERS
1521
+ /* We could use jpeg_write_marker if the data weren't FAR... */
1522
+ {
1523
+ unsigned int i;
1524
+ jpeg_write_m_header(dstinfo, marker->marker, marker->data_length);
1525
+ for (i = 0; i < marker->data_length; i++)
1526
+ jpeg_write_m_byte(dstinfo, marker->data[i]);
1527
+ }
1528
+ #else
1529
+ jpeg_write_marker(dstinfo, marker->marker,
1530
+ marker->data, marker->data_length);
1531
+ #endif
1532
+ }
1533
+ }