MCPcopy Create free account
hub / github.com/RenderKit/oidn / check

Method check

core/output_process.cpp:43–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 }
42
43 void OutputProcess::check()
44 {
45 if (!src || !dst)
46 throw std::logic_error("output processing source/destination not set");
47 if (tile.hSrcBegin + tile.H > src->getH() ||
48 tile.wSrcBegin + tile.W > src->getW() ||
49 tile.hDstBegin + tile.H > dst->getH() ||
50 tile.wDstBegin + tile.W > dst->getW())
51 throw std::out_of_range("output processing source/destination out of bounds");
52 }
53
54OIDN_NAMESPACE_END

Callers

nothing calls this directly

Calls 2

getHMethod · 0.45
getWMethod · 0.45

Tested by

no test coverage detected