Home
last modified time | relevance | path

Searched refs:pal1 (Results 1 – 25 of 177) sorted by relevance

12345678

/dports/games/exult/exult-snapshot-v1.7.0.20211128/
H A Dpalette.cc50 memset(pal1, 0, 768); in Palette()
64 memcpy(pal1, pal->pal1, 768); in take()
169 pal1[255 * 3 + 0] = r; in apply()
170 pal1[255 * 3 + 1] = g; in apply()
171 pal1[255 * 3 + 2] = b; in apply()
423 buf[i] = to->find_color(pal1[3 * i], pal1[3 * i + 1], pal1[3 * i + 2], 256); in create_palette_map()
434 newpal->pal1[c] = ((to.pal1[c] - pal1[c]) * pos) / nsteps + pal1[c]; in create_intermediate()
438 palold = to.pal1; in create_intermediate()
440 palold = pal1; in create_intermediate()
482 pal1[nr * 3] = r; in set_color()
[all …]
H A Dpalette.h48 unsigned char pal1[768]; variable
112 return pal1[3 * nr]; in get_red()
115 return pal1[3 * nr + 1]; in get_green()
118 return pal1[3 * nr + 2]; in get_blue()
/dports/science/hdf/hdf-4.2.15/hdf/test/
H A Dtpf.f39 character pal1(768), pal2(768), ipal(768)
54 pal1(3*i + 1) = char(i)
55 pal1(3*i + 2) = char(i)
56 pal1(3*i + 3) = char(i)
66 ret = dpppal(TESTFILE, pal1, 0, 'w')
97 if (ipal(i) .ne. pal1(i)) then
186 if (ipal(i) .ne. pal1(i)) then
188 * ' pal1:', pal1(i)
196 pal1(i+256) = char(256-i)
203 ret = dpppal(TESTFILE, pal1, 1, 'a')
[all …]
H A Drig.c1614 uint8 *pal1, *pal2, *ipal; in test_r8() local
1650 if (!ipal || !pal1 || !pal2) in test_r8()
1674 pal1[3 * x] = (uint8) x; in test_r8()
1686 ret = DFR8setpalette(pal1); in test_r8()
1872 HDfree(pal1); in test_r8()
1894 if (!ipal || !pal1 || !pal2) in test_pal()
1902 pal1[3 * i] = (uint8) i; in test_pal()
1930 if(HDmemcmp(ipal,pal1,768)!=0) in test_pal()
1976 if(HDmemcmp(ipal,pal1,768)!=0) in test_pal()
1996 if(HDmemcmp(ipal,pal1,768)!=0) in test_pal()
[all …]
H A Dtr8f.f33 character pal1(768), pal2(768), ipal(768)
60 pal1(3*x - 2) = char(x)
61 pal1(3*x - 1) = char(x)
62 pal1(3*x ) = char(x)
71 ret = d8spal(pal1)
118 call check_im1_pal(100, 100, d1, d2, im1, ii1, pal1, ipal)
136 call check_im2_pal(321,111,321, 111, im2, ii2, pal1, ipal)
/dports/games/NBlood/NBlood-a1689a4/source/build/src/
H A Dcolmatch.cpp43 char const *pal1 = (char const *)&pal[768-3]; in paletteInitClosestColorMap() local
44 for (bssize_t i=255; i>=0; i--,pal1-=3) in paletteInitClosestColorMap()
47 + (pal1[1]>>FASTPALRIGHTSHIFT)*FASTPALGRIDSIZ + (pal1[2]>>FASTPALRIGHTSHIFT) in paletteInitClosestColorMap()
164 char const * const pal1 = (char const *)&colmatch_palette[i*3]; in paletteGetClosestColorWithBlacklistNoCache() local
165 int dist = gdist[pal1[1]+g]; in paletteGetClosestColorWithBlacklistNoCache()
168 if ((dist += rdist[pal1[0]+r]) >= mindist) continue; in paletteGetClosestColorWithBlacklistNoCache()
169 if ((dist += bdist[pal1[2]+b]) >= mindist) continue; in paletteGetClosestColorWithBlacklistNoCache()
187 char const * const pal1 = (char const *)&colmatch_palette[i*3]; in paletteGetClosestColorWithBlacklistNoCache() local
188 int dist = gdist[pal1[1]+g]; in paletteGetClosestColorWithBlacklistNoCache()
191 if ((dist += rdist[pal1[0]+r]) >= mindist) continue; in paletteGetClosestColorWithBlacklistNoCache()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/ags/shared/util/
H A Dwgt2_allg.cpp102 void wremap(RGB *pal1, Bitmap *picc, RGB *pal2) { in wremap() argument
107 if ((pal1[jj].r == 0) && (pal1[jj].g == 0) && (pal1[jj].b == 0)) { in wremap()
110 color_mapped_table[jj] = bestfit_color(pal2, pal1[jj].r, pal1[jj].g, pal1[jj].b); in wremap()
132 void wremapall(RGB *pal1, Bitmap *picc, RGB *pal2) { in wremapall() argument
134 wremap(pal1, picc, pal2); in wremapall()
/dports/math/py-seaborn/seaborn-0.11.0/seaborn/tests/
H A Dtest_palettes.py75 pal1 = palettes.hls_palette()
77 npt.assert_array_equal(pal1, pal2)
85 pal1 = palettes.husl_palette()
133 pal1 = palettes.husl_palette(6)
134 pal1 = [utils.desaturate(c, .5) for c in pal1]
358 pal1 = color_palette("ch:", 8)
360 assert pal1 == pal2
364 assert pal1 == pal2
368 assert pal1 == pal2
372 assert pal1 == pal2
[all …]
/dports/devel/R-cran-classInt/classInt/man/
H A DgetBclustClassIntervals.Rd35 pal1 <- c("wheat1", "red3")
39 plot(hCI5, pal=pal1, main="hclust k=5")
40 plot(getHclustClassIntervals(hCI5, k=7), pal=pal1, main="hclust k=7")
41 plot(getHclustClassIntervals(hCI5, k=9), pal=pal1, main="hclust k=9")
51 plot(getBclustClassIntervals(bCI5, k=3), pal=pal1, main="bclust k=3")
52 plot(bCI5, pal=pal1, main="bclust k=5")
53 plot(getBclustClassIntervals(bCI5, k=7), pal=pal1, main="bclust k=7")
54 plot(getBclustClassIntervals(bCI5, k=9), pal=pal1, main="bclust k=9")
H A DclassIntervals.Rd282 pal = pal1,
285 pal = pal1,
288 pal = pal1,
291 pal = pal1,
294 pal = pal1,
297 pal = pal1,
312 pal = pal1,
315 pal = pal1,
323 pal = pal1,
328 pal = pal1,
[all …]
/dports/security/helib/HElib-1.3.1/misc/
H A Dparams.cpp146 PAlgebra pal1(m1, p); in main() local
147 if (pal1.numOfGens() > 1) continue; in main()
149 bool good = (pal1.numOfGens() == 0 || in main()
150 (pal1.numOfGens() == 1 && pal1.SameOrd(0))); in main()
160 first_gen = pal1.ZmStarGen(0); in main()
178 PAlgebra pal1(m1, p); in main() local
179 if (pal1.numOfGens() > 1) continue; in main()
181 bool good = (pal1.numOfGens() == 0 || in main()
182 (pal1.numOfGens() == 1 && pal1.SameOrd(0))); in main()
193 first_gen = pal1.ZmStarGen(0); in main()
H A Dparams1.cpp162 PAlgebra pal1(m1, p); in main() local
163 if (pal1.numOfGens() > 1) continue; in main()
165 bool good = (pal1.numOfGens() == 0 || in main()
166 (pal1.numOfGens() == 1 && pal1.SameOrd(0))); in main()
176 first_gen = pal1.ZmStarGen(0); in main()
195 PAlgebra pal1(m1, p); in main()
196 if (pal1.numOfGens() > 1) continue; in main()
198 bool good = (pal1.numOfGens() == 0 || in main()
199 (pal1.numOfGens() == 1 && pal1.SameOrd(0))); in main()
210 first_gen = pal1.ZmStarGen(0); in main()
H A Dparams1a.cpp166 PAlgebra pal1(m1, p); in main() local
167 if (pal1.numOfGens() > 1) continue; in main()
169 bool good = (pal1.numOfGens() == 0 || in main()
170 (pal1.numOfGens() == 1 && pal1.SameOrd(0))); in main()
180 first_gen = pal1.ZmStarGen(0); in main()
199 PAlgebra pal1(m1, p); in main()
200 if (pal1.numOfGens() > 1) continue; in main()
202 bool good = (pal1.numOfGens() == 0 || in main()
203 (pal1.numOfGens() == 1 && pal1.SameOrd(0))); in main()
214 first_gen = pal1.ZmStarGen(0); in main()
/dports/games/ags/ags_linux_v.3.4.4.1/Common/util/
H A Dwgt2allg.cpp214 void wremap(color * pal1, Bitmap *picc, color * pal2) in wremap() argument
221 if ((pal1[jj].r == 0) && (pal1[jj].g == 0) && (pal1[jj].b == 0)) in wremap()
227 color_mapped_table[jj] = bestfit_color(pal2, pal1[jj].r, pal1[jj].g, pal1[jj].b); in wremap()
249 void wremapall(color * pal1, Bitmap *picc, color * pal2) in wremapall() argument
252 wremap(pal1, picc, pal2); in wremapall()
/dports/emulators/mess/mame-mame0226/src/mame/video/
H A Ddeco32.cpp256 const pen_t *pal1 = &pens[gfx1->colorbase()]; in mix_nslasher() local
345 …destLine[x] = alpha_blend_r32(destLine[x], pal1[coloffs | ((priColAlphaPal1 & 0xff) + col1)], alph… in mix_nslasher()
349 …destLine[x] = alpha_blend_r32(destLine[x], pal1[coloffs | ((priColAlphaPal1 & 0xff) + col1)], alph… in mix_nslasher()
351 …destLine[x] = alpha_blend_r32(destLine[x], pal1[coloffs | ((priColAlphaPal1 & 0xff) + col1)], alph… in mix_nslasher()
353 …destLine[x] = alpha_blend_r32(destLine[x], pal1[coloffs | ((priColAlphaPal1 & 0xff) + col1)], alph… in mix_nslasher()
363 …destLine[x] = alpha_blend_r32(destLine[x], pal1[coloffs | ((priColAlphaPal1 & 0xff) + col1)], alph… in mix_nslasher()
365 …destLine[x] = alpha_blend_r32(destLine[x], pal1[coloffs | ((priColAlphaPal1 & 0xff) + col1)], alph… in mix_nslasher()
367 …destLine[x] = alpha_blend_r32(destLine[x], pal1[coloffs | ((priColAlphaPal1 & 0xff) + col1)], alph… in mix_nslasher()
369 …destLine[x] = alpha_blend_r32(destLine[x], pal1[coloffs | ((priColAlphaPal1 & 0xff) + col1)], alph… in mix_nslasher()
460 const pen_t *pal1 = &pens[gfx1->colorbase()]; in mix_tattass() local
[all …]
/dports/emulators/mame/mame-mame0226/src/mame/video/
H A Ddeco32.cpp256 const pen_t *pal1 = &pens[gfx1->colorbase()]; in mix_nslasher() local
345 …destLine[x] = alpha_blend_r32(destLine[x], pal1[coloffs | ((priColAlphaPal1 & 0xff) + col1)], alph… in mix_nslasher()
349 …destLine[x] = alpha_blend_r32(destLine[x], pal1[coloffs | ((priColAlphaPal1 & 0xff) + col1)], alph… in mix_nslasher()
351 …destLine[x] = alpha_blend_r32(destLine[x], pal1[coloffs | ((priColAlphaPal1 & 0xff) + col1)], alph… in mix_nslasher()
353 …destLine[x] = alpha_blend_r32(destLine[x], pal1[coloffs | ((priColAlphaPal1 & 0xff) + col1)], alph… in mix_nslasher()
363 …destLine[x] = alpha_blend_r32(destLine[x], pal1[coloffs | ((priColAlphaPal1 & 0xff) + col1)], alph… in mix_nslasher()
365 …destLine[x] = alpha_blend_r32(destLine[x], pal1[coloffs | ((priColAlphaPal1 & 0xff) + col1)], alph… in mix_nslasher()
367 …destLine[x] = alpha_blend_r32(destLine[x], pal1[coloffs | ((priColAlphaPal1 & 0xff) + col1)], alph… in mix_nslasher()
369 …destLine[x] = alpha_blend_r32(destLine[x], pal1[coloffs | ((priColAlphaPal1 & 0xff) + col1)], alph… in mix_nslasher()
460 const pen_t *pal1 = &pens[gfx1->colorbase()]; in mix_tattass() local
[all …]
/dports/devel/z88dk/z88dk/examples/sms/
H A Dchicken.c8 unsigned char pal1[] = {0x2A, 0x3F, 0x0F, 0x00, 0x01, 0x02, 0x03, 0x17, variable
78 load_palette(pal1, 0, 16); in main()
98 load_palette(pal1, 0, 16); in main()
115 load_palette(pal1, 0, 16); in main()
H A Dlibctest.c4 unsigned char pal1[] = {0x00, 0x20, 0x08, 0x28, 0x02, 0x22, 0x0A, 0x2A, variable
15 load_palette(pal1, 0, 16); in main()
H A Dapktest.c4 unsigned char pal1[] = {0x00, 0x20, 0x08, 0x28, 0x02, 0x22, 0x0A, 0x2A, variable
20 load_palette(pal1, 0, 16); in main()
/dports/devel/R-cran-classInt/classInt/inst/doc/
H A DheadtailsR.R121 pal1 <- c("wheat1", "wheat2", "red3") vector
127 pal = pal1,
135 pal = pal1,
142 pal = pal1,
149 pal = pal1,
192 pal1 <- c("wheat1", "wheat2", "red3") vector
195 plot(brks_ht, pal = pal1, main = "headtails")
196 plot(brks_fisher, pal = pal1, main = "fisher")
197 plot(brks_quantile, pal = pal1, main = "quantile")
/dports/www/netsurf/netsurf-3.10/frontends/amiga/
H A Dicon.c61 ULONG trans, ULONG pals1, struct ColorRegister *pal1, int alpha);
166 struct ColorRegister *pal1; in amiga_icon_convert() local
228 ICONCTRLA_GetPalette1, &pal1, in amiga_icon_convert()
233 width, height, trans, pals1, pal1, 0xff); in amiga_icon_convert()
344 ULONG trans, ULONG pals1, struct ColorRegister *pal1, int alpha) in amiga_icon_convertcolouricon32() argument
365 colour = &pal1[icondata[i]]; in amiga_icon_convertcolouricon32()
453 struct ColorRegister *pal1; in amiga_icon_superimpose_favicon() local
485 ICONCTRLA_GetPalette1, &pal1, in amiga_icon_superimpose_favicon()
493 width, height, trans1, pals1, pal1, 0xff); in amiga_icon_superimpose_favicon()
/dports/games/ecwolf/ecwolf-1.3.3-src/src/r_data/
H A Dr_translate.cpp267 void FRemapTable::AddIndexRange(int start, int end, int pal1, int pal2) in AddIndexRange() argument
274 swapvalues (pal1, pal2); in AddIndexRange()
279 pal1 = GPalette.Remap[pal1]; in AddIndexRange()
280 Remap[start] = pal1; in AddIndexRange()
281 Palette[start] = GPalette.BaseColors[pal1]; in AddIndexRange()
285 palcol = pal1 << FRACBITS; in AddIndexRange()
435 int pal1,pal2; in AddToTranslation() local
439 pal1 = sc->number; in AddToTranslation()
443 AddIndexRange(start, end, pal1, pal2); in AddToTranslation()
/dports/devel/allegro5/allegro5-5.2.7.0/examples/
H A Dex_palette.c24 static void interpolate_palette(float *pal, float *pal1, float *pal2, float t) in interpolate_palette() argument
28 pal[i * 3 + 0] = pal1[i * 3 + 0] * (1 - t) + (pal2[i * 3 + 0]) * t; in interpolate_palette()
29 pal[i * 3 + 1] = pal1[i * 3 + 1] * (1 - t) + (pal2[i * 3 + 1]) * t; in interpolate_palette()
30 pal[i * 3 + 2] = pal1[i * 3 + 2] * (1 - t) + (pal2[i * 3 + 2]) * t; in interpolate_palette()
/dports/databases/pointcloud/pointcloud-1.2.1/lib/cunit/
H A Dcu_pc_patch_lazperf.c218 PCPATCH_LAZPERF *pal1, *pal2; in test_wkb_lazperf() local
237 pal1 = pc_patch_lazperf_from_pointlist(pl); in test_wkb_lazperf()
240 wkb1 = pc_patch_lazperf_to_wkb(pal1, &wkbsize); in test_wkb_lazperf()
243 pal2 = (PCPATCH_LAZPERF*) pc_patch_lazperf_from_wkb( pal1->schema, wkb1, wkbsize); in test_wkb_lazperf()
253 pc_patch_free((PCPATCH*) pal1); in test_wkb_lazperf()
/dports/www/firefox-legacy/firefox-52.8.0esr/image/test/reftest/bmp/bmpsuite/b/
H A Dreftest.list13 == badbitssize.bmp pal1.png
20 == baddens1.bmp pal1.png
21 == baddens2.bmp pal1.png
26 == badfilesize.bmp pal1.png
44 == badplanes.bmp pal1.png

12345678