MCPcopy Create free account
hub / github.com/KAlO2/PerfectShow / inset

Function inset

jni/venus/opencv_utility.cpp:56–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void inset(cv::Rect& rect, int width)
57{
58 assert(width >= 0 || rect.width > -width);
59
60 int width2 = width<<1;
61 rect.x -= width;
62 rect.y -= width;
63 rect.width += width2;
64 rect.height += width2;
65}
66
67cv::Mat merge(const cv::Mat& rgb, const cv::Mat& alpha)
68{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected