MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/OpenImageIO / zover

Method zover

src/libOpenImageIO/imagebufalgo_pixelmath.cpp:1183–1195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1181
1182
1183bool
1184ImageBufAlgo::zover (ImageBuf &dst, const ImageBuf &A, const ImageBuf &B,
1185 bool z_zeroisinf, ROI roi, int nthreads)
1186{
1187 if (! IBAprep (roi, &dst, &A, &B, NULL,
1188 IBAprep_REQUIRE_ALPHA | IBAprep_REQUIRE_Z |
1189 IBAprep_REQUIRE_SAME_NCHANNELS))
1190 return false;
1191 OIIO_DISPATCH_COMMON_TYPES3 ("zover", over_impl, dst.spec().format,
1192 A.spec().format, B.spec().format,
1193 dst, A, B, true, z_zeroisinf, roi, nthreads);
1194 return ! dst.has_error();
1195}
1196
1197
1198

Callers

nothing calls this directly

Calls 2

has_errorMethod · 0.80
specMethod · 0.45

Tested by

no test coverage detected