Tests JAI operation wrapped as
OperatorJAI .
NOTE:
This test may fails when executed on a machine without the mediaLib accelerator.
On Windows, the
mlib_jai.dll and
mlib_jai_mmx.dll files should exist in the
jre/bin directory, as well as
mlibwrapper_jai.jar in
jre/lib/ext .
Those
.dll files should be there if JAI has been installed with the Sun standard
installation program (
jai-1_1_2_01-lib-windows-i586-jdk.exe ). With such installation,
everything should run fine. The
.dll files are probably missing if JAI has been put in
the classpath by Maven, like our past attempt on the 2.1 branch.
This behavior looks like a JAI bug to me. In theory, the pure Java mode is supposed to produce
exactly the same result than the mediaLib native mode; just slower. This test
failure suggests that it is not always the case. The mediaLib native code seems
right in this case (the bug would be in the pure Java code).
version: $Id: OperationsTest.java 25591 2007-05-20 10:43:59Z desruisseaux $ author: Martin Desruisseaux |