Misc. typo tixes
This commit is contained in:
parent
8ecccb7508
commit
5f867be0c3
|
@ -2,7 +2,7 @@
|
|||
# After the first run, all the parameters will be available in this global option file
|
||||
# or in a new local option file, depending on the MultiUser value below
|
||||
|
||||
# Most ot the options are modifiable through the Preference window
|
||||
# Most of the options are modifiable through the Preference window
|
||||
|
||||
[General]
|
||||
# Setting MultiUser to false will use the application's installation directory as cache directory,
|
||||
|
|
|
@ -505,7 +505,7 @@ static cJSON_bool print_number(const cJSON * const item, printbuffer * const out
|
|||
}
|
||||
}
|
||||
|
||||
/* sprintf failed or buffer overrun occured */
|
||||
/* sprintf failed or buffer overrun occurred */
|
||||
if ((length < 0) || (length > (int)(sizeof(number_buffer) - 1)))
|
||||
{
|
||||
return false;
|
||||
|
@ -1556,7 +1556,7 @@ static cJSON_bool parse_object(cJSON * const item, parse_buffer * const input_bu
|
|||
buffer_skip_whitespace(input_buffer);
|
||||
if (!parse_string(current_item, input_buffer))
|
||||
{
|
||||
goto fail; /* faile to parse name */
|
||||
goto fail; /* failed to parse name */
|
||||
}
|
||||
buffer_skip_whitespace(input_buffer);
|
||||
|
||||
|
|
|
@ -217,7 +217,7 @@ CJSON_PUBLIC(void) cJSON_AddItemToObjectCS(cJSON *object, const char *string, cJ
|
|||
CJSON_PUBLIC(void) cJSON_AddItemReferenceToArray(cJSON *array, cJSON *item);
|
||||
CJSON_PUBLIC(void) cJSON_AddItemReferenceToObject(cJSON *object, const char *string, cJSON *item);
|
||||
|
||||
/* Remove/Detatch items from Arrays/Objects. */
|
||||
/* Remove/Detach items from Arrays/Objects. */
|
||||
CJSON_PUBLIC(cJSON *) cJSON_DetachItemViaPointer(cJSON *parent, cJSON * const item);
|
||||
CJSON_PUBLIC(cJSON *) cJSON_DetachItemFromArray(cJSON *array, int which);
|
||||
CJSON_PUBLIC(void) cJSON_DeleteItemFromArray(cJSON *array, int which);
|
||||
|
|
|
@ -660,7 +660,7 @@ Camera constants:
|
|||
}
|
||||
},
|
||||
|
||||
{ // Quality A, ISO and aperture WL data copyed from Shalrath's 60D data at RawTherapee forums
|
||||
{ // Quality A, ISO and aperture WL data copied from Shalrath's 60D data at RawTherapee forums
|
||||
"make_model": "Canon EOS 60Da",
|
||||
"dcraw_matrix": [ 17492,-7240,-2023,-1791,10323,1701,-186,1329,5406 ], // 60Da dng d65
|
||||
"ranges": {
|
||||
|
@ -912,7 +912,7 @@ Camera constants:
|
|||
}
|
||||
},
|
||||
|
||||
{ // Quality C, white levels and apperture scaling copied from Canon EOS77d
|
||||
{ // Quality C, white levels and aperture scaling copied from Canon EOS77d
|
||||
"make_model": [ "Canon EOS Rebel T7i", "Canon EOS 800D", "Canon EOS Kiss X9i" ],
|
||||
"dcraw_matrix": [ 6970,-512,-968,-4425,12161,2553,-739,1982,5601 ], // DNG_V9.10.1 D65
|
||||
"raw_crop": [ 264, 36, 6024, 4020 ], // full size 6288x4056, official crop 276,48,6275,4047
|
||||
|
@ -944,7 +944,7 @@ Camera constants:
|
|||
}
|
||||
},
|
||||
|
||||
{ // Quality B, apperture scaling copied from Canon EOS77d
|
||||
{ // Quality B, aperture scaling copied from Canon EOS77d
|
||||
"make_model": [ "Canon EOS Rebel SL2", "Canon EOS 200D", "Canon EOS Kiss X9" ],
|
||||
"dcraw_matrix": [ 7377,-742,-998,-4235,11981,2549,-673,1918,5538 ], // DNG_V9.12 D65
|
||||
"raw_crop": [ 264, 36, 6024, 4020 ], // full size 6288x4056, official crop 276,48,6275,4047
|
||||
|
|
|
@ -1102,7 +1102,7 @@ void ColorTemp::temp2mul (double temp, double green, double equal, double& rmul,
|
|||
// only for lamp different of tungstene
|
||||
// first calcul with illuminant (choice)
|
||||
// and calcul with : blackbody at equivalent temp of lamp
|
||||
// CRI_color-1 = dispaly Lab values of color CRI_color -1
|
||||
// CRI_color-1 = display Lab values of color CRI_color -1
|
||||
const double whiteD50[3] = {0.9646019585, 1.0, 0.8244507152}; //calculate with this tool : spect 5nm
|
||||
double CAM02BB00, CAM02BB01, CAM02BB02, CAM02BB10, CAM02BB11, CAM02BB12, CAM02BB20, CAM02BB21, CAM02BB22; //for CIECAT02
|
||||
double Xchk[50], Ychk[50], Zchk[50]; //50 : I think it's a good limit for number of color : for CRI and Palette
|
||||
|
|
|
@ -333,7 +333,7 @@ Image16::tofloat()
|
|||
|
||||
return imgfloat;
|
||||
}
|
||||
// Parallized transformation; create transform with cmsFLAGS_NOCACHE!
|
||||
// Parallelized transformation; create transform with cmsFLAGS_NOCACHE!
|
||||
void Image16::ExecCMSTransform(cmsHTRANSFORM hTransform)
|
||||
{
|
||||
//cmsDoTransform(hTransform, data, data, planestride);
|
||||
|
|
|
@ -4603,7 +4603,7 @@ void RawImageSource::HLRecovery_CIELab (float* rin, float* gin, float* bin, floa
|
|||
float bo = min(b, maxval);
|
||||
float yy = xyz_cam[1][0] * r + xyz_cam[1][1] * g + xyz_cam[1][2] * b;
|
||||
float fy = (yy < 65535.0 ? Color::cachef[yy] / 327.68 : std::cbrt(yy / MAXVALD));
|
||||
// compute LCH decompostion of the clipped pixel (only color information, thus C and H will be used)
|
||||
// compute LCH decomposition of the clipped pixel (only color information, thus C and H will be used)
|
||||
float x = xyz_cam[0][0] * ro + xyz_cam[0][1] * go + xyz_cam[0][2] * bo;
|
||||
float y = xyz_cam[1][0] * ro + xyz_cam[1][1] * go + xyz_cam[1][2] * bo;
|
||||
float z = xyz_cam[2][0] * ro + xyz_cam[2][1] * go + xyz_cam[2][2] * bo;
|
||||
|
|
|
@ -537,7 +537,7 @@ public:
|
|||
virtual bool fastPipeline() const = 0;
|
||||
};
|
||||
|
||||
/** This function performs all the image processinf steps corresponding to the given ProcessingJob. It returns when it is ready, so it can be slow.
|
||||
/** This function performs all the image processing steps corresponding to the given ProcessingJob. It returns when it is ready, so it can be slow.
|
||||
* The ProcessingJob passed becomes invalid, you can not use it any more.
|
||||
* @param job the ProcessingJob to cancel.
|
||||
* @param errorCode is the error code if an error occurred (e.g. the input image could not be loaded etc.)
|
||||
|
@ -557,7 +557,7 @@ public:
|
|||
virtual ProcessingJob* imageReady (IImagefloat* img) = 0;
|
||||
virtual void error (Glib::ustring message) = 0;
|
||||
};
|
||||
/** This function performs all the image processinf steps corresponding to the given ProcessingJob. It runs in the background, thus it returns immediately,
|
||||
/** This function performs all the image processing steps corresponding to the given ProcessingJob. It runs in the background, thus it returns immediately,
|
||||
* When it finishes, it calls the BatchProcessingListener with the resulting image and asks for the next job. It the listener gives a new job, it goes on
|
||||
* with processing. If no new job is given, it finishes.
|
||||
* The ProcessingJob passed becomes invalid, you can not use it any more.
|
||||
|
|
|
@ -1119,7 +1119,7 @@ IImage8* Thumbnail::processImage (const procparams::ProcParams& params, eSensorT
|
|||
gmi = gm * defGain / mul_lum;
|
||||
bmi = bm * defGain / mul_lum;
|
||||
|
||||
// The RAW exposure is not reflected since it's done in preprocessing. If we only have e.g. the chached thumb,
|
||||
// The RAW exposure is not reflected since it's done in preprocessing. If we only have e.g. the cached thumb,
|
||||
// that is already preprocessed. So we simulate the effect here roughly my modifying the exposure accordingly
|
||||
if (isRaw) {
|
||||
rmi *= params.raw.expos;
|
||||
|
|
|
@ -377,7 +377,7 @@ void ColorToning::neutralCurves_pressed () {
|
|||
}
|
||||
*/
|
||||
|
||||
// Will only reset the chanel mixer
|
||||
// Will only reset the channel mixer
|
||||
void ColorToning::neutral_pressed ()
|
||||
{
|
||||
disableListener();
|
||||
|
|
|
@ -57,7 +57,7 @@ public:
|
|||
/** @brief Update the position of the edited point ; will trigger events
|
||||
*
|
||||
* @param pos New position
|
||||
* @param chanIdx Chanel index as given in the std::vector upon instantiation
|
||||
* @param chanIdx Channel index as given in the std::vector upon instantiation
|
||||
*/
|
||||
virtual void setPos(double pos, int chanIdx) = 0;
|
||||
virtual void stopNumericalAdjustment() = 0;
|
||||
|
@ -91,7 +91,7 @@ public:
|
|||
|
||||
// used to update the AxisAdjuster's parameters
|
||||
void updateGUI(const Axis &axis);
|
||||
// useed to update the displayed value
|
||||
// used to update the displayed value
|
||||
void setValue(double newValue);
|
||||
//bool keyPressed(GdkEventKey* event);
|
||||
void valueChanged();
|
||||
|
|
|
@ -630,7 +630,7 @@ void Crop::ratioFixedChanged ()
|
|||
void Crop::ratioChanged ()
|
||||
{
|
||||
if (!fixr->get_active ()) {
|
||||
fixr->set_active(true); // will ajust ratio anyway
|
||||
fixr->set_active(true); // will adjust ratio anyway
|
||||
} else {
|
||||
adjustCropToRatio();
|
||||
}
|
||||
|
|
|
@ -100,7 +100,7 @@ static void myGdkLockEnter()
|
|||
}
|
||||
static void myGdkLockLeave()
|
||||
{
|
||||
// Automatic gdk_flush for non main tread
|
||||
// Automatic gdk_flush for non main thread
|
||||
#if AUTO_GDK_FLUSH
|
||||
//if (Glib::Thread::self() != mainThread) {
|
||||
// gdk_flush();
|
||||
|
|
|
@ -919,7 +919,7 @@ void Wavelet::updatewavLabel ()
|
|||
}
|
||||
}
|
||||
|
||||
// Will only reset the chanel mixer
|
||||
// Will only reset the channel mixer
|
||||
// WARNING! In mutiImage mode, and for sliders in ADD mode, this will reset the slider to 0, but not to the default value as in SET mode.
|
||||
void Wavelet::neutral_pressed ()
|
||||
{
|
||||
|
|
|
@ -270,11 +270,11 @@ namespace RTProfilerBuilder {
|
|||
if (adFocLen[i] >= adFocLen[i + 1]) throw new Exception("The distortion correction focal length points must be ordered!");
|
||||
}
|
||||
|
||||
/// <summary>Calculates regession value of RT distortion amount for the given focal length.</summary>
|
||||
/// <summary>Calculates regression value of RT distortion amount for the given focal length.</summary>
|
||||
/// <param name="focalLength">Input focal length.</param>
|
||||
/// <returns>Distortion in RT format.</returns>
|
||||
public string GetDistortionAmount(double focalLength) {
|
||||
// if it's out of area (which should just happing with e.g. rounding errors), return flat defaults.
|
||||
// if it's out of area (which should just happen with e.g. rounding errors), return flat defaults.
|
||||
if (focalLength <= adFocLen[0]) return adCorrect[0].ToString("G", CultureInfo.InvariantCulture);
|
||||
if (focalLength >= adFocLen[adFocLen.Length - 1]) return adCorrect[adFocLen.Length - 1].ToString("G", CultureInfo.InvariantCulture);
|
||||
|
||||
|
|
Loading…
Reference in New Issue