ImageGilFilterProcessor<SView, DView>::ImageGilFilterProcessor( OFX::ImageEffect& effect, const EImageOrientation imageOrientation ) : ImageGilProcessor<DView>( effect, imageOrientation ) { _clipSrc = effect.fetchClip( kOfxImageEffectSimpleSourceClipName ); if( ! _clipSrc->isConnected() ) BOOST_THROW_EXCEPTION( exception::ImageNotConnected() ); }
ImageGilProcessor<View>::ImageGilProcessor( OFX::ImageEffect& effect ) : OfxProgress( effect ) , _nbThreads( 0 ) , // auto, maximum allowable number of CPUs will be used _effect( effect ) { _renderArgs.renderWindow.x1 = _renderArgs.renderWindow.y1 = _renderArgs.renderWindow.x2 = _renderArgs.renderWindow.y2 = 0; _renderArgs.renderScale.x = _renderArgs.renderScale.y = 0; _renderArgs.time = -1; _renderArgs.fieldToRender = OFX::eFieldNone; _clipDst = effect.fetchClip( kOfxImageEffectOutputClipName ); }
/** @brief ctor */ ImageProcessor( OFX::ImageEffect& effect, const EImageOrientation imageOrientation ) : OfxProgress( effect ) , _effect( effect ) , _nbThreads( 0 ) // auto, maximum allowable number of CPUs will be used , _imageOrientation( imageOrientation ) { _renderArgs.renderWindow.x1 = _renderArgs.renderWindow.y1 = _renderArgs.renderWindow.x2 = _renderArgs.renderWindow.y2 = 0; _renderArgs.renderScale.x = _renderArgs.renderScale.y = 0; _renderArgs.time = -1; _renderArgs.fieldToRender = OFX::eFieldNone; _clipDst = effect.fetchClip( kOfxImageEffectOutputClipName ); }
ImageGilFilterProcessor<SView, DView>::ImageGilFilterProcessor( OFX::ImageEffect& effect ) : ImageGilProcessor<DView>( effect ) { _clipSrc = effect.fetchClip( kOfxImageEffectSimpleSourceClipName ); }