/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_matrix.h | 42 real64 fData [kMaxColorPlanes] [kMaxColorPlanes]; 71 real64 * operator [] (uint32 row) in operator []() 76 const real64 * operator [] (uint32 row) const in operator []() 100 real64 MaxEntry () const; 102 real64 MinEntry () const; 104 void Scale (real64 factor); 106 void Round (real64 factor); 108 void SafeRound (real64 factor); 125 dng_matrix_3by3 (real64 a00, real64 a0 [all...] |
H A D | dng_1d_function.cpp | 38 real64 dng_1d_function::EvaluateInverse (real64 y) const in EvaluateInverse() 42 const real64 kNearZero = 1.0e-10; in EvaluateInverse() 44 real64 x0 = 0.0; in EvaluateInverse() 45 real64 y0 = Evaluate (x0); in EvaluateInverse() 47 real64 x1 = 1.0; in EvaluateInverse() 48 real64 y1 = Evaluate (x1); in EvaluateInverse() 58 real64 x2 = Pin_real64 (0.0, in EvaluateInverse() 62 real64 y2 = Evaluate (x2); in EvaluateInverse() 87 real64 dng_1d_identit [all...] |
H A D | dng_render.h | 41 real64 fSlope; // Slope of straight segment. 43 real64 fBlack; // Intercept of straight segment. 45 real64 fRadius; // Rounding radius. 47 real64 fQScale; // Quadradic scale. 51 dng_function_exposure_ramp (real64 white, 52 real64 black, 53 real64 minBlack); 55 virtual real64 Evaluate (real64 x) const; 71 real64 fSlop [all...] |
H A D | dng_temperature.cpp | 23 static const real64 kTintScale = -3000.0; 31 real64 r; 32 real64 u; 33 real64 v; 34 real64 t; 79 real64 u = 2.0 * xy.x / (1.5 - xy.x + 6.0 * xy.y); in Set_xy_coord() 80 real64 v = 3.0 * xy.y / (1.5 - xy.x + 6.0 * xy.y); in Set_xy_coord() 84 real64 last_dt = 0.0; in Set_xy_coord() 86 real64 last_dv = 0.0; in Set_xy_coord() 87 real64 last_d in Set_xy_coord() [all...] |
H A D | dng_spline.h | 28 inline real64 EvaluateSplineSegment (real64 x, in EvaluateSplineSegment() 29 real64 x0, in EvaluateSplineSegment() 30 real64 y0, in EvaluateSplineSegment() 31 real64 s0, in EvaluateSplineSegment() 32 real64 x1, in EvaluateSplineSegment() 33 real64 y1, in EvaluateSplineSegment() 34 real64 s1) in EvaluateSplineSegment() 37 real64 A = x1 - x0; in EvaluateSplineSegment() 39 real64 in EvaluateSplineSegment() [all...] |
H A D | dng_matrix.cpp | 175 real64 dng_matrix::MaxEntry () const in MaxEntry() 185 real64 m = fData [0] [0]; in MaxEntry() 201 real64 dng_matrix::MinEntry () const in MinEntry() 211 real64 m = fData [0] [0]; in MinEntry() 227 void dng_matrix::Scale (real64 factor) in Scale() 242 void dng_matrix::Round (real64 factor) in Round() 245 real64 invFactor = 1.0 / factor; in Round() 259 void dng_matrix::SafeRound (real64 factor) in SafeRound() 262 real64 invFactor = 1.0 / factor; in SafeRound() 271 real64 erro in SafeRound() [all...] |
H A D | dng_1d_function.h | 51 virtual real64 Evaluate (real64 x) const = 0; 59 virtual real64 EvaluateInverse (real64 y) const; 77 virtual real64 Evaluate (real64 x) const; 81 virtual real64 EvaluateInverse (real64 y) const; 121 virtual real64 Evaluate (real64 [all...] |
H A D | dng_lens_correction.h | 126 virtual real64 Evaluate (uint32 plane, 127 real64 r) const = 0; 136 virtual real64 EvaluateInverse (uint32 plane, 137 real64 r) const; 149 virtual real64 EvaluateRatio (uint32 plane, 150 real64 r2) const = 0; 164 real64 r2, 187 real64 r2, 200 virtual real64 MaxSrcRadiusGap (real64 maxDstGa [all...] |
H A D | dng_color_space.h | 37 virtual real64 Evaluate (real64 x) const; 39 virtual real64 EvaluateInverse (real64 y) const; 54 virtual real64 Evaluate (real64 x) const; 56 virtual real64 EvaluateInverse (real64 y) const; 71 virtual real64 Evaluate (real64 [all...] |
H A D | dng_1d_table.cpp | 72 fTable [middle] = (real32) function.Evaluate (middle * (1.0 / (real64) kTableSize)); in SubDivide() 88 real64 y0 = fTable [lower]; in SubDivide() 89 real64 y1 = fTable [upper]; in SubDivide() 91 real64 delta = (y1 - y0) / (real64) range; in SubDivide() 140 real64 x = j * (1.0 / (real64) kTableSize); in Initialize() 142 real64 y = function.Evaluate (x); in Initialize() 159 real64 step = (real64) kTableSiz in Expand16() [all...] |
H A D | dng_lens_correction.cpp | 197 real64 dng_warp_params::EvaluateInverse (uint32 plane, in EvaluateInverse() 198 real64 y) const in EvaluateInverse() 202 const real64 kNearZero = 1.0e-10; in EvaluateInverse() 204 real64 x0 = 0.0; in EvaluateInverse() 205 real64 y0 = Evaluate (plane, in EvaluateInverse() 208 real64 x1 = 1.0; in EvaluateInverse() 209 real64 y1 = Evaluate (plane, in EvaluateInverse() 220 const real64 x2 = Pin_real64 (0.0, in EvaluateInverse() 224 const real64 y2 = Evaluate (plane, in EvaluateInverse() 245 const real64 dvd in EvaluateTangential2() [all...] |
H A D | dng_utils.h | 404 inline real64 Abs_real64 (real64 x) in Abs_real64() 411 inline real64 Min_real64 (real64 x, real64 y) in Min_real64() 418 inline real64 Max_real64 (real64 x, real64 y) in Max_real64() 425 inline real64 Pin_real64 (real64 mi [all...] |
H A D | dng_temperature.h | 34 real64 fTemperature; 36 real64 fTint; 48 dng_temperature (real64 temperature, in dng_temperature() 49 real64 tint) in dng_temperature() 67 void SetTemperature (real64 temperature) in SetTemperature() 72 real64 Temperature () const in Temperature() 77 void SetTint (real64 tint) in SetTint() 82 real64 Tint () const in Tint()
|
H A D | dng_rational.cpp | 22 real64 dng_srational::As_real64 () const in As_real64() 26 return (real64) n / (real64) d; in As_real64() 35 void dng_srational::Set_real64 (real64 x, int32 dd) in Set_real64() 48 real64 y = Abs_real64 (x); in Set_real64() 88 real64 dng_urational::As_real64 () const in As_real64() 92 return (real64) n / (real64) d; in As_real64() 101 void dng_urational::Set_real64 (real64 x, uint32 dd) in Set_real64()
|
H A D | dng_rect.h | 188 real64 Diagonal () const in Diagonal() 190 return hypot ((real64) W (), in Diagonal() 191 (real64) H ()); in Diagonal() 203 real64 t; 204 real64 l; 205 real64 b; 206 real64 r; 218 dng_rect_real64 (real64 tt, real64 ll, real64 b [all...] |
H A D | dng_negative.h | 84 real64 fScale; 85 real64 fOffset; 102 dng_noise_function (real64 scale, in dng_noise_function() 103 real64 offset) in dng_noise_function() 115 virtual real64 Evaluate (real64 x) const in Evaluate() 122 real64 Scale () const in Scale() 129 real64 Offset () const in Offset() 136 void SetScale (real64 scale) in SetScale() 143 void SetOffset (real64 offse [all...] |
H A D | dng_resample.cpp | 31 real64 dng_resample_bicubic::Extent () const in Extent() 40 real64 dng_resample_bicubic::Evaluate (real64 x) const in Evaluate() 43 const real64 A = -0.75; in Evaluate() 109 real64 invScale = (real64) srcCount / in Initialize() 110 (real64) dstCount; in Initialize() 115 real64 x = (real64) j + 0.5; in Initialize() 117 real64 in Initialize() [all...] |
H A D | dng_spline.cpp | 54 void dng_spline_solver::Add (real64 x, real64 y) in Add() 78 real64 A = X [start+1] - X [start]; in Solve() 79 real64 B = (Y [start+1] - Y [start]) / A; in Solve() 93 real64 C = X [j] - X [j-1]; in Solve() 94 real64 D = (Y [j] - Y [j-1]) / C; in Solve() 109 dng_std_vector<real64> E; in Solve() 110 dng_std_vector<real64> F; in Solve() 111 dng_std_vector<real64> G; in Solve() 174 real64 dng_spline_solve [all...] |
H A D | dng_exif.h | 231 static real64 SnapExposureTime (real64 et); 239 void SetExposureTime (real64 et, 245 void SetShutterSpeedValue (real64 ss); 250 static dng_urational EncodeFNumber (real64 fs); 255 void SetFNumber (real64 fs); 260 void SetApertureValue (real64 av); 265 static real64 ApertureValueToFNumber (real64 av); 270 static real64 ApertureValueToFNumbe [all...] |
H A D | dng_ifd.h | 54 real64 fRawToPreviewGain; 103 real64 fXResolution; 104 real64 fYResolution; 143 real64 fYCbCrCoefficientR; 144 real64 fYCbCrCoefficientG; 145 real64 fYCbCrCoefficientB; 152 real64 fReferenceBlackWhite [6]; 170 real64 fBlackLevel [kMaxBlackPattern] [kMaxBlackPattern] [kMaxSamplesPerPixel]; 180 real64 fWhiteLevel [kMaxSamplesPerPixel];
|
H A D | dng_stream.cpp | 627 real64 dng_stream::Get_real64 () in Get_real64() 636 real64 r; in Get_real64() 646 real64 x; in Get_real64() 656 void dng_stream::Put_real64 (real64 x) in Put_real64() 665 real64 r; in Put_real64() 814 real64 x = TagValue_real64 (tagType); in TagValue_uint32() 819 if (x > (real64) 0xFFFFFFFF) in TagValue_uint32() 820 x = (real64) 0xFFFFFFFF; in TagValue_uint32() 845 real64 x = TagValue_real64 (tagType); in TagValue_int32() 949 real64 in TagValue_urational() [all...] |
H A D | dng_xy_coord.cpp | 26 real64 X = coord [0]; in XYZtoXY() 27 real64 Y = coord [1]; in XYZtoXY() 28 real64 Z = coord [2]; in XYZtoXY() 30 real64 total = X + Y + Z; in XYZtoXY() 60 real64 scale = 0.999999 / (temp.x + temp.y); in XYtoXYZ()
|
H A D | dng_abort_sniffer.h | 141 real64 fract); 151 virtual void UpdateProgress (real64 fract); 179 real64 fract = 0.0) in dng_sniffer_task() 206 void UpdateProgress (real64 fract) in UpdateProgress() 219 UpdateProgress ((real64) done / in UpdateProgress() 220 (real64) total); in UpdateProgress()
|
H A D | dng_xy_coord.h | 35 real64 x; 36 real64 y; 46 dng_xy_coord (real64 xx, real64 yy) in dng_xy_coord() 114 inline dng_xy_coord operator* (real64 scale, in operator *() 129 inline real64 operator* (const dng_xy_coord &A, in operator *()
|
H A D | dng_point.h | 69 real64 v; 70 real64 h; 80 dng_point_real64 (real64 vv, real64 hh) in dng_point_real64() 87 : v ((real64) pt.v) in dng_point_real64() 88 , h ((real64) pt.h) in dng_point_real64() 165 inline real64 DistanceSquared (const dng_point_real64 &a, in DistanceSquared()
|