Home
last modified time | relevance | path

Searched refs:pixelMap (Results 1 – 25 of 33) sorted by relevance

12

/dports/biology/ncbi-toolkit/ncbi/vibrant/
H A Dimage.c94 PixMap *pixelMap; member
297 im->pixelMap->hRes = 72; in Nlm_AllocateImage()
298 im->pixelMap->vRes = 72; in Nlm_AllocateImage()
301 im->pixelMap->cmpSize = 8; in Nlm_AllocateImage()
308 im->pixelMap->pmVersion = 0; in Nlm_AllocateImage()
309 im->pixelMap->packType = 0; in Nlm_AllocateImage()
310 im->pixelMap->packSize = 0; in Nlm_AllocateImage()
311 im->pixelMap->pixelSize = 8; in Nlm_AllocateImage()
312 im->pixelMap->pixelType = 0; in Nlm_AllocateImage()
313 im->pixelMap->cmpCount = 1; in Nlm_AllocateImage()
[all …]
H A Dncbidraw.c7129 pixelMap->hRes = 72;
7130 pixelMap->vRes = 72;
7132 pixelMap->bounds.top = 0;
7133 pixelMap->cmpSize = 8;
7140 pixelMap->pmVersion = 0;
7141 pixelMap->packType = 0;
7142 pixelMap->packSize = 0;
7143 pixelMap->pixelSize = 8;
7144 pixelMap->pixelType = 0;
7145 pixelMap->cmpCount = 1;
[all …]
/dports/graphics/jp/jp-1.1.12/pkg/draw/
H A Dbraille.go40 pixelMap := [4][2]rune{{1, 8}, {2, 16}, {4, 32}, {64, 128}}
41 return pixelMap[3-cy][cx]
/dports/textproc/hs-pandoc-crossref/pandoc-crossref-0.3.12.0/_cabal_deps/JuicyPixels-3.3.5/src/Codec/Picture/
H A DColorQuant.hs79 alphaToBlack = pixelMap f
110 … then (vecToPalette (belowPaletteVec `V.snoc` PixelRGB8 0 0 0), pixelMap belowPaletteIndex img)
111 … else (vecToPalette (genPaletteVec `V.snoc` PixelRGB8 0 0 0), pixelMap genPaletteIndex img)
137 (pixelMap okPaletteIndex img, vecToPalette okPaletteVec)
138 | enableImageDithering opts = (pixelMap paletteIndex dImg, palette)
139 | otherwise = (pixelMap paletteIndex img, palette)
161 (pixelMap paletteIndex (pixelMapXY dither img), palette)
162 | otherwise = (pixelMap paletteIndex img, palette)
H A DSaving.hs37 toStandardDef = pixelMap pixelConverter
44 greyScaleToStandardDef = pixelMap componentToLDR
100 imageToRadiance . ImageRGBF $ pixelMap toRgbf img
104 imageToRadiance . ImageRGBF $ pixelMap toRgbf img
108 imageToRadiance . ImageRGBF $ pixelMap toRgbf img
114 imageToRadiance . ImageRGBF $ pixelMap toRgbf img
H A DTiff.hs705 TrueColorImage (ImageY8 i) -> pure . TrueColorImage . ImageY8 $ pixelMap (maxBound -) i
706 TrueColorImage (ImageY16 i) -> pure . TrueColorImage . ImageY16 $ pixelMap (maxBound -) i
708 in pure . TrueColorImage . ImageYA8 $ pixelMap negative i
710 in pure . TrueColorImage . ImageYA16 $ pixelMap negative i
717 pure . TrueColorImage . ImageY8 . pixelMap (colorMap (0x55 *)) $ gatherStrips Pack2 file nfo
719 pure . TrueColorImage . ImageY8 . pixelMap (colorMap (0x11 *)) $ gatherStrips Pack4 file nfo
723 … pure . TrueColorImage . ImageY16 . pixelMap (colorMap expand12to16) $ gatherStrips Pack12 file nfo
734 … pure . TrueColorImage . ImageYA8 . pixelMap (colorMap (0x55 *)) $ gatherStrips Pack2 file nfo
736 … pure . TrueColorImage . ImageYA8 . pixelMap (colorMap (0x11 *)) $ gatherStrips Pack4 file nfo
768 … pure . TrueColorImage . ImageRGB8 . pixelMap (colorMap (0x55 *)) $ gatherStrips Pack2 file nfo
[all …]
H A DTga.hs482 tgaDataOfImage = toByteString . imageData . pixelMap flipRgb
489 tgaDataOfImage = toByteString . imageData . pixelMap flipRgba
H A DTypes.hs64 , pixelMap
264 dropAlphaLayer = pixelMap dropTransparency
443 toTrueColor c vec = pixelMap (unsafePixelAt vec . (c *) . fromIntegral)
794 promoteImage = pixelMap promotePixel
806 convertImage = pixelMap convertPixel
964 pixelMap :: forall a b. (Pixel a, Pixel b)
973 pixelMap f Image { imageWidth = w, imageHeight = h, imageData = vec } = function
1152 extractLumaPlane = pixelMap computeLuma
2384 gammaCorrection gammaVal = pixelMap gammaCorrector
H A DGif.hs550 substituteColors palette = pixelMap swaper
554 substituteColorsWithTransparency transparent palette = pixelMap swaper where
/dports/textproc/hs-pandoc/pandoc-2.14.2/_cabal_deps/JuicyPixels-3.3.5/src/Codec/Picture/
H A DColorQuant.hs79 alphaToBlack = pixelMap f
110 … then (vecToPalette (belowPaletteVec `V.snoc` PixelRGB8 0 0 0), pixelMap belowPaletteIndex img)
111 … else (vecToPalette (genPaletteVec `V.snoc` PixelRGB8 0 0 0), pixelMap genPaletteIndex img)
137 (pixelMap okPaletteIndex img, vecToPalette okPaletteVec)
138 | enableImageDithering opts = (pixelMap paletteIndex dImg, palette)
139 | otherwise = (pixelMap paletteIndex img, palette)
161 (pixelMap paletteIndex (pixelMapXY dither img), palette)
162 | otherwise = (pixelMap paletteIndex img, palette)
H A DSaving.hs37 toStandardDef = pixelMap pixelConverter
44 greyScaleToStandardDef = pixelMap componentToLDR
100 imageToRadiance . ImageRGBF $ pixelMap toRgbf img
104 imageToRadiance . ImageRGBF $ pixelMap toRgbf img
108 imageToRadiance . ImageRGBF $ pixelMap toRgbf img
114 imageToRadiance . ImageRGBF $ pixelMap toRgbf img
H A DTiff.hs705 TrueColorImage (ImageY8 i) -> pure . TrueColorImage . ImageY8 $ pixelMap (maxBound -) i
706 TrueColorImage (ImageY16 i) -> pure . TrueColorImage . ImageY16 $ pixelMap (maxBound -) i
708 in pure . TrueColorImage . ImageYA8 $ pixelMap negative i
710 in pure . TrueColorImage . ImageYA16 $ pixelMap negative i
717 pure . TrueColorImage . ImageY8 . pixelMap (colorMap (0x55 *)) $ gatherStrips Pack2 file nfo
719 pure . TrueColorImage . ImageY8 . pixelMap (colorMap (0x11 *)) $ gatherStrips Pack4 file nfo
723 … pure . TrueColorImage . ImageY16 . pixelMap (colorMap expand12to16) $ gatherStrips Pack12 file nfo
734 … pure . TrueColorImage . ImageYA8 . pixelMap (colorMap (0x55 *)) $ gatherStrips Pack2 file nfo
736 … pure . TrueColorImage . ImageYA8 . pixelMap (colorMap (0x11 *)) $ gatherStrips Pack4 file nfo
768 … pure . TrueColorImage . ImageRGB8 . pixelMap (colorMap (0x55 *)) $ gatherStrips Pack2 file nfo
[all …]
H A DTga.hs482 tgaDataOfImage = toByteString . imageData . pixelMap flipRgb
489 tgaDataOfImage = toByteString . imageData . pixelMap flipRgba
H A DTypes.hs64 , pixelMap
264 dropAlphaLayer = pixelMap dropTransparency
443 toTrueColor c vec = pixelMap (unsafePixelAt vec . (c *) . fromIntegral)
794 promoteImage = pixelMap promotePixel
806 convertImage = pixelMap convertPixel
964 pixelMap :: forall a b. (Pixel a, Pixel b)
973 pixelMap f Image { imageWidth = w, imageHeight = h, imageData = vec } = function
1152 extractLumaPlane = pixelMap computeLuma
2384 gammaCorrection gammaVal = pixelMap gammaCorrector
H A DGif.hs550 substituteColors palette = pixelMap swaper
554 substituteColorsWithTransparency transparent palette = pixelMap swaper where
/dports/x11-toolkits/tk86/tk8.6.12/generic/
H A DtkImgPhInstance.c1083 colorPtr->pixelMap = NULL; in GetColorTable()
1376 colorPtr->pixelMap = pixels; in AllocateColors()
1453 if (colorPtr->pixelMap != NULL) { in DisposeColorTable()
1456 colorPtr->pixelMap, colorPtr->numColors, 0); in DisposeColorTable()
1459 ckfree(colorPtr->pixelMap); in DisposeColorTable()
1550 colorPtr->pixelMap, colorPtr->numColors, 0); in ReclaimColors()
1553 ckfree(colorPtr->pixelMap); in ReclaimColors()
1554 colorPtr->pixelMap = NULL; in ReclaimColors()
1795 i = colorPtr->pixelMap[i]; in TkImgDitherInstance()
1949 TkPutImage(colorPtr->pixelMap, colorPtr->numColors, in TkImgDitherInstance()
H A DtkImgPhoto.h110 unsigned long *pixelMap; /* Actual pixel values allocated. */ member
/dports/x11-toolkits/tk87/tk8.7a5/generic/
H A DtkImgPhInstance.c1091 colorPtr->pixelMap = NULL; in GetColorTable()
1383 colorPtr->pixelMap = pixels; in AllocateColors()
1460 if (colorPtr->pixelMap != NULL) { in DisposeColorTable()
1463 colorPtr->pixelMap, colorPtr->numColors, 0); in DisposeColorTable()
1466 ckfree(colorPtr->pixelMap); in DisposeColorTable()
1557 colorPtr->pixelMap, colorPtr->numColors, 0); in ReclaimColors()
1560 ckfree(colorPtr->pixelMap); in ReclaimColors()
1561 colorPtr->pixelMap = NULL; in ReclaimColors()
1802 i = colorPtr->pixelMap[i]; in TkImgDitherInstance()
1956 TkPutImage(colorPtr->pixelMap, colorPtr->numColors, in TkImgDitherInstance()
H A DtkImgPhoto.h110 unsigned long *pixelMap; /* Actual pixel values allocated. */ member
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libtk/generic/
H A DtkImgPhoto.c107 unsigned long *pixelMap; /* Actual pixel values allocated. */ member
2444 colorPtr->pixelMap = NULL;
2733 colorPtr->pixelMap = pixels;
2809 if (colorPtr->pixelMap != NULL) {
2812 colorPtr->pixelMap, colorPtr->numColors, 0);
2815 ckfree((char *) colorPtr->pixelMap);
2909 colorPtr->pixelMap, colorPtr->numColors, 0);
2912 ckfree((char *) colorPtr->pixelMap);
2913 colorPtr->pixelMap = NULL;
3766 i = colorPtr->pixelMap[i];
[all …]
/dports/shells/ksh93/ast-93u/src/lib/libtk/generic/
H A DtkImgPhoto.c107 unsigned long *pixelMap; /* Actual pixel values allocated. */ member
2444 colorPtr->pixelMap = NULL;
2733 colorPtr->pixelMap = pixels;
2809 if (colorPtr->pixelMap != NULL) {
2812 colorPtr->pixelMap, colorPtr->numColors, 0);
2815 ckfree((char *) colorPtr->pixelMap);
2909 colorPtr->pixelMap, colorPtr->numColors, 0);
2912 ckfree((char *) colorPtr->pixelMap);
2913 colorPtr->pixelMap = NULL;
3766 i = colorPtr->pixelMap[i];
[all …]
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libtk/generic/
H A DtkImgPhoto.c107 unsigned long *pixelMap; /* Actual pixel values allocated. */ member
2444 colorPtr->pixelMap = NULL;
2733 colorPtr->pixelMap = pixels;
2809 if (colorPtr->pixelMap != NULL) {
2812 colorPtr->pixelMap, colorPtr->numColors, 0);
2815 ckfree((char *) colorPtr->pixelMap);
2909 colorPtr->pixelMap, colorPtr->numColors, 0);
2912 ckfree((char *) colorPtr->pixelMap);
2913 colorPtr->pixelMap = NULL;
3766 i = colorPtr->pixelMap[i];
[all …]
/dports/x11-toolkits/tk85/tk8.5.19/generic/
H A DtkImgPhoto.c110 unsigned long *pixelMap; /* Actual pixel values allocated. */ member
3481 colorPtr->pixelMap = NULL; in GetColorTable()
3775 colorPtr->pixelMap = pixels; in AllocateColors()
3852 if (colorPtr->pixelMap != NULL) { in DisposeColorTable()
3855 colorPtr->pixelMap, colorPtr->numColors, 0); in DisposeColorTable()
3858 ckfree((char *) colorPtr->pixelMap); in DisposeColorTable()
3949 colorPtr->pixelMap, colorPtr->numColors, 0); in ReclaimColors()
3952 ckfree((char *) colorPtr->pixelMap); in ReclaimColors()
3953 colorPtr->pixelMap = NULL; in ReclaimColors()
5217 i = colorPtr->pixelMap[i]; in DitherInstance()
[all …]
/dports/x11-toolkits/p5-Tk/Tk-804.035/pTk/mTk/generic/
H A DtkImgPhoto.c119 unsigned long *pixelMap; /* Actual pixel values allocated. */ member
3420 colorPtr->pixelMap = NULL;
3716 colorPtr->pixelMap = pixels;
3792 if (colorPtr->pixelMap != NULL) {
3795 colorPtr->pixelMap, colorPtr->numColors, 0);
3798 ckfree((char *) colorPtr->pixelMap);
3892 colorPtr->pixelMap, colorPtr->numColors, 0);
3895 ckfree((char *) colorPtr->pixelMap);
3896 colorPtr->pixelMap = NULL;
5084 i = colorPtr->pixelMap[i];
[all …]
/dports/textproc/hs-pandoc/pandoc-2.14.2/_cabal_deps/JuicyPixels-3.3.5/src/Codec/
H A DPicture.hs25 , pixelMap

12