/dports/graphics/freeimage/FreeImage/Source/OpenEXR/Half/ |
H A D | halfFunction.h | 116 ~halfFunction () { delete [] _lut; } in ~halfFunction() 128 T _lut[1 << 16]; 130 T * _lut; 150 _lut = new T[1<<16]; in halfFunction() 151 memset (_lut, 0 , (1<<16) * sizeof(T)); in halfFunction() 160 _lut[i] = nanValue; in halfFunction() 162 _lut[i] = x.isNegative()? negInfValue: posInfValue; in halfFunction() 164 _lut[i] = defaultValue; in halfFunction() 166 _lut[i] = f (x); in halfFunction() 175 return _lut[x.bits()]; in operator()
|
/dports/graphics/povray37/povray-3.7.0.10/libraries/ilmbase/Half/ |
H A D | halfFunction.h | 116 ~halfFunction () { delete [] _lut; } in ~halfFunction() 128 T _lut[1 << 16]; 130 T * _lut; 150 _lut = new T[1<<16]; in halfFunction() 151 memset (_lut, 0 , (1<<16) * sizeof(T)); in halfFunction() 160 _lut[i] = nanValue; in halfFunction() 162 _lut[i] = x.isNegative()? negInfValue: posInfValue; in halfFunction() 164 _lut[i] = defaultValue; in halfFunction() 166 _lut[i] = f (x); in halfFunction() 175 return _lut[x.bits()]; in operator()
|
/dports/graphics/opencv/opencv-4.5.3/3rdparty/openexr/Half/ |
H A D | halfFunction.h | 116 ~halfFunction () { delete [] _lut; } in ~halfFunction() 128 T _lut[1 << 16]; 130 T * _lut; 150 _lut = new T[1<<16]; in halfFunction() 151 memset (_lut, 0 , (1<<16) * sizeof(T)); in halfFunction() 160 _lut[i] = nanValue; in halfFunction() 162 _lut[i] = x.isNegative()? negInfValue: posInfValue; in halfFunction() 164 _lut[i] = defaultValue; in halfFunction() 166 _lut[i] = f (x); in halfFunction() 175 return _lut[x.bits()]; in operator()
|
/dports/math/Imath/Imath-3.1.4/src/Imath/ |
H A D | halfFunction.h | 81 ~halfFunction() { delete[] _lut; } in ~halfFunction() 96 T _lut[1 << 16]; 98 T* _lut; 117 _lut = new T[1 << 16]; in halfFunction() 126 _lut[i] = nanValue; in halfFunction() 128 _lut[i] = x.isNegative() ? negInfValue : posInfValue; in halfFunction() 130 _lut[i] = defaultValue; in halfFunction() 132 _lut[i] = f (x); in halfFunction() 140 return _lut[x.bits()]; in operator()
|
/dports/graphics/vapoursynth-fmtconv/fmtconv-r28/src/fmtcl/ |
H A D | TransLut_avx2.cpp | 261 _lut.use <float> (index._scal [7] ), in process_plane_flt_any_avx2() 262 _lut.use <float> (index._scal [6] ), in process_plane_flt_any_avx2() 263 _lut.use <float> (index._scal [5] ), in process_plane_flt_any_avx2() 264 _lut.use <float> (index._scal [4] ), in process_plane_flt_any_avx2() 265 _lut.use <float> (index._scal [3] ), in process_plane_flt_any_avx2() 266 _lut.use <float> (index._scal [2] ), in process_plane_flt_any_avx2() 267 _lut.use <float> (index._scal [1] ), in process_plane_flt_any_avx2() 268 _lut.use <float> (index._scal [0] ) in process_plane_flt_any_avx2() 271 _lut.use <float> (index._scal [7] + 1), in process_plane_flt_any_avx2() 272 _lut.use <float> (index._scal [6] + 1), in process_plane_flt_any_avx2() [all …]
|
H A D | TransLut.cpp | 431 _lut.set_type <float> (); in generate_lut() 435 _lut.resize (LOGLUT_SIZE); in generate_lut() 441 _lut.resize (LINLUT_SIZE_F); in generate_lut() 454 _lut.resize (1 << 8); in generate_lut() 458 _lut.resize (1 << 16); in generate_lut() 469 _lut.set_type <float> (); in generate_lut() 483 _lut.set_type <uint16_t> (); in generate_lut() 490 _lut.set_type <uint8_t> (); in generate_lut() 530 _lut.use <T> (pos) = T (y); in generate_lut_flt() 621 d._ptr [x] = _lut.use <TD> (index); in process_plane_int_any_cpp() [all …]
|
/dports/graphics/freeimage/FreeImage/Source/OpenEXR/IlmImf/ |
H A D | ImfLut.cpp | 58 *data = _lut (*data); in apply() 88 *(half *)pixel = _lut (*(half *)pixel); in apply() 103 data->r = _lut (data->r); in apply() 106 data->g = _lut (data->g); in apply() 109 data->b = _lut (data->b); in apply() 112 data->a = _lut (data->a); in apply() 134 pixel->r = _lut (pixel->r); in apply() 137 pixel->g = _lut (pixel->g); in apply() 140 pixel->b = _lut (pixel->b); in apply() 143 pixel->a = _lut (pixel->a); in apply()
|
H A D | ImfLut.h | 91 halfFunction <half> _lut; 131 halfFunction <half> _lut; 169 _lut(f, -HALF_MAX, HALF_MAX, half (0), in HalfLut() 178 _lut(f, -HALF_MAX, HALF_MAX, half (0), in RgbaLut()
|
/dports/graphics/povray37/povray-3.7.0.10/libraries/openexr/IlmImf/ |
H A D | ImfLut.cpp | 58 *data = _lut (*data); in apply() 88 *(half *)pixel = _lut (*(half *)pixel); in apply() 103 data->r = _lut (data->r); in apply() 106 data->g = _lut (data->g); in apply() 109 data->b = _lut (data->b); in apply() 112 data->a = _lut (data->a); in apply() 134 pixel->r = _lut (pixel->r); in apply() 137 pixel->g = _lut (pixel->g); in apply() 140 pixel->b = _lut (pixel->b); in apply() 143 pixel->a = _lut (pixel->a); in apply()
|
H A D | ImfLut.h | 91 halfFunction <half> _lut; 131 halfFunction <half> _lut; 169 _lut(f, -HALF_MAX, HALF_MAX, half (0), in HalfLut() 178 _lut(f, -HALF_MAX, HALF_MAX, half (0), in RgbaLut()
|
/dports/graphics/opencv/opencv-4.5.3/3rdparty/openexr/IlmImf/ |
H A D | ImfLut.cpp | 58 *data = _lut (*data); in apply() 88 *(half *)pixel = _lut (*(half *)pixel); in apply() 103 data->r = _lut (data->r); in apply() 106 data->g = _lut (data->g); in apply() 109 data->b = _lut (data->b); in apply() 112 data->a = _lut (data->a); in apply() 134 pixel->r = _lut (pixel->r); in apply() 137 pixel->g = _lut (pixel->g); in apply() 140 pixel->b = _lut (pixel->b); in apply() 143 pixel->a = _lut (pixel->a); in apply()
|
H A D | ImfLut.h | 93 halfFunction <half> _lut; 135 halfFunction <half> _lut; 173 _lut(f, -HALF_MAX, HALF_MAX, half (0), in HalfLut() 182 _lut(f, -HALF_MAX, HALF_MAX, half (0), in RgbaLut()
|
/dports/graphics/openexr/openexr-3.1.4/src/lib/OpenEXR/ |
H A D | ImfLut.cpp | 28 *data = _lut (*data); in apply() 58 *(half *)pixel = _lut (*(half *)pixel); in apply() 73 data->r = _lut (data->r); in apply() 76 data->g = _lut (data->g); in apply() 79 data->b = _lut (data->b); in apply() 82 data->a = _lut (data->a); in apply() 104 pixel->r = _lut (pixel->r); in apply() 107 pixel->g = _lut (pixel->g); in apply() 110 pixel->b = _lut (pixel->b); in apply() 113 pixel->a = _lut (pixel->a); in apply()
|
H A D | ImfLut.h | 64 halfFunction <half> _lut; 106 halfFunction <half> _lut; 144 _lut(f, -HALF_MAX, HALF_MAX, half (0), in HalfLut() 153 _lut(f, -HALF_MAX, HALF_MAX, half (0), in RgbaLut()
|
/dports/games/doomsday/doomsday-2.3.1/doomsday/apps/plugins/common/include/ |
H A D | dmu_archiveindex.h | 69 if(!_lut.get()) in at() 78 return (*_lut)[index]; in at() 84 if(!_lut.get()) return false; in indexInLutRange() 85 return (index - _indexBase >= 0 && (index - _indexBase) < int( _lut->size() )); in indexInLutRange() 117 (*_lut)[index - _indexBase] = element; in linkInLut() 141 _lut.reset(new ElementLut(lutSize, MapElementPtr(NULL))); in buildLut() 155 std::unique_ptr<ElementLut> _lut; variable
|
/dports/comms/libsdr/libsdr-0.1.0/src/ |
H A D | freqshift.hh | 26 : _freq_shift(F), _Fs(Fs), _lut_inc(0), _lut_count(0), _lut(_lut_size) in FreqShiftBase() 30 _lut = Buffer<CSScalar>(_lut_size); in FreqShiftBase() 32 _lut[i] = double(1 << Traits<Scalar>::shift) * in FreqShiftBase() 39 _lut.unref(); in ~FreqShiftBase() 64 value = ((_lut[idx] * value) >> Traits<Scalar>::shift); in applyFrequencyShift() 95 Buffer<CSScalar> _lut; member in sdr::FreqShiftBase
|
H A D | fftplan_native.hh | 43 … _lut[i] = (std::exp(std::complex<double>(0,(-2*M_PI*i*dir_fac)/N)) * (1<<Traits<Scalar>::shift)); in FFTPlan() 49 _lut.unref(); in ~FFTPlan() 70 b[i] = tmp + (_lut[i]*std::complex<SScalar>(b[i+N/2])) / (1<<Traits<Scalar>::shift); in _calc() 71 b[i+N/2] = tmp - (_lut[i]*std::complex<SScalar>(b[i+N/2])) / (1<<Traits<Scalar>::shift); in _calc() 83 Buffer< std::complex<SScalar> > _lut; member in sdr::FFTPlan
|
/dports/graphics/opencv/opencv-4.5.3/modules/imgproc/src/ |
H A D | colormap.cpp | 139 Mat _lut; member in cv::colormap::ColorMap 190 this->_lut = ColorMap::linear_colormap(X, in init() 214 this->_lut = ColorMap::linear_colormap(X, in init() 244 this->_lut = ColorMap::linear_colormap(X, in init() 268 this->_lut = ColorMap::linear_colormap(X, in init() 292 this->_lut = ColorMap::linear_colormap(X, in init() 314 this->_lut = ColorMap::linear_colormap(X, in init() 338 this->_lut = ColorMap::linear_colormap(X, in init() 721 this->_lut = c; in init() 732 if(_lut.total() != 256) in operator ()() [all …]
|
/dports/graphics/openfx-arena/openfx-arena-Natron-2.3.14/Magick/HaldCLUT/ |
H A D | HaldCLUT.cpp | 227 _lut.comment("N/A"); in HaldCLUTPlugin() 277 if (_lut.comment() != presetFile) { in render() 279 _lut.read(presetFile.c_str()); in render() 282 _lut.comment("N/A"); in render() 287 _lut.read(presetFile.c_str()); in render() 291 _lut.colorSpace(Magick::RGBColorspace); in render() 292 _lut.comment(presetFile); in render() 295 if (_lut.rows() >= 512 && _lut.rows() == _lut.columns() && _lut.comment() == presetFile) { in render() 297 image.haldClut(_lut); in render() 356 Magick::Image _lut; member in HaldCLUTPlugin [all …]
|
/dports/graphics/opencv/opencv-4.5.3/modules/core/src/ |
H A D | lut.cpp | 81 int lcn = _lut.channels(), dcn = _src.channels(), ddepth = _lut.depth(); in ocl_LUT() 83 UMat src = _src.getUMat(), lut = _lut.getUMat(); in ocl_LUT() 104 static bool openvx_LUT(Mat src, Mat dst, Mat _lut) in openvx_LUT() argument 106 …if (src.type() != CV_8UC1 || dst.type() != src.type() || _lut.type() != src.type() || !_lut.isCont… in openvx_LUT() 120 lut.copyFrom(_lut); in openvx_LUT() 359 void cv::LUT( InputArray _src, InputArray _lut, OutputArray _dst ) in LUT() argument 364 int lutcn = _lut.channels(); in LUT() 367 _lut.total() == 256 && _lut.isContinuous() && in LUT() 371 ocl_LUT(_src, _lut, _dst)) in LUT() 373 Mat src = _src.getMat(), lut = _lut.getMat(); in LUT() [all …]
|
/dports/biology/py-deeptools/deepTools-3.5.1/deeptools/ |
H A D | cm.py | 1079 for _lut, _name in zip(_luts, _names): 1081 _cmap = colors.ListedColormap(_lut, _name) 1084 _cmap_r = colors.ListedColormap(_lut[::-1], _name + "_r")
|
/dports/math/py-seaborn/seaborn-0.11.0/seaborn/ |
H A D | cm.py | 1574 for _name, _lut in _lut_dict.items(): 1576 _cmap = colors.ListedColormap(_lut, _name) 1579 _cmap_r = colors.ListedColormap(_lut[::-1], _name + "_r")
|
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/cryomni3d/video/ |
H A D | hnm_decoder.cpp | 367 if (size < 256 * sizeof(*_lut)) { in decodeSound() 370 stream->read(_lut, 256 * sizeof(*_lut)); in decodeSound() 371 size -= 256 * sizeof(*_lut); in decodeSound() 374 _lut[i] = FROM_LE_16(_lut[i]); in decodeSound() 386 sample += _lut[deltaId]; in decodeSound()
|
/dports/graphics/openfx-misc/openfx-misc-3ab0531/ChromaKeyer/ |
H A D | ChromaKeyer.cpp | 186 const Color::Lut* _lut; member in ChromaKeyerProcessorBase 219 , _lut(NULL) in ChromaKeyerProcessorBase() 269 _lut = NULL; in setValues() 275 _lut = gLutManager->Rec709Lut(); in setValues() 296 float r = _lut ? _lut->toColorSpaceFloatFromLinearFloat(keyColor.r) : keyColor.r; in setValues() 297 float g = _lut ? _lut->toColorSpaceFloatFromLinearFloat(keyColor.g) : keyColor.g; in setValues() 298 float b = _lut ? _lut->toColorSpaceFloatFromLinearFloat(keyColor.b) : keyColor.b; in setValues() 421 if (_lut) { in multiThreadProcessImages() 422 fgr = _lut->toColorSpaceFloatFromLinearFloat(fgr); in multiThreadProcessImages() 423 fgg = _lut->toColorSpaceFloatFromLinearFloat(fgg); in multiThreadProcessImages() [all …]
|
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/cudaarithm/src/cuda/ |
H A D | lut.cu | 65 LookUpTableImpl::LookUpTableImpl(InputArray _lut) in LookUpTableImpl() argument 67 if (_lut.kind() == _InputArray::CUDA_GPU_MAT) in LookUpTableImpl() 69 d_lut = _lut.getGpuMat(); in LookUpTableImpl() 73 Mat h_lut = _lut.getMat(); in LookUpTableImpl()
|