/dports/graphics/openfx-misc/openfx-misc-3ab0531/ColorTransform/ |
H A D | ColorTransform.cpp | 282 … Color::rgb_to_hsv(unpPix[0], unpPix[1], unpPix[2], &tmpPix[0], &tmpPix[1], &tmpPix[2]); in multiThreadProcessImages() 286 … Color::hsv_to_rgb(unpPix[0], unpPix[1], unpPix[2], &tmpPix[0], &tmpPix[1], &tmpPix[2]); in multiThreadProcessImages() 296 … Color::rgb_to_hsl(unpPix[0], unpPix[1], unpPix[2], &tmpPix[0], &tmpPix[1], &tmpPix[2]); in multiThreadProcessImages() 300 … Color::hsl_to_rgb(unpPix[0], unpPix[1], unpPix[2], &tmpPix[0], &tmpPix[1], &tmpPix[2]); in multiThreadProcessImages() 310 … Color::rgb_to_hsi(unpPix[0], unpPix[1], unpPix[2], &tmpPix[0], &tmpPix[1], &tmpPix[2]); in multiThreadProcessImages() 314 … Color::hsi_to_rgb(unpPix[0], unpPix[1], unpPix[2], &tmpPix[0], &tmpPix[1], &tmpPix[2]); in multiThreadProcessImages() 381 … Color::rgb_to_yuv601(unpPix[0], unpPix[1], unpPix[2], &tmpPix[0], &tmpPix[1], &tmpPix[2]); in multiThreadProcessImages() 385 … Color::yuv_to_rgb601(unpPix[0], unpPix[1], unpPix[2], &tmpPix[0], &tmpPix[1], &tmpPix[2]); in multiThreadProcessImages() 395 … Color::rgb_to_yuv709(unpPix[0], unpPix[1], unpPix[2], &tmpPix[0], &tmpPix[1], &tmpPix[2]); in multiThreadProcessImages() 428 … Color::xyz_to_lab(unpPix[0], unpPix[1], unpPix[2], &tmpPix[0], &tmpPix[1], &tmpPix[2]); in multiThreadProcessImages() [all …]
|
/dports/graphics/openfx-misc/openfx-misc-3ab0531/SupportExt/ |
H A D | ofxsMaskMix.h | 295 float *tmpPix, in ofxsPremult() argument 300 tmpPix[0] = unpPix[3] * maxValue; in ofxsPremult() 306 tmpPix[0] = unpPix[0] * maxValue; in ofxsPremult() 308 tmpPix[1] = unpPix[1] * maxValue; in ofxsPremult() 311 tmpPix[2] = unpPix[2] * maxValue; in ofxsPremult() 314 tmpPix[3] = unpPix[3] * maxValue; in ofxsPremult() 323 tmpPix[0] = unpPix[0] * alpha * maxValue; in ofxsPremult() 331 tmpPix[3] = alpha * maxValue; in ofxsPremult() 355 float tmpPix[nComponents]; in ofxsPremultPix() local 489 float tmpPix[nComponents]; in ofxsPremultMaskMixPix() local [all …]
|
H A D | ofxsTransform3x3Processor.h | 154 float tmpPix[nComponents]; in multiThreadProcessImagesNoBlur() local 184 tmpPix[c] = 0; in multiThreadProcessImagesNoBlur() 190 … ofxsFilterInterpolate2D<PIX, nComponents, filter, clamp>(fx, fy, _srcImg, _blackOutside, tmpPix); in multiThreadProcessImagesNoBlur() 213 float tmpPix[nComponents]; in multiThreadProcessImagesMotionBlur() local 273 tmpPix[c] = 0; in multiThreadProcessImagesMotionBlur() 279 … ofxsFilterInterpolate2D<PIX, nComponents, filter, clamp>(fx, fy, _srcImg, _blackOutside, tmpPix); in multiThreadProcessImagesMotionBlur() 296 accPix[c] += tmpPix[c]; in multiThreadProcessImagesMotionBlur() 297 accPix2[c] += tmpPix[c] * tmpPix[c]; in multiThreadProcessImagesMotionBlur() 302 accPix[c] += tmpPix[c] * _invtransformalpha[t]; in multiThreadProcessImagesMotionBlur() 303 accPix2[c] += tmpPix[c] * tmpPix[c] * _invtransformalpha[t]; in multiThreadProcessImagesMotionBlur() [all …]
|
H A D | ofxsFilter.h | 673 tmpPix[c] = 0; in ofxsFilterInterpolate2D() 700 tmpPix[c] = 0; in ofxsFilterInterpolate2D() 740 tmpPix[c] = 0; in ofxsFilterInterpolate2D() 804 tmpPix[c] = 0; in ofxsFilterInterpolate2D() 917 float *pii = tmpPix; in ofxsFilterInterpolate2DSuperInternal() 930 std::copy(tmpPix, tmpPix + nComponents, pni); in ofxsFilterInterpolate2DSuperInternal() 933 std::copy(tmpPix, tmpPix + nComponents, pnn); in ofxsFilterInterpolate2DSuperInternal() 938 std::copy(tmpPix, tmpPix + nComponents, pin); in ofxsFilterInterpolate2DSuperInternal() 1081 tmpPix[c] = 0.; in ofxsFilterInterpolate2DSuper() 1092 tmpPix[c] = 0.; in ofxsFilterInterpolate2DSuper() [all …]
|
H A D | ofxsImageBlenderMasked.h | 81 float tmpPix[nComponents]; in multiThreadProcessImages() local 99 tmpPix[c] = toPix ? (float)toPix[c] : 0.f; in multiThreadProcessImages() 101 …ofxsMaskMixPix<PIX, nComponents, maxValue, masked>(tmpPix, x, y, fromPix, _doMasking, _maskImg, bl… in multiThreadProcessImages()
|
/dports/graphics/openfx-arena/openfx-arena-Natron-2.3.14/SupportExt/ |
H A D | ofxsMaskMix.h | 295 float *tmpPix, in ofxsPremult() argument 300 tmpPix[0] = unpPix[3] * maxValue; in ofxsPremult() 306 tmpPix[0] = unpPix[0] * maxValue; in ofxsPremult() 308 tmpPix[1] = unpPix[1] * maxValue; in ofxsPremult() 311 tmpPix[2] = unpPix[2] * maxValue; in ofxsPremult() 314 tmpPix[3] = unpPix[3] * maxValue; in ofxsPremult() 323 tmpPix[0] = unpPix[0] * alpha * maxValue; in ofxsPremult() 331 tmpPix[3] = alpha * maxValue; in ofxsPremult() 355 float tmpPix[nComponents]; in ofxsPremultPix() local 489 float tmpPix[nComponents]; in ofxsPremultMaskMixPix() local [all …]
|
H A D | ofxsTransform3x3Processor.h | 154 float tmpPix[nComponents]; in multiThreadProcessImagesNoBlur() local 184 tmpPix[c] = 0; in multiThreadProcessImagesNoBlur() 190 … ofxsFilterInterpolate2D<PIX, nComponents, filter, clamp>(fx, fy, _srcImg, _blackOutside, tmpPix); in multiThreadProcessImagesNoBlur() 213 float tmpPix[nComponents]; in multiThreadProcessImagesMotionBlur() local 273 tmpPix[c] = 0; in multiThreadProcessImagesMotionBlur() 279 … ofxsFilterInterpolate2D<PIX, nComponents, filter, clamp>(fx, fy, _srcImg, _blackOutside, tmpPix); in multiThreadProcessImagesMotionBlur() 296 accPix[c] += tmpPix[c]; in multiThreadProcessImagesMotionBlur() 297 accPix2[c] += tmpPix[c] * tmpPix[c]; in multiThreadProcessImagesMotionBlur() 302 accPix[c] += tmpPix[c] * _invtransformalpha[t]; in multiThreadProcessImagesMotionBlur() 303 accPix2[c] += tmpPix[c] * tmpPix[c] * _invtransformalpha[t]; in multiThreadProcessImagesMotionBlur() [all …]
|
H A D | ofxsFilter.h | 673 tmpPix[c] = 0; in ofxsFilterInterpolate2D() 700 tmpPix[c] = 0; in ofxsFilterInterpolate2D() 740 tmpPix[c] = 0; in ofxsFilterInterpolate2D() 804 tmpPix[c] = 0; in ofxsFilterInterpolate2D() 917 float *pii = tmpPix; in ofxsFilterInterpolate2DSuperInternal() 930 std::copy(tmpPix, tmpPix + nComponents, pni); in ofxsFilterInterpolate2DSuperInternal() 933 std::copy(tmpPix, tmpPix + nComponents, pnn); in ofxsFilterInterpolate2DSuperInternal() 938 std::copy(tmpPix, tmpPix + nComponents, pin); in ofxsFilterInterpolate2DSuperInternal() 1081 tmpPix[c] = 0.; in ofxsFilterInterpolate2DSuper() 1092 tmpPix[c] = 0.; in ofxsFilterInterpolate2DSuper() [all …]
|
H A D | ofxsImageBlenderMasked.h | 81 float tmpPix[nComponents]; in multiThreadProcessImages() local 99 tmpPix[c] = toPix ? (float)toPix[c] : 0.f; in multiThreadProcessImages() 101 …ofxsMaskMixPix<PIX, nComponents, maxValue, masked>(tmpPix, x, y, fromPix, _doMasking, _maskImg, bl… in multiThreadProcessImages()
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/stdfx/ |
H A D | magicwandfx.cpp | 254 TPixel32 *tmpPix; in doMagicWand() local 290 tmpPix++; in doMagicWand() 307 tmpPix->m = 0; in doMagicWand() 310 tmpPix++; in doMagicWand() 364 tmpPix--; in doMagicWand() 375 tmpPix = m_pickedPix; in doMagicWand() 381 tmpPix++; in doMagicWand() 444 tmpPix--; in doMagicWand() 452 tmpPix--; in doMagicWand() 506 tmpPix++; in doMagicWand() [all …]
|
/dports/graphics/xv/xv-3.10a/ |
H A D | xvroot.c | 29 Pixmap tmpPix; in MakeRootPic() local 63 if (xerrcode || !tmpPix) { in MakeRootPic() 71 XPutImage(theDisp, tmpPix, theGC, theImage, 0,0, 0,0, in MakeRootPic() 77 XPutImage(theDisp, tmpPix, theGC, theImage, 0,0, 0,0, in MakeRootPic() 161 XDrawLine(theDisp, tmpPix, theGC, j,i,j,i+20); in MakeRootPic() 168 XPutImage(theDisp, tmpPix, theGC, theImage, 0,0, in MakeRootPic() 186 XPutImage(theDisp, tmpPix, theGC, theImage, 0,y, in MakeRootPic() 203 XPutImage(theDisp, tmpPix, theGC, theImage, x,0, in MakeRootPic() 224 XPutImage(theDisp, tmpPix, theGC, theImage, x,y, in MakeRootPic() 251 XSetWindowBackgroundPixmap(theDisp, mainW, tmpPix); in MakeRootPic() [all …]
|
/dports/japanese/xv/xv-3.10a/ |
H A D | xvroot.c | 29 Pixmap tmpPix; in MakeRootPic() local 63 if (xerrcode || !tmpPix) { in MakeRootPic() 71 XPutImage(theDisp, tmpPix, theGC, theImage, 0,0, 0,0, in MakeRootPic() 77 XPutImage(theDisp, tmpPix, theGC, theImage, 0,0, 0,0, in MakeRootPic() 161 XDrawLine(theDisp, tmpPix, theGC, j,i,j,i+20); in MakeRootPic() 168 XPutImage(theDisp, tmpPix, theGC, theImage, 0,0, in MakeRootPic() 186 XPutImage(theDisp, tmpPix, theGC, theImage, 0,y, in MakeRootPic() 203 XPutImage(theDisp, tmpPix, theGC, theImage, x,0, in MakeRootPic() 224 XPutImage(theDisp, tmpPix, theGC, theImage, x,y, in MakeRootPic() 251 XSetWindowBackgroundPixmap(theDisp, mainW, tmpPix); in MakeRootPic() [all …]
|
/dports/graphics/xv-m17n/xv-3.10a/ |
H A D | xvroot.c | 29 Pixmap tmpPix; in MakeRootPic() local 63 if (xerrcode || !tmpPix) { in MakeRootPic() 71 XPutImage(theDisp, tmpPix, theGC, theImage, 0,0, 0,0, in MakeRootPic() 77 XPutImage(theDisp, tmpPix, theGC, theImage, 0,0, 0,0, in MakeRootPic() 161 XDrawLine(theDisp, tmpPix, theGC, j,i,j,i+20); in MakeRootPic() 168 XPutImage(theDisp, tmpPix, theGC, theImage, 0,0, in MakeRootPic() 186 XPutImage(theDisp, tmpPix, theGC, theImage, 0,y, in MakeRootPic() 203 XPutImage(theDisp, tmpPix, theGC, theImage, x,0, in MakeRootPic() 224 XPutImage(theDisp, tmpPix, theGC, theImage, x,y, in MakeRootPic() 251 XSetWindowBackgroundPixmap(theDisp, mainW, tmpPix); in MakeRootPic() [all …]
|
/dports/graphics/openfx-misc/openfx-misc-3ab0531/Rectangle/ |
H A D | Rectangle.cpp | 348 float tmpPix[4]; in process() local 573 tmpPix[0] = (float)_color0.r * (1.f - a) + tmpPix[0] * a; in process() 574 tmpPix[1] = (float)_color0.g * (1.f - a) + tmpPix[1] * a; in process() 575 tmpPix[2] = (float)_color0.b * (1.f - a) + tmpPix[2] * a; in process() 576 tmpPix[3] = (float)_color0.a * (1.f - a) + tmpPix[3] * a; in process() 579 float a = tmpPix[3]; in process() 598 tmpPix[0] = tmpPix[0] + srcPixRGBA[0] * (1.f - (float)a); in process() 603 tmpPix[1] = tmpPix[1] + srcPixRGBA[1] * (1.f - (float)a); in process() 608 tmpPix[2] = tmpPix[2] + srcPixRGBA[2] * (1.f - (float)a); in process() 613 tmpPix[3] = tmpPix[3] + srcPixRGBA[3] * (1.f - (float)a); in process() [all …]
|
/dports/graphics/openfx-misc/openfx-misc-3ab0531/Radial/ |
H A D | Radial.cpp | 335 float tmpPix[4]; in process() local 450 tmpPix[0] = (float)_color0.r * (1.f - a) + tmpPix[0] * a; in process() 451 tmpPix[1] = (float)_color0.g * (1.f - a) + tmpPix[1] * a; in process() 452 tmpPix[2] = (float)_color0.b * (1.f - a) + tmpPix[2] * a; in process() 453 tmpPix[3] = (float)_color0.a * (1.f - a) + tmpPix[3] * a; in process() 457 float a = tmpPix[3]; in process() 460 tmpPix[0] *= maxValue; in process() 476 tmpPix[0] = tmpPix[0] + srcPixRGBA[0] * (1.f - a); in process() 481 tmpPix[1] = tmpPix[1] + srcPixRGBA[1] * (1.f - a); in process() 486 tmpPix[2] = tmpPix[2] + srcPixRGBA[2] * (1.f - a); in process() [all …]
|
/dports/graphics/ossim/ossim-OrchidIsland-2.11.1/src/imaging/ |
H A D | ossimTwoColorView.cpp | 254 ossim_float32 tmpPix = 0.0; in runNorm() local 275 tmpPix = (*n) * 255.0; in runNorm() 278 tmpPix = (tmpPix <= 255.0) ? ( (tmpPix >= 1.0) ? tmpPix : 1.0) : 255.0; in runNorm() 281 newPix = static_cast<ossim_uint8>( tmpPix ); in runNorm() 292 tmpPix = (*o) * 255.0; in runNorm() 295 tmpPix = (tmpPix <= 255.0) ? ( (tmpPix >= 1.0) ? tmpPix : 1.0) : 255.0; in runNorm() 298 oldPix = static_cast<ossim_uint8>( tmpPix ); in runNorm()
|
/dports/graphics/openfx-misc/openfx-misc-3ab0531/Despill/ |
H A D | Despill.cpp | 265 float tmpPix[4]; in multiThreadProcessImages() local 287 tmpPix[0] = sampleToFloat<PIX, maxValue>(srcPix[0]); in multiThreadProcessImages() 288 tmpPix[1] = sampleToFloat<PIX, maxValue>(srcPix[1]); in multiThreadProcessImages() 289 tmpPix[2] = sampleToFloat<PIX, maxValue>(srcPix[2]); in multiThreadProcessImages() 293 tmpPix[3] = 0.; in multiThreadProcessImages() 296 …spillmap = std::max(tmpPix[1] - ( tmpPix[0] * _spillMix + tmpPix[2] * (1 - _spillMix) ) * (1 - _sp… in multiThreadProcessImages() 298 …spillmap = std::max(tmpPix[2] - ( tmpPix[0] * _spillMix + tmpPix[1] * (1 - _spillMix) ) * (1 - _sp… in multiThreadProcessImages() 301 … tmpPix[0] = clamp<float>(tmpPix[0] + spillmap * _redScale + _brightness * spillmap, 1.); in multiThreadProcessImages() 302 … tmpPix[1] = clamp<float>(tmpPix[1] + spillmap * _greenScale + _brightness * spillmap, 1.); in multiThreadProcessImages() 303 … tmpPix[2] = clamp<float>(tmpPix[2] + spillmap * _blueScale + _brightness * spillmap, 1.); in multiThreadProcessImages() [all …]
|
/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/common/trop/ |
H A D | toperators.cpp | 333 TPixel32 tmpPix; in colorburn() local 337 tmpPix.m = upPix->m; in colorburn() 379 TPixel64 tmpPix; in colorburn() local 418 TPixel32 tmpPix; in screen() local 447 TPixel64 tmpPix; in screen() local 1320 TPixel32 tmpPix; in linearburn() local 1349 TPixel64 tmpPix; in linearburn() local 1399 tmpPix = *downPix; in overlay() 1401 if (tmpPix.r < 128) in overlay() 1409 if (tmpPix.g < 128) in overlay() [all …]
|
/dports/graphics/openfx-misc/openfx-misc-3ab0531/Ramp/ |
H A D | Ramp.cpp | 310 float tmpPix[4]; in processForType() local 336 float a = tmpPix[3]; in processForType() 339 tmpPix[0] *= maxValue; in processForType() 340 tmpPix[1] *= maxValue; in processForType() 341 tmpPix[2] *= maxValue; in processForType() 342 tmpPix[3] *= maxValue; in processForType() 355 tmpPix[0] = tmpPix[0] + srcPixRGBA[0] * (1.f - a); in processForType() 357 tmpPix[0] = srcPixRGBA[0]; in processForType() 360 tmpPix[1] = tmpPix[1] + srcPixRGBA[1] * (1.f - a); in processForType() 365 tmpPix[2] = tmpPix[2] + srcPixRGBA[2] * (1.f - a); in processForType() [all …]
|
/dports/graphics/openfx-misc/openfx-misc-3ab0531/FrameBlend/ |
H A D | FrameBlend.cpp | 316 float tmpPix[nComponents]; in process() local 358 std::fill(tmpPix, tmpPix + nComponents, initVal); in process() 369 tmpPix[c] += srcPixi[c]; in process() 372 tmpPix[c] = std::min(tmpPix[c], (float)srcPixi[c]); in process() 375 tmpPix[c] = std::max(tmpPix[c], (float)srcPixi[c]); in process() 394 … std::copy(tmpPix, tmpPix + nComponents, &_accumulatorData[renderPix * nComponents]); in process() 400 tmpPix[c] = count; in process() 402 tmpPix[c] = (count ? (tmpPix[c] / count) : 0); in process() 407 tmpPix[c] = (count ? (tmpPix[c] / count) : 0); in process() 413 tmpPix[c] = count; in process() [all …]
|
/dports/graphics/openfx-misc/openfx-misc-3ab0531/ColorLookup/ |
H A D | ColorLookup.cpp | 432 float tmpPix[4]; in multiThreadProcessImages() local 446 tmpPix[0] = interpolate(0, a) * maxValue; in multiThreadProcessImages() 448 …NaN(srcPix[c]) && !OFX::IsNaN(srcPix[c]) ) ) && !OFX::IsNaN(tmpPix[c]) && !OFX::IsNaN(tmpPix[c]) ); in multiThreadProcessImages() 532 …NaN(srcPix[c]) && !OFX::IsNaN(srcPix[c]) ) ) && !OFX::IsNaN(tmpPix[c]) && !OFX::IsNaN(tmpPix[c]) ); in multiThreadProcessImages() 546 tmpPix[0] = interpolate(0, r); in multiThreadProcessImages() 547 tmpPix[1] = interpolate(1, g); in multiThreadProcessImages() 548 tmpPix[2] = interpolate(2, b); in multiThreadProcessImages() 570 tmpPix[0] = clamp<float>(r, 1); in multiThreadProcessImages() 571 tmpPix[1] = clamp<float>(g, 1); in multiThreadProcessImages() 572 tmpPix[2] = clamp<float>(b, 1); in multiThreadProcessImages() [all …]
|
/dports/graphics/openfx-misc/openfx-misc-3ab0531/Quantize/ |
H A D | Quantize.cpp | 384 float tmpPix[4]; in process() local 417 tmpPix[c] = rounded / (_colors - 1.); in process() 438 tmpPix[c] = fv / (_colors - 1.); in process() 440 tmpPix[c] = (fv + 1) / (_colors - 1.); in process() 462 tmpPix[c] = fv / (_colors - 1.); in process() 464 tmpPix[c] = (fv + 1) / (_colors - 1.); in process() 486 tmpPix[c] = fv / (_colors - 1.); in process() 488 tmpPix[c] = (fv + 1) / (_colors - 1.); in process() 510 tmpPix[c] = fv / (_colors - 1.); in process() 534 tmpPix[c] = fv / (_colors - 1.); in process() [all …]
|
/dports/graphics/openfx-misc/openfx-misc-3ab0531/GodRays/ |
H A D | GodRays.cpp | 237 float tmpPix[nComponents]; in multiThreadProcessImagesNoBlur() local 263 tmpPix[c] = 0; in multiThreadProcessImagesNoBlur() 269 … ofxsFilterInterpolate2D<PIX, nComponents, filter, clamp>(fx, fy, _srcImg, _blackOutside, tmpPix); in multiThreadProcessImagesNoBlur() 286 float tmpPix[nComponents]; in multiThreadProcessImagesMotionBlur() local 357 tmpPix[c] = 0; in multiThreadProcessImagesMotionBlur() 374 tmpPix[c] *= _color[t][c]; in multiThreadProcessImagesMotionBlur() 376 max[c] = std::max(max[c], tmpPix[c]); in multiThreadProcessImagesMotionBlur() 378 accPix[c] += tmpPix[c]; in multiThreadProcessImagesMotionBlur() 380 accPix2[c] += tmpPix[c] * tmpPix[c]; in multiThreadProcessImagesMotionBlur() 408 tmpPix[c] = (float)max[c]; in multiThreadProcessImagesMotionBlur() [all …]
|
/dports/graphics/openfx-misc/openfx-misc-3ab0531/TimeBlur/ |
H A D | TimeBlur.cpp | 127 float tmpPix[nComponents]; in multiThreadProcessImages() local 146 …orData[renderPix * nComponents], &_accumulatorData[renderPix * nComponents + nComponents], tmpPix); in multiThreadProcessImages() 148 std::fill(tmpPix, tmpPix + nComponents, initVal); in multiThreadProcessImages() 155 tmpPix[c] += srcPixi[c]; in multiThreadProcessImages() 162 … std::copy(tmpPix, tmpPix + nComponents, &_accumulatorData[renderPix * nComponents]); in multiThreadProcessImages() 166 float v = tmpPix[c] / _divisions; in multiThreadProcessImages()
|
/dports/graphics/openfx-misc/openfx-misc-3ab0531/Log2Lin/ |
H A D | Log2Lin.cpp | 278 float tmpPix[4]; in process() local 294 tmpPix[c] = log2lin(unpPix[c], c); in process() 296 tmpPix[c] = unpPix[c]; in process() 299 tmpPix[3] = unpPix[3]; in process() 300 …ofxsPremultMaskMixPix<PIX, nComponents, maxValue, true>(tmpPix, _premult, _premultChannel, x, y, s… in process() 381 float tmpPix[4]; in process() local 394 tmpPix[c] = lin2log(unpPix[c], c); in process() 396 tmpPix[3] = unpPix[3]; in process() 397 …ofxsPremultMaskMixPix<PIX, nComponents, maxValue, true>(tmpPix, _premult, _premultChannel, x, y, s… in process()
|