Home
last modified time | relevance | path

Searched refs:getPixel (Results 1 – 25 of 1625) sorted by relevance

12345678910>>...65

/dports/lang/spidermonkey60/firefox-60.9.0/modules/pdfium/pdfium/core/fxcodec/jbig2/
H A DJBig2_GrrdProc.cpp44 uint32_t line1 = GRREG->getPixel(1, h - 1); in decode_Template0_unopt()
45 line1 |= GRREG->getPixel(0, h - 1) << 1; in decode_Template0_unopt()
90 uint32_t line1 = GRREG->getPixel(1, h - 1); in decode_Template0_unopt()
91 line1 |= GRREG->getPixel(0, h - 1) << 1; in decode_Template0_unopt()
109 int bVal = GRREFERENCE->getPixel(w, h); in decode_Template0_unopt()
292 uint32_t line1 = GRREG->getPixel(1, h - 1); in decode_Template1_unopt()
293 line1 |= GRREG->getPixel(0, h - 1) << 1; in decode_Template1_unopt()
294 line1 |= GRREG->getPixel(-1, h - 1) << 2; in decode_Template1_unopt()
332 line1 |= GRREG->getPixel(0, h - 1) << 1; in decode_Template1_unopt()
333 line1 |= GRREG->getPixel(-1, h - 1) << 2; in decode_Template1_unopt()
[all …]
H A DJBig2_Image_unittest.cpp29 EXPECT_TRUE(img.getPixel(0, 0)); in TEST()
30 EXPECT_FALSE(img.getPixel(kWidthPixels - 1, kHeightLines - 1)); in TEST()
47 EXPECT_TRUE(img.getPixel(0, 0)); in TEST()
48 EXPECT_FALSE(img.getPixel(kWidthPixels - 1, kHeightLines - 1)); in TEST()
66 EXPECT_TRUE(img.getPixel(0, 0)); in TEST()
67 EXPECT_FALSE(img.getPixel(kWidthPixels - 1, kHeightLines - 1)); in TEST()
78 EXPECT_TRUE(img.getPixel(0, 0)); in TEST()
79 EXPECT_FALSE(img.getPixel(kWidthPixels - 1, kHeightLines - 1)); in TEST()
90 EXPECT_TRUE(img.getPixel(0, 0)); in TEST()
91 EXPECT_FALSE(img.getPixel(kWidthPixels - 1, kHeightLines - 1)); in TEST()
[all …]
H A DJBig2_GrdProc.cpp160 line1 |= GBREG->getPixel(0, h - 2) << 1; in decode_Arith_Template0_unopt()
162 line2 |= GBREG->getPixel(1, h - 1) << 1; in decode_Arith_Template0_unopt()
163 line2 |= GBREG->getPixel(0, h - 1) << 2; in decode_Arith_Template0_unopt()
167 if (USESKIP && SKIP->getPixel(w, h)) { in decode_Arith_Template0_unopt()
285 line1 |= GBREG->getPixel(1, h - 2) << 1; in decode_Arith_Template1_unopt()
286 line1 |= GBREG->getPixel(0, h - 2) << 2; in decode_Arith_Template1_unopt()
288 line2 |= GBREG->getPixel(1, h - 1) << 1; in decode_Arith_Template1_unopt()
289 line2 |= GBREG->getPixel(0, h - 1) << 2; in decode_Arith_Template1_unopt()
293 if (USESKIP && SKIP->getPixel(w, h)) { in decode_Arith_Template1_unopt()
408 line1 |= GBREG->getPixel(0, h - 2) << 1; in decode_Arith_Template2_unopt()
[all …]
/dports/editors/texmaker/texmaker-5.0.3/pdfium/core/fxcodec/jbig2/
H A DJBig2_GrrdProc.cpp44 uint32_t line1 = GRREG->getPixel(1, h - 1); in decode_Template0_unopt()
45 line1 |= GRREG->getPixel(0, h - 1) << 1; in decode_Template0_unopt()
90 uint32_t line1 = GRREG->getPixel(1, h - 1); in decode_Template0_unopt()
91 line1 |= GRREG->getPixel(0, h - 1) << 1; in decode_Template0_unopt()
109 FX_BOOL bVal = GRREFERENCE->getPixel(w, h); in decode_Template0_unopt()
292 uint32_t line1 = GRREG->getPixel(1, h - 1); in decode_Template1_unopt()
293 line1 |= GRREG->getPixel(0, h - 1) << 1; in decode_Template1_unopt()
294 line1 |= GRREG->getPixel(-1, h - 1) << 2; in decode_Template1_unopt()
331 uint32_t line1 = GRREG->getPixel(1, h - 1); in decode_Template1_unopt()
332 line1 |= GRREG->getPixel(0, h - 1) << 1; in decode_Template1_unopt()
[all …]
H A DJBig2_GrdProc.cpp160 line1 |= GBREG->getPixel(0, h - 2) << 1; in decode_Arith_Template0_unopt()
162 line2 |= GBREG->getPixel(1, h - 1) << 1; in decode_Arith_Template0_unopt()
163 line2 |= GBREG->getPixel(0, h - 1) << 2; in decode_Arith_Template0_unopt()
167 if (USESKIP && SKIP->getPixel(w, h)) { in decode_Arith_Template0_unopt()
285 line1 |= GBREG->getPixel(1, h - 2) << 1; in decode_Arith_Template1_unopt()
286 line1 |= GBREG->getPixel(0, h - 2) << 2; in decode_Arith_Template1_unopt()
288 line2 |= GBREG->getPixel(1, h - 1) << 1; in decode_Arith_Template1_unopt()
289 line2 |= GBREG->getPixel(0, h - 1) << 2; in decode_Arith_Template1_unopt()
293 if (USESKIP && SKIP->getPixel(w, h)) { in decode_Arith_Template1_unopt()
408 line1 |= GBREG->getPixel(0, h - 2) << 1; in decode_Arith_Template2_unopt()
[all …]
/dports/graphics/gnash/gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880/testsuite/actionscript.all/
H A DBitmapData.as116 check_equals(bmp.getPixel(50, 1), 0);
118 check_equals(bmp.getPixel(-2, -5), 0);
121 check_equals(bmp.getPixel(20, 30), 0);
167 xcheck_equals(tr.getPixel(2, 2), 0x00);
172 xcheck_equals(tr.getPixel(2, 2), 0xac);
176 check_equals(tr.getPixel(2, 2), 0xaa);
180 check_equals(tr.getPixel(3, 3), 0xff);
236 check_equals(b.getPixel(1, 1), 0x0);
241 check_equals(b.getPixel(1, 1), 0x0);
452 col = bitmap.getPixel(x, y);
[all …]
/dports/print/hplip/hplip-3.20.6/prnt/hpcups/
H A DMode10.cpp161 uint32_t realLastPixel = getPixel(curRowPtr, lastPixel); in Process()
164 while ((getPixel (curRowPtr, lastPixel - 1) == newLastPixel) || in Process()
165 (getPixel (seedRowPtr, lastPixel) == newLastPixel)) in Process()
180 while (getPixel (seedRowPtr, curPixel) == getPixel (curRowPtr, curPixel)) in Process()
194 if (getPixel(seedRowPtr, curPixel) == realLastPixel) in Process()
212 uint32_t RLERun = getPixel (curRowPtr, curPixel); in Process()
215 while (RLERun == getPixel (curRowPtr, curPixel)) // RLE in Process()
265 uint32_t tempPixel = getPixel (curRowPtr, curPixel); in Process()
277 else if (getPixel (seedRowPtr, curPixel + 1) == tempPixel) in Process()
296 uint32_t nextPixel = getPixel (curRowPtr, curPixel+1); in Process()
[all …]
/dports/graphics/inkscape/inkscape-1.1_2021-05-24_c4e8f9ed74/src/trace/
H A Dfilterset.cpp73 sum += me->getPixel(me, j, i) * weight; in grayMapGaussian()
125 RGB rgb = me->getPixel(me, j, i); in rgbMapGaussian()
204 sumX += gm->getPixel(gm, j, i) * in grayMapSobel()
214 sumY += gm->getPixel(gm, j, i) * in grayMapSobel()
284 leftPixel = gm->getPixel(gm, x-1, y); in grayMapSobel()
285 rightPixel = gm->getPixel(gm, x+1, y); in grayMapSobel()
289 leftPixel = gm->getPixel(gm, x-1, y+1); in grayMapSobel()
290 rightPixel = gm->getPixel(gm, x+1, y-1); in grayMapSobel()
294 leftPixel = gm->getPixel(gm, x, y-1); in grayMapSobel()
295 rightPixel = gm->getPixel(gm, x, y+1); in grayMapSobel()
[all …]
/dports/graphics/luminance-qt5/luminance-hdr-2.6.1.1/src/TonemappingOperators/ashikhmin02/
H A Dpyramid.h57 inline double getPixel(int x, int y) { return (*GP)(x, y); } in getPixel() function
105 lum = pl->getPixel(newX, newY); in NoInterpolateLum()
107 lum = pl->getPixel(newX, pl->height - 1); in NoInterpolateLum()
109 lum = pl->getPixel(pl->width - 1, newY); in NoInterpolateLum()
111 lum = pl->getPixel(pl->width - 1, pl->height - 1); in NoInterpolateLum()
128 lum = omdx * omdy * pl->getPixel(X_int, Y_int) + in InterpolateLum()
129 dx * omdy * pl->getPixel(X_int + 1, Y_int) + in InterpolateLum()
134 lum = omdx * pl->getPixel(X_int, Y_int) + in InterpolateLum()
135 dx * pl->getPixel(X_int + 1, Y_int); in InterpolateLum()
138 lum = omdy * pl->getPixel(X_int, Y_int) + in InterpolateLum()
[all …]
H A Dtmo_ashikhmin02.cpp66 g = omdx * omdy * myPyramid->p[s - 1].getPixel(X_int, Y_int) + in calc_LAL_interpolated()
67 dx * omdy * myPyramid->p[s - 1].getPixel(X_int + 1, Y_int) + in calc_LAL_interpolated()
68 omdx * dy * myPyramid->p[s - 1].getPixel(X_int, Y_int + 1) + in calc_LAL_interpolated()
69 dx * dy * myPyramid->p[s - 1].getPixel(X_int + 1, Y_int + 1); in calc_LAL_interpolated()
72 g = omdx * myPyramid->p[s - 1].getPixel(X_int, Y_int) + in calc_LAL_interpolated()
73 dx * myPyramid->p[s - 1].getPixel(X_int + 1, Y_int); in calc_LAL_interpolated()
76 g = omdy * myPyramid->p[s - 1].getPixel(X_int, Y_int) + in calc_LAL_interpolated()
77 dy * myPyramid->p[s - 1].getPixel(X_int, Y_int + 1); in calc_LAL_interpolated()
79 g = myPyramid->p[s - 1].getPixel(w - 1, h - 1); in calc_LAL_interpolated()
97 return myPyramid->p[s - 1].getPixel(X_int, Y_int); in calc_LAL()
/dports/audio/drumgizmo/drumgizmo-0.9.19/plugingui/
H A Dtexturedbox.cc74 const Colour& TexturedBox::getPixel(std::size_t x, std::size_t y) const in getPixel() function in GUI::TexturedBox
83 return seg_a.getPixel(x, y); in getPixel()
89 return seg_b.getPixel(scale * dx2, y); in getPixel()
93 return seg_c.getPixel(x - (_width - dx3), y); in getPixel()
102 return seg_d.getPixel(x, scale * dy2); in getPixel()
108 return seg_e.getPixel(scale_x * dx2, scale_y * dy2); in getPixel()
113 return seg_f.getPixel(x - (_width - dx3), scale * dy2); in getPixel()
120 return seg_g.getPixel(x, y - (_height - dy3)); in getPixel()
125 return seg_h.getPixel(scale * dx2, y - (_height - dy3)); in getPixel()
129 return seg_i.getPixel(x - (_width - dx3), y - (_height - dy3)); in getPixel()
/dports/graphics/opencv/opencv-4.5.3/contrib/modules/xfeatures2d/src/pct_signatures/
H A Dgrayscale_bitmap.cpp128 …updateCoOccurrenceMatrix(getPixel(i, j), getPixel(i, j + 1)); // match every pixel with all… in getContrastEntropy()
129 updateCoOccurrenceMatrix(getPixel(i, j), getPixel(i + 1, j)); in getContrastEntropy()
130 updateCoOccurrenceMatrix(getPixel(i, j), getPixel(i + 1, j + 1)); in getContrastEntropy()
131 …updateCoOccurrenceMatrix(getPixel(i + 1, j), getPixel(i, j + 1)); // 4 updates per pixel in the… in getContrastEntropy()
165 uint pixel = getPixel(x, y); in convertToMat()
/dports/graphics/scale2x/scale2x-3.1/contrib/java/
H A DScale2xImageFilter.java151 sa = getPixel(x - 1, y - 1, pixels, w, h, doTesselization); in setPixels()
152 sb = getPixel(x, y - 1, pixels, w, h, doTesselization); in setPixels()
153 sc = getPixel(x + 1, y - 1, pixels, w, h, doTesselization); in setPixels()
154 sd = getPixel(x - 1, y, pixels, w, h, doTesselization); in setPixels()
155 se = getPixel(x, y, pixels, w, h, doTesselization); in setPixels()
156 sf = getPixel(x + 1, y, pixels, w, h, doTesselization); in setPixels()
157 sg = getPixel(x - 1, y + 1, pixels, w, h, doTesselization); in setPixels()
158 sh = getPixel(x, y + 1, pixels, w, h, doTesselization); in setPixels()
159 si = getPixel(x + 1, y + 1, pixels, w, h, doTesselization); in setPixels()
181 private static int getPixel( in getPixel() method in Scale2xImageFilter
/dports/emulators/nestopia/nestopia-1.51.1/source/core/
H A DNstVideoFilterxBR.cpp321 pf = getPixel(input.palette[src[x1 + y]]); in Xbr4X()
324 ph = getPixel(input.palette[src[x + y1]]); in Xbr4X()
336 f4 = getPixel(input.palette[src[x2 + y]]); in Xbr4X()
340 h5 = getPixel(input.palette[src[x + y2]]); in Xbr4X()
458 pf = getPixel(input.palette[src[x1 + y]]); in Xbr3X()
461 ph = getPixel(input.palette[src[x + y1]]); in Xbr3X()
953 dst = getPixel(col); in AlphaBlend32W()
963 dst = getPixel(col); in AlphaBlend64W()
973 dst = getPixel(col); in AlphaBlend128W()
983 dst = getPixel(col); in AlphaBlend192W()
[all …]
/dports/games/libretro-nestopia/nestopia-2b0315c/source/core/
H A DNstVideoFilterxBR.cpp321 pf = getPixel(input.palette[src[x1 + y]]); in Xbr4X()
324 ph = getPixel(input.palette[src[x + y1]]); in Xbr4X()
336 f4 = getPixel(input.palette[src[x2 + y]]); in Xbr4X()
340 h5 = getPixel(input.palette[src[x + y2]]); in Xbr4X()
458 pf = getPixel(input.palette[src[x1 + y]]); in Xbr3X()
461 ph = getPixel(input.palette[src[x + y1]]); in Xbr3X()
953 dst = getPixel(col); in AlphaBlend32W()
963 dst = getPixel(col); in AlphaBlend64W()
973 dst = getPixel(col); in AlphaBlend128W()
983 dst = getPixel(col); in AlphaBlend192W()
[all …]
/dports/games/mari0/
H A Dquad.lua18 local r, g, b, a = imgdata:getPixel(x*17-1, (y-1)*17)
25 local r, g, b, a = imgdata:getPixel(x*17-1, (y-1)*17+1)
32 local r, g, b, a = imgdata:getPixel(x*17-1, (y-1)*17+2)
39 local r, g, b, a = imgdata:getPixel(x*17-1, (y-1)*17+3)
46 local r, g, b, a = imgdata:getPixel(x*17-1, (y-1)*17+4)
52 local r, g, b, a = imgdata:getPixel(x*17-1, (y-1)*17+5)
/dports/graphics/gnash/gnash-2b3bdede0305c4fc3ad21a0a4197330606c9b880/testsuite/misc-haxe.all/classes.all/display/
H A DBitmapData_as.hx683 if (bmp.getPixel(1,1) == 16777215) {
828 if (x1.getPixel(1,1) == 0xeeddee) {
834 if (x1.getPixel(50,1) == 0) {
840 if (x1.getPixel(0,0) == 0xeeddee) {
846 if (x1.getPixel(-2,-5) == 0) {
852 if (x1.getPixel(20,30) == 0) {
1123 if (tr.getPixel(3,3) == 0xff) {
1146 if (ntr.getPixel(5, 5) == 0xff) {
1170 if (tr.getPixel(2, 2) == 0xac) {
1184 if (tr.getPixel(2, 2) == 0xaa) {
[all …]
/dports/games/cuyo/cuyo-2.1.0/datasrc/pics/
H A DgenSchrift.cc223 bool p0 = getPixel(src, x, y).f.r == 0; in striche_reparieren()
224 bool p1 = getPixel(src, x+1, y).f.r == 0; in striche_reparieren()
225 bool p2 = getPixel(src, x, y+1).f.r == 0; in striche_reparieren()
226 bool p3 = getPixel(src, x-1, y).f.r == 0; in striche_reparieren()
227 bool p4 = getPixel(src, x, y-1).f.r == 0; in striche_reparieren()
289 if (getPixel(src, x, y).f.r == 0) { in drei_d()
384 Pix p = getPixel(src, xx, yy); in skalieren()
432 erg = getPixel(src, x, y); in alpha_abrunden()
448 Pix p = getPixel(src, x, y); in karieren()
465 Pix p = getPixel(src, x, y); in praeConvert()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/ultima/ultima4/gfx/
H A Dscale.cpp126 src->getPixel(x, y, a.r, a.g, a.b, a.a); in scale2xBilinear()
127 src->getPixel(x + xoff, y, b.r, b.g, b.b, b.a); in scale2xBilinear()
128 src->getPixel(x, y + yoff, c.r, c.g, c.b, c.a); in scale2xBilinear()
247 src->getPixel(x, y, a.r, a.g, a.b, a.a); in scale2xSaI()
248 src->getPixel(x + xoff1, y, b.r, b.g, b.b, b.a); in scale2xSaI()
249 src->getPixel(x, y + yoff1, c.r, c.g, c.b, c.a); in scale2xSaI()
252 src->getPixel(x, y + yoff0, e.r, e.g, e.b, e.a); in scale2xSaI()
254 src->getPixel(x + xoff0, y, g.r, g.g, g.b, g.a); in scale2xSaI()
259 src->getPixel(x + xoff0, y, k.r, k.g, k.b, k.a); in scale2xSaI()
263 src->getPixel(x, y + yoff2, n.r, n.g, n.b, n.a); in scale2xSaI()
[all …]
/dports/devel/fifechan/fifechan-0.1.5/src/
H A Dimagefont.cpp86 Color separator = mImage->getPixel(0, 0); in ImageFont()
90 i < mImage->getWidth() && separator == mImage->getPixel(i, 0); in ImageFont()
103 if (separator == mImage->getPixel(i, j)) in ImageFont()
138 Color separator = mImage->getPixel(0, 0); in ImageFont()
142 i < mImage->getWidth() && separator == mImage->getPixel(i, 0); in ImageFont()
155 if (separator == mImage->getPixel(i, j)) in ImageFont()
187 Color separator = mImage->getPixel(0, 0); in ImageFont()
190 for (i=0; separator == mImage->getPixel(i, 0) in ImageFont()
203 if (separator == mImage->getPixel(i, j)) in ImageFont()
337 color = mImage->getPixel(x, y); in scanForGlyph()
[all …]
/dports/devel/guichan/guichan-0.8.2/src/
H A Dimagefont.cpp65 Color separator = mImage->getPixel(0, 0); in ImageFont()
69 i < mImage->getWidth() && separator == mImage->getPixel(i, 0); in ImageFont()
82 if (separator == mImage->getPixel(i, j)) in ImageFont()
117 Color separator = mImage->getPixel(0, 0); in ImageFont()
121 i < mImage->getWidth() && separator == mImage->getPixel(i, 0); in ImageFont()
134 if (separator == mImage->getPixel(i, j)) in ImageFont()
166 Color separator = mImage->getPixel(0, 0); in ImageFont()
169 for (i=0; separator == mImage->getPixel(i, 0) in ImageFont()
182 if (separator == mImage->getPixel(i, j)) in ImageFont()
316 color = mImage->getPixel(x, y); in scanForGlyph()
[all …]
/dports/games/spacejunk/spacejunk-1.0.5/guichan/
H A Dimagefont.cpp65 Color separator = mImage->getPixel(0, 0); in ImageFont()
69 i < mImage->getWidth() && separator == mImage->getPixel(i, 0); in ImageFont()
82 if (separator == mImage->getPixel(i, j)) in ImageFont()
119 Color separator = mImage->getPixel(0, 0); in ImageFont()
123 i < mImage->getWidth() && separator == mImage->getPixel(i, 0); in ImageFont()
136 if (separator == mImage->getPixel(i, j)) in ImageFont()
170 Color separator = mImage->getPixel(0, 0); in ImageFont()
173 for (i=0; separator == mImage->getPixel(i, 0) in ImageFont()
186 if (separator == mImage->getPixel(i, j)) in ImageFont()
322 color = mImage->getPixel(x, y); in scanForGlyph()
[all …]
/dports/games/qonk/qonk-0.3.1/guichan/guichan/
H A Dimagefont.cpp77 Color separator = mImage->getPixel(0, 0); in ImageFont()
80 for (i=0; separator == mImage->getPixel(i, 0) in ImageFont()
93 if (separator == mImage->getPixel(i, j)) in ImageFont()
123 Color separator = mImage->getPixel(0, 0); in ImageFont()
126 for (i=0; separator == mImage->getPixel(i, 0) in ImageFont()
139 if (separator == mImage->getPixel(i, j)) in ImageFont()
262 color = mImage->getPixel(x, y); in addGlyph()
284 color = mImage->getPixel(x + w, y); in addGlyph()
/dports/graphics/yafaray/libYafaRay-3.5.1/src/textures/
H A Dimagetex.cc118 else ret = image->getPixel(x, y); in getColor()
297 return image->getPixel(x1, y1, mipmaplevel); in noInterpolation()
313 colorA_t c11 = image->getPixel(x1, y1, mipmaplevel); in bilinearInterpolation()
314 colorA_t c21 = image->getPixel(x2, y1, mipmaplevel); in bilinearInterpolation()
315 colorA_t c12 = image->getPixel(x1, y2, mipmaplevel); in bilinearInterpolation()
316 colorA_t c22 = image->getPixel(x2, y2, mipmaplevel); in bilinearInterpolation()
339 colorA_t c00 = image->getPixel(x0, y0, mipmaplevel); in bicubicInterpolation()
340 colorA_t c01 = image->getPixel(x0, y1, mipmaplevel); in bicubicInterpolation()
341 colorA_t c02 = image->getPixel(x0, y2, mipmaplevel); in bicubicInterpolation()
342 colorA_t c03 = image->getPixel(x0, y3, mipmaplevel); in bicubicInterpolation()
[all …]
/dports/games/fillets-ng/fillets-ng-1.0.1/src/effect/
H A DOutline.cpp79 if (PixelTool::getPixel(copy, px, py) != bgKey) { in drawAlongCopy()
96 if (x > 0 && PixelTool::getPixel(surface, x - 1, y) == bgKey) { in fillNeighbourhood()
99 if (y > 0 && PixelTool::getPixel(surface, x, y - 1) == bgKey) { in fillNeighbourhood()
104 PixelTool::getPixel(surface, x + 1, y) == bgKey) in fillNeighbourhood()
109 PixelTool::getPixel(surface, x, y + 1) == bgKey) in fillNeighbourhood()

12345678910>>...65