Home
last modified time | relevance | path

Searched refs:oldPixel (Results 1 – 25 of 45) sorted by relevance

12

/dports/graphics/kf5-kimageformats/kimageformats-5.89.0/src/imageformats/
H A Dpsd.cpp114 static QRgb updateRed(QRgb oldPixel, quint8 redPixel) in updateRed() argument
116 return qRgba(redPixel, qGreen(oldPixel), qBlue(oldPixel), qAlpha(oldPixel)); in updateRed()
118 static QRgb updateGreen(QRgb oldPixel, quint8 greenPixel) in updateGreen() argument
120 return qRgba(qRed(oldPixel), greenPixel, qBlue(oldPixel), qAlpha(oldPixel)); in updateGreen()
122 static QRgb updateBlue(QRgb oldPixel, quint8 bluePixel) in updateBlue() argument
124 return qRgba(qRed(oldPixel), qGreen(oldPixel), bluePixel, qAlpha(oldPixel)); in updateBlue()
126 static QRgb updateAlpha(QRgb oldPixel, quint8 alphaPixel) in updateAlpha() argument
128 return qRgba(qRed(oldPixel), qGreen(oldPixel), qBlue(oldPixel), alphaPixel); in updateAlpha()
193 static const channelUpdater16 updaters64[4] = {[](QRgba64 oldPixel, quint16 redPixel) { in LoadPSD()
196 [](QRgba64 oldPixel, quint16 greenPixel) { in LoadPSD()
[all …]
H A Dpic.cpp184 auto updatePixel = [&](QRgb oldPixel, QRgb newPixel) -> QRgb { in readRow() argument
185 return qRgba(qRed((channel.code & RED) ? newPixel : oldPixel), in readRow()
186 qGreen((channel.code & GREEN) ? newPixel : oldPixel), in readRow()
187 qBlue((channel.code & BLUE) ? newPixel : oldPixel), in readRow()
188 qAlpha((channel.code & ALPHA) ? newPixel : oldPixel)); in readRow()
/dports/net/tigervnc-server/tigervnc-1.12.0/unix/xserver/mi/
H A Dmiwideline.h77 #define MILINESETPIXEL(pDrawable, pGC, pixel, oldPixel) { \ argument
78 oldPixel = pGC->fgPixel; \
79 if (pixel != oldPixel) { \
86 #define MILINERESETPIXEL(pDrawable, pGC, pixel, oldPixel) { \ argument
87 if (pixel != oldPixel) { \
89 gcval.val = oldPixel; \
/dports/x11-servers/xephyr/xorg-server-1.20.13/mi/
H A Dmiwideline.h77 #define MILINESETPIXEL(pDrawable, pGC, pixel, oldPixel) { \ argument
78 oldPixel = pGC->fgPixel; \
79 if (pixel != oldPixel) { \
86 #define MILINERESETPIXEL(pDrawable, pGC, pixel, oldPixel) { \ argument
87 if (pixel != oldPixel) { \
89 gcval.val = oldPixel; \
/dports/x11-servers/xorg-vfbserver/xorg-server-1.20.13/mi/
H A Dmiwideline.h77 #define MILINESETPIXEL(pDrawable, pGC, pixel, oldPixel) { \ argument
78 oldPixel = pGC->fgPixel; \
79 if (pixel != oldPixel) { \
86 #define MILINERESETPIXEL(pDrawable, pGC, pixel, oldPixel) { \ argument
87 if (pixel != oldPixel) { \
89 gcval.val = oldPixel; \
/dports/x11-servers/xwayland-devel/xorg-xserver-xorg-server-21.0.99.1-177-g9e5a37961/mi/
H A Dmiwideline.h77 #define MILINESETPIXEL(pDrawable, pGC, pixel, oldPixel) { \ argument
78 oldPixel = pGC->fgPixel; \
79 if (pixel != oldPixel) { \
86 #define MILINERESETPIXEL(pDrawable, pGC, pixel, oldPixel) { \ argument
87 if (pixel != oldPixel) { \
89 gcval.val = oldPixel; \
/dports/x11-servers/xwayland/xorg-server-1.20.13/mi/
H A Dmiwideline.h77 #define MILINESETPIXEL(pDrawable, pGC, pixel, oldPixel) { \ argument
78 oldPixel = pGC->fgPixel; \
79 if (pixel != oldPixel) { \
86 #define MILINERESETPIXEL(pDrawable, pGC, pixel, oldPixel) { \ argument
87 if (pixel != oldPixel) { \
89 gcval.val = oldPixel; \
/dports/x11-servers/xorg-server/xorg-server-1.20.13/mi/
H A Dmiwideline.h77 #define MILINESETPIXEL(pDrawable, pGC, pixel, oldPixel) { \ argument
78 oldPixel = pGC->fgPixel; \
79 if (pixel != oldPixel) { \
86 #define MILINERESETPIXEL(pDrawable, pGC, pixel, oldPixel) { \ argument
87 if (pixel != oldPixel) { \
89 gcval.val = oldPixel; \
/dports/x11-servers/xarcan/xarcan-0.6.0/mi/
H A Dmiwideline.h77 #define MILINESETPIXEL(pDrawable, pGC, pixel, oldPixel) { \ argument
78 oldPixel = pGC->fgPixel; \
79 if (pixel != oldPixel) { \
86 #define MILINERESETPIXEL(pDrawable, pGC, pixel, oldPixel) { \ argument
87 if (pixel != oldPixel) { \
89 gcval.val = oldPixel; \
/dports/x11-servers/xorg-dmx/xorg-server-1.20.13/mi/
H A Dmiwideline.h77 #define MILINESETPIXEL(pDrawable, pGC, pixel, oldPixel) { \ argument
78 oldPixel = pGC->fgPixel; \
79 if (pixel != oldPixel) { \
86 #define MILINERESETPIXEL(pDrawable, pGC, pixel, oldPixel) { \ argument
87 if (pixel != oldPixel) { \
89 gcval.val = oldPixel; \
/dports/x11-servers/xorg-nestserver/xorg-server-1.20.13/mi/
H A Dmiwideline.h77 #define MILINESETPIXEL(pDrawable, pGC, pixel, oldPixel) { \ argument
78 oldPixel = pGC->fgPixel; \
79 if (pixel != oldPixel) { \
86 #define MILINERESETPIXEL(pDrawable, pGC, pixel, oldPixel) { \ argument
87 if (pixel != oldPixel) { \
89 gcval.val = oldPixel; \
/dports/net/tightvnc/vnc_unixsrc/Xvnc/programs/Xserver/mi/
H A Dmiwideline.h144 #define MILINESETPIXEL(pDrawable, pGC, pixel, oldPixel) { \ argument
145 oldPixel = pGC->fgPixel; \
146 if (pixel != oldPixel) { \
151 #define MILINERESETPIXEL(pDrawable, pGC, pixel, oldPixel) { \ argument
152 if (pixel != oldPixel) { \
153 DoChangeGC (pGC, GCForeground, (XID *) &oldPixel, FALSE); \
H A Dmiwideline.c94 XID oldPixel; local
114 oldPixel = pGC->fgPixel;
115 if (pixel != oldPixel)
176 if (pixel != oldPixel)
199 XID oldPixel; local
210 if (pixel != oldPixel)
216 if (pixel != oldPixel)
433 unsigned long oldPixel; local
995 XID oldPixel; local
1502 XID oldPixel, pixel; local
[all …]
/dports/graphics/mandelbulber/mandelbulber2-2.26/mandelbulber2/src/
H A Dpost_effect_hdr_blur.cpp101 sRGBFloat oldPixel = tempImage[xx + yy * image->GetWidth()]; in Render() local
102 newPixel.R += oldPixel.R * value; in Render()
103 newPixel.G += oldPixel.G * value; in Render()
104 newPixel.B += oldPixel.B * value; in Render()
H A Ddenoiser.cpp340 sRGBFloat oldPixel = blurBuffer[xx + yy * width]; in Denoise() local
345 newPixelMixed.R = oldPixel.R * (1.0f - mixFactor) + newPixel.R * mixFactor; in Denoise()
346 newPixelMixed.G = oldPixel.G * (1.0f - mixFactor) + newPixel.G * mixFactor; in Denoise()
347 newPixelMixed.B = oldPixel.B * (1.0f - mixFactor) + newPixel.B * mixFactor; in Denoise()
H A Dcimage.cpp588 sRGB8 oldPixel = Interpolation(xx, yy); in UpdatePreview() local
589 R += oldPixel.R; in UpdatePreview()
590 G += oldPixel.G; in UpdatePreview()
591 B += oldPixel.B; in UpdatePreview()
676 sRGB8 oldPixel = Interpolation(xx, yy); in UpdatePreview() local
677 R += oldPixel.R; in UpdatePreview()
678 G += oldPixel.G; in UpdatePreview()
679 B += oldPixel.B; in UpdatePreview()
807 sRGB8 oldPixel; in PutPixelAlfa() local
809 oldPixel = preview[address]; in PutPixelAlfa()
[all …]
H A Dshader_volumetric.cpp50 const sShaderInputData &input, sRGBAfloat oldPixel, sRGBAfloat *opacityOut) const in VolumetricShader() argument
55 output.R = oldPixel.R; in VolumetricShader()
56 output.G = oldPixel.G; in VolumetricShader()
57 output.B = oldPixel.B; in VolumetricShader()
58 output.A = oldPixel.A; in VolumetricShader()
/dports/graphics/netpbm/netpbm-10.91.01/editor/specialty/
H A Dppmntsc.c351 reportMapping(pixel const oldPixel, in reportMapping() argument
361 if (!PPM_EQUAL(oldPixel, newPixel) && in reportMapping()
362 (firstTime || PPM_EQUAL(oldPixel, lastChangedPixel))) { in reportMapping()
364 PPM_GETR(oldPixel), in reportMapping()
365 PPM_GETG(oldPixel), in reportMapping()
366 PPM_GETB(oldPixel), in reportMapping()
372 lastChangedPixel = oldPixel; in reportMapping()
/dports/graphics/mandelbulber/mandelbulber2-2.26/mandelbulber2/opencl/engines/
H A Dchromatic_aberration.cl121 float4 oldPixel = clamp(inputImage[inBuffIndex], 0.0f, 100.0f);
123 oldPixel.s0 *= fWeight.s0;
124 oldPixel.s1 *= fWeight.s1;
125 oldPixel.s2 *= fWeight.s2;
127 newPixel += oldPixel;
/dports/audio/rosegarden/rosegarden-21.06.1/src/gui/general/
H A DPixmapFunctions.cpp102 QRgb oldPixel = image.pixel(x, y); in colourPixmap() local
103 QColor oldColour(oldPixel); // This doesn't seem to pick up the alpha channel. in colourPixmap()
107 … oldColour.setAlpha(int(qAlpha(oldPixel) * 1.5) > 255 ? 255 : int(qAlpha(oldPixel) * 1.5)); in colourPixmap()
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/titanic/star_control/
H A Dstar_points1.cpp77 uint oldPixel = surface->_pixel; in draw() local
108 surface->_pixel = oldPixel; in draw()
H A Dstar_points2.cpp81 uint oldPixel = surface->_pixel; in draw() local
118 surface->_pixel = oldPixel; in draw()
/dports/games/scummvm/scummvm-2.5.1/engines/titanic/star_control/
H A Dconst_boundaries.cpp92 uint oldPixel = surface->_pixel; in draw() local
119 surface->_pixel = oldPixel; in draw()
H A Dconstellations.cpp86 uint oldPixel = surface->_pixel; in draw() local
118 surface->_pixel = oldPixel; in draw()
/dports/graphics/blender/blender-2.91.0/source/blender/imbuf/intern/cineon/
H A DlogImageCore.c840 unsigned int pixel, oldPixel; in logImageElementGetData10Packed() local
853 oldPixel = 0; in logImageElementGetData10Packed()
861 oldPixel = 0; in logImageElementGetData10Packed()
868 oldPixel = (pixel >> offset); in logImageElementGetData10Packed()
884 (float)((((pixel << offset2) >> offset) & 0x3ff) | oldPixel) / 1023.0f; in logImageElementGetData10Packed()
934 unsigned int pixel, oldPixel; in logImageElementGetData12Packed() local
947 oldPixel = 0; in logImageElementGetData12Packed()
955 oldPixel = 0; in logImageElementGetData12Packed()
962 oldPixel = (pixel >> offset); in logImageElementGetData12Packed()
978 (float)((((pixel << offset2) >> offset) & 0xfff) | oldPixel) / 4095.0f; in logImageElementGetData12Packed()

12