@brief ctor */
| 1461 | public: |
| 1462 | /** @brief ctor */ |
| 1463 | PIKPlugin(OfxImageEffectHandle handle) |
| 1464 | : ImageEffect(handle) |
| 1465 | , _dstClip(NULL) |
| 1466 | , _fgClip(NULL) |
| 1467 | , _pfgClip(NULL) |
| 1468 | , _cClip(NULL) |
| 1469 | , _bgClip(NULL) |
| 1470 | , _inMaskClip(NULL) |
| 1471 | , _outMaskClip(NULL) |
| 1472 | , _screenType(NULL) |
| 1473 | , _color(NULL) |
| 1474 | , _redWeight(NULL) |
| 1475 | , _blueGreenWeight(NULL) |
| 1476 | , _alphaBias(NULL) |
| 1477 | , _despillBias(NULL) |
| 1478 | , _despillBiasIsAlphaBias(NULL) |
| 1479 | , _lmEnable(NULL) |
| 1480 | , _level(NULL) |
| 1481 | , _luma(NULL) |
| 1482 | , _llEnable(NULL) |
| 1483 | , _autolevels(NULL) |
| 1484 | , _yellow(NULL) |
| 1485 | , _cyan(NULL) |
| 1486 | , _magenta(NULL) |
| 1487 | , _ss(NULL) |
| 1488 | , _clampAlpha(NULL) |
| 1489 | , _rgbal(NULL) |
| 1490 | , _screenClipMin(NULL) |
| 1491 | , _screenClipMax(NULL) |
| 1492 | , _screenReplace(NULL) |
| 1493 | , _screenReplaceColor(NULL) |
| 1494 | , _sourceAlpha(NULL) |
| 1495 | , _insideReplace(NULL) |
| 1496 | , _insideReplaceColor(NULL) |
| 1497 | , _noKey(NULL) |
| 1498 | , _ubl(NULL) |
| 1499 | , _ubc(NULL) |
| 1500 | , _colorspace(NULL) |
| 1501 | { |
| 1502 | |
| 1503 | _dstClip = fetchClip(kOfxImageEffectOutputClipName); |
| 1504 | assert( _dstClip && (!_dstClip->isConnected() || _dstClip->getPixelComponents() == ePixelComponentRGBA) ); |
| 1505 | _fgClip = fetchClip(kClipFg); |
| 1506 | assert( ( _fgClip && (!_fgClip->isConnected() || _fgClip->getPixelComponents() == ePixelComponentRGB || |
| 1507 | _fgClip->getPixelComponents() == ePixelComponentRGBA) ) ); |
| 1508 | _pfgClip = fetchClip(kClipPFg); |
| 1509 | assert( ( _pfgClip && (!_pfgClip->isConnected() || _pfgClip->getPixelComponents() == ePixelComponentRGB || |
| 1510 | _pfgClip->getPixelComponents() == ePixelComponentRGBA) ) ); |
| 1511 | _cClip = fetchClip(kClipC); |
| 1512 | assert( ( _cClip && (!_cClip->isConnected() || _cClip->getPixelComponents() == ePixelComponentRGB || |
| 1513 | _cClip->getPixelComponents() == ePixelComponentRGBA) ) ); |
| 1514 | _bgClip = fetchClip(kClipBg); |
| 1515 | assert( _bgClip && (!_bgClip->isConnected() || _bgClip->getPixelComponents() == ePixelComponentRGB || _bgClip->getPixelComponents() == ePixelComponentRGBA) ); |
| 1516 | _inMaskClip = fetchClip(kClipInsideMask);; |
| 1517 | assert( _inMaskClip && (!_inMaskClip->isConnected() || _inMaskClip->getPixelComponents() == ePixelComponentAlpha) ); |
| 1518 | _outMaskClip = fetchClip(kClipOutsidemask);; |
| 1519 | assert( _outMaskClip && (!_outMaskClip->isConnected() || _outMaskClip->getPixelComponents() == ePixelComponentAlpha) ); |
| 1520 |
nothing calls this directly
no test coverage detected