MCPcopy Create free account
hub / github.com/NatronGitHub/openfx-misc / KeyerProcessorBase

Method KeyerProcessorBase

Keyer/Keyer.cpp:252–271  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

250public:
251
252 KeyerProcessorBase(ImageEffect &instance)
253 : ImageProcessor(instance)
254 , _srcImg(NULL)
255 , _bgImg(NULL)
256 , _inMaskImg(NULL)
257 , _outMaskImg(NULL)
258 , _keyerMode(eKeyerModeLuminance)
259 , _luminanceMath(eLuminanceMathRec709)
260 , _softnessLower(-0.5)
261 , _toleranceLower(0.)
262 , _center(0.)
263 , _toleranceUpper(0.)
264 , _softnessUpper(0.5)
265 , _despill(0.)
266 , _despillClosing(0.)
267 , _outputMode(eOutputModeComposite)
268 , _sourceAlpha(eSourceAlphaIgnore)
269 {
270 _keyColor.r = _keyColor.g = _keyColor.b = 0.;
271 }
272
273 void setSrcImgs(const Image *srcImg,
274 const Image *bgImg,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected