TuttleOFX
1
|
Base class for the denoising processor. More...
#include <OpenImageIOWriterProcess.hpp>
Public Types | |
typedef terry::image_from_view < View >::type | Image |
typedef View::value_type | Pixel |
typedef View::point_t | Point |
typedef View::coord_t | Coord |
Public Member Functions | |
OpenImageIOWriterProcess (OpenImageIOWriterPlugin &instance) | |
void | multiThreadProcessImages (const OfxRectI &procWindowRoW) |
Function called by rendering thread each time a process must be done. | |
template<class WImage > | |
void | writeImage (View &src, const std::string &filepath, const ETuttlePluginBitDepth &bitDepth) |
Static Public Member Functions | |
static bool | progressCallback (void *opaque_data, float portion_done) |
Protected Attributes | |
OpenImageIOWriterPlugin & | _plugin |
Rendering plugin. | |
Private Types | |
typedef OpenImageIOWriterProcess< View > | This |
Private Member Functions | |
ETuttlePluginBitDepth | getDefaultBitDepth (const std::string &filepath, const ETuttlePluginBitDepth &bitDepth) |
Private Attributes | |
OpenImageIOWriterProcessParams | params |
Base class for the denoising processor.
Definition at line 19 of file OpenImageIOWriterProcess.hpp.
typedef View::coord_t tuttle::plugin::openImageIO::writer::OpenImageIOWriterProcess< View >::Coord |
Definition at line 31 of file OpenImageIOWriterProcess.hpp.
typedef terry::image_from_view<View>::type tuttle::plugin::openImageIO::writer::OpenImageIOWriterProcess< View >::Image |
Reimplemented from tuttle::plugin::ImageGilProcessor< View >.
Definition at line 28 of file OpenImageIOWriterProcess.hpp.
typedef View::value_type tuttle::plugin::openImageIO::writer::OpenImageIOWriterProcess< View >::Pixel |
Reimplemented from tuttle::plugin::ImageGilProcessor< View >.
Definition at line 29 of file OpenImageIOWriterProcess.hpp.
typedef View::point_t tuttle::plugin::openImageIO::writer::OpenImageIOWriterProcess< View >::Point |
Definition at line 30 of file OpenImageIOWriterProcess.hpp.
typedef OpenImageIOWriterProcess<View> tuttle::plugin::openImageIO::writer::OpenImageIOWriterProcess< View >::This [private] |
Definition at line 21 of file OpenImageIOWriterProcess.hpp.
tuttle::plugin::openImageIO::writer::OpenImageIOWriterProcess< View >::OpenImageIOWriterProcess | ( | OpenImageIOWriterPlugin & | instance | ) |
Definition at line 27 of file OpenImageIOWriterProcess.tcc.
References tuttle::plugin::ImageProcessor::setNoMultiThreading().
ETuttlePluginBitDepth tuttle::plugin::openImageIO::writer::OpenImageIOWriterProcess< View >::getDefaultBitDepth | ( | const std::string & | filepath, |
const ETuttlePluginBitDepth & | bitDepth | ||
) | [private] |
Deduce the best bitdepth when it hasn't been set by the user
Definition at line 38 of file OpenImageIOWriterProcess.tcc.
References tuttle::plugin::openImageIO::writer::eTuttlePluginBitDepth16, tuttle::plugin::openImageIO::writer::eTuttlePluginBitDepth32f, tuttle::plugin::openImageIO::writer::eTuttlePluginBitDepth8, and tuttle::plugin::openImageIO::writer::eTuttlePluginBitDepthAuto.
void tuttle::plugin::openImageIO::writer::OpenImageIOWriterProcess< View >::multiThreadProcessImages | ( | const OfxRectI & | procWindowRoW | ) | [virtual] |
Function called by rendering thread each time a process must be done.
[in] | procWindowRoW | Processing window in RoW |
Implements tuttle::plugin::ImageProcessor.
Definition at line 66 of file OpenImageIOWriterProcess.tcc.
References tuttle::plugin::merge::copy_pixels(), OFX::eBitDepthCustom, OFX::eBitDepthFloat, OFX::eBitDepthNone, OFX::eBitDepthUByte, OFX::eBitDepthUShort, OFX::ePixelComponentAlpha, OFX::ePixelComponentRGB, OFX::ePixelComponentRGBA, tuttle::plugin::openImageIO::writer::eTuttlePluginBitDepth10, tuttle::plugin::openImageIO::writer::eTuttlePluginBitDepth12, tuttle::plugin::openImageIO::writer::eTuttlePluginBitDepth16, tuttle::plugin::openImageIO::writer::eTuttlePluginBitDepth16f, tuttle::plugin::openImageIO::writer::eTuttlePluginBitDepth32, tuttle::plugin::openImageIO::writer::eTuttlePluginBitDepth32f, tuttle::plugin::openImageIO::writer::eTuttlePluginBitDepth8, tuttle::plugin::openImageIO::writer::eTuttlePluginBitDepthAuto, tuttle::plugin::openImageIO::writer::eTuttlePluginComponentsAuto, tuttle::plugin::openImageIO::writer::eTuttlePluginComponentsGray, tuttle::plugin::openImageIO::writer::eTuttlePluginComponentsRGB, and tuttle::plugin::openImageIO::writer::eTuttlePluginComponentsRGBA.
static bool tuttle::plugin::openImageIO::writer::OpenImageIOWriterProcess< View >::progressCallback | ( | void * | opaque_data, |
float | portion_done | ||
) | [inline, static] |
Definition at line 44 of file OpenImageIOWriterProcess.hpp.
References tuttle::plugin::OfxProgress::progressUpdate().
void tuttle::plugin::openImageIO::writer::OpenImageIOWriterProcess< View >::writeImage | ( | View & | src, |
const std::string & | filepath, | ||
const ETuttlePluginBitDepth & | bitDepth | ||
) |
Definition at line 467 of file OpenImageIOWriterProcess.tcc.
References tuttle::plugin::openImageIO::writer::eTuttlePluginBitDepth10, tuttle::plugin::openImageIO::writer::eTuttlePluginBitDepth12, tuttle::plugin::openImageIO::writer::eTuttlePluginBitDepth16, tuttle::plugin::openImageIO::writer::eTuttlePluginBitDepth16f, tuttle::plugin::openImageIO::writer::eTuttlePluginBitDepth32, tuttle::plugin::openImageIO::writer::eTuttlePluginBitDepth32f, tuttle::plugin::openImageIO::writer::eTuttlePluginBitDepth8, tuttle::plugin::openImageIO::writer::eTuttlePluginBitDepthAuto, tuttle::plugin::viewer::img, tuttle::plugin::raw::reader::progressCallback(), and boost::gil::view().
OpenImageIOWriterPlugin& tuttle::plugin::openImageIO::writer::OpenImageIOWriterProcess< View >::_plugin [protected] |
Rendering plugin.
Definition at line 34 of file OpenImageIOWriterProcess.hpp.
OpenImageIOWriterProcessParams tuttle::plugin::openImageIO::writer::OpenImageIOWriterProcess< View >::params [private] |
Definition at line 23 of file OpenImageIOWriterProcess.hpp.