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

Method check

core/input_process.cpp:63–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

61 }
62
63 void InputProcess::check()
64 {
65 if (!getMainSrc() || !dst)
66 throw std::logic_error("input processing source/destination not set");
67 if (tile.hSrcBegin + tile.H > getMainSrc()->getH() ||
68 tile.wSrcBegin + tile.W > getMainSrc()->getW() ||
69 tile.hDstBegin + tile.H > dst->getH() ||
70 tile.wDstBegin + tile.W > dst->getW())
71 throw std::out_of_range("input processing source/destination out of bounds");
72 }
73
74OIDN_NAMESPACE_END

Callers

nothing calls this directly

Calls 2

getHMethod · 0.45
getWMethod · 0.45

Tested by

no test coverage detected