~ubuntu-branches/ubuntu/saucy/openexr/saucy

« back to all changes in this revision

Viewing changes to IlmImfTest/testConversion.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Adeodato Simó
  • Date: 2008-03-24 23:00:21 UTC
  • mfrom: (3.1.2 lenny)
  • Revision ID: james.westby@ubuntu.com-20080324230021-gnofz9mnvcj1xlv3
Tags: 1.6.1-3
Disable (hopefully temporarily) the test suite on arm and ia64.

Show diffs side-by-side

added added

removed removed

Lines of Context:
277
277
 
278
278
        TiledOutputFile out (fileName, hdr);
279
279
        out.setFrameBuffer (fb);
280
 
 
281
 
        for (int dy = 0; dy < out.numYTiles(); ++dy)
282
 
            for (int dx = 0; dx < out.numXTiles(); ++dx)
283
 
                out.writeTile (dx, dy);
 
280
        out.writeTiles (0, out.numXTiles() - 1, 0, out.numYTiles() - 1);
284
281
    }
285
282
 
286
283
    Array2D<InType> inPixels (height, width);
298
295
 
299
296
        TiledInputFile in (fileName);
300
297
        in.setFrameBuffer (fb);
301
 
 
302
 
        for (int dy = 0; dy < in.numYTiles(); ++dy)
303
 
            for (int dx = 0; dx < in.numXTiles(); ++dx)
304
 
                in.readTile (dx, dy);
 
298
        in.readTiles (0, in.numXTiles() - 1, 0, in.numYTiles() - 1);
305
299
    }
306
300
 
307
301
    cout << "comparing" << flush;
356
350
 
357
351
        for (int comp = 0; comp < NUM_COMPRESSION_METHODS; ++comp)
358
352
        {
 
353
            if (comp == B44_COMPRESSION || comp == B44A_COMPRESSION)
 
354
                continue;
 
355
 
359
356
            testImageChannel <unsigned int, UINT, unsigned int, UINT>
360
357
                             (IMF_TMP_DIR "imf_test_conv.exr",
361
358
                              317, 539,