Beispiel #1
0
void ExrTest()
{
    printf("ExrTest begin\n");

    fcIExrContext *ctx = fcExrCreateContext();
    ExrTestImpl<RGBAu8 >(ctx, "RGBAu8.exr");
    ExrTestImpl<RGBAf16>(ctx, "RGBAf16.exr");
    ExrTestImpl<RGBAf32>(ctx, "RGBAf32.exr");
    fcExrDestroyContext(ctx);

    printf("ExrTest end\n");
}
Beispiel #2
0
void ExrTest()
{
    if (!fcExrIsSupported()) {
        printf("ExrTest: exr is not supported\n");
        return;
    }

    printf("ExrTest begin\n");

    fcIExrContext *ctx = fcExrCreateContext();
    ExrTestImpl<RGBAu8 >(ctx, "RGBAu8.exr");
    ExrTestImpl<RGBAf16>(ctx, "RGBAf16.exr");
    ExrTestImpl<RGBAf32>(ctx, "RGBAf32.exr");
    fcReleaseContext(ctx);

    printf("ExrTest end\n");
}