| /xsrc/external/mit/libXpm/dist/src/ |
| RdFToDat.c | 45 XpmImage image; local 57 ErrorStatus = XpmReadFileToXpmImage(filename, &image, &info); 62 XpmCreateDataFromXpmImage(data_return, &image, &info); 64 XpmFreeXpmImage(&image);
|
| WrFFrDat.c | 45 XpmImage image; local 51 ErrorStatus = XpmCreateXpmImageFromData(data, &image, &info); 56 ErrorStatus = XpmWriteFileFromXpmImage(filename, &image, &info); 58 XpmFreeXpmImage(&image);
|
| CrIFrBuf.c | 30 * Parse an Xpm buffer (file in memory) and create the image and possibly its * 50 XpmImage image; local 55 xpmInitXpmImage(&image); 67 &image, &info, attributes); 71 &image, NULL, attributes); 74 xpmSetAttributes(attributes, &image, &info); 79 XpmFreeXpmImage(&image); 87 XpmImage *image, 94 xpmInitXpmImage(image); 101 ErrorStatus = xpmParseData(&mdata, image, info) [all...] |
| CrIFrDat.c | 30 * Parse an Xpm array and create the image and possibly its mask * 50 XpmImage image; local 55 xpmInitXpmImage(&image); 67 &image, &info, attributes); 71 &image, NULL, attributes); 74 xpmSetAttributes(attributes, &image, &info); 79 XpmFreeXpmImage(&image); 87 XpmImage *image, 94 xpmInitXpmImage(image); 101 ErrorStatus = xpmParseData(&mdata, image, info) [all...] |
| RdFToI.c | 30 * Parse an XPM file and create the image and possibly its mask * 70 XpmImage image; local 75 xpmInitXpmImage(&image); 88 &image, &info, attributes); 92 &image, NULL, attributes); 95 xpmSetAttributes(attributes, &image, &info); 101 XpmFreeXpmImage(&image); 109 XpmImage *image, 116 xpmInitXpmImage(image); 124 ErrorStatus = xpmParseData(&mdata, image, info) [all...] |
| /xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/ |
| anv_intel.c | 41 struct anv_image *image; local 74 image = anv_image_from_handle(image_h); 87 VkDeviceSize aligned_image_size = align_u64(image->size, 4096); 92 "dma-buf too small for image in " 99 image->planes[0].address = (struct anv_address) { 104 assert(image->extent.width > 0); 105 assert(image->extent.height > 0); 106 assert(image->extent.depth == 1); 109 *pImage = anv_image_to_handle(image); 116 vk_free2(&device->alloc, pAllocator, image); [all...] |
| /xsrc/external/mit/ctwm/dist/ |
| workspace_config.c | 11 #include "image.h" 105 /* Maybe there's an image to stick on the root as well */ 106 ws->image = GetImage(backpix, ws->backcp); 107 if(ws->image != NULL) { 140 Image *image; local 165 if((image = GetImage(pixmap, Scr->workSpaceMgr.curColors)) == NULL) { 169 ws->curImage = image; 182 Image *image; local [all...] |
| image_xpm.c | 2 * XPM image handling functions 15 #include "image.h" 18 static Image *LoadXpmImage(const char *name, ColorPair cp); 27 Image * 44 static Image * 48 Image *image; local 64 image = AllocImage(); 65 if(image == NULL) { 92 &(image->pixmap), &(image->mask), &attributes) [all...] |
| image_bitmap.c | 2 * Bitmap image handling functions 19 #include "image.h" 28 static Image *LoadBitmapImage(const char *name, ColorPair cp); 48 Image * 136 static Image * 139 Image *image; local 152 image = AllocImage(); 153 image->pixmap = XCreatePixmap(dpy, Scr->Root, width, height, Scr->d_depth); 157 XCopyPlane(dpy, bm, image->pixmap, Scr->rootGC, 0, 0, width, height [all...] |
| /xsrc/external/mit/MesaLib/dist/src/broadcom/vulkan/ |
| v3dvx_image.c | 67 assert(image_view->vk.image); 68 const struct v3dv_image *image = (struct v3dv_image *) image_view->vk.image; local 70 assert(image->vk.samples == VK_SAMPLE_COUNT_1_BIT || 71 image->vk.samples == VK_SAMPLE_COUNT_4_BIT); 72 const uint32_t msaa_scale = image->vk.samples == VK_SAMPLE_COUNT_1_BIT ? 1 : 2; 77 (image->slices[0].tiling == V3D_TILING_UIF_XOR || 78 image->slices[0].tiling == V3D_TILING_UIF_NO_XOR); 80 tex.level_0_xor_enable = (image->slices[0].tiling == V3D_TILING_UIF_XOR); 83 tex.level_0_ub_pad = image->slices[0].ub_pad [all...] |
| /xsrc/external/mit/libXpm/dist/test/ |
| XpmCreate.c | 36 * - actually check the returned info/image 48 XpmImage image; local 53 status = XpmCreateXpmImageFromData(data, &image, &info); 56 XpmFreeXpmImage(&image); 82 * - actually check the returned info/image 89 XpmImage image; local 96 status = XpmCreateXpmImageFromBuffer(buffer, &image, &info); 99 XpmFreeXpmImage(&image);
|
| /xsrc/external/mit/mesa-demos/dist/src/tests/ |
| persp_hint.c | 22 GLubyte image[256][256][4]; local 26 image[i][j][0] = j; 27 image[i][j][1] = j; 28 image[i][j][2] = j; 29 image[i][j][3] = 255; 33 GL_RGBA, GL_UNSIGNED_BYTE, image);
|
| arbnpot.c | 74 GLubyte *image; local 84 image = LoadRGBImage( IMAGE_FILE, &imgWidth, &imgHeight, &imgFormat ); 85 if (!image) { 94 image = malloc(imgWidth * imgHeight * 3); 99 image[k+0] = 255; 100 image[k+1] = 0; 101 image[k+2] = 0; 104 image[k+0] = 0; 105 image[k+1] = 255; 106 image[k+2] = 0 [all...] |
| seccolor.c | 94 GLubyte image[4*4][3]; local 104 image[i][0] = 0; 105 image[i][1] = 0; 106 image[i][2] = 0; 109 image[i][0] = 255; 110 image[i][1] = 0; 111 image[i][2] = 0; 115 GL_RGB, GL_UNSIGNED_BYTE, image);
|
| texleak.c | 23 GLvoid *image; variable 66 memset(image, (16 * numTexObj) & 0xff, 4 * size * size); 68 GL_RGBA, GL_UNSIGNED_BYTE, image); 108 image = malloc(4 * size * size); 109 if (!image) {
|
| /xsrc/external/mit/mesa-demos/dist/src/trivial/ |
| readpixels.c | 49 GLfloat *image = (GLfloat *) malloc(Width * Height * 4 * sizeof(GLfloat)); local 70 glReadPixels(0, 0, Width, Height, GL_RGBA, GL_FLOAT, image); 72 image[0], image[1], image[2], image[3]); 76 glDrawPixels(Width, Height, GL_RGBA, GL_FLOAT, image); 77 free(image);
|
| /xsrc/external/mit/MesaLib/dist/src/hgl/ |
| GLRendererRoster.h | 23 image_id image; member in struct:renderer_item 40 status_t AddRenderer(InstantiateRenderer entry, image_id image,
|
| /xsrc/external/mit/MesaLib.old/dist/src/hgl/ |
| GLRendererRoster.h | 21 image_id image; member in struct:renderer_item 38 image_id image, const entry_ref* ref, ino_t node);
|
| /xsrc/external/mit/libX11/dist/src/ |
| GetImage.c | 70 XImage *image; local 105 image = XCreateImage(dpy, _XVIDtoVisual(dpy, rep.visual), 109 planes = image->depth; 111 image = XCreateImage (dpy, _XVIDtoVisual(dpy, rep.visual), 117 if (!image) { 120 if (planes < 1 || image->height < 1 || image->bytes_per_line < 1 || 121 INT_MAX / image->height <= image->bytes_per_line || 122 INT_MAX / planes <= image->height * image->bytes_per_line | [all...] |
| /xsrc/external/mit/libXfont/dist/src/builtins/ |
| render.c | 44 image; local 57 ret = CheckFSFormat(format, fmask, &bit, &byte, &scan, &glyph, &image);
|
| /xsrc/external/mit/libXfont2/dist/src/builtins/ |
| render.c | 45 image; local 58 ret = CheckFSFormat(format, fmask, &bit, &byte, &scan, &glyph, &image);
|
| /xsrc/external/mit/libXpm/dist/cxpm/ |
| cxpm.c | 89 #include "Image.c" 142 XpmImage image; local 165 xpmInitXpmImage(&image); 170 ErrorStatus = xpmParseData(&data, &image, NULL); 174 XpmFreeXpmImage(&image);
|
| /xsrc/external/mit/mesa-demos/dist/src/redbook/ |
| texture3d.c | 59 static GLubyte image[iDepth][iHeight][iWidth][3]; variable 73 image[r][t][s][0] = (GLubyte) (s * 17); 74 image[r][t][s][1] = (GLubyte) (t * 17); 75 image[r][t][s][2] = (GLubyte) (r * 17); 98 iDepth, 0, GL_RGB, GL_UNSIGNED_BYTE, image);
|
| texturesurf.c | 73 GLubyte image[3*imageWidth*imageHeight]; variable 85 image[3*(imageHeight*i+j)] = (GLubyte) 127*(1.0+sin(ti)); 86 image[3*(imageHeight*i+j)+1] = (GLubyte) 127*(1.0+cos(2*tj)); 87 image[3*(imageHeight*i+j)+2] = (GLubyte) 127*(1.0+cos(ti+tj)); 108 GL_RGB, GL_UNSIGNED_BYTE, image);
|
| /xsrc/external/mit/pixman/dist/pixman/ |
| pixman-noop.c | 45 iter->buffer += iter->image->bits.rowstride; 54 pixman_image_t *image = iter->image; local 59 if (iter->image->type == SOLID) 60 color = image->solid.color_32; 62 color = image->bits.fetch_pixel_32 (&image->bits, 0, 0); 72 pixman_image_t *image = iter->image; local 77 if (iter->image->type == SOLID 89 pixman_image_t *image = iter->image; local [all...] |