HomeSort by: relevance | last modified time | path
    Searched refs:image (Results 1 - 25 of 967) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /xsrc/external/mit/libXpm/dist/src/
Image.c 27 * Image.c: *
44 xpmInitXpmImage(XpmImage *image)
46 image->ncolors = 0;
47 image->colorTable = NULL;
48 image->data = NULL;
55 XpmFreeXpmImage(XpmImage *image)
57 if (image->colorTable)
58 xpmFreeColorTable(image->colorTable, image->ncolors);
59 if (image->data
    [all...]
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...]
  /xsrc/external/mit/libdrm/dist/tests/tegra/
vic.c 55 struct vic_image *image; local
61 image = calloc(1, sizeof(*image));
62 if (!image)
66 image->align = 256;
68 image->align = 256; /* XXX */
70 image->width = width;
71 image->stride = ALIGN(width, image->align);
72 image->pitch = image->stride * info->cpp
    [all...]
  /xsrc/external/mit/pixman/dist/pixman/
pixman-image.c 37 gradient_property_changed (pixman_image_t *image)
39 gradient_t *gradient = &image->gradient;
110 _pixman_image_init (pixman_image_t *image)
112 image_common_t *common = &image->common;
135 _pixman_image_fini (pixman_image_t *image)
137 image_common_t *common = (image_common_t *)image;
143 if (image->common.destroy_func)
144 image->common.destroy_func (image, image->common.destroy_data)
184 pixman_image_t *image = malloc (sizeof (pixman_image_t)); local
    [all...]
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...]
pixman-bits-image.c 43 fetch_pixel_no_alpha_32 (bits_image_t *image,
50 (x < 0 || x >= image->width || y < 0 || y >= image->height))
53 *ret = image->fetch_pixel_32 (image, x, y);
57 fetch_pixel_no_alpha_float (bits_image_t *image,
64 (x < 0 || x >= image->width || y < 0 || y >= image->height))
67 *ret = image->fetch_pixel_float (image, x, y)
479 pixman_image_t *image = iter->image; local
633 pixman_image_t *image = iter->image; local
846 pixman_image_t *image = iter->image; local
871 pixman_image_t *image = iter->image; local
966 pixman_image_t *image = iter->image; local
1003 bits_image_t * image = &iter->image->bits; local
1038 bits_image_t * image = &iter->image->bits; local
1136 bits_image_t *image = &iter->image->bits; local
1174 bits_image_t * image = &iter->image->bits; local
1335 pixman_image_t *image; local
    [all...]
  /xsrc/external/mit/xcb-util/dist/image/
xcb_pixel.h 37 * XCB Image fast pixel ops.
55 xcb_image_put_pixel_XY32M (xcb_image_t *image,
65 uint8_t * bp = image->data + (y * image->stride) + (unit | byte);
70 xcb_image_put_pixel_XY32L (xcb_image_t *image,
78 uint8_t * bp = image->data + (y * image->stride) + (x >> 3);
83 xcb_image_get_pixel_XY32M (xcb_image_t *image,
90 uint8_t * bp = image->data + (y * image->stride) + (unit | byte)
    [all...]
xcb_image.c 113 image_format_valid (xcb_image_t *image) {
114 return format_valid(image->depth,
115 image->bpp,
116 image->unit,
117 image->format,
118 image->scanline_pad);
123 xcb_image_annotate (xcb_image_t *image)
125 xcb_image_format_t ef = effective_format(image->format, image->bpp);
128 image->stride = xcb_roundup(image->width, image->scanline_pad) >> 3
207 xcb_image_t * image; local
312 xcb_image_t * image = 0; local
796 xcb_image_t * image; local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/amd/vulkan/
radv_image.c 125 const struct radv_image *image,
141 image->shareable)
204 const struct radv_image *image,
245 unreachable("unhandled image type");
265 if (!radv_use_dcc_for_image(device, image, create_info, pCreateInfo))
346 struct radv_image *image,
353 struct radv_image_plane *plane = &image->planes[plane_id];
354 uint64_t gpu_address = image->bo ? radv_buffer_get_va(image->bo) + image->offset : 0
987 struct radv_image *image = NULL; local
1123 struct radv_image *image = iview->image; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/amd/vulkan/
radv_image.c 86 /* Do not enable TC-compatible HTILE if the image isn't readable by a
128 const struct radv_image *image)
133 if (image->info.samples <= 1 && image->info.width * image->info.height <= 512 * 512) {
136 * clear. RadeonSI does this, but the image threshold is
142 return !!(image->usage & VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT);
147 const struct radv_image *image)
152 return radv_image_use_fast_clear_for_image_early(device, image) &&
153 (image->exclusive |
1702 struct radv_image *image = NULL; local
1820 struct radv_image *image = iview->image; local
1911 struct radv_image *image; local
    [all...]
  /xsrc/external/mit/libXft/dist/src/
xftswap.c 100 XftSwapImage (XImage *image)
102 switch (image->bits_per_pixel) {
104 XftSwapCARD32 ((CARD32 *) image->data,
105 image->height * image->bytes_per_line >> 2);
108 XftSwapCARD24 ((CARD8 *) image->data,
109 image->bytes_per_line,
110 image->height);
113 XftSwapCARD16 ((CARD16 *) image->data,
114 image->height * image->bytes_per_line >> 1)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/vulkan/util/
vk_image.c 51 unreachable("invalid image type");
57 struct vk_image *image,
60 vk_object_base_init(device, &image->base, VK_OBJECT_TYPE_IMAGE);
75 image->create_flags = pCreateInfo->flags;
76 image->image_type = pCreateInfo->imageType;
77 vk_image_set_format(image, pCreateInfo->format);
78 image->extent = sanitize_image_extent(pCreateInfo->imageType,
80 image->mip_levels = pCreateInfo->mipLevels;
81 image->array_layers = pCreateInfo->arrayLayers;
82 image->samples = pCreateInfo->samples
132 struct vk_image *image = local
    [all...]
  /xsrc/external/mit/ctwm/dist/
image_bitmap_builtin.c 2 * Builtin bitmap image generation/lookup.
16 #include "image.h"
24 * generate Image's. Possible cleanup candidate.
255 * These yield [ctwm struct] Image's rather than [X11 type] Pixmap's.
257 #define DEF_BI_SPM(nm) Image *nm(ColorPair cp)
278 Image *
306 Image *image = (*pmtab[i].proc)(cp); local
307 if(image == NULL) {
312 return image;
325 Image *image; local
423 Image *image; local
464 Image *image; local
498 Image *image; local
528 Image *image; local
561 Image *image; local
595 Image *image; local
629 Image *image; local
659 Image *image; local
690 Image *image; local
795 Image *image = (*pmtab[i].proc)(cp); local
818 Image *image, *im, *im1; local
864 Image *image, *im, *im1; local
909 Image *image, *im, *im1; local
    [all...]
image.c 2 * Image handling functions
4 * This provides some general and hub stuff. Details of different image
17 #include "image.h"
34 * Find (load/generate) an image by name
36 Image *
42 Image *image; local
51 image = NULL;
61 if((image = LookInNameList(*list, fullname)) == NULL) {
63 if((image = GetXpmImage(name + startn, cp)) != NULL)
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/intel/vulkan/
anv_image.c 80 /* blorp implements transfers by sampling from the source image. */
86 /* blorp implements transfers by rendering into the destination image.
129 get_surface(struct anv_image *image, VkImageAspectFlagBits aspect)
131 uint32_t plane = anv_image_aspect_to_plane(image->aspects, aspect);
132 return &image->planes[plane].surface;
136 add_surface(struct anv_image *image, struct anv_surface *surf, uint32_t plane)
140 if (image->disjoint) {
141 surf->offset = align_u32(image->planes[plane].size,
145 surf->offset = align_u32(image->size, surf->isl.alignment_B);
147 if (image->planes[plane].size == 0
555 struct anv_image *image = NULL; local
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/i915/
intel_screen.c 259 __DRIimage *image; local
261 image = calloc(1, sizeof *image);
262 if (image == NULL)
265 image->dri_format = dri_format;
266 image->offset = 0;
268 image->format = driImageFormatToGLFormat(dri_format);
270 image->format == MESA_FORMAT_NONE) {
271 free(image);
275 image->internal_format = _mesa_get_format_base_format(image->format)
324 __DRIimage *image; local
352 __DRIimage *image; local
388 __DRIimage *image; local
453 __DRIimage *image; local
524 __DRIimage *image; local
572 __DRIimage *image; local
613 __DRIimage *image; local
659 __DRIimage *image; local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/i915/
intel_screen.c 242 __DRIimage *image; local
244 image = calloc(1, sizeof *image);
245 if (image == NULL)
248 image->dri_format = dri_format;
249 image->offset = 0;
251 image->format = driImageFormatToGLFormat(dri_format);
253 image->format == MESA_FORMAT_NONE) {
254 free(image);
258 image->internal_format = _mesa_get_format_base_format(image->format)
307 __DRIimage *image; local
335 __DRIimage *image; local
371 __DRIimage *image; local
436 __DRIimage *image; local
504 __DRIimage *image; local
552 __DRIimage *image; local
593 __DRIimage *image; local
639 __DRIimage *image; local
    [all...]
  /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/MesaLib/dist/src/vulkan/wsi/
wsi_common_drm.c 110 uint8_t *(alloc_shm)(struct wsi_image *image, unsigned size),
111 struct wsi_image *image)
116 memset(image, 0, sizeof(*image));
117 for (int i = 0; i < ARRAY_SIZE(image->fds); i++)
118 image->fds[i] = -1;
300 &chain->alloc, &image->image);
305 wsi->GetImageMemoryRequirements(chain->device, image->image, &reqs)
    [all...]
  /xsrc/external/mit/MesaLib/dist/src/loader/
loader_dri_helper.c 33 const __DRIimageExtension *image,
41 image->base.version > 14 && image->createImageWithModifiers) {
45 /* It's acceptable to create an image with INVALID modifier in the list,
60 if (image->base.version >= 19 && image->createImageWithModifiers2)
61 return image->createImageWithModifiers2(screen, width, height,
66 return image->createImageWithModifiers(screen, width, height,
72 return image->createImage(screen, width, height, dri_format, dri_usage,
  /xsrc/external/mit/MesaLib/dist/src/mesa/drivers/dri/radeon/
radeon_screen.c 210 __DRIimage *image; local
216 image = calloc(1, sizeof *image);
217 if (image == NULL)
222 image->format = MESA_FORMAT_B5G6R5_UNORM;
223 image->internal_format = GL_RGB;
224 image->data_type = GL_UNSIGNED_BYTE;
227 image->format = MESA_FORMAT_B8G8R8X8_UNORM;
228 image->internal_format = GL_RGB;
229 image->data_type = GL_UNSIGNED_BYTE
266 __DRIimage *image; local
311 __DRIimage *image; local
    [all...]
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/dri/radeon/
radeon_screen.c 221 __DRIimage *image; local
227 image = calloc(1, sizeof *image);
228 if (image == NULL)
233 image->format = MESA_FORMAT_B5G6R5_UNORM;
234 image->internal_format = GL_RGB;
235 image->data_type = GL_UNSIGNED_BYTE;
238 image->format = MESA_FORMAT_B8G8R8X8_UNORM;
239 image->internal_format = GL_RGB;
240 image->data_type = GL_UNSIGNED_BYTE
277 __DRIimage *image; local
322 __DRIimage *image; local
    [all...]

Completed in 34 milliseconds

1 2 3 4 5 6 7 8 91011>>