The Trunk: Graphics-fbs.279.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: Graphics-fbs.279.mcz

commits-2
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].
- ].!