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

Method QuantizeProcessorBase

Quantize/Quantize.cpp:238–256  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

236
237public:
238 QuantizeProcessorBase(ImageEffect &instance,
239 const RenderArguments & /*args*/)
240 : ImageProcessor(instance)
241 , _srcImg(NULL)
242 , _maskImg(NULL)
243 , _premult(false)
244 , _premultChannel(3)
245 , _doMasking(false)
246 , _mix(1.)
247 , _maskInvert(false)
248 , _processR(false)
249 , _processG(false)
250 , _processB(false)
251 , _processA(false)
252 , _colors(kParamColorsDefault)
253 , _dither(eDitherNone)
254 , _seed(0)
255 {
256 }
257
258 void setSrcImg(const Image *v) {_srcImg = v; }
259

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected