コード例 #1
0
ファイル: ExrTest.cpp プロジェクト: ArieLeo/FrameCapturer
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");
}
コード例 #2
0
ファイル: ExrTest.cpp プロジェクト: unity3d-jp/FrameCapturer
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");
}