[squeak-dev] The Trunk: Graphics-fbs.279.mcz

commits at source.squeak.org commits at source.squeak.org
Tue Nov 26 21:53:20 UTC 2013


Frank Shearar uploaded a new version of Graphics to project The Trunk:
http://source.squeak.org/trunk/Graphics-fbs.279.mcz

==================== Summary ====================

Name: Graphics-fbs.279
Author: fbs
Time: 26 November 2013, 9:50:49.493 pm
UUID: e195dac2-955f-c24f-bdea-e8c99f492000
Ancestors: Graphics-fbs.278

This is a test, even though it's not a unit test.

=============== Diff against Graphics-fbs.278 ===============

Item was removed:
- ----- Method: JPEGReadWriter>>decompressionTest (in category 'public access') -----
- decompressionTest
- 	"Test decompression; don't generate actual image"
- 	
- MessageTally spyOn:[ | x xStep yStep y |
- 	ditherMask := DitherMasks at: 32.
- 	residuals := WordArray new: 3.
- 	sosSeen := false.
- 	self parseFirstMarker.
- 	[sosSeen] whileFalse: [self parseNextMarker].
- 	xStep := mcuWidth * DCTSize.
- 	yStep := mcuHeight * DCTSize.
- 	y := 0.
- 	1 to: mcuRowsInScan do:
- 		[:row |
- 		x := 0.
- 		1 to: mcusPerRow do:
- 			[:col |
- 			self decodeMCU.
- 			self idctMCU.
- 			self colorConvertMCU.
- 			x := x + xStep].
- 		y := y + yStep].
- ].!



More information about the Squeak-dev mailing list