Home
last modified time | relevance | path

Searched refs:HALF_MAX (Results 1 – 9 of 9) sorted by relevance

/external/opencv3/3rdparty/openexr/IlmImf/
DImfLut.h166 _lut(f, -HALF_MAX, HALF_MAX, half (0), in HalfLut()
175 _lut(f, -HALF_MAX, HALF_MAX, half (0), in RgbaLut()
DImfConvert.cpp116 if (ui > HALF_MAX) in uintToHalf()
128 if (f > HALF_MAX) in floatToHalf()
131 if (f < -HALF_MAX) in floatToHalf()
Db44ExpLogTable.cpp90 else if (h >= 8 * log (HALF_MAX)) in main()
91 h = HALF_MAX; in main()
DImfRgbaYca.cpp112 if (abs (in.r - Y) < HALF_MAX * Y) in RGBAtoYCA()
117 if (abs (in.b - Y) < HALF_MAX * Y) in RGBAtoYCA()
/external/opencv3/3rdparty/openexr/Imath/
DImathHalfLimits.h55 static float min() {return -HALF_MAX;}
56 static float max() {return HALF_MAX;}
/external/opencv3/3rdparty/openexr/Half/
DhalfFunction.h108 half domainMin = -HALF_MAX,
109 half domainMax = HALF_MAX,
Dhalf.h266 #define HALF_MAX 65504.0f // Largest positive half macro
276 #define HALF_MAX 65504.0 // Largest positive half macro
DhalfLimits.h64 static half max () throw () {return HALF_MAX;} in max()
/external/opencv3/modules/imgproc/src/opencl/
Dcvtcolor.cl52 #define HALF_MAX 128
59 #define HALF_MAX 32768
66 #define HALF_MAX 0.5f
232 const DATA_TYPE U = fma(b - Y, coeffs[3], HALF_MAX);
233 const DATA_TYPE V = fma(r - Y, coeffs[4], HALF_MAX);
236 const int delta = HALF_MAX * (1 << yuv_shift);
281 float r = fma(V - HALF_MAX, coeffs[3], Y);
282 float g = fma(V - HALF_MAX, coeffs[2], fma(U - HALF_MAX, coeffs[1], Y));
283 float b = fma(U - HALF_MAX, coeffs[0], Y);
286 const int r = Y + CV_DESCALE(mul24(V - HALF_MAX, coeffs[3]), yuv_shift);
[all …]