Lines 143-149
typedef uint32_t lut_uint32;
Link Here
|
143 |
template<> \ |
143 |
template<> \ |
144 |
class LutKey<_INT_TYPE_> { \ |
144 |
class LutKey<_INT_TYPE_> { \ |
145 |
public: \ |
145 |
public: \ |
146 |
LutKey<_INT_TYPE_>(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ |
146 |
LutKey(_INT_TYPE_ min, _INT_TYPE_ max) : m_min(min), m_max(max) \ |
147 |
{ \ |
147 |
{ \ |
148 |
} \ |
148 |
} \ |
149 |
public: \ |
149 |
public: \ |
Lines 183-189
PARTIAL_LUT_INT_SPECIALIZATION(lut_uint3
Link Here
|
183 |
template<> \ |
183 |
template<> \ |
184 |
class FullLutKey<_INT_TYPE_> { \ |
184 |
class FullLutKey<_INT_TYPE_> { \ |
185 |
public: \ |
185 |
public: \ |
186 |
FullLutKey<_INT_TYPE_>() \ |
186 |
FullLutKey() \ |
187 |
{ \ |
187 |
{ \ |
188 |
} \ |
188 |
} \ |
189 |
public: \ |
189 |
public: \ |
Lines 233-239
class LutKey<float> {
Link Here
|
233 |
float f; |
233 |
float f; |
234 |
}; |
234 |
}; |
235 |
public: |
235 |
public: |
236 |
LutKey<float>(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) |
236 |
LutKey(float min, float max, float precision) : m_min(min), m_max(max), m_precision(precision) |
237 |
{ |
237 |
{ |
238 |
// Those values where computed using the test_linear and setting the shift and then using |
238 |
// Those values where computed using the test_linear and setting the shift and then using |
239 |
// the standard deviation. |
239 |
// the standard deviation. |