| 471 | public: |
| 472 | |
| 473 | PIKProcessorBase(ImageEffect &instance) |
| 474 | : ImageProcessor(instance) |
| 475 | , _fgImg(NULL) |
| 476 | , _pfgImg(NULL) |
| 477 | , _cImg(NULL) |
| 478 | , _bgImg(NULL) |
| 479 | , _inMaskImg(NULL) |
| 480 | , _outMaskImg(NULL) |
| 481 | , _screenType(kParamScreenTypeDefault) |
| 482 | , _useColor(false) |
| 483 | , _redWeight(kParamRedWeightDefault) |
| 484 | , _blueGreenWeight(kParamBlueGreenWeightDefault) |
| 485 | , _lmEnable(kParamLMEnableDefault) |
| 486 | , _level(kParamLevelDefault) |
| 487 | , _luma(kParamLumaDefault) |
| 488 | , _llEnable(kParamLLEnableDefault) |
| 489 | , _autolevels(kParamAutolevelsDefault) |
| 490 | , _yellow(kParamYellowDefault) |
| 491 | , _cyan(kParamCyanDefault) |
| 492 | , _magenta(kParamMagentaDefault) |
| 493 | , _ss(kParamSSDefault) |
| 494 | , _clampAlpha(kParamClampAlphaDefault) |
| 495 | , _rgbal(kParamRGBALDefault) |
| 496 | , _screenClipMin(0.) |
| 497 | , _screenClipMax(1.) |
| 498 | , _screenReplace(eReplaceSoftColor) |
| 499 | , _sourceAlpha(eSourceAlphaIgnore) |
| 500 | , _insideReplace(eReplaceSoftColor) |
| 501 | , _noKey(kParamNoKeyDefault) |
| 502 | , _ubl(kParamUBLDefault) |
| 503 | , _ubc(kParamUBCDefault) |
| 504 | , _colorspace(eColorspaceRec709) |
| 505 | , _outputMode(eOutputModePremultiplied) |
| 506 | { |
| 507 | _color[0] = _color[1] = _color[2] = 0.; |
| 508 | _alphaBias[0] = _alphaBias[1] = _alphaBias[2] = 0.; |
| 509 | _despillBias[0] = _despillBias[1] = _despillBias[2] = 0.; |
| 510 | _screenReplaceColor[0] = _screenReplaceColor[1] = _screenReplaceColor[2] = 0.; |
| 511 | _insideReplaceColor[0] = _insideReplaceColor[1] = _insideReplaceColor[2] = 0.; |
| 512 | } |
| 513 | |
| 514 | void setSrcImgs(const Image *fgImg, |
| 515 | const Image *pfgImg, |
nothing calls this directly
no outgoing calls
no test coverage detected