@brief ctor */
| 58 | public: |
| 59 | /** @brief ctor */ |
| 60 | JoinViewsPlugin(OfxImageEffectHandle handle) |
| 61 | : ImageEffect(handle) |
| 62 | , _dstClip(NULL) |
| 63 | , _srcLeftClip(NULL) |
| 64 | , _srcRightClip(NULL) |
| 65 | { |
| 66 | |
| 67 | _dstClip = fetchClip(kOfxImageEffectOutputClipName); |
| 68 | assert( _dstClip && (!_dstClip->isConnected() || _dstClip->getPixelComponents() == ePixelComponentAlpha || _dstClip->getPixelComponents() == ePixelComponentRGB || _dstClip->getPixelComponents() == ePixelComponentRGBA) ); |
| 69 | _srcLeftClip = fetchClip(kClipLeft); |
| 70 | assert( _srcLeftClip && (_srcLeftClip->getPixelComponents() == ePixelComponentAlpha || _srcLeftClip->getPixelComponents() == ePixelComponentRGB || _srcLeftClip->getPixelComponents() == ePixelComponentRGBA) ); |
| 71 | _srcRightClip = fetchClip(kClipRight); |
| 72 | assert( _srcRightClip && (_srcRightClip->getPixelComponents() == ePixelComponentAlpha || _srcRightClip->getPixelComponents() == ePixelComponentRGB || _srcRightClip->getPixelComponents() == ePixelComponentRGBA) ); |
| 73 | } |
| 74 | |
| 75 | private: |
| 76 | /* Override the render */ |
nothing calls this directly
no test coverage detected