View Full Version : ColorKeyMask
Wilbert
22nd April 2006, 15:22
I was looking at ColorKeyMask (layer.cpp) and saw that the function IsClose() is used. Is that an existing C++ function or is it defined in AviSynth somewhere in a place which I can't find?
hanfrunz
22nd April 2006, 15:47
if you use MS-VC++: place the mouse over "IsClose", press left mouse button, choose goto definition or goto declaration.
hope that helps
IanB
23rd April 2006, 03:24
See internal.hstatic __inline bool IsClose(int a, int b, unsigned threshold)
{ return (unsigned(a-b+threshold) <= threshold*2); }
vBulletin® v3.8.11, Copyright ©2000-2026, vBulletin Solutions Inc.