diff --git a/.github/workflows/macarm.yml b/.github/workflows/macarm.yml new file mode 100644 index 0000000000..f721d48423 --- /dev/null +++ b/.github/workflows/macarm.yml @@ -0,0 +1,99 @@ +# Copyright Contributors to the OpenImageIO project. +# SPDX-License-Identifier: Apache-2.0 +# https://github.com/AcademySoftwareFoundation/OpenImageIO + + +# This workflow is for CI for ARM-based MacOS. In an ideal world, this would +# just be another matrix entry in the main CI workflow, but MacOS ARM runners +# too expensive to run on every PR push. So we break into a separate workflow +# to have more fine-grained control over when it runs. + +name: CI-Mac-ARM + +# This section controls when the workflow runs. +on: + # Run upon push, but only for tagged versions, or if the branch name + # contains the substrings "macarm", "-alpha", "-beta", or is called + # "release". + push: + tags: + - v** + branches: + - '*macarm*' + - '*alpha*' + - '*beta*' + - 'release' + # Run for pull requests whose branch name includes "macarm" (this allows + # us to test specific PRs that we think need ARM verification). + pull_request: + if: contains(github.head_ref, 'macarm') + # Run monthly on the 27th (a few days before patch releases) to make sure we + # haven't broken anything among the many PRs that didn't test on ARM. + schedule: + - cron: "0 8 27 * *" + if: github.repository == 'AcademySoftwareFoundation/OpenImageIO' + +permissions: read-all + + +jobs: + # This section should remain an identical copy of the main CI workflow job + # for MacOS. + macos-arm: + name: "${{matrix.os}} appleclang${{matrix.aclang}}/C++${{matrix.cxx_std}} py${{matrix.python_ver}} ${{matrix.desc}} boost1.76 exr3.1 ocio2.1" + # Needs special runners, only run on the main repo, + if: github.repository == 'AcademySoftwareFoundation/OpenImageIO' + strategy: + fail-fast: false + matrix: + include: + - desc: MacOS-13 ARM + os: macos-13-xlarge + nametag: macos13-arm-py311 + cxx_std: 17 + python_ver: "3.11" + aclang: 14 + setenvs: export CTEST_TEST_TIMEOUT=600 USE_OPENCV=0 USE_QT=0 PARALLEL=8 + runs-on: ${{ matrix.os }} + env: + CC: clang + CXX: clang++ + CMAKE_CXX_STANDARD: ${{ matrix.cxx_std }} + PYTHON_VERSION: ${{ matrix.python_ver }} + steps: + - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3.0.2 + - name: Prepare ccache timestamp + id: ccache_cache_keys + run: echo "::set-output name=date::`date -u +'%Y-%m-%dT%H:%M:%SZ'`" + - name: ccache + id: ccache + uses: actions/cache@c3f1317a9e7b1ef106c153ac8c0f00fed3ddbc0d # v3.0.4 + with: + path: /Users/runner/.ccache + key: ${{github.job}}-${{matrix.nametag}}-${{ steps.ccache_cache_keys.outputs.date }} + restore-keys: ${{github.job}}- + - name: Build setup + run: | + ${{matrix.setenvs}} + src/build-scripts/ci-startup.bash + - name: Dependencies + run: | + src/build-scripts/install_homebrew_deps.bash + ${{matrix.depcmds}} + - name: Build + run: | + export PYTHONPATH=/usr/local/lib/python${PYTHON_VERSION}/site-packages:$PYTHONPATH + src/build-scripts/ci-build.bash + - name: Testsuite + run: src/build-scripts/ci-test.bash + - uses: actions/upload-artifact@3cea5372237819ed00197afe530f5a7ea3e805c8 # v3.1.0 + if: failure() + with: + name: oiio-${{github.job}}-${{matrix.nametag}} + path: | + build/cmake-save + build/testsuite/*/*.* + !build/testsuite/oiio-images + !build/testsuite/openexr-images + !build/testsuite/fits-images + !build/testsuite/j2kp4files_v1_5 diff --git a/src/build-scripts/install_homebrew_deps.bash b/src/build-scripts/install_homebrew_deps.bash index b307349823..a9dfac282e 100755 --- a/src/build-scripts/install_homebrew_deps.bash +++ b/src/build-scripts/install_homebrew_deps.bash @@ -42,8 +42,12 @@ brew install --display-times -q freetype libraw dcmtk pybind11 numpy || true brew install --display-times -q ffmpeg libheif ptex || true brew install --display-times -q tbb || true brew install --display-times -q openvdb || true -brew install --display-times -q opencv || true -brew install --display-times -q qt${QT_VERSION} +if [[ "${USE_OPENCV}" != "0" ]] ; then + brew install --display-times -q opencv || true +fi +if [[ "${USE_QT}" != "0" ]] ; then + brew install --display-times -q qt${QT_VERSION} +fi echo "" echo "After brew installs:" diff --git a/src/include/OpenImageIO/simd.h b/src/include/OpenImageIO/simd.h index 9ef9544e66..f888b29fe9 100644 --- a/src/include/OpenImageIO/simd.h +++ b/src/include/OpenImageIO/simd.h @@ -46,6 +46,11 @@ #include +// Without SSE, we need to fall back on Imath for matrix44 invert +#if !OIIO_SIMD_SSE +# include +#endif + ////////////////////////////////////////////////////////////////////////// // Sort out which SIMD capabilities we have and set definitions @@ -8536,6 +8541,8 @@ OIIO_FORCEINLINE matrix44 matrix44::inverse() const { OIIO_FORCEINLINE matrix44 matrix44::inverse() const { return matrix44 (((Imath::M44f*)this)->inverse()); } +#else +#error "Don't know how to compute matrix44::inverse()" #endif diff --git a/testsuite/maketx/ref/out-macarm.txt b/testsuite/maketx/ref/out-macarm.txt new file mode 100644 index 0000000000..c631384d36 --- /dev/null +++ b/testsuite/maketx/ref/out-macarm.txt @@ -0,0 +1,514 @@ +Reading grid.tx +grid.tx : 1000 x 1000, 4 channel, uint8 tiff + MIP-map levels: 1000x1000 500x500 250x250 125x125 62x62 31x31 15x15 7x7 3x3 1x1 + SHA-1: 97D6548FF9E9BFD21424B773B1D84FACDF0C1797 + channel list: R, G, B, A + tile size: 64 x 64 + compression: "zip" + DocumentName: "g.tif" + fovcot: 1 + Orientation: 1 (normal) + PixelAspectRatio: 1 + planarconfig: "contig" + ResolutionUnit: "in" + textureformat: "Plain Texture" + wrapmodes: "black,black" + XResolution: 72 + YResolution: 72 + oiio:AverageColor: "0.608983,0.608434,0.608728,1" + oiio:BitsPerSample: 8 + oiio:SHA-1: "9B24D4CC05313A43973AC384718D81D19183B691" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Reading checker.tx +checker.tx : 128 x 128, 4 channel, uint8 tiff + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 1C1A7D35CCED212B768B31F002B442EA947D89A6 + channel list: R, G, B, A + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.5,0.5,0.5,1" + oiio:BitsPerSample: 8 + oiio:SHA-1: "D924CA144A02479D1507F5910F5FC8F51EF78765" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +maketx: no update required for "checker.tx" +Reading checker.tx +checker.tx : 128 x 128, 4 channel, uint8 tiff + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 1C1A7D35CCED212B768B31F002B442EA947D89A6 + channel list: R, G, B, A + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.5,0.5,0.5,1" + oiio:BitsPerSample: 8 + oiio:SHA-1: "D924CA144A02479D1507F5910F5FC8F51EF78765" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Reading grid-resize.tx +grid-resize.tx : 1024 x 1024, 4 channel, uint8 tiff + MIP-map levels: 1024x1024 512x512 256x256 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 1DAB274639828223059FDBC0E30BD569C07B66C0 + channel list: R, G, B, A + tile size: 64 x 64 + compression: "zip" + DocumentName: "g.tif" + fovcot: 1 + Orientation: 1 (normal) + PixelAspectRatio: 1 + planarconfig: "contig" + ResolutionUnit: "in" + textureformat: "Plain Texture" + wrapmodes: "black,black" + XResolution: 72 + YResolution: 72 + oiio:AverageColor: "0.608983,0.608434,0.608728,1" + oiio:BitsPerSample: 8 + oiio:SHA-1: "DBEF1FBDC368B03CAFEB8BEC0ACAB6C6E552817F" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Reading checker-uint16.tx +checker-uint16.tx : 128 x 128, 4 channel, uint16 tiff + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 75BCACCE72A4275AD11FAF4A5D328C624DFF69AB + channel list: R, G, B, A + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.5,0.5,0.5,1" + oiio:BitsPerSample: 16 + oiio:SHA-1: "D924CA144A02479D1507F5910F5FC8F51EF78765" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Reading checker-1chan.tx +checker-1chan.tx : 128 x 128, 1 channel, uint8 tiff + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: F7DAC8772B7C6BFABDA884D61ABC84844C949AF1 + channel list: Y + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.5" + oiio:BitsPerSample: 8 + oiio:SHA-1: "1D0A2254373A69C054C08672041FC7DE3BAE5179" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 1 + tiff:PlanarConfiguration: 1 +Reading checker-16x32tile.tx +checker-16x32tile.tx : 128 x 128, 4 channel, uint8 tiff + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 1C1A7D35CCED212B768B31F002B442EA947D89A6 + channel list: R, G, B, A + tile size: 16 x 32 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.5,0.5,0.5,1" + oiio:BitsPerSample: 8 + oiio:SHA-1: "D924CA144A02479D1507F5910F5FC8F51EF78765" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Reading checker-seplzw.tx +checker-seplzw.tx : 128 x 128, 4 channel, uint8 tiff + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 1C1A7D35CCED212B768B31F002B442EA947D89A6 + channel list: R, G, B, A + tile size: 64 x 64 + compression: "lzw" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "separate" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.5,0.5,0.5,1" + oiio:BitsPerSample: 8 + oiio:SHA-1: "D924CA144A02479D1507F5910F5FC8F51EF78765" + tiff:Compression: 5 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 2 +Reading checker-clamp.tx +checker-clamp.tx : 128 x 128, 4 channel, uint8 tiff + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 1C1A7D35CCED212B768B31F002B442EA947D89A6 + channel list: R, G, B, A + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "clamp,clamp" + oiio:AverageColor: "0.5,0.5,0.5,1" + oiio:BitsPerSample: 8 + oiio:SHA-1: "D924CA144A02479D1507F5910F5FC8F51EF78765" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Reading checker-permir.tx +checker-permir.tx : 128 x 128, 4 channel, uint8 tiff + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 1C1A7D35CCED212B768B31F002B442EA947D89A6 + channel list: R, G, B, A + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "periodic,mirror" + oiio:AverageColor: "0.5,0.5,0.5,1" + oiio:BitsPerSample: 8 + oiio:SHA-1: "D924CA144A02479D1507F5910F5FC8F51EF78765" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Reading checker-nomip.tx +checker-nomip.tx : 128 x 128, 4 channel, uint8 tiff + SHA-1: 1C1A7D35CCED212B768B31F002B442EA947D89A6 + channel list: R, G, B, A + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.5,0.5,0.5,1" + oiio:BitsPerSample: 8 + oiio:SHA-1: "D924CA144A02479D1507F5910F5FC8F51EF78765" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Reading checker-camera.tx +checker-camera.tx : 128 x 128, 4 channel, uint8 tiff + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 1C1A7D35CCED212B768B31F002B442EA947D89A6 + channel list: R, G, B, A + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + worldtocamera: 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 + worldtoscreen: 3, 0, 0, 0, 0, 3, 0, 0, 0, 0, 3, 0, 1, 2, 3, 1 + wrapmodes: "black,black" + oiio:AverageColor: "0.5,0.5,0.5,1" + oiio:BitsPerSample: 8 + oiio:SHA-1: "D924CA144A02479D1507F5910F5FC8F51EF78765" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Reading checker-opaque.tx +checker-opaque.tx : 128 x 128, 3 channel, uint8 tiff + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 6827D9ED3A5674C1FAB56F96E5D7D06796D43144 + channel list: R, G, B + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.5,0.5,0.5" + oiio:BitsPerSample: 8 + oiio:SHA-1: "2BE3743A64D4309645F94CA7B37D0CD08AF0B38E" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Reading gray-mono.tx +gray-mono.tx : 256 x 256, 1 channel, uint8 tiff + MIP-map levels: 256x256 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: F5C1F9FA963006D501B14542F5E941AEDB4C5907 + channel list: Y + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.25098" + oiio:BitsPerSample: 8 + oiio:ConstantColor: "0.25098" + oiio:SHA-1: "24049CDF337F17E162291C7B626E0588A9D71160" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 1 + tiff:PlanarConfiguration: 1 +Reading pink-mono.tx +pink-mono.tx : 256 x 256, 3 channel, uint8 tiff + MIP-map levels: 256x256 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: D781FABF7CF958AE9D9429255C8591C77BAA9917 + channel list: R, G, B + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.25098,0.2,0.14902" + oiio:BitsPerSample: 8 + oiio:ConstantColor: "0.25098,0.2,0.14902" + oiio:SHA-1: "41B1A0D1C1EBB4CEEBC7BCEE2CAB2AAAB4139724" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Reading checker-prman.tx +checker-prman.tx : 128 x 128, 4 channel, int16 tiff + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: DE42A8468161DA333BABF1BEB60811EA0FEF6534 + channel list: R, G, B, A + tile size: 64 x 32 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "separate" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.5,0.5,0.5,1" + oiio:BitsPerSample: 16 + oiio:SHA-1: "D924CA144A02479D1507F5910F5FC8F51EF78765" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 2 +make_texture ERROR: maketx ERROR: Nan/Inf at 2 pixels +make_texture ERROR: maketx ERROR: Nan/Inf at 2 pixels +Reading nan.exr +nan.exr : 64 x 64, 3 channel, half openexr + SHA-1: 47A8E8F3E8B2C3B6B032FCC8C39D3C5FC1AAA390 + channel list: R, G, B + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + PixelAspectRatio: 1 + screenWindowCenter: 0, 0 + screenWindowWidth: 1 + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.5,0.5,0.5" + oiio:ColorSpace: "Linear" + oiio:SHA-1: "44B96A7C3AFBF8D7621E7C6453266E5DD1962D36" + oiio:subimages: 1 + openexr:levelmode: 0 + Stats Min: 0.000000 0.000000 0.000000 (float) + Stats Max: 1.000000 1.000000 1.000000 (float) + Stats Avg: 0.500000 0.500000 0.500000 (float) + Stats StdDev: 0.500000 0.500000 0.500000 (float) + Stats NanCount: 0 0 0 + Stats InfCount: 0 0 0 + Stats FiniteCount: 4096 4096 4096 + Constant: No + Monochrome: Yes +Reading checker-exr.pdq +checker-exr.pdq : 128 x 128, 4 channel, half openexr + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: FA921281D5C8AF14FC50885DD54E2E17509202EC + channel list: R, G, B, A + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + PixelAspectRatio: 1 + screenWindowCenter: 0, 0 + screenWindowWidth: 1 + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.5,0.5,0.5,1" + oiio:ColorSpace: "Linear" + oiio:SHA-1: "D924CA144A02479D1507F5910F5FC8F51EF78765" + oiio:subimages: 1 + openexr:roundingmode: 0 +Reading small.tif +small.tif : 64 x 64, 3 channel, uint8 tiff + SHA-1: BE1D5EA24E907A4C4B3FB3C28EAC872A20F5B414 + channel list: R, G, B + compression: "zip" + ImageDescription: "foo ConstantColor=[0.0,0,-0.0] bar" + Orientation: 1 (normal) + planarconfig: "contig" + oiio:BitsPerSample: 8 + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 + tiff:RowsPerStrip: 32 +Reading small.tx +small.tx : 64 x 64, 3 channel, uint8 tiff + MIP-map levels: 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: BE1D5EA24E907A4C4B3FB3C28EAC872A20F5B414 + channel list: R, G, B + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + ImageDescription: "foo bar " + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "1,0,0" + oiio:BitsPerSample: 8 + oiio:ConstantColor: "1,0,0" + oiio:SHA-1: "1DD1CB3C76F9A491B115F85A6DAC1B1A8DD2D3CB" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Reading grid.tx + oiio:SHA-1: "9B24D4CC05313A43973AC384718D81D19183B691" +Reading grid-lanczos3.tx + oiio:SHA-1: "D6C3DEE1A567726FB962FE39F0FE94A3E94530CF" +Reading grid-lanczos3-hicomp.tx + oiio:SHA-1: "3994E2C39E040A372BA1894E805382E5D470790F" +whiteenv.exr : 4 x 2, 3 channel, half openexr (+mipmap) + MIP 0 of 3 (4 x 2): + Stats Min: 1.000000 1.000000 1.000000 (float) + Stats Max: 1.000000 1.000000 1.000000 (float) + Stats Avg: 1.000000 1.000000 1.000000 (float) + Stats StdDev: 0.000000 0.000000 0.000000 (float) + Stats NanCount: 0 0 0 + Stats InfCount: 0 0 0 + Stats FiniteCount: 8 8 8 + Constant: Yes + Constant Color: 1.000000 1.000000 1.000000 (float) + Monochrome: Yes + MIP 1 of 3 (2 x 1): + Stats Min: 1.000000 1.000000 1.000000 (float) + Stats Max: 1.000000 1.000000 1.000000 (float) + Stats Avg: 1.000000 1.000000 1.000000 (float) + Stats StdDev: 0.000000 0.000000 0.000000 (float) + Stats NanCount: 0 0 0 + Stats InfCount: 0 0 0 + Stats FiniteCount: 2 2 2 + Constant: Yes + Constant Color: 1.000000 1.000000 1.000000 (float) + Monochrome: Yes + MIP 2 of 3 (1 x 1): + Stats Min: 1.000000 1.000000 1.000000 (float) + Stats Max: 1.000000 1.000000 1.000000 (float) + Stats Avg: 1.000000 1.000000 1.000000 (float) + Stats StdDev: 0.000000 0.000000 0.000000 (float) + Stats NanCount: 0 0 0 + Stats InfCount: 0 0 0 + Stats FiniteCount: 1 1 1 + Constant: Yes + Constant Color: 1.000000 1.000000 1.000000 (float) + Monochrome: Yes +Reading bumpslope.exr +bumpslope.exr : 64 x 64, 6 channel, half openexr + MIP-map levels: 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 8A309ED5DD4C7ADC8B752735651BAEE9FA326B82 + channel list: b0_h, b1_dhds, b2_dhdt, b3_dhds2, b4_dhdt2, b5_dh2dsdt + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + PixelAspectRatio: 1 + screenWindowCenter: 0, 0 + screenWindowWidth: 1 + textureformat: "Plain Texture" + uvslopes_scale: 0 + wrapmodes: "black,black" + oiio:AverageColor: "0.499779,-0.000457942,-4.17233e-05,0.00197116,0.00178894,3.45764e-05" + oiio:ColorSpace: "Linear" + oiio:SHA-1: "49B533110A914CE89BE0B14753A6A4CC037C964F" + oiio:subimages: 1 + openexr:roundingmode: 0 +Reading cdf.exr +cdf.exr : 64 x 64, 1 channel, half openexr + MIP-map levels: 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 4125BD6CDB6F869433A2C4A3DF5A16AF92EC9641 + channel list: Y + tile size: 64 x 64 + CDF_0: 0.129412, 0.129412, 0.129412, 0.152941, 0.152941, 0.192157, 0.196078, 0.196078, 0.203922, 0.207843, 0.219608, 0.219608, 0.219608, 0.223529, 0.227451, 0.231373, ... [256 x float] + CDF_bits: 8 + compression: "zip" + fovcot: 1 + invCDF_0: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ... [256 x float] + PixelAspectRatio: 1 + screenWindowCenter: 0, 0 + screenWindowWidth: 1 + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.499779" + oiio:ColorSpace: "Linear" + oiio:SHA-1: "00DFB31D0260CC466CDCF9FE42446D4896E655FE" + oiio:subimages: 1 + openexr:roundingmode: 0 +Reading bumpslope-cdf.exr +bumpslope-cdf.exr : 64 x 64, 6 channel, half openexr + MIP-map levels: 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 8A309ED5DD4C7ADC8B752735651BAEE9FA326B82 + channel list: b0_h, b1_dhds, b2_dhdt, b3_dhds2, b4_dhdt2, b5_dh2dsdt + tile size: 64 x 64 + CDF_0: 0.129412, 0.129412, 0.129412, 0.152941, 0.152941, 0.192157, 0.196078, 0.196078, 0.203922, 0.207843, 0.219608, 0.219608, 0.219608, 0.223529, 0.227451, 0.231373, ... [256 x float] + CDF_1: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ... [256 x float] + CDF_2: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ... [256 x float] + CDF_3: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ... [256 x float] + CDF_4: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ... [256 x float] + CDF_5: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ... [256 x float] + CDF_bits: 8 + compression: "zip" + fovcot: 1 + invCDF_0: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ... [256 x float] + invCDF_1: 0.517528, 0.53162, 0.546259, 0.56181, 0.577352, 0.592173, 0.60564, 0.618653, 0.631182, 0.646287, 0.659294, 0.671961, 0.688381, 0.702118, 0.715025, 0.729895, ... [256 x float] + invCDF_2: 0.51671, 0.531827, 0.547741, 0.563119, 0.578032, 0.594433, 0.607763, 0.62409, 0.638233, 0.654072, 0.668873, 0.685519, 0.701694, 0.717385, 0.731219, 0.749014, ... [256 x float] + invCDF_3: 0.662209, 0.775653, 0.862829, 0.93215, 0.961514, 0.977621, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ... [256 x float] + invCDF_4: 0.680135, 0.789335, 0.863924, 0.929282, 0.966413, 0.991524, 0.991524, 1, 1, 1, 1, 1, 1, 1, 1, 1, ... [256 x float] + invCDF_5: 0.813865, 0.952769, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ... [256 x float] + PixelAspectRatio: 1 + screenWindowCenter: 0, 0 + screenWindowWidth: 1 + textureformat: "Plain Texture" + uvslopes_scale: 0 + wrapmodes: "black,black" + oiio:AverageColor: "0.499779,-0.000457942,-4.17233e-05,0.00197116,0.00178894,3.45764e-05" + oiio:ColorSpace: "Linear" + oiio:SHA-1: "49B533110A914CE89BE0B14753A6A4CC037C964F" + oiio:subimages: 1 + openexr:roundingmode: 0 +Reading checker-attribs.tx +checker-attribs.tx : 128 x 128, 4 channel, uint8 tiff + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 1C1A7D35CCED212B768B31F002B442EA947D89A6 + channel list: R, G, B, A + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.5,0.5,0.5,1" + oiio:BitsPerSample: 8 + oiio:SHA-1: "D924CA144A02479D1507F5910F5FC8F51EF78765" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Comparing "uffizi_latlong_env-128.exr" and "ref/uffizi_latlong_env-128.exr" +PASS diff --git a/testsuite/oiiotool-maketx/ref/out-macarm.txt b/testsuite/oiiotool-maketx/ref/out-macarm.txt new file mode 100644 index 0000000000..bc82b491fc --- /dev/null +++ b/testsuite/oiiotool-maketx/ref/out-macarm.txt @@ -0,0 +1,604 @@ +Reading grid.tx +grid.tx : 1000 x 1000, 4 channel, uint8 tiff + MIP-map levels: 1000x1000 500x500 250x250 125x125 62x62 31x31 15x15 7x7 3x3 1x1 + SHA-1: 97D6548FF9E9BFD21424B773B1D84FACDF0C1797 + channel list: R, G, B, A + tile size: 64 x 64 + compression: "zip" + DocumentName: "g.tif" + fovcot: 1 + Orientation: 1 (normal) + PixelAspectRatio: 1 + planarconfig: "contig" + ResolutionUnit: "in" + textureformat: "Plain Texture" + wrapmodes: "black,black" + XResolution: 72 + YResolution: 72 + oiio:AverageColor: "0.608983,0.608434,0.608728,1" + oiio:BitsPerSample: 8 + oiio:SHA-1: "9B24D4CC05313A43973AC384718D81D19183B691" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Reading grid-resize.tx +grid-resize.tx : 1024 x 1024, 4 channel, uint8 tiff + MIP-map levels: 1024x1024 512x512 256x256 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 1DAB274639828223059FDBC0E30BD569C07B66C0 + channel list: R, G, B, A + tile size: 64 x 64 + compression: "zip" + DocumentName: "g.tif" + fovcot: 1 + Orientation: 1 (normal) + PixelAspectRatio: 1 + planarconfig: "contig" + ResolutionUnit: "in" + textureformat: "Plain Texture" + wrapmodes: "black,black" + XResolution: 72 + YResolution: 72 + oiio:AverageColor: "0.608983,0.608434,0.608728,1" + oiio:BitsPerSample: 8 + oiio:SHA-1: "DBEF1FBDC368B03CAFEB8BEC0ACAB6C6E552817F" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Reading checker-uint16.tx +checker-uint16.tx : 128 x 128, 4 channel, uint16 tiff + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 75BCACCE72A4275AD11FAF4A5D328C624DFF69AB + channel list: R, G, B, A + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.5,0.5,0.5,1" + oiio:BitsPerSample: 16 + oiio:SHA-1: "D924CA144A02479D1507F5910F5FC8F51EF78765" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Reading checker-1chan.tx +checker-1chan.tx : 128 x 128, 1 channel, uint8 tiff + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: F7DAC8772B7C6BFABDA884D61ABC84844C949AF1 + channel list: Y + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.5" + oiio:BitsPerSample: 8 + oiio:SHA-1: "1D0A2254373A69C054C08672041FC7DE3BAE5179" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 1 + tiff:PlanarConfiguration: 1 +Reading checker-16x32tile.tx +checker-16x32tile.tx : 128 x 128, 4 channel, uint8 tiff + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 1C1A7D35CCED212B768B31F002B442EA947D89A6 + channel list: R, G, B, A + tile size: 16 x 32 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.5,0.5,0.5,1" + oiio:BitsPerSample: 8 + oiio:SHA-1: "D924CA144A02479D1507F5910F5FC8F51EF78765" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Reading checker-seplzw.tx +checker-seplzw.tx : 128 x 128, 4 channel, uint8 tiff + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 1C1A7D35CCED212B768B31F002B442EA947D89A6 + channel list: R, G, B, A + tile size: 64 x 64 + compression: "lzw" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "separate" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.5,0.5,0.5,1" + oiio:BitsPerSample: 8 + oiio:SHA-1: "D924CA144A02479D1507F5910F5FC8F51EF78765" + tiff:Compression: 5 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 2 +Reading checker-clamp.tx +checker-clamp.tx : 128 x 128, 4 channel, uint8 tiff + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 1C1A7D35CCED212B768B31F002B442EA947D89A6 + channel list: R, G, B, A + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "clamp,clamp" + oiio:AverageColor: "0.5,0.5,0.5,1" + oiio:BitsPerSample: 8 + oiio:SHA-1: "D924CA144A02479D1507F5910F5FC8F51EF78765" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Reading checker-permir.tx +checker-permir.tx : 128 x 128, 4 channel, uint8 tiff + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 1C1A7D35CCED212B768B31F002B442EA947D89A6 + channel list: R, G, B, A + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "periodic,mirror" + oiio:AverageColor: "0.5,0.5,0.5,1" + oiio:BitsPerSample: 8 + oiio:SHA-1: "D924CA144A02479D1507F5910F5FC8F51EF78765" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Reading checker-nomip.tx +checker-nomip.tx : 128 x 128, 4 channel, uint8 tiff + SHA-1: 1C1A7D35CCED212B768B31F002B442EA947D89A6 + channel list: R, G, B, A + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.5,0.5,0.5,1" + oiio:BitsPerSample: 8 + oiio:SHA-1: "D924CA144A02479D1507F5910F5FC8F51EF78765" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Reading checker-camera.tx +checker-camera.tx : 128 x 128, 4 channel, uint8 tiff + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 1C1A7D35CCED212B768B31F002B442EA947D89A6 + channel list: R, G, B, A + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + worldtocamera: 1, 0, 0, 0, 0, 2, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 + worldtoscreen: 3, 0, 0, 0, 0, 3, 0, 0, 0, 0, 3, 0, 1, 2, 3, 1 + wrapmodes: "black,black" + oiio:AverageColor: "0.5,0.5,0.5,1" + oiio:BitsPerSample: 8 + oiio:SHA-1: "D924CA144A02479D1507F5910F5FC8F51EF78765" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Reading checker-opaque.tx +checker-opaque.tx : 128 x 128, 3 channel, uint8 tiff + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 6827D9ED3A5674C1FAB56F96E5D7D06796D43144 + channel list: R, G, B + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.5,0.5,0.5" + oiio:BitsPerSample: 8 + oiio:SHA-1: "2BE3743A64D4309645F94CA7B37D0CD08AF0B38E" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Reading gray-mono.tx +gray-mono.tx : 256 x 256, 1 channel, uint8 tiff + MIP-map levels: 256x256 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: F5C1F9FA963006D501B14542F5E941AEDB4C5907 + channel list: Y + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.25098" + oiio:BitsPerSample: 8 + oiio:ConstantColor: "0.25098" + oiio:SHA-1: "24049CDF337F17E162291C7B626E0588A9D71160" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 1 + tiff:PlanarConfiguration: 1 +Reading pink-mono.tx +pink-mono.tx : 256 x 256, 3 channel, uint8 tiff + MIP-map levels: 256x256 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: D781FABF7CF958AE9D9429255C8591C77BAA9917 + channel list: R, G, B + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.25098,0.2,0.14902" + oiio:BitsPerSample: 8 + oiio:ConstantColor: "0.25098,0.2,0.14902" + oiio:SHA-1: "41B1A0D1C1EBB4CEEBC7BCEE2CAB2AAAB4139724" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +Reading checker-prman.tx +checker-prman.tx : 128 x 128, 4 channel, int16 tiff + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: DE42A8468161DA333BABF1BEB60811EA0FEF6534 + channel list: R, G, B, A + tile size: 64 x 32 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + planarconfig: "separate" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "0.5,0.5,0.5,1" + oiio:BitsPerSample: 16 + oiio:SHA-1: "D924CA144A02479D1507F5910F5FC8F51EF78765" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 2 +Reading nan.exr +nan.exr : 64 x 64, 3 channel, half openexr + SHA-1: 47A8E8F3E8B2C3B6B032FCC8C39D3C5FC1AAA390 + channel list: R, G, B + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + PixelAspectRatio: 1 + screenWindowCenter: 0, 0 + screenWindowWidth: 1 + textureformat: "Plain Texture" + uvslopes_scale: 0 + wrapmodes: "black,black" + oiio:AverageColor: "0.5,0.5,0.5" + oiio:ColorSpace: "Linear" + oiio:SHA-1: "44B96A7C3AFBF8D7621E7C6453266E5DD1962D36" + oiio:subimages: 1 + openexr:levelmode: 0 + Stats Min: 0.000000 0.000000 0.000000 (float) + Stats Max: 1.000000 1.000000 1.000000 (float) + Stats Avg: 0.500000 0.500000 0.500000 (float) + Stats StdDev: 0.500000 0.500000 0.500000 (float) + Stats NanCount: 0 0 0 + Stats InfCount: 0 0 0 + Stats FiniteCount: 4096 4096 4096 + Constant: No + Monochrome: Yes +Reading bigval.exr +bigval.exr : 2 x 2, 3 channel, half openexr + MIP-map levels: 2x2 1x1 + SHA-1: 9DBE885D25443B9CDDC4BAC5997162861B5B3F15 + channel list: R, G, B + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + PixelAspectRatio: 1 + screenWindowCenter: 0, 0 + screenWindowWidth: 1 + textureformat: "Plain Texture" + uvslopes_scale: 0 + wrapmodes: "black,black" + oiio:AverageColor: "1e+06,1e+06,1e+06" + oiio:ColorSpace: "Linear" + oiio:ConstantColor: "1e+06,1e+06,1e+06" + oiio:SHA-1: "E3D97EED7EE68F1885685F312DDD7D8773C29862" + oiio:subimages: 1 + openexr:roundingmode: 0 + MIP 0 of 2 (2 x 2): + Stats Min: 65504.000000 65504.000000 65504.000000 (float) + Stats Max: 65504.000000 65504.000000 65504.000000 (float) + Stats Avg: 65504.000000 65504.000000 65504.000000 (float) + Stats StdDev: 0.000000 0.000000 0.000000 (float) + Stats NanCount: 0 0 0 + Stats InfCount: 0 0 0 + Stats FiniteCount: 4 4 4 + Constant: Yes + Constant Color: 65504.000000 65504.000000 65504.000000 (float) + Monochrome: Yes + MIP 1 of 2 (1 x 1): + Stats Min: 65504.000000 65504.000000 65504.000000 (float) + Stats Max: 65504.000000 65504.000000 65504.000000 (float) + Stats Avg: 65504.000000 65504.000000 65504.000000 (float) + Stats StdDev: 0.000000 0.000000 0.000000 (float) + Stats NanCount: 0 0 0 + Stats InfCount: 0 0 0 + Stats FiniteCount: 1 1 1 + Constant: Yes + Constant Color: 65504.000000 65504.000000 65504.000000 (float) + Monochrome: Yes +Reading checker-exr.pdq +checker-exr.pdq : 128 x 128, 4 channel, half openexr + MIP-map levels: 128x128 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: FA921281D5C8AF14FC50885DD54E2E17509202EC + channel list: R, G, B, A + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + Orientation: 1 (normal) + PixelAspectRatio: 1 + screenWindowCenter: 0, 0 + screenWindowWidth: 1 + textureformat: "Plain Texture" + uvslopes_scale: 0 + wrapmodes: "black,black" + oiio:AverageColor: "0.5,0.5,0.5,1" + oiio:ColorSpace: "Linear" + oiio:SHA-1: "D924CA144A02479D1507F5910F5FC8F51EF78765" + oiio:subimages: 1 + openexr:roundingmode: 0 +Reading grid.tx + oiio:SHA-1: "9B24D4CC05313A43973AC384718D81D19183B691" +Reading grid-lanczos3.tx + oiio:SHA-1: "D6C3DEE1A567726FB962FE39F0FE94A3E94530CF" +Reading grid-lanczos3-hicomp.tx + oiio:SHA-1: "3994E2C39E040A372BA1894E805382E5D470790F" +Reading small.tif +small.tif : 64 x 64, 3 channel, uint8 tiff + SHA-1: BE1D5EA24E907A4C4B3FB3C28EAC872A20F5B414 + channel list: R, G, B + compression: "zip" + ImageDescription: "foo ConstantColor=[0.0,0,-0.0] bar" + Orientation: 1 (normal) + planarconfig: "contig" + oiio:BitsPerSample: 8 + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 + tiff:RowsPerStrip: 32 +Reading small.tx +small.tx : 64 x 64, 3 channel, uint8 tiff + MIP-map levels: 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: BE1D5EA24E907A4C4B3FB3C28EAC872A20F5B414 + channel list: R, G, B + tile size: 64 x 64 + compression: "zip" + fovcot: 1 + ImageDescription: "foo bar " + Orientation: 1 (normal) + planarconfig: "contig" + textureformat: "Plain Texture" + wrapmodes: "black,black" + oiio:AverageColor: "1,0,0" + oiio:BitsPerSample: 8 + oiio:ConstantColor: "1,0,0" + oiio:SHA-1: "1DD1CB3C76F9A491B115F85A6DAC1B1A8DD2D3CB" + tiff:Compression: 8 + tiff:PhotometricInterpretation: 2 + tiff:PlanarConfiguration: 1 +whiteenv.exr : 4 x 2, 3 channel, half openexr (+mipmap) + MIP 0 of 3 (4 x 2): + Stats Min: 1.000000 1.000000 1.000000 (float) + Stats Max: 1.000000 1.000000 1.000000 (float) + Stats Avg: 1.000000 1.000000 1.000000 (float) + Stats StdDev: 0.000000 0.000000 0.000000 (float) + Stats NanCount: 0 0 0 + Stats InfCount: 0 0 0 + Stats FiniteCount: 8 8 8 + Constant: Yes + Constant Color: 1.000000 1.000000 1.000000 (float) + Monochrome: Yes + MIP 1 of 3 (2 x 1): + Stats Min: 1.000000 1.000000 1.000000 (float) + Stats Max: 1.000000 1.000000 1.000000 (float) + Stats Avg: 1.000000 1.000000 1.000000 (float) + Stats StdDev: 0.000000 0.000000 0.000000 (float) + Stats NanCount: 0 0 0 + Stats InfCount: 0 0 0 + Stats FiniteCount: 2 2 2 + Constant: Yes + Constant Color: 1.000000 1.000000 1.000000 (float) + Monochrome: Yes + MIP 2 of 3 (1 x 1): + Stats Min: 1.000000 1.000000 1.000000 (float) + Stats Max: 1.000000 1.000000 1.000000 (float) + Stats Avg: 1.000000 1.000000 1.000000 (float) + Stats StdDev: 0.000000 0.000000 0.000000 (float) + Stats NanCount: 0 0 0 + Stats InfCount: 0 0 0 + Stats FiniteCount: 1 1 1 + Constant: Yes + Constant Color: 1.000000 1.000000 1.000000 (float) + Monochrome: Yes +bumpslope.exr : 64 x 64, 6 channel, half openexr (+mipmap) + MIP 0 of 7 (64 x 64): + Stats Min: 0.131714 -0.154419 -0.147949 0.000000 0.000000 -0.013084 (float) + Stats Max: 0.823730 0.157471 0.165771 0.024780 0.027481 0.011482 (float) + Stats Avg: 0.499779 -0.000458 -0.000042 0.001971 0.001789 0.000035 (float) + Stats StdDev: 0.099583 0.044395 0.042296 0.002727 0.002597 0.001806 (float) + Stats NanCount: 0 0 0 0 0 0 + Stats InfCount: 0 0 0 0 0 0 + Stats FiniteCount: 4096 4096 4096 4096 4096 4096 + Constant: No + Monochrome: No + MIP 1 of 7 (32 x 32): + Stats Min: 0.353027 -0.084045 -0.111511 0.000016 0.000022 -0.006004 (float) + Stats Max: 0.648438 0.089783 0.089478 0.012108 0.012772 0.004528 (float) + Stats Avg: 0.499778 -0.000458 -0.000042 0.001971 0.001789 0.000035 (float) + Stats StdDev: 0.051041 0.027848 0.028019 0.001675 0.001653 0.000985 (float) + Stats NanCount: 0 0 0 0 0 0 + Stats InfCount: 0 0 0 0 0 0 + Stats FiniteCount: 1024 1024 1024 1024 1024 1024 + Constant: No + Monochrome: No + MIP 2 of 7 (16 x 16): + Stats Min: 0.408203 -0.036224 -0.035797 0.000372 0.000212 -0.001590 (float) + Stats Max: 0.571777 0.025070 0.038147 0.006088 0.007252 0.001852 (float) + Stats Avg: 0.499782 -0.000458 -0.000042 0.001971 0.001789 0.000035 (float) + Stats StdDev: 0.025250 0.011677 0.012831 0.001030 0.001042 0.000522 (float) + Stats NanCount: 0 0 0 0 0 0 + Stats InfCount: 0 0 0 0 0 0 + Stats FiniteCount: 256 256 256 256 256 256 + Constant: No + Monochrome: No + MIP 3 of 7 (8 x 8): + Stats Min: 0.476562 -0.008881 -0.008530 0.000738 0.000785 -0.000559 (float) + Stats Max: 0.521973 0.007755 0.008484 0.003994 0.002920 0.000860 (float) + Stats Avg: 0.499767 -0.000458 -0.000042 0.001971 0.001789 0.000035 (float) + Stats StdDev: 0.011861 0.003779 0.004230 0.000654 0.000485 0.000289 (float) + Stats NanCount: 0 0 0 0 0 0 + Stats InfCount: 0 0 0 0 0 0 + Stats FiniteCount: 64 64 64 64 64 64 + Constant: No + Monochrome: No + MIP 4 of 7 (4 x 4): + Stats Min: 0.493896 -0.003515 -0.003843 0.001540 0.001336 -0.000275 (float) + Stats Max: 0.506836 0.003309 0.003777 0.002357 0.002382 0.000297 (float) + Stats Avg: 0.499771 -0.000458 -0.000042 0.001971 0.001789 0.000035 (float) + Stats StdDev: 0.003707 0.001690 0.002319 0.000262 0.000282 0.000150 (float) + Stats NanCount: 0 0 0 0 0 0 + Stats InfCount: 0 0 0 0 0 0 + Stats FiniteCount: 16 16 16 16 16 16 + Constant: No + Monochrome: No + MIP 5 of 7 (2 x 2): + Stats Min: 0.497070 -0.001317 -0.000958 0.001850 0.001672 -0.000017 (float) + Stats Max: 0.501953 0.000820 0.000466 0.002174 0.001898 0.000156 (float) + Stats Avg: 0.499756 -0.000458 -0.000042 0.001971 0.001789 0.000035 (float) + Stats StdDev: 0.002028 0.000785 0.000576 0.000123 0.000084 0.000071 (float) + Stats NanCount: 0 0 0 0 0 0 + Stats InfCount: 0 0 0 0 0 0 + Stats FiniteCount: 4 4 4 4 4 4 + Constant: No + Monochrome: No + MIP 6 of 7 (1 x 1): + Stats Min: 0.499756 -0.000458 -0.000042 0.001970 0.001789 0.000035 (float) + Stats Max: 0.499756 -0.000458 -0.000042 0.001970 0.001789 0.000035 (float) + Stats Avg: 0.499756 -0.000458 -0.000042 0.001970 0.001789 0.000035 (float) + Stats StdDev: 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 (float) + Stats NanCount: 0 0 0 0 0 0 + Stats InfCount: 0 0 0 0 0 0 + Stats FiniteCount: 1 1 1 1 1 1 + Constant: Yes + Constant Color: 0.499756 -0.000458 -0.000042 0.001970 0.001789 0.000035 (float) + Monochrome: No +bumpslope-cdf.exr : 64 x 64, 6 channel, half openexr (+mipmap) + MIP 0 of 7 (64 x 64): + Stats Min: 0.131714 -0.154419 -0.147949 0.000000 0.000000 -0.013084 (float) + Stats Max: 0.823730 0.157471 0.165771 0.024780 0.027481 0.011482 (float) + Stats Avg: 0.499779 -0.000458 -0.000042 0.001971 0.001789 0.000035 (float) + Stats StdDev: 0.099583 0.044395 0.042296 0.002727 0.002597 0.001806 (float) + Stats NanCount: 0 0 0 0 0 0 + Stats InfCount: 0 0 0 0 0 0 + Stats FiniteCount: 4096 4096 4096 4096 4096 4096 + Constant: No + Monochrome: No + MIP 1 of 7 (32 x 32): + Stats Min: 0.353027 -0.084045 -0.111511 0.000016 0.000022 -0.006004 (float) + Stats Max: 0.648438 0.089783 0.089478 0.012108 0.012772 0.004528 (float) + Stats Avg: 0.499778 -0.000458 -0.000042 0.001971 0.001789 0.000035 (float) + Stats StdDev: 0.051041 0.027848 0.028019 0.001675 0.001653 0.000985 (float) + Stats NanCount: 0 0 0 0 0 0 + Stats InfCount: 0 0 0 0 0 0 + Stats FiniteCount: 1024 1024 1024 1024 1024 1024 + Constant: No + Monochrome: No + MIP 2 of 7 (16 x 16): + Stats Min: 0.408203 -0.036224 -0.035797 0.000372 0.000212 -0.001590 (float) + Stats Max: 0.571777 0.025070 0.038147 0.006088 0.007252 0.001852 (float) + Stats Avg: 0.499782 -0.000458 -0.000042 0.001971 0.001789 0.000035 (float) + Stats StdDev: 0.025250 0.011677 0.012831 0.001030 0.001042 0.000522 (float) + Stats NanCount: 0 0 0 0 0 0 + Stats InfCount: 0 0 0 0 0 0 + Stats FiniteCount: 256 256 256 256 256 256 + Constant: No + Monochrome: No + MIP 3 of 7 (8 x 8): + Stats Min: 0.476562 -0.008881 -0.008530 0.000738 0.000785 -0.000559 (float) + Stats Max: 0.521973 0.007755 0.008484 0.003994 0.002920 0.000860 (float) + Stats Avg: 0.499767 -0.000458 -0.000042 0.001971 0.001789 0.000035 (float) + Stats StdDev: 0.011861 0.003779 0.004230 0.000654 0.000485 0.000289 (float) + Stats NanCount: 0 0 0 0 0 0 + Stats InfCount: 0 0 0 0 0 0 + Stats FiniteCount: 64 64 64 64 64 64 + Constant: No + Monochrome: No + MIP 4 of 7 (4 x 4): + Stats Min: 0.493896 -0.003515 -0.003843 0.001540 0.001336 -0.000275 (float) + Stats Max: 0.506836 0.003309 0.003777 0.002357 0.002382 0.000297 (float) + Stats Avg: 0.499771 -0.000458 -0.000042 0.001971 0.001789 0.000035 (float) + Stats StdDev: 0.003707 0.001690 0.002319 0.000262 0.000282 0.000150 (float) + Stats NanCount: 0 0 0 0 0 0 + Stats InfCount: 0 0 0 0 0 0 + Stats FiniteCount: 16 16 16 16 16 16 + Constant: No + Monochrome: No + MIP 5 of 7 (2 x 2): + Stats Min: 0.497070 -0.001317 -0.000958 0.001850 0.001672 -0.000017 (float) + Stats Max: 0.501953 0.000820 0.000466 0.002174 0.001898 0.000156 (float) + Stats Avg: 0.499756 -0.000458 -0.000042 0.001971 0.001789 0.000035 (float) + Stats StdDev: 0.002028 0.000785 0.000576 0.000123 0.000084 0.000071 (float) + Stats NanCount: 0 0 0 0 0 0 + Stats InfCount: 0 0 0 0 0 0 + Stats FiniteCount: 4 4 4 4 4 4 + Constant: No + Monochrome: No + MIP 6 of 7 (1 x 1): + Stats Min: 0.499756 -0.000458 -0.000042 0.001970 0.001789 0.000035 (float) + Stats Max: 0.499756 -0.000458 -0.000042 0.001970 0.001789 0.000035 (float) + Stats Avg: 0.499756 -0.000458 -0.000042 0.001970 0.001789 0.000035 (float) + Stats StdDev: 0.000000 0.000000 0.000000 0.000000 0.000000 0.000000 (float) + Stats NanCount: 0 0 0 0 0 0 + Stats InfCount: 0 0 0 0 0 0 + Stats FiniteCount: 1 1 1 1 1 1 + Constant: Yes + Constant Color: 0.499756 -0.000458 -0.000042 0.001970 0.001789 0.000035 (float) + Monochrome: No +Reading bumpslope-cdf.exr +bumpslope-cdf.exr : 64 x 64, 6 channel, half openexr + MIP-map levels: 64x64 32x32 16x16 8x8 4x4 2x2 1x1 + SHA-1: 8A309ED5DD4C7ADC8B752735651BAEE9FA326B82 + channel list: b0_h, b1_dhds, b2_dhdt, b3_dhds2, b4_dhdt2, b5_dh2dsdt + tile size: 64 x 64 + CDF_0: 0.129412, 0.129412, 0.129412, 0.152941, 0.152941, 0.192157, 0.196078, 0.196078, 0.203922, 0.207843, 0.219608, 0.219608, 0.219608, 0.223529, 0.227451, 0.231373, ... [256 x float] + CDF_1: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ... [256 x float] + CDF_2: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ... [256 x float] + CDF_3: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ... [256 x float] + CDF_4: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ... [256 x float] + CDF_5: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ... [256 x float] + CDF_bits: 8 + compression: "zip" + fovcot: 1 + invCDF_0: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ... [256 x float] + invCDF_1: 0.517528, 0.53162, 0.546259, 0.56181, 0.577352, 0.592173, 0.60564, 0.618653, 0.631182, 0.646287, 0.659294, 0.671961, 0.688381, 0.702118, 0.715025, 0.729895, ... [256 x float] + invCDF_2: 0.51671, 0.531827, 0.547741, 0.563119, 0.578032, 0.594433, 0.607763, 0.62409, 0.638233, 0.654072, 0.668873, 0.685519, 0.701694, 0.717385, 0.731219, 0.749014, ... [256 x float] + invCDF_3: 0.662209, 0.775653, 0.862829, 0.93215, 0.961514, 0.977621, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ... [256 x float] + invCDF_4: 0.680135, 0.789335, 0.863924, 0.929282, 0.966413, 0.991524, 0.991524, 1, 1, 1, 1, 1, 1, 1, 1, 1, ... [256 x float] + invCDF_5: 0.813865, 0.952769, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, ... [256 x float] + PixelAspectRatio: 1 + screenWindowCenter: 0, 0 + screenWindowWidth: 1 + textureformat: "Plain Texture" + uvslopes_scale: 0 + wrapmodes: "black,black" + oiio:AverageColor: "0.499779,-0.000457942,-4.17233e-05,0.00197116,0.00178894,3.45764e-05" + oiio:ColorSpace: "Linear" + oiio:SHA-1: "49B533110A914CE89BE0B14753A6A4CC037C964F" + oiio:subimages: 1 + openexr:roundingmode: 0 diff --git a/testsuite/python-imagebufalgo/ref/out-macarm.txt b/testsuite/python-imagebufalgo/ref/out-macarm.txt new file mode 100644 index 0000000000..5a6743bcc6 --- /dev/null +++ b/testsuite/python-imagebufalgo/ref/out-macarm.txt @@ -0,0 +1,224 @@ + +Testing color conversions: +linear src=[0.000 0.000 0.000 1.000 ] [0.250 0.250 0.250 1.000 ] +[0.500 0.500 0.500 1.000 ] [1.000 1.000 1.000 1.000 ] +to srgb =[0.000 0.000 0.000 1.000 ] [0.537 0.537 0.537 1.000 ] +[0.735 0.735 0.735 1.000 ] [1.000 1.000 1.000 1.000 ] +back to linear =[0.000 0.000 0.000 1.000 ] [0.250 0.250 0.250 1.000 ] +[0.500 0.500 0.500 1.000 ] [1.000 1.000 1.000 1.000 ] +after *M =[0.000 0.000 0.100 1.000 ] [0.125 0.500 0.350 1.000 ] +[0.250 1.000 0.600 1.000 ] [0.500 2.000 1.100 1.000 ] +Stats for tahoe-small.tif: + min = [0.0, 0.003921568859368563, 0.007843137718737125] + max = [0.8784314393997192, 1.0, 1.0] + avg = [0.10193096846342087, 0.21669696271419525, 0.4254732131958008] + stddev = [0.13176830112934113, 0.23792722821235657, 0.3826749324798584] + nancount = [0, 0, 0] + infcount = [0, 0, 0] + finitecount = [196608, 196608, 196608] +Comparison: of flip.tif and flop.tif + mean = 0.0068759 + rms = 0.051175 + PSNR = 25.819 + max = 0.45098 + max @ (214, 88, 0, 0) + warns 2034 fails 2034 +Relative comparison: of flip.tif and flop.tif + warns 1946 fails 1896 +isConstantColor on pink image is (1 0.50196 0.50196) +isConstantColor on checker is None +Is cmul1.exr monochrome? True +Is cmul2.exr monochrome? False +color range counts = (4, 8, 4) +Nonzero region is: 100 180 100 180 0 1 0 3 +SHA-1 of bsplinekernel.exr is: 0902C72521944A879D5F8E8154B6DFA9D3F62598 +R hist: (10000, 0, 0, 0) +G hist: (10000, 0, 0, 0) +B hist: (0, 10000, 0, 0) +Done. +Comparing "black.tif" and "ref/black.tif" +PASS +Comparing "filled.tif" and "../../../testsuite/oiiotool/ref/filled.tif" +PASS +Comparing "checker.tif" and "ref/checker.tif" +PASS +Comparing "noise-uniform3.tif" and "../../../testsuite/oiiotool-pattern/ref/noise-uniform3.tif" +PASS +Comparing "noise-gauss.tif" and "../../../testsuite/oiiotool-pattern/ref/noise-gauss.tif" +PASS +Comparing "noise-salt.tif" and "../../../testsuite/oiiotool-pattern/ref/noise-salt.tif" +PASS +Comparing "noise-blue3.tif" and "ref/noise-blue3.tif" +PASS +Comparing "bluenoise_image3.tif" and "ref/bluenoise_image3.tif" +PASS +Comparing "chanshuffle.tif" and "../../../testsuite/oiiotool/ref/chanshuffle.tif" +PASS +Comparing "ch-rgba.exr" and "../../../testsuite/oiiotool/ref/ch-rgba.exr" +PASS +Comparing "ch-z.exr" and "../../../testsuite/oiiotool/ref/ch-z.exr" +PASS +Comparing "chappend-rgbaz.exr" and "../../../testsuite/oiiotool/ref/chappend-rgbaz.exr" +PASS +Comparing "flat.exr" and "../../../testsuite/oiiotool-deep/ref/flat.exr" +PASS +Comparing "deepen.exr" and "../../../testsuite/oiiotool-deep/ref/deepen.exr" +PASS +Comparing "crop.tif" and "../../../testsuite/oiiotool-copy/ref/crop.tif" +PASS +Comparing "cut.tif" and "../../../testsuite/oiiotool-copy/ref/cut.tif" +PASS +Comparing "pasted.tif" and "../../../testsuite/oiiotool-copy/ref/pasted.tif" +PASS +Comparing "rotate90.tif" and "../../../testsuite/oiiotool-xform/ref/rotate90.tif" +PASS +Comparing "rotate180.tif" and "../../../testsuite/oiiotool/ref/rotate180.tif" +PASS +Comparing "rotate270.tif" and "../../../testsuite/oiiotool-xform/ref/rotate270.tif" +PASS +Comparing "rotated.tif" and "../../../testsuite/oiiotool-xform/ref/rotated.tif" +PASS +Comparing "rotated-offcenter.tif" and "../../../testsuite/oiiotool-xform/ref/rotated-offcenter.tif" +PASS +Comparing "warped.tif" and "../../../testsuite/oiiotool-xform/ref/warped.tif" +PASS +Comparing "flip.tif" and "../../../testsuite/oiiotool-xform/ref/flip.tif" +PASS +Comparing "flop.tif" and "../../../testsuite/oiiotool-xform/ref/flop.tif" +PASS +Comparing "reorient1.tif" and "../../../testsuite/oiiotool-xform/ref/reorient1.tif" +PASS +Comparing "transpose.tif" and "../../../testsuite/oiiotool-xform/ref/transpose.tif" +PASS +Comparing "cshift.tif" and "../../../testsuite/oiiotool-xform/ref/cshift.tif" +PASS +Comparing "cadd1.exr" and "../../../testsuite/oiiotool/ref/cadd1.exr" +PASS +Comparing "cadd2.exr" and "../../../testsuite/oiiotool/ref/cadd2.exr" +PASS +Comparing "add.exr" and "../../../testsuite/oiiotool/ref/add.exr" +PASS +Comparing "sub.exr" and "../../../testsuite/oiiotool/ref/sub.exr" +PASS +Comparing "csub2.exr" and "ref/csub2.exr" +PASS +Comparing "abs.exr" and "../../../testsuite/oiiotool/ref/abs.exr" +PASS +Comparing "absdiff.exr" and "../../../testsuite/oiiotool/ref/absdiff.exr" +PASS +Comparing "mul.exr" and "../../../testsuite/oiiotool/ref/mul.exr" +PASS +Comparing "cmul1.exr" and "../../../testsuite/oiiotool/ref/cmul1.exr" +PASS +Comparing "cmul2.exr" and "../../../testsuite/oiiotool/ref/cmul2.exr" +PASS +Comparing "mad.exr" and "../../../testsuite/oiiotool/ref/mad.exr" +PASS +Comparing "mad2.exr" and "ref/mad2.exr" +PASS +Comparing "mad3.exr" and "ref/mad3.exr" +PASS +Comparing "cpow1.exr" and "../../../testsuite/oiiotool/ref/cpow1.exr" +PASS +Comparing "cpow2.exr" and "../../../testsuite/oiiotool/ref/cpow2.exr" +PASS +Comparing "div.exr" and "../../../testsuite/oiiotool/ref/div.exr" +PASS +Comparing "divc1.exr" and "../../../testsuite/oiiotool/ref/divc1.exr" +PASS +Comparing "divc2.exr" and "../../../testsuite/oiiotool/ref/divc2.exr" +PASS +Comparing "invert.tif" and "../../../testsuite/oiiotool/ref/invert.tif" +PASS +Comparing "maximg.tif" and "ref/maximg.tif" +PASS +Comparing "maxval.tif" and "ref/maxval.tif" +PASS +Comparing "minimg.tif" and "ref/minimg.tif" +PASS +Comparing "minval.tif" and "ref/minval.tif" +PASS +Comparing "minchan.tif" and "ref/minchan.tif" +PASS +Comparing "maxchan.tif" and "ref/maxchan.tif" +PASS +Comparing "chsum.tif" and "../../../testsuite/oiiotool/ref/chsum.tif" +PASS +Comparing "colormap-inferno.tif" and "../../../testsuite/oiiotool-color/ref/colormap-inferno.tif" +PASS +Comparing "colormap-custom.tif" and "../../../testsuite/oiiotool-color/ref/colormap-custom.tif" +PASS +Comparing "grid-clamped.tif" and "../../../testsuite/oiiotool/ref/grid-clamped.tif" +PASS +Comparing "clamped-with-float.exr" and "ref/clamped-with-float.exr" +PASS +Comparing "rangecompress.tif" and "../../../testsuite/oiiotool/ref/rangecompress.tif" +PASS +Comparing "rangeexpand.tif" and "../../../testsuite/oiiotool/ref/rangeexpand.tif" +PASS +Comparing "contrast-stretch.tif" and "../../../testsuite/oiiotool-color/ref/contrast-stretch.tif" +PASS +Comparing "contrast-shrink.tif" and "../../../testsuite/oiiotool-color/ref/contrast-shrink.tif" +PASS +Comparing "contrast-sigmoid5.tif" and "../../../testsuite/oiiotool-color/ref/contrast-sigmoid5.tif" +PASS +Comparing "saturate-0.tif" and "ref/saturate-0.tif" +PASS +Comparing "saturate-2.tif" and "ref/saturate-2.tif" +PASS +Comparing "resize.tif" and "../../../testsuite/oiiotool-xform/ref/resize.tif" +PASS +Comparing "resample.tif" and "../../../testsuite/oiiotool-xform/ref/resample.tif" +PASS +Comparing "fit.tif" and "../../../testsuite/oiiotool-xform/ref/fit.tif" +PASS +Comparing "norm.exr" and "ref/norm.exr" +PASS +Comparing "normoffset.exr" and "ref/normoffset.exr" +PASS +Comparing "normalize.exr" and "ref/normalize.exr" +PASS +Comparing "normalize_scale.exr" and "ref/normalize_scale.exr" +PASS +Comparing "normalize_offsetin.exr" and "ref/normalize_offsetin.exr" +PASS +Comparing "normalize_offsetscaleout.exr" and "ref/normalize_offsetscaleout.exr" +PASS +Comparing "normalize_offsetscale.exr" and "ref/normalize_offsetscale.exr" +PASS +Comparing "bsplinekernel.exr" and "../../../testsuite/oiiotool/ref/bsplinekernel.exr" +PASS +Comparing "bspline-blur.tif" and "../../../testsuite/oiiotool/ref/bspline-blur.tif" +PASS +Comparing "tahoe-median.tif" and "../../../testsuite/oiiotool/ref/tahoe-median.tif" +PASS +Comparing "dilate.tif" and "../../../testsuite/oiiotool/ref/dilate.tif" +PASS +Comparing "erode.tif" and "../../../testsuite/oiiotool/ref/erode.tif" +PASS +Comparing "unsharp.tif" and "../../../testsuite/oiiotool/ref/unsharp.tif" +PASS +Comparing "unsharp-median.tif" and "../../../testsuite/oiiotool/ref/unsharp-median.tif" +PASS +Comparing "tahoe-laplacian.tif" and "../../../testsuite/oiiotool/ref/tahoe-laplacian.tif" +PASS +Comparing "fft.exr" and "../../../testsuite/oiiotool/ref/fft.exr" +PASS +Comparing "ifft.exr" and "../../../testsuite/oiiotool/ref/ifft.exr" +PASS +Comparing "polar.exr" and "../../../testsuite/oiiotool/ref/polar.exr" +PASS +Comparing "unpolar.exr" and "../../../testsuite/oiiotool/ref/unpolar.exr" +PASS +Comparing "tahoe-filled.tif" and "../../../testsuite/oiiotool/ref/tahoe-filled.tif" +PASS +Comparing "box3.exr" and "../../../testsuite/oiiotool-fixnan/ref/box3.exr" +PASS +Comparing "a_over_b.exr" and "../../../testsuite/oiiotool-composite/ref/a_over_b.exr" +PASS +Comparing "tahoe-small.tx" and "ref/tahoe-small.tx" +PASS +Comparing "text.tif" and "../../../testsuite/oiiotool-text/ref/text-freetype2.7.tif" +PASS +Comparing "textcentered.tif" and "ref/textcentered.tif" +PASS diff --git a/testsuite/texture-half/ref/out-macarm.exr b/testsuite/texture-half/ref/out-macarm.exr new file mode 100644 index 0000000000..79d7fb639c Binary files /dev/null and b/testsuite/texture-half/ref/out-macarm.exr differ diff --git a/testsuite/texture-interp-closest/ref/out-macarm.tif b/testsuite/texture-interp-closest/ref/out-macarm.tif new file mode 100644 index 0000000000..cdf49de003 Binary files /dev/null and b/testsuite/texture-interp-closest/ref/out-macarm.tif differ diff --git a/testsuite/texture-levels-stochaniso/ref/out-macarm.tif b/testsuite/texture-levels-stochaniso/ref/out-macarm.tif new file mode 100644 index 0000000000..9246f24a94 Binary files /dev/null and b/testsuite/texture-levels-stochaniso/ref/out-macarm.tif differ diff --git a/testsuite/texture-levels-stochmip/ref/out-macarm.tif b/testsuite/texture-levels-stochmip/ref/out-macarm.tif new file mode 100644 index 0000000000..5b9d43437f Binary files /dev/null and b/testsuite/texture-levels-stochmip/ref/out-macarm.tif differ diff --git a/testsuite/texture-mip-onelevel/ref/out-macarm.tif b/testsuite/texture-mip-onelevel/ref/out-macarm.tif new file mode 100644 index 0000000000..c1a52c2f94 Binary files /dev/null and b/testsuite/texture-mip-onelevel/ref/out-macarm.tif differ diff --git a/testsuite/texture-mip-stochasticaniso/ref/out-macarm.tif b/testsuite/texture-mip-stochasticaniso/ref/out-macarm.tif new file mode 100644 index 0000000000..3d24a80b4e Binary files /dev/null and b/testsuite/texture-mip-stochasticaniso/ref/out-macarm.tif differ diff --git a/testsuite/texture-mip-stochastictrilinear/ref/out-macarm.tif b/testsuite/texture-mip-stochastictrilinear/ref/out-macarm.tif new file mode 100644 index 0000000000..a04553213b Binary files /dev/null and b/testsuite/texture-mip-stochastictrilinear/ref/out-macarm.tif differ diff --git a/testsuite/texture-uint16/ref/out-macarm.exr b/testsuite/texture-uint16/ref/out-macarm.exr new file mode 100644 index 0000000000..4f9bd285ee Binary files /dev/null and b/testsuite/texture-uint16/ref/out-macarm.exr differ diff --git a/testsuite/zfile/ref/out-macarm.txt b/testsuite/zfile/ref/out-macarm.txt new file mode 100644 index 0000000000..c49b293203 --- /dev/null +++ b/testsuite/zfile/ref/out-macarm.txt @@ -0,0 +1,17 @@ +Reading out.zfile +out.zfile : 64 x 64, 1 channel, float zfile + SHA-1: EF2AEAE96A84C10881A388BDA2CD35CAD29F14FC + channel list: z + worldtocamera: 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 + worldtoscreen: 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1 + Stats Min: 0.100000 (float) + Stats Max: 1.000000 (float) + Stats Avg: 0.475000 (float) + Stats StdDev: 0.146327 (float) + Stats NanCount: 0 + Stats InfCount: 0 + Stats FiniteCount: 4096 + Constant: No + Monochrome: Yes +Comparing "out.zfile" and "ref/out.zfile" +PASS diff --git a/testsuite/zfile/ref/out.txt b/testsuite/zfile/ref/out.txt index 1795a3cb29..24d5734cc4 100644 --- a/testsuite/zfile/ref/out.txt +++ b/testsuite/zfile/ref/out.txt @@ -13,3 +13,5 @@ out.zfile : 64 x 64, 1 channel, float zfile Stats FiniteCount: 4096 Constant: No Monochrome: Yes +Comparing "out.zfile" and "ref/out.zfile" +PASS diff --git a/testsuite/zfile/run.py b/testsuite/zfile/run.py index 737d0d9e39..ec0da0dc05 100755 --- a/testsuite/zfile/run.py +++ b/testsuite/zfile/run.py @@ -8,4 +8,5 @@ imagedir = "ref/" command += oiiotool ("-pattern fill:topleft=0.1:topright=0.5:bottomleft=1.0:bottomright=0.3 64x64 1 -chnames Z -d float -o out.zfile") command += info_command ("out.zfile", extraargs="-stats") -outputs += [ "out.zfile" ] + +outputs = [ "out.zfile", "out.txt" ]