I have some problems with hppiInitAllocLoG/DoGKernel functions after updating IPP-A library. Now I use February preview, Win7 64-bit. And the next tests are failed.
TEST(InitKernelTest, LoG)
{
hppAccel accel;
hppCreateInstance(HPP_ACCEL_TYPE_ANY, 0, &accel);
hppiKernel kernel;
hppStatus status = hppiInitAllocLoGkernel(accel, 3, 1, 1, &kernel);
EXPECT_EQ(HPP_STATUS_NO_ERROR, status);
status = hppWait(accel, HPP_TIME_OUT_INFINITE);
EXPECT_EQ(HPP_STATUS_NO_ERROR, status);
hppDeleteInstance(accel);
}
TEST(InitKernelTest, DoG)
{
hppAccel accel;
hppCreateInstance(HPP_ACCEL_TYPE_ANY, 0, &accel);
hppiKernel kernel;
hppStatus status = hppiInitAllocDoGkernel(accel, 3, 1, 2, 1, &kernel);
EXPECT_EQ(HPP_STATUS_NO_ERROR, status);
status = hppWait(accel, HPP_TIME_OUT_INFINITE);
EXPECT_EQ(HPP_STATUS_NO_ERROR, status);
hppDeleteInstance(accel);
}
In the first test hppWait returns wrong status, for example -2147483648. If I use hppiInitAllocLoGKernel before hppiFilterLinear in my code, than hppiFilterLinear returns HPP_STATUS_PARAM_UNSUPPORTED. The second test is crashed with "SEH exception with code 0xc0000005 thrown in the test body"