*/
class ColorCurve: public PostProcessor
{
+public:
+ struct Template: public PostProcessor::Template
+ {
+ class Loader: public DataFile::DerivedObjectLoader<Template, PostProcessor::Template::Loader>
+ {
+ public:
+ Loader(Template &);
+
+ private:
+ void gamma(float);
+ void srgb();
+ };
+
+ float exposure_adjust;
+ float brightness_response;
+ float gamma;
+ bool srgb;
+
+ Template();
+
+ virtual ColorCurve *create(unsigned, unsigned) const;
+ };
+
private:
Program shprog;
ProgramData shdata;
/** Sets the exponent of the */
void set_brightness_response(float);
- // Deprecated functions
- void set_peak(float);
- void set_brightness(float);
-
/** Sets the gamma value used for mapping output colors. Allowed range is
from 0.1 to 10. */
void set_gamma(float);