#include <fleximage.h>
Public Types | |
enum | OutputChannels { Y, YA, RGB, RGBA } |
enum | ZBufNormalization { None, CameraStartEnd, MinMax } |
Public Member Functions | |
FlexImageFilm (int xres, int yres, Filter *filt, const float crop[4], const string &filename1, bool premult, int wI, int dI, int cM, bool cw_EXR, OutputChannels cw_EXR_channels, bool cw_EXR_halftype, int cw_EXR_compressiontype, bool cw_EXR_applyimaging, bool cw_EXR_gamutclamp, bool cw_EXR_ZBuf, ZBufNormalization cw_EXR_ZBuf_normalizationtype, bool cw_PNG, OutputChannels cw_PNG_channels, bool cw_PNG_16bit, bool cw_PNG_gamutclamp, bool cw_PNG_ZBuf, ZBufNormalization cw_PNG_ZBuf_normalizationtype, bool cw_TGA, OutputChannels cw_TGA_channels, bool cw_TGA_gamutclamp, bool cw_TGA_ZBuf, ZBufNormalization cw_TGA_ZBuf_normalizationtype, bool w_resume_FLM, bool restart_resume_FLM, int haltspp, int halttime, int p_TonemapKernel, float p_ReinhardPreScale, float p_ReinhardPostScale, float p_ReinhardBurn, float p_LinearSensitivity, float p_LinearExposure, float p_LinearFStop, float p_LinearGamma, float p_ContrastDisplayAdaptionY, float p_Gamma, const float cs_red[2], const float cs_green[2], const float cs_blue[2], const float whitepoint[2], int reject_warmup, bool debugmode) | |
virtual | ~FlexImageFilm () |
virtual void | RequestBufferGroups (const vector< string > &bg) |
virtual int | RequestBuffer (BufferType type, BufferOutputConfig output, const string &filePostfix) |
virtual void | CreateBuffers () |
virtual u_int | GetNumBufferConfigs () const |
virtual const BufferConfig & | GetBufferConfig (u_int index) const |
virtual u_int | GetNumBufferGroups () const |
virtual void | SetGroupName (u_int index, const string &name) |
virtual string | GetGroupName (u_int index) const |
virtual void | SetGroupEnable (u_int index, bool status) |
virtual bool | GetGroupEnable (u_int index) const |
virtual void | SetGroupScale (u_int index, float value) |
virtual float | GetGroupScale (u_int index) const |
virtual void | SetGroupRGBScale (u_int index, const RGBColor &value) |
virtual RGBColor | GetGroupRGBScale (u_int index) const |
virtual void | SetGroupTemperature (u_int index, float value) |
virtual float | GetGroupTemperature (u_int index) const |
virtual void | ComputeGroupScale (u_int index) |
virtual u_int | GetXPixelCount () const |
virtual u_int | GetYPixelCount () const |
virtual void | GetSampleExtent (int *xstart, int *xend, int *ystart, int *yend) const |
virtual void | AddSample (Contribution *contrib) |
virtual void | AddSampleCount (float count) |
virtual void | WriteImage (ImageType type) |
virtual void | CheckWriteOuputInterval () |
virtual void | updateFrameBuffer () |
virtual unsigned char * | getFrameBuffer () |
virtual void | createFrameBuffer () |
virtual float | getldrDisplayInterval () |
virtual void | SetParameterValue (luxComponentParameters param, double value, int index) |
virtual double | GetParameterValue (luxComponentParameters param, int index) |
virtual double | GetDefaultParameterValue (luxComponentParameters param, int index) |
virtual void | SetStringParameterValue (luxComponentParameters param, const string &value, int index) |
virtual string | GetStringParameterValue (luxComponentParameters param, int index) |
virtual void | WriteFilm (const string &fname) |
virtual void | TransmitFilm (std::basic_ostream< char > &stream, bool clearBuffers=true, bool transmitParams=false) |
virtual float | UpdateFilm (std::basic_istream< char > &stream) |
Static Public Member Functions | |
static Film * | CreateFilm (const ParamSet ¶ms, Filter *filter) |
static Film * | CreateFilmFromFLM (const string &flmFileName) |
Private Member Functions | |
void | WriteImage2 (ImageType type, vector< XYZColor > &color, vector< float > &alpha, string postfix) |
void | WriteTGAImage (vector< RGBColor > &rgb, vector< float > &alpha, const string &filename) |
void | WritePNGImage (vector< RGBColor > &rgb, vector< float > &alpha, const string &filename) |
void | WriteEXRImage (vector< RGBColor > &rgb, vector< float > &alpha, const string &filename, vector< float > &zbuf) |
void | WriteResumeFilm (const string &filename) |
Static Private Member Functions | |
static void | GetColorspaceParam (const ParamSet ¶ms, const string name, float values[2]) |
Private Attributes | |
Filter * | filter |
int | writeInterval |
int | displayInterval |
int | clampMethod |
string | filename |
bool | premultiplyAlpha |
bool | buffersInited |
float | cropWindow [4] |
float * | filterTable |
int | xPixelStart |
int | yPixelStart |
int | xPixelCount |
int | yPixelCount |
double | reject_warmup_samples |
bool | write_EXR |
bool | write_EXR_halftype |
bool | write_EXR_applyimaging |
bool | write_EXR_gamutclamp |
bool | write_EXR_ZBuf |
bool | write_PNG |
bool | write_PNG_16bit |
bool | write_PNG_gamutclamp |
bool | write_PNG_ZBuf |
bool | write_TGA |
bool | write_TGA_gamutclamp |
bool | write_TGA_ZBuf |
int | write_EXR_compressiontype |
ZBufNormalization | write_EXR_ZBuf_normalizationtype |
OutputChannels | write_EXR_channels |
ZBufNormalization | write_PNG_ZBuf_normalizationtype |
OutputChannels | write_PNG_channels |
ZBufNormalization | write_TGA_ZBuf_normalizationtype |
OutputChannels | write_TGA_channels |
bool | use_Zbuf |
PerPixelNormalizedFloatBuffer * | ZBuffer |
bool | writeResumeFlm |
bool | restartResumeFlm |
unsigned char * | framebuffer |
boost::xtime | lastWriteImageTime |
bool | debug_mode |
std::vector< BufferConfig > | bufferConfigs |
std::vector< BufferGroup > | bufferGroups |
float | maxY |
double | warmupSamples |
bool | warmupComplete |
ColorSystem | colorSpace |
int | m_TonemapKernel |
int | d_TonemapKernel |
float | m_ReinhardPreScale |
float | d_ReinhardPreScale |
float | m_ReinhardPostScale |
float | d_ReinhardPostScale |
float | m_ReinhardBurn |
float | d_ReinhardBurn |
float | m_LinearSensitivity |
float | d_LinearSensitivity |
float | m_LinearExposure |
float | d_LinearExposure |
float | m_LinearFStop |
float | d_LinearFStop |
float | m_LinearGamma |
float | d_LinearGamma |
float | m_ContrastYwa |
float | d_ContrastYwa |
float | m_RGB_X_White |
float | d_RGB_X_White |
float | m_RGB_Y_White |
float | d_RGB_Y_White |
float | m_RGB_X_Red |
float | d_RGB_X_Red |
float | m_RGB_Y_Red |
float | d_RGB_Y_Red |
float | m_RGB_X_Green |
float | d_RGB_X_Green |
float | m_RGB_Y_Green |
float | d_RGB_Y_Green |
float | m_RGB_X_Blue |
float | d_RGB_X_Blue |
float | m_RGB_Y_Blue |
float | d_RGB_Y_Blue |
float | m_Gamma |
float | d_Gamma |
GREYCStorationParams | m_GREYCStorationParams |
GREYCStorationParams | d_GREYCStorationParams |
ChiuParams | m_chiuParams |
ChiuParams | d_chiuParams |
XYZColor * | m_bloomImage |
bool | m_BloomUpdateLayer |
bool | m_BloomDeleteLayer |
bool | m_HaveBloomImage |
float | m_BloomRadius |
float | d_BloomRadius |
float | m_BloomWeight |
float | d_BloomWeight |
bool | m_VignettingEnabled |
bool | d_VignettingEnabled |
float | m_VignettingScale |
float | d_VignettingScale |
bool | m_AberrationEnabled |
bool | d_AberrationEnabled |
float | m_AberrationAmount |
float | d_AberrationAmount |
XYZColor * | m_glareImage |
bool | m_GlareUpdateLayer |
bool | m_GlareDeleteLayer |
bool | m_HaveGlareImage |
float | m_GlareAmount |
float | d_GlareAmount |
float | m_GlareRadius |
float | d_GlareRadius |
int | m_GlareBlades |
int | d_GlareBlades |
bool | m_HistogramEnabled |
bool | d_HistogramEnabled |
Definition at line 38 of file fleximage.h.
Definition at line 40 of file fleximage.h.
Definition at line 41 of file fleximage.h.
FlexImageFilm::FlexImageFilm | ( | int | xres, | |
int | yres, | |||
Filter * | filt, | |||
const float | crop[4], | |||
const string & | filename1, | |||
bool | premult, | |||
int | wI, | |||
int | dI, | |||
int | cM, | |||
bool | cw_EXR, | |||
OutputChannels | cw_EXR_channels, | |||
bool | cw_EXR_halftype, | |||
int | cw_EXR_compressiontype, | |||
bool | cw_EXR_applyimaging, | |||
bool | cw_EXR_gamutclamp, | |||
bool | cw_EXR_ZBuf, | |||
ZBufNormalization | cw_EXR_ZBuf_normalizationtype, | |||
bool | cw_PNG, | |||
OutputChannels | cw_PNG_channels, | |||
bool | cw_PNG_16bit, | |||
bool | cw_PNG_gamutclamp, | |||
bool | cw_PNG_ZBuf, | |||
ZBufNormalization | cw_PNG_ZBuf_normalizationtype, | |||
bool | cw_TGA, | |||
OutputChannels | cw_TGA_channels, | |||
bool | cw_TGA_gamutclamp, | |||
bool | cw_TGA_ZBuf, | |||
ZBufNormalization | cw_TGA_ZBuf_normalizationtype, | |||
bool | w_resume_FLM, | |||
bool | restart_resume_FLM, | |||
int | haltspp, | |||
int | halttime, | |||
int | p_TonemapKernel, | |||
float | p_ReinhardPreScale, | |||
float | p_ReinhardPostScale, | |||
float | p_ReinhardBurn, | |||
float | p_LinearSensitivity, | |||
float | p_LinearExposure, | |||
float | p_LinearFStop, | |||
float | p_LinearGamma, | |||
float | p_ContrastDisplayAdaptionY, | |||
float | p_Gamma, | |||
const float | cs_red[2], | |||
const float | cs_green[2], | |||
const float | cs_blue[2], | |||
const float | whitepoint[2], | |||
int | reject_warmup, | |||
bool | debugmode | |||
) |
Definition at line 61 of file fleximage.cpp.
References Ceil2Int(), clampMethod, cropWindow, d_AberrationAmount, d_AberrationEnabled, d_BloomRadius, d_BloomWeight, d_chiuParams, d_ContrastYwa, d_Gamma, d_GlareAmount, d_GlareBlades, d_GlareRadius, d_GREYCStorationParams, d_HistogramEnabled, d_LinearExposure, d_LinearFStop, d_LinearGamma, d_LinearSensitivity, d_ReinhardBurn, d_ReinhardPostScale, d_ReinhardPreScale, d_RGB_X_Blue, d_RGB_X_Green, d_RGB_X_Red, d_RGB_X_White, d_RGB_Y_Blue, d_RGB_Y_Green, d_RGB_Y_Red, d_RGB_Y_White, d_TonemapKernel, d_VignettingEnabled, d_VignettingScale, debug_mode, lux::Filter::Evaluate(), filter, FILTER_TABLE_SIZE, filterTable, Floor2Int(), lastWriteImageTime, m_AberrationAmount, m_AberrationEnabled, m_BloomDeleteLayer, m_bloomImage, m_BloomRadius, m_BloomUpdateLayer, m_BloomWeight, m_chiuParams, m_ContrastYwa, m_Gamma, m_GlareAmount, m_GlareBlades, m_GlareDeleteLayer, m_glareImage, m_GlareRadius, m_GlareUpdateLayer, m_GREYCStorationParams, m_HaveBloomImage, m_HaveGlareImage, m_HistogramEnabled, m_LinearExposure, m_LinearFStop, m_LinearGamma, m_LinearSensitivity, m_ReinhardBurn, m_ReinhardPostScale, m_ReinhardPreScale, m_RGB_X_Blue, m_RGB_X_Green, m_RGB_X_Red, m_RGB_X_White, m_RGB_Y_Blue, m_RGB_Y_Green, m_RGB_Y_Red, m_RGB_Y_White, m_TonemapKernel, m_VignettingEnabled, m_VignettingScale, cimg_library::cimg::max(), maxY, memcpy(), reject_warmup_samples, lux::ChiuParams::Reset(), lux::GREYCStorationParams::Reset(), lux::Film::samplePerPass, use_Zbuf, warmupComplete, warmupSamples, write_EXR, write_EXR_applyimaging, write_EXR_channels, write_EXR_compressiontype, write_EXR_gamutclamp, write_EXR_halftype, write_EXR_ZBuf, write_EXR_ZBuf_normalizationtype, write_PNG, write_PNG_16bit, write_PNG_channels, write_PNG_gamutclamp, write_PNG_ZBuf, write_PNG_ZBuf_normalizationtype, write_TGA, write_TGA_channels, write_TGA_gamutclamp, write_TGA_ZBuf, write_TGA_ZBuf_normalizationtype, xPixelCount, xPixelStart, lux::Film::xResolution, lux::Filter::xWidth, yPixelCount, yPixelStart, lux::Film::yResolution, and lux::Filter::yWidth.
Referenced by CreateFilm().
virtual lux::FlexImageFilm::~FlexImageFilm | ( | ) | [inline, virtual] |
Definition at line 58 of file fleximage.h.
References filter, filterTable, framebuffer, use_Zbuf, and ZBuffer.
void FlexImageFilm::AddSample | ( | Contribution * | contrib | ) | [virtual] |
Implements lux::Film.
Definition at line 914 of file fleximage.cpp.
References lux::PerPixelNormalizedFloatBuffer::Add(), lux::Buffer::Add(), lux::Contribution::alpha, lux::Contribution::buffer, lux::Contribution::bufferGroup, bufferGroups, Ceil2Int(), CheckWriteOuputInterval(), lux::Contribution::color, debug_mode, filter, FILTER_TABLE_SIZE, filterTable, Floor2Int(), lux::BufferGroup::getBuffer(), lux::Contribution::imageX, lux::Contribution::imageY, lux::Filter::invXWidth, lux::Filter::invYWidth, lux::Color::IsNaN(), LUX_LIMIT, LUX_WARNING, luxError, cimg_library::cimg::max(), maxY, cimg_library::cimg::min(), premultiplyAlpha, reject_warmup_samples, use_Zbuf, lux::Contribution::variance, warmupComplete, warmupSamples, xPixelCount, xPixelStart, lux::Filter::xWidth, lux::XYZColor::Y(), yPixelCount, yPixelStart, lux::Filter::yWidth, ZBuffer, and lux::Contribution::zdepth.
void FlexImageFilm::AddSampleCount | ( | float | count | ) | [virtual] |
Implements lux::Film.
Definition at line 892 of file fleximage.cpp.
References bufferGroups, lux::Film::creationTime, lux::Film::enoughSamplePerPixel, lux::Film::haltSamplePerPixel, lux::Film::haltTime, and lux::Film::samplePerPass.
void FlexImageFilm::CheckWriteOuputInterval | ( | ) | [virtual] |
Implements lux::Film.
Definition at line 1006 of file fleximage.cpp.
References lux::IMAGE_FILEOUTPUT, lastWriteImageTime, WriteImage(), and writeInterval.
Referenced by AddSample().
void FlexImageFilm::ComputeGroupScale | ( | u_int | index | ) | [virtual] |
Definition at line 880 of file fleximage.cpp.
References bufferGroups, colorSpace, lux::ColorSystem::ToXYZ(), and lux::XYZColor::Y().
Referenced by SetGroupRGBScale(), SetGroupScale(), and SetGroupTemperature().
void FlexImageFilm::CreateBuffers | ( | ) | [virtual] |
Reimplemented from lux::Film.
Definition at line 790 of file fleximage.cpp.
References bufferConfigs, bufferGroups, filename, LUX_INFO, LUX_NOERROR, luxError, restartResumeFlm, UpdateFilm(), use_Zbuf, writeResumeFlm, xPixelCount, yPixelCount, and ZBuffer.
Definition at line 1936 of file fleximage.cpp.
References CameraStartEnd, Clamp(), clampMethod, cimg_library::crop(), debug_mode, displayInterval, filename, lux::ParamSet::FindFloat(), lux::ParamSet::FindOneBool(), lux::ParamSet::FindOneFloat(), lux::ParamSet::FindOneInt(), lux::ParamSet::FindOneString(), FlexImageFilm(), GetColorspaceParam(), LUX_BADTOKEN, LUX_WARNING, luxError, cimg_library::cimg::max(), cimg_library::cimg::min(), MinMax, None, premultiplyAlpha, RGB, RGBA, writeInterval, Y, and YA.
Referenced by CreateFilmFromFLM().
Film * FlexImageFilm::CreateFilmFromFLM | ( | const string & | flmFileName | ) | [static] |
Constructs an image film that loads its data from the give FLM file. This film is already initialized with the necessary buffers. This is currently only used for loading and tonemapping an existing FLM file.
Definition at line 2153 of file fleximage.cpp.
References lux::ParamSet::AddBool(), lux::ParamSet::AddInt(), lux::ParamSet::AddString(), lux::BUF_FRAMEBUFFER, bufferGroups, FlmHeader::bufferTypes, lux::Film::CreateBuffers(), CreateFilm(), filename, lux::MakeFilter(), FlmHeader::numBufferConfigs, FlmHeader::numBufferGroups, lux::osIsLittleEndian(), FlmHeader::Read(), lux::Film::RequestBuffer(), lux::Film::RequestBufferGroups(), FlmHeader::xResolution, and FlmHeader::yResolution.
Referenced by lux::Context::loadFLM().
void FlexImageFilm::createFrameBuffer | ( | ) | [virtual] |
Definition at line 1218 of file fleximage.cpp.
References framebuffer, xPixelCount, and yPixelCount.
Referenced by getFrameBuffer(), and updateFrameBuffer().
virtual const BufferConfig& lux::FlexImageFilm::GetBufferConfig | ( | u_int | index | ) | const [inline, virtual] |
Implements lux::Film.
Definition at line 70 of file fleximage.h.
References bufferConfigs.
Referenced by FlmHeader::Read().
void FlexImageFilm::GetColorspaceParam | ( | const ParamSet & | params, | |
const string | name, | |||
float | values[2] | |||
) | [static, private] |
Definition at line 1926 of file fleximage.cpp.
References lux::ParamSet::FindFloat().
Referenced by CreateFilm().
double FlexImageFilm::GetDefaultParameterValue | ( | luxComponentParameters | param, | |
int | index | |||
) | [virtual] |
Implements lux::Film.
Definition at line 572 of file fleximage.cpp.
References lux::GREYCStorationParams::alpha, lux::GREYCStorationParams::amplitude, lux::GREYCStorationParams::anisotropy, lux::GREYCStorationParams::btile, d_AberrationAmount, d_AberrationEnabled, d_BloomRadius, d_BloomWeight, d_chiuParams, d_ContrastYwa, d_Gamma, d_GlareAmount, d_GlareBlades, d_GlareRadius, d_GREYCStorationParams, d_HistogramEnabled, d_LinearExposure, d_LinearFStop, d_LinearGamma, d_LinearSensitivity, d_ReinhardBurn, d_ReinhardPostScale, d_ReinhardPreScale, d_RGB_X_Blue, d_RGB_X_Green, d_RGB_X_Red, d_RGB_X_White, d_RGB_Y_Blue, d_RGB_Y_Green, d_RGB_Y_Red, d_RGB_Y_White, d_TonemapKernel, d_VignettingEnabled, d_VignettingScale, lux::GREYCStorationParams::da, lux::GREYCStorationParams::dl, lux::GREYCStorationParams::enabled, lux::ChiuParams::enabled, lux::GREYCStorationParams::fast_approx, lux::GREYCStorationParams::gauss_prec, lux::ChiuParams::includecenter, lux::GREYCStorationParams::interp, LUX_FILM_ABERRATION_AMOUNT, LUX_FILM_ABERRATION_ENABLED, LUX_FILM_BLOOMRADIUS, LUX_FILM_BLOOMWEIGHT, LUX_FILM_GLARE_AMOUNT, LUX_FILM_GLARE_BLADES, LUX_FILM_GLARE_RADIUS, LUX_FILM_HISTOGRAM_ENABLED, LUX_FILM_LG_ENABLE, LUX_FILM_LG_SCALE, LUX_FILM_LG_SCALE_BLUE, LUX_FILM_LG_SCALE_GREEN, LUX_FILM_LG_SCALE_RED, LUX_FILM_LG_TEMPERATURE, LUX_FILM_NOISE_CHIU_ENABLED, LUX_FILM_NOISE_CHIU_INCLUDECENTER, LUX_FILM_NOISE_CHIU_RADIUS, LUX_FILM_NOISE_GREYC_ALPHA, LUX_FILM_NOISE_GREYC_AMPLITUDE, LUX_FILM_NOISE_GREYC_ANISOTROPY, LUX_FILM_NOISE_GREYC_BTILE, LUX_FILM_NOISE_GREYC_DA, LUX_FILM_NOISE_GREYC_DL, LUX_FILM_NOISE_GREYC_ENABLED, LUX_FILM_NOISE_GREYC_FASTAPPROX, LUX_FILM_NOISE_GREYC_GAUSSPREC, LUX_FILM_NOISE_GREYC_INTERP, LUX_FILM_NOISE_GREYC_NBITER, LUX_FILM_NOISE_GREYC_SHARPNESS, LUX_FILM_NOISE_GREYC_SIGMA, LUX_FILM_NOISE_GREYC_THREADS, LUX_FILM_NOISE_GREYC_TILE, LUX_FILM_TM_CONTRAST_YWA, LUX_FILM_TM_LINEAR_EXPOSURE, LUX_FILM_TM_LINEAR_FSTOP, LUX_FILM_TM_LINEAR_GAMMA, LUX_FILM_TM_LINEAR_SENSITIVITY, LUX_FILM_TM_REINHARD_BURN, LUX_FILM_TM_REINHARD_POSTSCALE, LUX_FILM_TM_REINHARD_PRESCALE, LUX_FILM_TM_TONEMAPKERNEL, LUX_FILM_TORGB_GAMMA, LUX_FILM_TORGB_X_BLUE, LUX_FILM_TORGB_X_GREEN, LUX_FILM_TORGB_X_RED, LUX_FILM_TORGB_X_WHITE, LUX_FILM_TORGB_Y_BLUE, LUX_FILM_TORGB_Y_GREEN, LUX_FILM_TORGB_Y_RED, LUX_FILM_TORGB_Y_WHITE, LUX_FILM_VIGNETTING_ENABLED, LUX_FILM_VIGNETTING_SCALE, lux::GREYCStorationParams::nb_iter, lux::ChiuParams::radius, lux::GREYCStorationParams::sharpness, lux::GREYCStorationParams::sigma, lux::GREYCStorationParams::threads, and lux::GREYCStorationParams::tile.
unsigned char * FlexImageFilm::getFrameBuffer | ( | ) | [virtual] |
Implements lux::Film.
Definition at line 1235 of file fleximage.cpp.
References createFrameBuffer(), and framebuffer.
bool FlexImageFilm::GetGroupEnable | ( | u_int | index | ) | const [virtual] |
Implements lux::Film.
Definition at line 835 of file fleximage.cpp.
References bufferGroups.
Referenced by GetParameterValue().
string FlexImageFilm::GetGroupName | ( | u_int | index | ) | const [virtual] |
Implements lux::Film.
Definition at line 823 of file fleximage.cpp.
References bufferGroups.
Referenced by GetStringParameterValue().
Implements lux::Film.
Definition at line 861 of file fleximage.cpp.
References bufferGroups.
Referenced by GetParameterValue(), and SetParameterValue().
float FlexImageFilm::GetGroupScale | ( | u_int | index | ) | const [virtual] |
Implements lux::Film.
Definition at line 848 of file fleximage.cpp.
References bufferGroups.
Referenced by GetParameterValue().
float FlexImageFilm::GetGroupTemperature | ( | u_int | index | ) | const [virtual] |
Implements lux::Film.
Definition at line 874 of file fleximage.cpp.
References bufferGroups.
Referenced by GetParameterValue().
virtual float lux::FlexImageFilm::getldrDisplayInterval | ( | ) | [inline, virtual] |
virtual u_int lux::FlexImageFilm::GetNumBufferConfigs | ( | ) | const [inline, virtual] |
Implements lux::Film.
Definition at line 69 of file fleximage.h.
References bufferConfigs.
Referenced by FlmHeader::Read().
virtual u_int lux::FlexImageFilm::GetNumBufferGroups | ( | ) | const [inline, virtual] |
Implements lux::Film.
Definition at line 71 of file fleximage.h.
References bufferGroups.
Referenced by GetParameterValue(), FlmHeader::Read(), and TransmitFilm().
double FlexImageFilm::GetParameterValue | ( | luxComponentParameters | param, | |
int | index | |||
) | [virtual] |
Implements lux::Film.
Definition at line 392 of file fleximage.cpp.
References lux::GREYCStorationParams::alpha, lux::GREYCStorationParams::amplitude, lux::GREYCStorationParams::anisotropy, lux::GREYCStorationParams::btile, lux::Color::c, lux::GREYCStorationParams::da, lux::GREYCStorationParams::dl, lux::GREYCStorationParams::enabled, lux::ChiuParams::enabled, lux::GREYCStorationParams::fast_approx, lux::GREYCStorationParams::gauss_prec, GetGroupEnable(), GetGroupRGBScale(), GetGroupScale(), GetGroupTemperature(), GetNumBufferGroups(), lux::ChiuParams::includecenter, lux::GREYCStorationParams::interp, LUX_FILM_ABERRATION_AMOUNT, LUX_FILM_ABERRATION_ENABLED, LUX_FILM_BLOOMRADIUS, LUX_FILM_BLOOMWEIGHT, LUX_FILM_GLARE_AMOUNT, LUX_FILM_GLARE_BLADES, LUX_FILM_GLARE_RADIUS, LUX_FILM_HISTOGRAM_ENABLED, LUX_FILM_LG_COUNT, LUX_FILM_LG_ENABLE, LUX_FILM_LG_SCALE, LUX_FILM_LG_SCALE_BLUE, LUX_FILM_LG_SCALE_GREEN, LUX_FILM_LG_SCALE_RED, LUX_FILM_LG_TEMPERATURE, LUX_FILM_NOISE_CHIU_ENABLED, LUX_FILM_NOISE_CHIU_INCLUDECENTER, LUX_FILM_NOISE_CHIU_RADIUS, LUX_FILM_NOISE_GREYC_ALPHA, LUX_FILM_NOISE_GREYC_AMPLITUDE, LUX_FILM_NOISE_GREYC_ANISOTROPY, LUX_FILM_NOISE_GREYC_BTILE, LUX_FILM_NOISE_GREYC_DA, LUX_FILM_NOISE_GREYC_DL, LUX_FILM_NOISE_GREYC_ENABLED, LUX_FILM_NOISE_GREYC_FASTAPPROX, LUX_FILM_NOISE_GREYC_GAUSSPREC, LUX_FILM_NOISE_GREYC_INTERP, LUX_FILM_NOISE_GREYC_NBITER, LUX_FILM_NOISE_GREYC_SHARPNESS, LUX_FILM_NOISE_GREYC_SIGMA, LUX_FILM_NOISE_GREYC_THREADS, LUX_FILM_NOISE_GREYC_TILE, LUX_FILM_TM_CONTRAST_YWA, LUX_FILM_TM_LINEAR_EXPOSURE, LUX_FILM_TM_LINEAR_FSTOP, LUX_FILM_TM_LINEAR_GAMMA, LUX_FILM_TM_LINEAR_SENSITIVITY, LUX_FILM_TM_REINHARD_BURN, LUX_FILM_TM_REINHARD_POSTSCALE, LUX_FILM_TM_REINHARD_PRESCALE, LUX_FILM_TM_TONEMAPKERNEL, LUX_FILM_TORGB_GAMMA, LUX_FILM_TORGB_X_BLUE, LUX_FILM_TORGB_X_GREEN, LUX_FILM_TORGB_X_RED, LUX_FILM_TORGB_X_WHITE, LUX_FILM_TORGB_Y_BLUE, LUX_FILM_TORGB_Y_GREEN, LUX_FILM_TORGB_Y_RED, LUX_FILM_TORGB_Y_WHITE, LUX_FILM_VIGNETTING_ENABLED, LUX_FILM_VIGNETTING_SCALE, m_AberrationAmount, m_AberrationEnabled, m_BloomRadius, m_BloomWeight, m_chiuParams, m_ContrastYwa, m_Gamma, m_GlareAmount, m_GlareBlades, m_GlareRadius, m_GREYCStorationParams, m_HistogramEnabled, m_LinearExposure, m_LinearFStop, m_LinearGamma, m_LinearSensitivity, m_ReinhardBurn, m_ReinhardPostScale, m_ReinhardPreScale, m_RGB_X_Blue, m_RGB_X_Green, m_RGB_X_Red, m_RGB_X_White, m_RGB_Y_Blue, m_RGB_Y_Green, m_RGB_Y_Red, m_RGB_Y_White, m_TonemapKernel, m_VignettingEnabled, m_VignettingScale, lux::GREYCStorationParams::nb_iter, lux::ChiuParams::radius, lux::GREYCStorationParams::sharpness, lux::GREYCStorationParams::sigma, lux::GREYCStorationParams::threads, and lux::GREYCStorationParams::tile.
Referenced by FlmParameter::FlmParameter().
void FlexImageFilm::GetSampleExtent | ( | int * | xstart, | |
int * | xend, | |||
int * | ystart, | |||
int * | yend | |||
) | const [virtual] |
Implements lux::Film.
Definition at line 768 of file fleximage.cpp.
References filter, Floor2Int(), xPixelCount, xPixelStart, lux::Filter::xWidth, yPixelCount, yPixelStart, and lux::Filter::yWidth.
string FlexImageFilm::GetStringParameterValue | ( | luxComponentParameters | param, | |
int | index | |||
) | [virtual] |
Implements lux::Film.
Definition at line 758 of file fleximage.cpp.
References GetGroupName(), and LUX_FILM_LG_NAME.
Referenced by FlmParameter::FlmParameter().
virtual u_int lux::FlexImageFilm::GetXPixelCount | ( | ) | const [inline, virtual] |
Implements lux::Film.
Definition at line 84 of file fleximage.h.
References xPixelCount.
Referenced by FlmHeader::Read(), and TransmitFilm().
virtual u_int lux::FlexImageFilm::GetYPixelCount | ( | ) | const [inline, virtual] |
Implements lux::Film.
Definition at line 85 of file fleximage.h.
References yPixelCount.
Referenced by FlmHeader::Read(), and TransmitFilm().
int FlexImageFilm::RequestBuffer | ( | BufferType | type, | |
BufferOutputConfig | output, | |||
const string & | filePostfix | |||
) | [virtual] |
void FlexImageFilm::RequestBufferGroups | ( | const vector< string > & | bg | ) | [virtual] |
void FlexImageFilm::SetGroupEnable | ( | u_int | index, | |
bool | status | |||
) | [virtual] |
Implements lux::Film.
Definition at line 829 of file fleximage.cpp.
References bufferGroups.
Referenced by SetParameterValue().
void FlexImageFilm::SetGroupName | ( | u_int | index, | |
const string & | name | |||
) | [virtual] |
Definition at line 817 of file fleximage.cpp.
References bufferGroups.
Referenced by SetStringParameterValue().
Implements lux::Film.
Definition at line 854 of file fleximage.cpp.
References bufferGroups, and ComputeGroupScale().
Referenced by SetParameterValue().
void FlexImageFilm::SetGroupScale | ( | u_int | index, | |
float | value | |||
) | [virtual] |
Implements lux::Film.
Definition at line 841 of file fleximage.cpp.
References bufferGroups, and ComputeGroupScale().
Referenced by SetParameterValue().
void FlexImageFilm::SetGroupTemperature | ( | u_int | index, | |
float | value | |||
) | [virtual] |
Implements lux::Film.
Definition at line 867 of file fleximage.cpp.
References bufferGroups, and ComputeGroupScale().
Referenced by SetParameterValue().
void FlexImageFilm::SetParameterValue | ( | luxComponentParameters | param, | |
double | value, | |||
int | index | |||
) | [virtual] |
Implements lux::Film.
Definition at line 194 of file fleximage.cpp.
References lux::GREYCStorationParams::alpha, lux::GREYCStorationParams::amplitude, lux::GREYCStorationParams::anisotropy, lux::GREYCStorationParams::btile, lux::Color::c, lux::GREYCStorationParams::da, lux::GREYCStorationParams::dl, lux::GREYCStorationParams::enabled, lux::ChiuParams::enabled, lux::GREYCStorationParams::fast_approx, Floor2Int(), lux::GREYCStorationParams::gauss_prec, GetGroupRGBScale(), lux::ChiuParams::includecenter, lux::GREYCStorationParams::interp, LUX_FILM_ABERRATION_AMOUNT, LUX_FILM_ABERRATION_ENABLED, LUX_FILM_BLOOMRADIUS, LUX_FILM_BLOOMWEIGHT, LUX_FILM_DELETEBLOOMLAYER, LUX_FILM_DELETEGLARELAYER, LUX_FILM_GLARE_AMOUNT, LUX_FILM_GLARE_BLADES, LUX_FILM_GLARE_RADIUS, LUX_FILM_HISTOGRAM_ENABLED, LUX_FILM_LG_ENABLE, LUX_FILM_LG_SCALE, LUX_FILM_LG_SCALE_BLUE, LUX_FILM_LG_SCALE_GREEN, LUX_FILM_LG_SCALE_RED, LUX_FILM_LG_TEMPERATURE, LUX_FILM_NOISE_CHIU_ENABLED, LUX_FILM_NOISE_CHIU_INCLUDECENTER, LUX_FILM_NOISE_CHIU_RADIUS, LUX_FILM_NOISE_GREYC_ALPHA, LUX_FILM_NOISE_GREYC_AMPLITUDE, LUX_FILM_NOISE_GREYC_ANISOTROPY, LUX_FILM_NOISE_GREYC_BTILE, LUX_FILM_NOISE_GREYC_DA, LUX_FILM_NOISE_GREYC_DL, LUX_FILM_NOISE_GREYC_ENABLED, LUX_FILM_NOISE_GREYC_FASTAPPROX, LUX_FILM_NOISE_GREYC_GAUSSPREC, LUX_FILM_NOISE_GREYC_INTERP, LUX_FILM_NOISE_GREYC_NBITER, LUX_FILM_NOISE_GREYC_SHARPNESS, LUX_FILM_NOISE_GREYC_SIGMA, LUX_FILM_NOISE_GREYC_THREADS, LUX_FILM_NOISE_GREYC_TILE, LUX_FILM_TM_CONTRAST_YWA, LUX_FILM_TM_LINEAR_EXPOSURE, LUX_FILM_TM_LINEAR_FSTOP, LUX_FILM_TM_LINEAR_GAMMA, LUX_FILM_TM_LINEAR_SENSITIVITY, LUX_FILM_TM_REINHARD_BURN, LUX_FILM_TM_REINHARD_POSTSCALE, LUX_FILM_TM_REINHARD_PRESCALE, LUX_FILM_TM_TONEMAPKERNEL, LUX_FILM_TORGB_GAMMA, LUX_FILM_TORGB_X_BLUE, LUX_FILM_TORGB_X_GREEN, LUX_FILM_TORGB_X_RED, LUX_FILM_TORGB_X_WHITE, LUX_FILM_TORGB_Y_BLUE, LUX_FILM_TORGB_Y_GREEN, LUX_FILM_TORGB_Y_RED, LUX_FILM_TORGB_Y_WHITE, LUX_FILM_UPDATEBLOOMLAYER, LUX_FILM_UPDATEGLARELAYER, LUX_FILM_VIGNETTING_ENABLED, LUX_FILM_VIGNETTING_SCALE, m_AberrationAmount, m_AberrationEnabled, m_BloomDeleteLayer, m_BloomRadius, m_BloomUpdateLayer, m_BloomWeight, m_chiuParams, m_ContrastYwa, m_Gamma, m_GlareAmount, m_GlareBlades, m_GlareDeleteLayer, m_GlareRadius, m_GlareUpdateLayer, m_GREYCStorationParams, m_HistogramEnabled, m_LinearExposure, m_LinearFStop, m_LinearGamma, m_LinearSensitivity, m_ReinhardBurn, m_ReinhardPostScale, m_ReinhardPreScale, m_RGB_X_Blue, m_RGB_X_Green, m_RGB_X_Red, m_RGB_X_White, m_RGB_Y_Blue, m_RGB_Y_Green, m_RGB_Y_Red, m_RGB_Y_White, m_TonemapKernel, m_VignettingEnabled, m_VignettingScale, lux::GREYCStorationParams::nb_iter, lux::ChiuParams::radius, SetGroupEnable(), SetGroupRGBScale(), SetGroupScale(), SetGroupTemperature(), lux::GREYCStorationParams::sharpness, lux::GREYCStorationParams::sigma, lux::GREYCStorationParams::threads, and lux::GREYCStorationParams::tile.
Referenced by FlmParameter::Set().
void FlexImageFilm::SetStringParameterValue | ( | luxComponentParameters | param, | |
const string & | value, | |||
int | index | |||
) | [virtual] |
Implements lux::Film.
Definition at line 750 of file fleximage.cpp.
References LUX_FILM_LG_NAME, and SetGroupName().
Referenced by FlmParameter::Set().
void FlexImageFilm::TransmitFilm | ( | std::basic_ostream< char > & | stream, | |
bool | clearBuffers = true , |
|||
bool | transmitParams = false | |||
) | [virtual] |
Implements lux::Film.
Definition at line 1650 of file fleximage.cpp.
References lux::Pixel::alpha, bufferConfigs, bufferGroups, FlmHeader::bufferTypes, lux::Color::c, lux::Buffer::Clear(), FLM_PARAMETER_TYPE_FLOAT, FLM_PARAMETER_TYPE_STRING, lux::BufferGroup::getBuffer(), GetNumBufferGroups(), GetXPixelCount(), GetYPixelCount(), lux::Pixel::L, LUX_DEBUG, LUX_FILM_ABERRATION_AMOUNT, LUX_FILM_ABERRATION_ENABLED, LUX_FILM_BLOOMRADIUS, LUX_FILM_BLOOMWEIGHT, LUX_FILM_DELETEBLOOMLAYER, LUX_FILM_DELETEGLARELAYER, LUX_FILM_GLARE_AMOUNT, LUX_FILM_GLARE_BLADES, LUX_FILM_GLARE_RADIUS, LUX_FILM_LG_ENABLE, LUX_FILM_LG_NAME, LUX_FILM_LG_SCALE, LUX_FILM_LG_SCALE_BLUE, LUX_FILM_LG_SCALE_GREEN, LUX_FILM_LG_SCALE_RED, LUX_FILM_LG_TEMPERATURE, LUX_FILM_NOISE_CHIU_ENABLED, LUX_FILM_NOISE_CHIU_INCLUDECENTER, LUX_FILM_NOISE_CHIU_RADIUS, LUX_FILM_NOISE_GREYC_ALPHA, LUX_FILM_NOISE_GREYC_AMPLITUDE, LUX_FILM_NOISE_GREYC_ANISOTROPY, LUX_FILM_NOISE_GREYC_BTILE, LUX_FILM_NOISE_GREYC_DA, LUX_FILM_NOISE_GREYC_DL, LUX_FILM_NOISE_GREYC_ENABLED, LUX_FILM_NOISE_GREYC_FASTAPPROX, LUX_FILM_NOISE_GREYC_GAUSSPREC, LUX_FILM_NOISE_GREYC_INTERP, LUX_FILM_NOISE_GREYC_NBITER, LUX_FILM_NOISE_GREYC_SHARPNESS, LUX_FILM_NOISE_GREYC_SIGMA, LUX_FILM_NOISE_GREYC_THREADS, LUX_FILM_NOISE_GREYC_TILE, LUX_FILM_TM_CONTRAST_YWA, LUX_FILM_TM_LINEAR_EXPOSURE, LUX_FILM_TM_LINEAR_FSTOP, LUX_FILM_TM_LINEAR_GAMMA, LUX_FILM_TM_LINEAR_SENSITIVITY, LUX_FILM_TM_REINHARD_BURN, LUX_FILM_TM_REINHARD_POSTSCALE, LUX_FILM_TM_REINHARD_PRESCALE, LUX_FILM_TM_TONEMAPKERNEL, LUX_FILM_TORGB_GAMMA, LUX_FILM_TORGB_X_BLUE, LUX_FILM_TORGB_X_GREEN, LUX_FILM_TORGB_X_RED, LUX_FILM_TORGB_X_WHITE, LUX_FILM_TORGB_Y_BLUE, LUX_FILM_TORGB_Y_GREEN, LUX_FILM_TORGB_Y_RED, LUX_FILM_TORGB_Y_WHITE, LUX_FILM_UPDATEBLOOMLAYER, LUX_FILM_UPDATEGLARELAYER, LUX_FILM_VIGNETTING_ENABLED, LUX_FILM_VIGNETTING_SCALE, LUX_INFO, LUX_NOERROR, LUX_SEVERE, LUX_SYSTEM, luxError, FlmHeader::magicNumber, lux::BufferGroup::numberOfSamples, FlmHeader::numBufferConfigs, FlmHeader::numBufferGroups, FlmHeader::numParams, lux::osIsLittleEndian(), lux::osWriteLittleEndianDouble(), lux::osWriteLittleEndianFloat(), FlmHeader::params, lux::Buffer::pixels, BlockedArray< T, logBlockSize >::uSize(), FlmHeader::versionNumber, BlockedArray< T, logBlockSize >::vSize(), lux::Pixel::weightSum, FlmHeader::Write(), FlmHeader::xResolution, and FlmHeader::yResolution.
Referenced by WriteResumeFilm().
float FlexImageFilm::UpdateFilm | ( | std::basic_istream< char > & | stream | ) | [virtual] |
Implements lux::Film.
Definition at line 1817 of file fleximage.cpp.
References lux::Pixel::alpha, bufferConfigs, bufferGroups, lux::Color::c, lux::Film::enoughSamplePerPixel, lux::BufferGroup::getBuffer(), lux::Film::haltSamplePerPixel, lux::Pixel::L, LUX_DEBUG, LUX_ERROR, LUX_NOERROR, LUX_SYSTEM, luxError, cimg_library::cimg::max(), lux::BufferGroup::numberOfSamples, lux::Scene::numberOfSamplesFromNetwork, lux::osIsLittleEndian(), lux::osReadLittleEndianDouble(), lux::osReadLittleEndianFloat(), lux::Buffer::pixels, lux::Film::samplePerPass, lux::Film::scene, BlockedArray< T, logBlockSize >::uSize(), BlockedArray< T, logBlockSize >::vSize(), lux::Pixel::weightSum, lux::Buffer::xPixelCount, and lux::Buffer::yPixelCount.
Referenced by CreateBuffers().
void FlexImageFilm::updateFrameBuffer | ( | ) | [virtual] |
Implements lux::Film.
Definition at line 1227 of file fleximage.cpp.
References createFrameBuffer(), framebuffer, lux::IMAGE_FRAMEBUFFER, and WriteImage().
void FlexImageFilm::WriteEXRImage | ( | vector< RGBColor > & | rgb, | |
vector< float > & | alpha, | |||
const string & | filename, | |||
vector< float > & | zbuf | |||
) | [private] |
Definition at line 1283 of file fleximage.cpp.
References CameraStartEnd, LUX_INFO, LUX_NOERROR, luxError, cimg_library::cimg::max(), cimg_library::cimg::min(), MinMax, write_EXR_channels, write_EXR_compressiontype, write_EXR_halftype, write_EXR_ZBuf, write_EXR_ZBuf_normalizationtype, lux::WriteOpenEXRImage(), xPixelCount, xPixelStart, lux::Film::xResolution, yPixelCount, yPixelStart, and lux::Film::yResolution.
Referenced by WriteImage2().
virtual void lux::FlexImageFilm::WriteFilm | ( | const string & | fname | ) | [inline, virtual] |
void FlexImageFilm::WriteImage | ( | ImageType | type | ) | [virtual] |
Implements lux::Film.
Definition at line 1150 of file fleximage.cpp.
References lux::BUF_FRAMEBUFFER, lux::BUF_STANDALONE, bufferConfigs, bufferGroups, lux::Film::EV, cimg_library::fill(), lux::Buffer::GetData(), p, WriteImage2(), xPixelCount, Y, and yPixelCount.
Referenced by CheckWriteOuputInterval(), and updateFrameBuffer().
void FlexImageFilm::WriteImage2 | ( | ImageType | type, | |
vector< XYZColor > & | color, | |||
vector< float > & | alpha, | |||
string | postfix | |||
) | [private] |
Definition at line 1023 of file fleximage.cpp.
References lux::ParamSet::AddFloat(), lux::ApplyImagingPipeline(), Clamp(), clampMethod, colorSpace, filename, framebuffer, lux::PerPixelNormalizedFloatBuffer::GetData(), lux::Film::histogram, lux::IMAGE_FILEOUTPUT, lux::IMAGE_FRAMEBUFFER, lux::ColorSystem::Limit(), m_AberrationAmount, m_AberrationEnabled, m_BloomDeleteLayer, m_bloomImage, m_BloomRadius, m_BloomUpdateLayer, m_BloomWeight, m_chiuParams, m_ContrastYwa, m_Gamma, m_GlareAmount, m_GlareBlades, m_GlareDeleteLayer, m_glareImage, m_GlareRadius, m_GlareUpdateLayer, m_GREYCStorationParams, m_HaveBloomImage, m_HaveGlareImage, m_HistogramEnabled, m_LinearExposure, m_LinearFStop, m_LinearGamma, m_LinearSensitivity, m_ReinhardBurn, m_ReinhardPostScale, m_ReinhardPreScale, m_RGB_X_Blue, m_RGB_X_Green, m_RGB_X_Red, m_RGB_X_White, m_RGB_Y_Blue, m_RGB_Y_Green, m_RGB_Y_Red, m_RGB_Y_White, m_TonemapKernel, m_VignettingEnabled, m_VignettingScale, lux::ColorSystem::ToRGBConstrained(), use_Zbuf, write_EXR, write_EXR_applyimaging, write_EXR_ZBuf, write_PNG, write_PNG_ZBuf, write_TGA, write_TGA_ZBuf, WriteEXRImage(), WritePNGImage(), WriteResumeFilm(), writeResumeFlm, WriteTGAImage(), xPixelCount, yPixelCount, and ZBuffer.
Referenced by WriteImage().
void FlexImageFilm::WritePNGImage | ( | vector< RGBColor > & | rgb, | |
vector< float > & | alpha, | |||
const string & | filename | |||
) | [private] |
Definition at line 1273 of file fleximage.cpp.
References colorSpace, LUX_INFO, LUX_NOERROR, luxError, m_Gamma, write_PNG_16bit, write_PNG_channels, write_PNG_ZBuf, lux::WritePngImage(), xPixelCount, xPixelStart, lux::Film::xResolution, yPixelCount, yPixelStart, and lux::Film::yResolution.
Referenced by WriteImage2().
void FlexImageFilm::WriteResumeFilm | ( | const string & | filename | ) | [private] |
Definition at line 1243 of file fleximage.cpp.
References LUX_INFO, LUX_NOERROR, LUX_SEVERE, LUX_SYSTEM, luxError, and TransmitFilm().
Referenced by WriteFilm(), and WriteImage2().
void FlexImageFilm::WriteTGAImage | ( | vector< RGBColor > & | rgb, | |
vector< float > & | alpha, | |||
const string & | filename | |||
) | [private] |
Definition at line 1263 of file fleximage.cpp.
References LUX_INFO, LUX_NOERROR, luxError, write_TGA_channels, write_TGA_ZBuf, lux::WriteTargaImage(), xPixelCount, xPixelStart, lux::Film::xResolution, yPixelCount, yPixelStart, and lux::Film::yResolution.
Referenced by WriteImage2().
std::vector<BufferConfig> lux::FlexImageFilm::bufferConfigs [private] |
Definition at line 166 of file fleximage.h.
Referenced by CreateBuffers(), GetBufferConfig(), GetNumBufferConfigs(), RequestBuffer(), TransmitFilm(), UpdateFilm(), and WriteImage().
std::vector<BufferGroup> lux::FlexImageFilm::bufferGroups [private] |
Definition at line 167 of file fleximage.h.
Referenced by AddSample(), AddSampleCount(), ComputeGroupScale(), CreateBuffers(), CreateFilmFromFLM(), GetGroupEnable(), GetGroupName(), GetGroupRGBScale(), GetGroupScale(), GetGroupTemperature(), GetNumBufferGroups(), RequestBufferGroups(), SetGroupEnable(), SetGroupName(), SetGroupRGBScale(), SetGroupScale(), SetGroupTemperature(), TransmitFilm(), UpdateFilm(), and WriteImage().
bool lux::FlexImageFilm::buffersInited [private] |
Definition at line 136 of file fleximage.h.
int lux::FlexImageFilm::clampMethod [private] |
Definition at line 134 of file fleximage.h.
Referenced by CreateFilm(), FlexImageFilm(), and WriteImage2().
ColorSystem lux::FlexImageFilm::colorSpace [private] |
Definition at line 172 of file fleximage.h.
Referenced by ComputeGroupScale(), WriteImage2(), and WritePNGImage().
float lux::FlexImageFilm::cropWindow[4] [private] |
Definition at line 137 of file fleximage.h.
Referenced by FlexImageFilm().
float lux::FlexImageFilm::d_AberrationAmount [private] |
Definition at line 207 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
bool lux::FlexImageFilm::d_AberrationEnabled [private] |
Definition at line 206 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
float lux::FlexImageFilm::d_BloomRadius [private] |
Definition at line 200 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
float lux::FlexImageFilm::d_BloomWeight [private] |
Definition at line 201 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
ChiuParams lux::FlexImageFilm::d_chiuParams [private] |
Definition at line 194 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
float lux::FlexImageFilm::d_ContrastYwa [private] |
Definition at line 182 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
float lux::FlexImageFilm::d_Gamma [private] |
Definition at line 191 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
float lux::FlexImageFilm::d_GlareAmount [private] |
Definition at line 213 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
int lux::FlexImageFilm::d_GlareBlades [private] |
Definition at line 215 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
float lux::FlexImageFilm::d_GlareRadius [private] |
Definition at line 214 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
Definition at line 193 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
bool lux::FlexImageFilm::d_HistogramEnabled [private] |
Definition at line 217 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
float lux::FlexImageFilm::d_LinearExposure [private] |
Definition at line 179 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
float lux::FlexImageFilm::d_LinearFStop [private] |
Definition at line 180 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
float lux::FlexImageFilm::d_LinearGamma [private] |
Definition at line 181 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
float lux::FlexImageFilm::d_LinearSensitivity [private] |
Definition at line 178 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
float lux::FlexImageFilm::d_ReinhardBurn [private] |
Definition at line 177 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
float lux::FlexImageFilm::d_ReinhardPostScale [private] |
Definition at line 176 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
float lux::FlexImageFilm::d_ReinhardPreScale [private] |
Definition at line 175 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
float lux::FlexImageFilm::d_RGB_X_Blue [private] |
Definition at line 189 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
float lux::FlexImageFilm::d_RGB_X_Green [private] |
Definition at line 187 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
float lux::FlexImageFilm::d_RGB_X_Red [private] |
Definition at line 185 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
float lux::FlexImageFilm::d_RGB_X_White [private] |
Definition at line 183 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
float lux::FlexImageFilm::d_RGB_Y_Blue [private] |
Definition at line 190 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
float lux::FlexImageFilm::d_RGB_Y_Green [private] |
Definition at line 188 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
float lux::FlexImageFilm::d_RGB_Y_Red [private] |
Definition at line 186 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
float lux::FlexImageFilm::d_RGB_Y_White [private] |
Definition at line 184 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
int lux::FlexImageFilm::d_TonemapKernel [private] |
Definition at line 174 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
bool lux::FlexImageFilm::d_VignettingEnabled [private] |
Definition at line 203 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
float lux::FlexImageFilm::d_VignettingScale [private] |
Definition at line 204 of file fleximage.h.
Referenced by FlexImageFilm(), and GetDefaultParameterValue().
bool lux::FlexImageFilm::debug_mode [private] |
Definition at line 164 of file fleximage.h.
Referenced by AddSample(), CreateFilm(), and FlexImageFilm().
int lux::FlexImageFilm::displayInterval [private] |
Definition at line 133 of file fleximage.h.
Referenced by CreateFilm(), and getldrDisplayInterval().
string lux::FlexImageFilm::filename [private] |
Definition at line 135 of file fleximage.h.
Referenced by CreateBuffers(), CreateFilm(), CreateFilmFromFLM(), and WriteImage2().
Filter* lux::FlexImageFilm::filter [private] |
Definition at line 131 of file fleximage.h.
Referenced by AddSample(), FlexImageFilm(), GetSampleExtent(), and ~FlexImageFilm().
float * lux::FlexImageFilm::filterTable [private] |
Definition at line 137 of file fleximage.h.
Referenced by AddSample(), FlexImageFilm(), and ~FlexImageFilm().
unsigned char* lux::FlexImageFilm::framebuffer [private] |
Definition at line 160 of file fleximage.h.
Referenced by createFrameBuffer(), getFrameBuffer(), updateFrameBuffer(), WriteImage2(), and ~FlexImageFilm().
boost::xtime lux::FlexImageFilm::lastWriteImageTime [private] |
Definition at line 162 of file fleximage.h.
Referenced by CheckWriteOuputInterval(), and FlexImageFilm().
float lux::FlexImageFilm::m_AberrationAmount [private] |
Definition at line 207 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
bool lux::FlexImageFilm::m_AberrationEnabled [private] |
Definition at line 206 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
bool lux::FlexImageFilm::m_BloomDeleteLayer [private] |
Definition at line 198 of file fleximage.h.
Referenced by FlexImageFilm(), SetParameterValue(), and WriteImage2().
XYZColor* lux::FlexImageFilm::m_bloomImage [private] |
Definition at line 196 of file fleximage.h.
Referenced by FlexImageFilm(), and WriteImage2().
float lux::FlexImageFilm::m_BloomRadius [private] |
Definition at line 200 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
bool lux::FlexImageFilm::m_BloomUpdateLayer [private] |
Definition at line 197 of file fleximage.h.
Referenced by FlexImageFilm(), SetParameterValue(), and WriteImage2().
float lux::FlexImageFilm::m_BloomWeight [private] |
Definition at line 201 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
ChiuParams lux::FlexImageFilm::m_chiuParams [private] |
Definition at line 194 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
float lux::FlexImageFilm::m_ContrastYwa [private] |
Definition at line 182 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
float lux::FlexImageFilm::m_Gamma [private] |
Definition at line 191 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), WriteImage2(), and WritePNGImage().
float lux::FlexImageFilm::m_GlareAmount [private] |
Definition at line 213 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
int lux::FlexImageFilm::m_GlareBlades [private] |
Definition at line 215 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
bool lux::FlexImageFilm::m_GlareDeleteLayer [private] |
Definition at line 211 of file fleximage.h.
Referenced by FlexImageFilm(), SetParameterValue(), and WriteImage2().
XYZColor* lux::FlexImageFilm::m_glareImage [private] |
Definition at line 209 of file fleximage.h.
Referenced by FlexImageFilm(), and WriteImage2().
float lux::FlexImageFilm::m_GlareRadius [private] |
Definition at line 214 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
bool lux::FlexImageFilm::m_GlareUpdateLayer [private] |
Definition at line 210 of file fleximage.h.
Referenced by FlexImageFilm(), SetParameterValue(), and WriteImage2().
Definition at line 193 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
bool lux::FlexImageFilm::m_HaveBloomImage [private] |
Definition at line 199 of file fleximage.h.
Referenced by FlexImageFilm(), and WriteImage2().
bool lux::FlexImageFilm::m_HaveGlareImage [private] |
Definition at line 212 of file fleximage.h.
Referenced by FlexImageFilm(), and WriteImage2().
bool lux::FlexImageFilm::m_HistogramEnabled [private] |
Definition at line 217 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
float lux::FlexImageFilm::m_LinearExposure [private] |
Definition at line 179 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
float lux::FlexImageFilm::m_LinearFStop [private] |
Definition at line 180 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
float lux::FlexImageFilm::m_LinearGamma [private] |
Definition at line 181 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
float lux::FlexImageFilm::m_LinearSensitivity [private] |
Definition at line 178 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
float lux::FlexImageFilm::m_ReinhardBurn [private] |
Definition at line 177 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
float lux::FlexImageFilm::m_ReinhardPostScale [private] |
Definition at line 176 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
float lux::FlexImageFilm::m_ReinhardPreScale [private] |
Definition at line 175 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
float lux::FlexImageFilm::m_RGB_X_Blue [private] |
Definition at line 189 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
float lux::FlexImageFilm::m_RGB_X_Green [private] |
Definition at line 187 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
float lux::FlexImageFilm::m_RGB_X_Red [private] |
Definition at line 185 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
float lux::FlexImageFilm::m_RGB_X_White [private] |
Definition at line 183 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
float lux::FlexImageFilm::m_RGB_Y_Blue [private] |
Definition at line 190 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
float lux::FlexImageFilm::m_RGB_Y_Green [private] |
Definition at line 188 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
float lux::FlexImageFilm::m_RGB_Y_Red [private] |
Definition at line 186 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
float lux::FlexImageFilm::m_RGB_Y_White [private] |
Definition at line 184 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
int lux::FlexImageFilm::m_TonemapKernel [private] |
Definition at line 174 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
bool lux::FlexImageFilm::m_VignettingEnabled [private] |
Definition at line 203 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
float lux::FlexImageFilm::m_VignettingScale [private] |
Definition at line 204 of file fleximage.h.
Referenced by FlexImageFilm(), GetParameterValue(), SetParameterValue(), and WriteImage2().
float lux::FlexImageFilm::maxY [private] |
Definition at line 169 of file fleximage.h.
Referenced by AddSample(), and FlexImageFilm().
bool lux::FlexImageFilm::premultiplyAlpha [private] |
Definition at line 136 of file fleximage.h.
Referenced by AddSample(), and CreateFilm().
double lux::FlexImageFilm::reject_warmup_samples [private] |
Definition at line 141 of file fleximage.h.
Referenced by AddSample(), and FlexImageFilm().
bool lux::FlexImageFilm::restartResumeFlm [private] |
Definition at line 158 of file fleximage.h.
Referenced by CreateBuffers().
bool lux::FlexImageFilm::use_Zbuf [private] |
Definition at line 155 of file fleximage.h.
Referenced by AddSample(), CreateBuffers(), FlexImageFilm(), WriteImage2(), and ~FlexImageFilm().
bool lux::FlexImageFilm::warmupComplete [private] |
Definition at line 171 of file fleximage.h.
Referenced by AddSample(), and FlexImageFilm().
double lux::FlexImageFilm::warmupSamples [private] |
Definition at line 170 of file fleximage.h.
Referenced by AddSample(), and FlexImageFilm().
bool lux::FlexImageFilm::write_EXR [private] |
Definition at line 144 of file fleximage.h.
Referenced by FlexImageFilm(), and WriteImage2().
bool lux::FlexImageFilm::write_EXR_applyimaging [private] |
Definition at line 144 of file fleximage.h.
Referenced by FlexImageFilm(), and WriteImage2().
Definition at line 149 of file fleximage.h.
Referenced by FlexImageFilm(), and WriteEXRImage().
Definition at line 147 of file fleximage.h.
Referenced by FlexImageFilm(), and WriteEXRImage().
bool lux::FlexImageFilm::write_EXR_gamutclamp [private] |
Definition at line 144 of file fleximage.h.
Referenced by FlexImageFilm().
bool lux::FlexImageFilm::write_EXR_halftype [private] |
Definition at line 144 of file fleximage.h.
Referenced by FlexImageFilm(), and WriteEXRImage().
bool lux::FlexImageFilm::write_EXR_ZBuf [private] |
Definition at line 144 of file fleximage.h.
Referenced by FlexImageFilm(), WriteEXRImage(), and WriteImage2().
Definition at line 148 of file fleximage.h.
Referenced by FlexImageFilm(), and WriteEXRImage().
bool lux::FlexImageFilm::write_PNG [private] |
Definition at line 145 of file fleximage.h.
Referenced by FlexImageFilm(), and WriteImage2().
bool lux::FlexImageFilm::write_PNG_16bit [private] |
Definition at line 145 of file fleximage.h.
Referenced by FlexImageFilm(), and WritePNGImage().
Definition at line 151 of file fleximage.h.
Referenced by FlexImageFilm(), and WritePNGImage().
bool lux::FlexImageFilm::write_PNG_gamutclamp [private] |
Definition at line 145 of file fleximage.h.
Referenced by FlexImageFilm().
bool lux::FlexImageFilm::write_PNG_ZBuf [private] |
Definition at line 145 of file fleximage.h.
Referenced by FlexImageFilm(), WriteImage2(), and WritePNGImage().
Definition at line 150 of file fleximage.h.
Referenced by FlexImageFilm().
bool lux::FlexImageFilm::write_TGA [private] |
Definition at line 146 of file fleximage.h.
Referenced by FlexImageFilm(), and WriteImage2().
Definition at line 153 of file fleximage.h.
Referenced by FlexImageFilm(), and WriteTGAImage().
bool lux::FlexImageFilm::write_TGA_gamutclamp [private] |
Definition at line 146 of file fleximage.h.
Referenced by FlexImageFilm().
bool lux::FlexImageFilm::write_TGA_ZBuf [private] |
Definition at line 146 of file fleximage.h.
Referenced by FlexImageFilm(), WriteImage2(), and WriteTGAImage().
Definition at line 152 of file fleximage.h.
Referenced by FlexImageFilm().
int lux::FlexImageFilm::writeInterval [private] |
Definition at line 132 of file fleximage.h.
Referenced by CheckWriteOuputInterval(), and CreateFilm().
bool lux::FlexImageFilm::writeResumeFlm [private] |
Definition at line 158 of file fleximage.h.
Referenced by CreateBuffers(), and WriteImage2().
int lux::FlexImageFilm::xPixelCount [private] |
Definition at line 138 of file fleximage.h.
Referenced by AddSample(), CreateBuffers(), createFrameBuffer(), FlexImageFilm(), GetSampleExtent(), GetXPixelCount(), WriteEXRImage(), WriteImage(), WriteImage2(), WritePNGImage(), and WriteTGAImage().
int lux::FlexImageFilm::xPixelStart [private] |
Definition at line 138 of file fleximage.h.
Referenced by AddSample(), FlexImageFilm(), GetSampleExtent(), WriteEXRImage(), WritePNGImage(), and WriteTGAImage().
int lux::FlexImageFilm::yPixelCount [private] |
Definition at line 138 of file fleximage.h.
Referenced by AddSample(), CreateBuffers(), createFrameBuffer(), FlexImageFilm(), GetSampleExtent(), GetYPixelCount(), WriteEXRImage(), WriteImage(), WriteImage2(), WritePNGImage(), and WriteTGAImage().
int lux::FlexImageFilm::yPixelStart [private] |
Definition at line 138 of file fleximage.h.
Referenced by AddSample(), FlexImageFilm(), GetSampleExtent(), WriteEXRImage(), WritePNGImage(), and WriteTGAImage().
Definition at line 156 of file fleximage.h.
Referenced by AddSample(), CreateBuffers(), WriteImage2(), and ~FlexImageFilm().