/dports/graphics/librasterlite2/librasterlite2-1.0.0-rc0/src/ |
H A D | rasterlite2.c | 1810 free (pxl); in rl2_create_pixel() 2001 free (pxl); in rl2_destroy_pixel() 2496 (row * rst->width * pxl->nBands) + (col * pxl->nBands) + in rl2_get_raster_pixel() 2503 (row * rst->width * pxl->nBands) + (col * pxl->nBands) + in rl2_get_raster_pixel() 2510 (row * rst->width * pxl->nBands) + (col * pxl->nBands) + in rl2_get_raster_pixel() 2517 (row * rst->width * pxl->nBands) + (col * pxl->nBands) + in rl2_get_raster_pixel() 2524 (row * rst->width * pxl->nBands) + (col * pxl->nBands) + in rl2_get_raster_pixel() 2531 (row * rst->width * pxl->nBands) + (col * pxl->nBands) + in rl2_get_raster_pixel() 2538 (row * rst->width * pxl->nBands) + (col * pxl->nBands) + in rl2_get_raster_pixel() 2545 (row * rst->width * pxl->nBands) + (col * pxl->nBands) + in rl2_get_raster_pixel() [all …]
|
/dports/www/mod_php81/php-8.1.1/ext/gd/libgd/ |
H A D | gd_filter.c | 56 int pxl, new_pxl; in gdImageScatterEx() local 118 int new_pxl, pxl; in gdImageNegate() local 130 pxl = f (src, x, y); in gdImageNegate() 151 int new_pxl, pxl; in gdImageGrayScale() local 167 pxl = f (src, x, y); in gdImageGrayScale() 191 int new_pxl, pxl; in gdImageBrightness() local 206 pxl = f (src, x, y); in gdImageBrightness() 237 int new_pxl, pxl; in gdImageContrast() local 252 pxl = f(src, x, y); in gdImageContrast() 295 int new_pxl, pxl; in gdImageColor() local [all …]
|
/dports/lang/php81/php-8.1.1/ext/gd/libgd/ |
H A D | gd_filter.c | 56 int pxl, new_pxl; in gdImageScatterEx() local 118 int new_pxl, pxl; in gdImageNegate() local 130 pxl = f (src, x, y); in gdImageNegate() 151 int new_pxl, pxl; in gdImageGrayScale() local 167 pxl = f (src, x, y); in gdImageGrayScale() 191 int new_pxl, pxl; in gdImageBrightness() local 206 pxl = f (src, x, y); in gdImageBrightness() 237 int new_pxl, pxl; in gdImageContrast() local 252 pxl = f(src, x, y); in gdImageContrast() 295 int new_pxl, pxl; in gdImageColor() local [all …]
|
/dports/lang/php74/php-7.4.27/ext/gd/libgd/ |
H A D | gd_filter.c | 56 int pxl, new_pxl; in gdImageScatterEx() local 118 int new_pxl, pxl; in gdImageNegate() local 130 pxl = f (src, x, y); in gdImageNegate() 151 int new_pxl, pxl; in gdImageGrayScale() local 167 pxl = f (src, x, y); in gdImageGrayScale() 191 int new_pxl, pxl; in gdImageBrightness() local 206 pxl = f (src, x, y); in gdImageBrightness() 237 int new_pxl, pxl; in gdImageContrast() local 252 pxl = f(src, x, y); in gdImageContrast() 295 int new_pxl, pxl; in gdImageColor() local [all …]
|
/dports/lang/php80/php-8.0.15/ext/gd/libgd/ |
H A D | gd_filter.c | 56 int pxl, new_pxl; in gdImageScatterEx() local 118 int new_pxl, pxl; in gdImageNegate() local 130 pxl = f (src, x, y); in gdImageNegate() 151 int new_pxl, pxl; in gdImageGrayScale() local 167 pxl = f (src, x, y); in gdImageGrayScale() 191 int new_pxl, pxl; in gdImageBrightness() local 206 pxl = f (src, x, y); in gdImageBrightness() 237 int new_pxl, pxl; in gdImageContrast() local 252 pxl = f(src, x, y); in gdImageContrast() 295 int new_pxl, pxl; in gdImageColor() local [all …]
|
/dports/www/mod_php74/php-7.4.27/ext/gd/libgd/ |
H A D | gd_filter.c | 56 int pxl, new_pxl; in gdImageScatterEx() local 118 int new_pxl, pxl; in gdImageNegate() local 130 pxl = f (src, x, y); in gdImageNegate() 151 int new_pxl, pxl; in gdImageGrayScale() local 167 pxl = f (src, x, y); in gdImageGrayScale() 191 int new_pxl, pxl; in gdImageBrightness() local 206 pxl = f (src, x, y); in gdImageBrightness() 237 int new_pxl, pxl; in gdImageContrast() local 252 pxl = f(src, x, y); in gdImageContrast() 295 int new_pxl, pxl; in gdImageColor() local [all …]
|
/dports/www/mod_php80/php-8.0.15/ext/gd/libgd/ |
H A D | gd_filter.c | 56 int pxl, new_pxl; in gdImageScatterEx() local 118 int new_pxl, pxl; in gdImageNegate() local 130 pxl = f (src, x, y); in gdImageNegate() 151 int new_pxl, pxl; in gdImageGrayScale() local 167 pxl = f (src, x, y); in gdImageGrayScale() 191 int new_pxl, pxl; in gdImageBrightness() local 206 pxl = f (src, x, y); in gdImageBrightness() 237 int new_pxl, pxl; in gdImageContrast() local 252 pxl = f(src, x, y); in gdImageContrast() 295 int new_pxl, pxl; in gdImageColor() local [all …]
|
/dports/lang/php73/php-7.3.33/ext/gd/libgd/ |
H A D | gd_filter.c | 20 int new_pxl, pxl; in gdImageNegate() local 32 pxl = f (src, x, y); in gdImageNegate() 33 r = gdImageRed(src, pxl); in gdImageNegate() 53 int new_pxl, pxl; in gdImageGrayScale() local 69 pxl = f (src, x, y); in gdImageGrayScale() 93 int new_pxl, pxl; in gdImageBrightness() local 108 pxl = f (src, x, y); in gdImageBrightness() 139 int new_pxl, pxl; in gdImageContrast() local 154 pxl = f(src, x, y); in gdImageContrast() 197 int new_pxl, pxl; in gdImageColor() local [all …]
|
/dports/www/mod_php73/php-7.3.33/ext/gd/libgd/ |
H A D | gd_filter.c | 20 int new_pxl, pxl; in gdImageNegate() local 32 pxl = f (src, x, y); in gdImageNegate() 33 r = gdImageRed(src, pxl); in gdImageNegate() 53 int new_pxl, pxl; in gdImageGrayScale() local 69 pxl = f (src, x, y); in gdImageGrayScale() 93 int new_pxl, pxl; in gdImageBrightness() local 108 pxl = f (src, x, y); in gdImageBrightness() 139 int new_pxl, pxl; in gdImageContrast() local 154 pxl = f(src, x, y); in gdImageContrast() 197 int new_pxl, pxl; in gdImageColor() local [all …]
|
/dports/russian/gd/libgd-2.3.1/src/ |
H A D | gd_filter.c | 78 int pxl, new_pxl; in gdImageScatterEx() local 207 int new_pxl, pxl; in gdImageNegate() local 218 pxl = f (src, x, y); in gdImageNegate() 255 int new_pxl, pxl; in gdImageGrayScale() local 270 pxl = f (src, x, y); in gdImageGrayScale() 309 int new_pxl, pxl; in gdImageBrightness() local 324 pxl = f (src, x, y); in gdImageBrightness() 372 int new_pxl, pxl; in gdImageContrast() local 387 pxl = f(src, x, y); in gdImageContrast() 448 int new_pxl, pxl; in gdImageColor() local [all …]
|
/dports/ukrainian/gd/libgd-2.3.1/src/ |
H A D | gd_filter.c | 78 int pxl, new_pxl; in gdImageScatterEx() local 207 int new_pxl, pxl; in gdImageNegate() local 218 pxl = f (src, x, y); in gdImageNegate() 255 int new_pxl, pxl; in gdImageGrayScale() local 270 pxl = f (src, x, y); in gdImageGrayScale() 309 int new_pxl, pxl; in gdImageBrightness() local 324 pxl = f (src, x, y); in gdImageBrightness() 372 int new_pxl, pxl; in gdImageContrast() local 387 pxl = f(src, x, y); in gdImageContrast() 448 int new_pxl, pxl; in gdImageColor() local [all …]
|
/dports/japanese/gd/libgd-2.3.1/src/ |
H A D | gd_filter.c | 78 int pxl, new_pxl; in gdImageScatterEx() local 207 int new_pxl, pxl; in gdImageNegate() local 218 pxl = f (src, x, y); in gdImageNegate() 255 int new_pxl, pxl; in gdImageGrayScale() local 270 pxl = f (src, x, y); in gdImageGrayScale() 309 int new_pxl, pxl; in gdImageBrightness() local 324 pxl = f (src, x, y); in gdImageBrightness() 372 int new_pxl, pxl; in gdImageContrast() local 387 pxl = f(src, x, y); in gdImageContrast() 448 int new_pxl, pxl; in gdImageColor() local [all …]
|
/dports/graphics/gd/libgd-2.3.1/src/ |
H A D | gd_filter.c | 78 int pxl, new_pxl; in gdImageScatterEx() local 207 int new_pxl, pxl; in gdImageNegate() local 218 pxl = f (src, x, y); in gdImageNegate() 255 int new_pxl, pxl; in gdImageGrayScale() local 270 pxl = f (src, x, y); in gdImageGrayScale() 309 int new_pxl, pxl; in gdImageBrightness() local 324 pxl = f (src, x, y); in gdImageBrightness() 372 int new_pxl, pxl; in gdImageContrast() local 387 pxl = f(src, x, y); in gdImageContrast() 448 int new_pxl, pxl; in gdImageColor() local [all …]
|
/dports/graphics/librasterlite2/librasterlite2-1.0.0-rc0/test/ |
H A D | test1.c | 57 rl2PixelPtr pxl; in test_rgb_jpeg() local 405 pxl = rl2_create_raster_pixel (rst); in test_rgb_jpeg() 406 if (pxl == NULL) in test_rgb_jpeg() 641 rl2_destroy_pixel (pxl); in test_rgb_jpeg() 675 rl2PixelPtr pxl; in test_gray_jpeg() local 839 pxl = rl2_create_raster_pixel (rst); in test_gray_jpeg() 840 if (pxl == NULL) in test_gray_jpeg() 909 rl2_destroy_pixel (pxl); in test_gray_jpeg() 955 rl2PixelPtr pxl; in test_palette_png() local 1235 if (pxl == NULL) in test_palette_png() [all …]
|
H A D | test19.c | 147 rl2PixelPtr pxl; in test_grid_multi16() local 232 pxl = rl2_create_raster_pixel (rst); in test_grid_multi16() 233 if (pxl == NULL) in test_grid_multi16() 239 if (rl2_get_raster_pixel (rst, pxl, 20, 20) != RL2_OK) in test_grid_multi16() 283 if (rl2_is_pixel_opaque (pxl, &is_transparent) != RL2_OK) in test_grid_multi16() 309 if (rl2_set_pixel_sample_uint16 (pxl, 0, sample) != RL2_OK) in test_grid_multi16() 329 if (rl2_set_pixel_sample_uint16 (pxl, 1, sample) != RL2_OK) in test_grid_multi16() 349 if (rl2_set_pixel_sample_uint16 (pxl, 2, sample) != RL2_OK) in test_grid_multi16() 369 if (rl2_set_pixel_sample_uint16 (pxl, 3, sample) != RL2_OK) in test_grid_multi16() 407 if (rl2_set_raster_pixel (rst, pxl, 20, 20) != RL2_OK) in test_grid_multi16() [all …]
|
H A D | test20.c | 147 rl2PixelPtr pxl; in test_grid_multi16() local 232 pxl = rl2_create_raster_pixel (rst); in test_grid_multi16() 233 if (pxl == NULL) in test_grid_multi16() 239 if (rl2_get_raster_pixel (rst, pxl, 20, 20) != RL2_OK) in test_grid_multi16() 283 if (rl2_is_pixel_opaque (pxl, &is_transparent) != RL2_OK) in test_grid_multi16() 309 if (rl2_set_pixel_sample_uint16 (pxl, 0, sample) != RL2_OK) in test_grid_multi16() 329 if (rl2_set_pixel_sample_uint16 (pxl, 1, sample) != RL2_OK) in test_grid_multi16() 349 if (rl2_set_pixel_sample_uint16 (pxl, 2, sample) != RL2_OK) in test_grid_multi16() 369 if (rl2_set_pixel_sample_uint16 (pxl, 3, sample) != RL2_OK) in test_grid_multi16() 407 if (rl2_set_raster_pixel (rst, pxl, 20, 20) != RL2_OK) in test_grid_multi16() [all …]
|
H A D | test12.c | 121 rl2PixelPtr pxl; in test_grid_u8() local 180 pxl = rl2_create_raster_pixel (rst); in test_grid_u8() 181 if (pxl == NULL) in test_grid_u8() 187 if (rl2_get_raster_pixel (rst, pxl, 20, 20) != RL2_OK) in test_grid_u8() 194 if (rl2_get_pixel_type (pxl, &sample_type, &pixel_type, &num_bands) != in test_grid_u8() 219 if (rl2_get_pixel_sample_uint8 (pxl, RL2_DATAGRID_BAND, &sample) != RL2_OK) in test_grid_u8() 232 if (rl2_is_pixel_transparent (pxl, &is_transparent) != RL2_OK) in test_grid_u8() 244 if (rl2_is_pixel_opaque (pxl, &is_transparent) != RL2_OK) in test_grid_u8() 258 if (rl2_set_pixel_sample_uint8 (pxl, RL2_DATAGRID_BAND, sample) != RL2_OK) in test_grid_u8() 264 if (rl2_set_raster_pixel (rst, pxl, 20, 20) != RL2_OK) in test_grid_u8() [all …]
|
H A D | test11.c | 122 rl2PixelPtr pxl; in test_grid_8() local 181 pxl = rl2_create_raster_pixel (rst); in test_grid_8() 182 if (pxl == NULL) in test_grid_8() 188 if (rl2_get_raster_pixel (rst, pxl, 20, 20) != RL2_OK) in test_grid_8() 194 if (rl2_get_pixel_type (pxl, &sample_type, &pixel_type, &num_bands) != in test_grid_8() 220 if (rl2_get_pixel_sample_int8 (pxl, &sample) != RL2_OK) in test_grid_8() 233 if (rl2_is_pixel_transparent (pxl, &is_transparent) != RL2_OK) in test_grid_8() 245 if (rl2_is_pixel_opaque (pxl, &is_transparent) != RL2_OK) in test_grid_8() 259 if (rl2_set_pixel_sample_int8 (pxl, sample) != RL2_OK) in test_grid_8() 265 if (rl2_set_raster_pixel (rst, pxl, 20, 20) != RL2_OK) in test_grid_8() [all …]
|
/dports/games/minetest/minetest-5.4.1/src/client/ |
H A D | imagefilters.cpp | 92 video::SColor pxl; in imageScaleNNAA() local 152 ra += pa * pxl.getRed(); in imageScaleNNAA() 153 ga += pa * pxl.getGreen(); in imageScaleNNAA() 154 ba += pa * pxl.getBlue(); in imageScaleNNAA() 155 aa += pa * pxl.getAlpha(); in imageScaleNNAA() 160 pxl.setRed(ra / area + 0.5); in imageScaleNNAA() 165 pxl.setRed(0); in imageScaleNNAA() 166 pxl.setGreen(0); in imageScaleNNAA() 167 pxl.setBlue(0); in imageScaleNNAA() 168 pxl.setAlpha(0); in imageScaleNNAA() [all …]
|
/dports/graphics/libdmtx/libdmtx-0.7.5/test/rotate_test/ |
H A D | image.c | 31 unsigned char *pxl; in loadTextureImage() local 39 pxl = loadPng(filepath, width, height); in loadTextureImage() 40 assert(pxl != NULL); in loadTextureImage() 65 return pxl; in loadTextureImage() 86 unsigned char *pxl = NULL; in loadPng() local 160 pxl = (unsigned char *)malloc((*width) * (*height) * 3); in loadPng() 161 assert(pxl != NULL); in loadPng() 174 return pxl; in loadPng() 211 img->pxl[offset[i]*3+0] = max(img->pxl[offset[i]*3+0], color[i]); in plotPoint() 214 img->pxl[offset[i]*3+1] = max(img->pxl[offset[i]*3+1], color[i]); in plotPoint() [all …]
|
H A D | display.c | 123 void DrawPane2(SDL_Surface *screen, unsigned char *pxl) in DrawPane2() argument 127 glDrawPixels(320, 320, GL_RGB, GL_UNSIGNED_BYTE, pxl); in DrawPane2() 134 void DrawPane3(SDL_Surface *screen, unsigned char *pxl) in DrawPane3() argument 138 glDrawPixels(320, 320, GL_RGB, GL_UNSIGNED_BYTE, pxl); in DrawPane3() 145 void DrawPane4(SDL_Surface *screen, unsigned char *pxl) in DrawPane4() argument 149 glDrawPixels(320, 320, GL_RGB, GL_UNSIGNED_BYTE, pxl); in DrawPane4() 156 void DrawPane5(SDL_Surface *screen, unsigned char *pxl) in DrawPane5() argument 160 glDrawPixels(320, 320, GL_RGB, GL_UNSIGNED_BYTE, pxl); in DrawPane5() 167 void DrawPane6(SDL_Surface *screen, unsigned char *pxl) in DrawPane6() argument 172 if(pxl != NULL) in DrawPane6() [all …]
|
/dports/graphics/libdmtx/libdmtx-0.7.5/test/multi_test/ |
H A D | dmtxsobel.c | 109 colorHiLf = img->pxl[pOffset - rowSizeBytes]; in SobelPopulate() 110 colorMdLf = img->pxl[pOffset]; in SobelPopulate() 111 colorLoLf = img->pxl[pOffset + rowSizeBytes]; in SobelPopulate() 114 colorHiMd = img->pxl[pOffset - rowSizeBytes]; in SobelPopulate() 115 colorMdMd = img->pxl[pOffset]; in SobelPopulate() 116 colorLoMd = img->pxl[pOffset + rowSizeBytes]; in SobelPopulate() 119 colorHiRt = img->pxl[pOffset - rowSizeBytes]; in SobelPopulate() 120 colorMdRt = img->pxl[pOffset]; in SobelPopulate() 121 colorLoRt = img->pxl[pOffset + rowSizeBytes]; in SobelPopulate() 193 colorHiRt = img->pxl[pOffset - rowSizeBytes]; in SobelPopulate() [all …]
|
/dports/games/libretro-fbalpha/fbalpha-84eb9d9/src/burn/drv/konami/ |
H A D | k051316.cpp | 150 if ((pxl & tmask) == tmask) { in K051316_write_tile() 151 dst[x] = color | pxl; in K051316_write_tile() 157 dst[x] = color | pxl; in K051316_write_tile() 207 if (!(pxl & 0x8000)) { in copy_roz() 208 *dst = pxl; in copy_roz() 222 if (!(pxl & 0x8000)) { in copy_roz() 223 *dst = pxl; in copy_roz() 258 if (!(pxl & 0x8000)) { in copy_roz() 259 *dst = pal[pxl]; in copy_roz() 275 if (!(pxl & 0x8000)) { in copy_roz() [all …]
|
/dports/games/libretro-fbneo/FBNeo-bbe3c05/src/burn/drv/konami/ |
H A D | k051316.cpp | 145 if ((pxl & tmask) == tmask) { in K051316_write_tile() 146 dst[x] = color | pxl; in K051316_write_tile() 152 dst[x] = color | pxl; in K051316_write_tile() 212 if (!(pxl & 0x8000)) { in copy_roz() 213 *dst = pxl; in copy_roz() 227 if (!(pxl & 0x8000)) { in copy_roz() 228 *dst = pxl; in copy_roz() 263 if (!(pxl & 0x8000)) { in copy_roz() 264 *dst = pal[pxl]; in copy_roz() 280 if (!(pxl & 0x8000)) { in copy_roz() [all …]
|
/dports/graphics/libdmtx/libdmtx-0.7.5/test/simple_test/ |
H A D | simple_test.c | 28 unsigned char *pxl; in main() local 55 pxl = (unsigned char *)malloc(width * height * bytesPerPixel); in main() 56 assert(pxl != NULL); in main() 57 memcpy(pxl, enc->image->pxl, width * height * bytesPerPixel); in main() 66 fprintf(stdout, "%d", (pxl[i*3])==0); in main() 74 img = dmtxImageCreate(pxl, width, height, DmtxPack24bppRGB); in main() 115 free(pxl); in main()
|