| 1181 | |
| 1182 | |
| 1183 | bool |
| 1184 | ImageBufAlgo::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 |