Home
last modified time | relevance | path

Searched refs:plte (Results 1 – 25 of 77) sorted by relevance

1234

/dports/sysutils/ldap-account-manager/ldap-account-manager-7.3/lib/3rdParty/composer/web-auth/metadata-service/src/
H A DDisplayPNGCharacteristicsDescriptor.php58 private $plte = []; variable in Webauthn\\MetadataService\\DisplayPNGCharacteristicsDescriptor
100 return $this->plte;
115 $plte = $data['plte'];
116 Assertion::isArray($plte, 'Invalid "plte" parameter');
117 foreach ($plte as $item) {
118 $object->plte[] = RgbPaletteEntry::createFromArray($item);
/dports/devel/kde-dev-scripts/kde-dev-scripts-21.12.3/
H A Dpng2mng.pl173 if ($e == 1) { $plte = $white.$black; }
174 elsif ($e == 2) { $plte = $white.$red; }
175 else { $plte = $red.$white; }
177 $plte = "PLTE".$plte;
183 $p.="\0\0\0\x06".$plte.&CalcCrc($plte);
/dports/security/nextcloud-twofactor_webauthn/twofactor_webauthn/vendor/web-auth/metadata-service/src/
H A DDisplayPNGCharacteristicsDescriptor.php60 private $plte = []; variable in Webauthn\\MetadataService\\DisplayPNGCharacteristicsDescriptor
83 $this->plte[] = $rgbPaletteEntry;
128 return $this->plte;
147 $plte = $data['plte'];
148 Assertion::isArray($plte, Utils::logicException('Invalid "plte" parameter'));
149 foreach ($plte as $item) {
167 'plte' => $this->plte,
/dports/www/nextcloud/nextcloud/3rdparty/web-auth/metadata-service/src/
H A DDisplayPNGCharacteristicsDescriptor.php60 private $plte = []; variable in Webauthn\\MetadataService\\DisplayPNGCharacteristicsDescriptor
83 $this->plte[] = $rgbPaletteEntry;
128 return $this->plte;
147 $plte = $data['plte'];
148 Assertion::isArray($plte, Utils::logicException('Invalid "plte" parameter'));
149 foreach ($plte as $item) {
167 'plte' => $this->plte,
/dports/graphics/libspng/libspng-0.7.2/spng/
H A Dspng.c181 unsigned plte: 1; member
310 struct spng_plte plte; member
3888 plte[i].red = red; in spng_decode_image()
3889 plte[i].green = green; in spng_decode_image()
3890 plte[i].blue = blue; in spng_decode_image()
4163 if(ctx->stored.plte) in write_chunks_before_idat()
5406 *plte = ctx->plte; in spng_get_plte()
5646 ctx->plte.n_entries = plte->n_entries; in spng_set_plte()
5648 memcpy(ctx->plte.entries, plte->entries, plte->n_entries * sizeof(struct spng_plte_entry)); in spng_set_plte()
5650 ctx->stored.plte = 1; in spng_set_plte()
[all …]
/dports/graphics/libspng/libspng-0.7.2/tests/
H A Dtest.cpp12 struct spng_plte plte; in main() local
13 int e = spng_get_plte(ctx, &plte); in main()
H A Dtestsuite.c349 if(chunks.plte) printf(" PLTE"); in print_chunks()
387 ret = spng_get_plte(ctx, &spng->plte); in get_chunks()
392 spng->have.plte = 1; in get_chunks()
464 if(spng->have.plte) spng_set_plte(dst, &spng->plte); in set_chunks()
568 if(spng.plte.n_entries != png.n_plte_entries) in compare_chunks()
575 for(i=0; i < spng.plte.n_entries; i++) in compare_chunks()
828 for(i=0; i < spng.plte.n_entries; i++) in compare_chunks()
1422 struct spng_plte plte = {0}; in extended_tests() local
1433 spng_get_plte(dec, &plte); in extended_tests()
1446 if(plte.n_entries) spng_set_plte(enc, &plte); in extended_tests()
[all …]
H A Dspngt_common.h15 unsigned plte: 1; member
42 struct spng_plte plte; member
H A Dspng_write_fuzzer.c82 struct spng_plte plte; in LLVMFuzzerTestOneInput() local
95 copy_val(plte); in LLVMFuzzerTestOneInput()
109 spng_set_plte(ctx, &plte); in LLVMFuzzerTestOneInput()
/dports/graphics/py-plotly/plotly-4.14.3/_plotly_utils/
H A Dpng.py1711 self.plte = None
1720 if self.plte:
1722 self.plte = data
1733 if not self.plte:
1745 if not self.plte:
1850 if self.plte:
1889 if not self.plte:
1891 plte = group(array("B", self.plte), 3)
1895 plte = list(map(operator.add, plte, group(trns, 1)))
1896 return plte
[all …]
/dports/graphics/py-pyglet/pyglet-1.5.21/pyglet/extlibs/
H A Dpng.py1708 self.plte = None
1717 if self.plte:
1719 self.plte = data
1731 if not self.plte:
1745 if not self.plte:
1846 if self.plte:
1885 if not self.plte:
1888 plte = group(array('B', self.plte), 3)
1892 plte = list(map(operator.add, plte, group(trns, 1)))
1893 return plte
[all …]
/dports/graphics/py-pymaging-png/pymaging-png-83d85c4/pymaging_png/
H A Dreader.py270 self.plte = None
483 self.plte = chunk
541 if self.plte:
546 plte = group(array.array('B', self.plte), 3)
549 trns.extend([255] * (len(plte) - len(trns)))
550 plte = map(operator.add, plte, group(trns, 1))
551 self.palette = plte
H A Draw.py1703 self.plte = None
1711 if self.plte:
1713 self.plte = data
1724 if not self.plte:
1737 if not self.plte:
1790 if self.colormap and not self.plte:
1862 if not self.plte:
1865 plte = group(array('B', self.plte), 3)
1869 plte = map(operator.add, plte, group(trns, 1))
1870 return plte
[all …]
/dports/graphics/jogamp-jogl/jogl/src/jogl/classes/jogamp/opengl/util/pngj/chunks/
H A DPngMetadata.java218 final PngChunkPLTE plte = new PngChunkPLTE(chunkList.imageInfo); in createPLTEChunk() local
219 queueChunk(plte); in createPLTEChunk()
220 return plte; in createPLTEChunk()
/dports/graphics/png++/png++-0.2.10/
H A Dimage_info.hpp147 void set_palette(palette const& plte) in set_palette() argument
149 m_palette = plte; in set_palette()
/dports/graphics/libspng/libspng-0.7.2/examples/
H A Dexample.c139 struct spng_plte plte = {0}; in main() local
140 ret = spng_get_plte(ctx, &plte); in main()
148 if(!ret) printf("palette entries: %u\n", plte.n_entries); in main()
/dports/emulators/mess/mame-mame0226/scripts/build/
H A Dpng.py1823 self.plte = None
1832 if self.plte:
1834 self.plte = data
1846 if not self.plte:
1860 if not self.plte:
1966 if self.plte:
2002 if not self.plte:
2005 plte = group(array('B', self.plte), 3)
2009 plte = map(operator.add, plte, group(trns, 1))
2010 return plte
[all …]
/dports/graphics/appleseed/appleseed-2.1.0-beta/scripts/runtestsuite/
H A Dpng.py1800 self.plte = None
1809 if self.plte:
1811 self.plte = data
1823 if not self.plte:
1837 if not self.plte:
1935 if self.plte:
1971 if not self.plte:
1974 plte = group(array('B', self.plte), 3)
1978 plte = map(operator.add, plte, group(trns, 1))
1979 return plte
[all …]
/dports/emulators/mame/mame-mame0226/scripts/build/
H A Dpng.py1823 self.plte = None
1832 if self.plte:
1834 self.plte = data
1846 if not self.plte:
1860 if not self.plte:
1966 if self.plte:
2002 if not self.plte:
2005 plte = group(array('B', self.plte), 3)
2009 plte = map(operator.add, plte, group(trns, 1))
2010 return plte
[all …]
/dports/graphics/py-png/pypng-0.0.17/code/
H A Dpng.py1803 self.plte = None
1812 if self.plte:
1814 self.plte = data
1826 if not self.plte:
1840 if not self.plte:
1938 if self.plte:
1974 if not self.plte:
1977 plte = group(array('B', self.plte), 3)
1981 plte = list(map(operator.add, plte, group(trns, 1)))
1982 return plte
[all …]
/dports/graphics/py-pyglet150/pyglet-1.5.0/pyglet/extlibs/
H A Dpng.py1828 self.plte = None
1837 if self.plte:
1839 self.plte = data
1851 if not self.plte:
1865 if not self.plte:
1972 if self.plte:
2008 if not self.plte:
2011 plte = group(array('B', self.plte), 3)
2015 plte = list(map(operator.add, plte, group(trns, 1)))
2016 return plte
[all …]
/dports/games/zoom/zoom-1.1.5/src/
H A Dimage_libpng.c219 png_colorp plte; in iload() local
224 plte = res->pal; in iload()
226 plte = palimg->pal; in iload()
252 *(out++) = plte[pix].red; in iload()
253 *(out++) = plte[pix].green; in iload()
254 *(out++) = plte[pix].blue; in iload()
/dports/textproc/hs-pandoc-crossref/pandoc-crossref-0.3.12.0/_cabal_deps/JuicyPixels-3.3.5/src/Codec/Picture/Png/Internal/
H A DType.hs178 parsePalette plte
179 | chunkLength plte `mod` 3 /= 0 = Left "Invalid palette size"
182 pixelCount = fromIntegral $ chunkLength plte `div` 3
183 pixels = runGet pixelUnpacker (chunkData plte)
/dports/textproc/hs-pandoc/pandoc-2.14.2/_cabal_deps/JuicyPixels-3.3.5/src/Codec/Picture/Png/Internal/
H A DType.hs178 parsePalette plte
179 | chunkLength plte `mod` 3 /= 0 = Left "Invalid palette size"
182 pixelCount = fromIntegral $ chunkLength plte `div` 3
183 pixels = runGet pixelUnpacker (chunkData plte)
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/telemetry/third_party/png/
H A Dpng.py1804 self.plte = None
1812 if self.plte:
1814 self.plte = data
1825 if not self.plte:
1838 if not self.plte:
1934 if self.plte:
1970 if not self.plte:
1973 plte = group(array('B', self.plte), 3)
1977 plte = map(operator.add, plte, group(trns, 1))
1978 return plte
[all …]

1234