-
Notifications
You must be signed in to change notification settings - Fork 608
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
testing: at long last, set up a softimage reading test
Also some very minor code cleanup that was helpful in setting up the test cases and getting better code coverage. Signed-off-by: Larry Gritz <[email protected]>
- Loading branch information
Showing
4 changed files
with
83 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
Reading ../oiio-images/softimage/A4.pic | ||
../oiio-images/softimage/A4.pic : 64 x 64, 4 channel, uint8 softimage | ||
SHA-1: 6A9FFED68FE36B0DA8544C1A3CBD671F662F8142 | ||
channel list: R, G, B, A | ||
BitsPerSample: 8 | ||
ImageDescription: "Created by Houdini" | ||
softimage:compression: "mixed-rle,mixed-rle" | ||
Stats Min: 0 0 0 0 (of 255) | ||
Stats Max: 255 255 255 255 (of 255) | ||
Stats Avg: 2.29 2.29 2.29 2.29 (of 255) | ||
Stats StdDev: 21.26 21.26 21.26 21.26 (of 255) | ||
Stats NanCount: 0 0 0 0 | ||
Stats InfCount: 0 0 0 0 | ||
Stats FiniteCount: 4096 4096 4096 4096 | ||
Constant: No | ||
Monochrome: Yes | ||
Reading ../oiio-images/softimage/astone64.pic | ||
../oiio-images/softimage/astone64.pic : 64 x 64, 3 channel, uint8 softimage | ||
SHA-1: 0FD57F8BBD941261055C65A64BBA294D9C21664F | ||
channel list: R, G, B | ||
BitsPerSample: 8 | ||
ImageDescription: "ImageFX SoftImage Saver (Amiga)" | ||
softimage:compression: "none" | ||
Stats Min: 26 30 0 (of 255) | ||
Stats Max: 255 255 174 (of 255) | ||
Stats Avg: 154.83 158.82 68.19 (of 255) | ||
Stats StdDev: 37.89 37.86 29.05 (of 255) | ||
Stats NanCount: 0 0 0 | ||
Stats InfCount: 0 0 0 | ||
Stats FiniteCount: 4096 4096 4096 | ||
Constant: No | ||
Monochrome: No |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env python | ||
|
||
# Copyright Contributors to the OpenImageIO project. | ||
# SPDX-License-Identifier: Apache-2.0 | ||
# https://github.com/AcademySoftwareFoundation/OpenImageIO | ||
|
||
files = [ "A4.pic", "astone64.pic" ] | ||
for f in files: | ||
command += info_command (OIIO_TESTSUITE_IMAGEDIR + "/" + f, extraargs="--stats") | ||
|