HomeSort by: relevance | last modified time | path
    Searched defs:pixels (Results 1 - 25 of 93) sorted by relevancy

1 2 3 4

  /xsrc/external/mit/MesaLib/dist/src/mesa/main/
texcompress_fxt1.c 50 const uint8_t *pixels; local
75 pixels = tempImage;
80 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
90 util_format_fxt1_rgb_pack_rgba_8unorm(dst, dstRowStride, pixels, srcRowStride, srcWidth, srcHeight);
92 util_format_fxt1_rgba_pack_rgba_8unorm(dst, dstRowStride, pixels, srcRowStride, srcWidth, srcHeight);
texcompress_bptc.c 128 const GLubyte *pixels; local
155 pixels = tempImage;
158 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
165 pixels, rowstride,
177 const float *pixels; local
200 pixels = tempImage;
203 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
210 pixels, rowstride,
texcompress_s3tc.c 51 const GLubyte *pixels; local
77 pixels = tempImage;
81 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
87 tx_compress_dxtn(3, srcWidth, srcHeight, pixels,
103 const GLubyte *pixels; local
133 pixels = tempImage;
137 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
143 tx_compress_dxtn(4, srcWidth, srcHeight, pixels,
159 const GLubyte *pixels; local
189 pixels = tempImage
214 const GLubyte *pixels; local
    [all...]
  /xsrc/external/mit/pixman/dist/demos/
clip-test.c 12 uint32_t *pixels = malloc (WIDTH * HEIGHT * 4); local
16 pixels[i] = pixel;
20 pixels,
  /xsrc/external/mit/pixman/dist/test/
pdf-op-test.c 23 static const uint32_t pixels[] = variable
45 for (s = 0; s < ARRAY_LENGTH (pixels); ++s)
50 PIXMAN_a8r8g8b8, 1, 1, (uint32_t *)&(pixels[s]), 4);
52 for (m = -1; m < ARRAY_LENGTH (pixels); ++m)
58 PIXMAN_a8r8g8b8, 1, 1, (uint32_t *)&(pixels[m]), 4);
61 for (d = 0; d < ARRAY_LENGTH (pixels); ++d)
64 uint32_t dp = pixels[d];
  /xsrc/external/mit/MesaLib.old/dist/src/mesa/main/
texcompress_bptc.c 128 const GLubyte *pixels; local
152 pixels = tempImage;
155 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
162 pixels, rowstride,
174 const float *pixels; local
197 pixels = tempImage;
200 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
207 pixels, rowstride,
texcompress_s3tc.c 51 const GLubyte *pixels; local
77 pixels = tempImage;
81 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
87 tx_compress_dxtn(3, srcWidth, srcHeight, pixels,
103 const GLubyte *pixels; local
130 pixels = tempImage;
134 pixels = _mesa_image_address2d(srcPacking, srcAddr, srcWidth, srcHeight,
140 tx_compress_dxtn(4, srcWidth, srcHeight, pixels,
156 const GLubyte *pixels; local
183 pixels = tempImage
208 const GLubyte *pixels; local
    [all...]
  /xsrc/external/mit/libdrm/dist/tests/tegra/
vic.c 120 uint32_t *pixels = (uint32_t *)((unsigned long)ptr + j * image->pitch); local
125 printf(" %08x", pixels[i]);
  /xsrc/external/mit/mesa-demos/dist/src/redbook/
convolution.c 77 GLubyte* pixels; local
100 pixels = (GLubyte *) malloc( n * sizeof( GLubyte ));
101 if ( !pixels ) {
102 fprintf( stderr, "Unable to malloc() bytes for pixels\n" );
107 num_read = fread( pixels, sizeof( GLubyte ), n, infile );
112 return pixels;
116 GLubyte *pixels; variable
158 glDrawPixels(width, height, GL_RGB, GL_UNSIGNED_BYTE, pixels);
204 pixels = readImage("leeds.bin", &width, &height);
histogram.c 58 static GLubyte *pixels; variable
85 GLubyte* pixels; local
105 pixels = (GLubyte *) malloc( n * sizeof( GLubyte ));
106 if ( !pixels ) {
107 fprintf( stderr, "Unable to malloc() bytes for pixels\n" );
112 num_read = fread( pixels, sizeof( GLubyte ), n, infile );
117 return pixels;
141 glDrawPixels(width, height, GL_RGB, GL_UNSIGNED_BYTE, pixels);
199 pixels = readImage("leeds.bin", &width, &height);
minmax.c 45 * Determine the minimum and maximum values of a group of pixels.
55 static GLubyte *pixels; variable
81 GLubyte* pixels; local
101 pixels = (GLubyte *) malloc( n * sizeof( GLubyte ));
102 if ( !pixels ) {
103 fprintf( stderr, "Unable to malloc() bytes for pixels\n" );
108 num_read = fread( pixels, sizeof( GLubyte ), n, infile );
113 return pixels;
136 glDrawPixels(width, height, GL_RGB, GL_UNSIGNED_BYTE, pixels);
168 pixels = readImage("leeds.bin", &width, &height);
    [all...]
  /xsrc/external/mit/mesa-demos/dist/src/tests/
fillrate.c 25 * Draw quad 10 pixels shorter, narrower than window size.
64 GLdouble pixels, rate; local
107 pixels = (double) iters * (Width - 10) * (Height - 10);
108 rate = pixels / (t1 - t0);
  /xsrc/external/mit/xorg-server/dist/hw/kdrive/src/
kcmap.c 37 Pixel pixels[KD_MAX_PSEUDO_SIZE]; local
54 * Make DIX convert pixels into RGB values -- this handles
59 pixels[i] = i;
61 QueryColors(pCmap, (1 << pScreenPriv->screen->fb.depth), pixels, colors,
  /xsrc/external/mit/xorg-server.old/dist/hw/kdrive/src/
kcmap.c 37 Pixel pixels[KD_MAX_PSEUDO_SIZE]; local
54 * Make DIX convert pixels into RGB values -- this handles
59 pixels[i] = i;
61 QueryColors (pCmap, (1 << pScreenPriv->screen->fb.depth), pixels, colors, serverClient);
  /xsrc/external/mit/MesaGLUT/dist/src/glut/glx/
glut_cmap.c 45 unsigned long pixels[255]; local
51 pixels[0] = 0; /* avoid compilation warnings on win32 */
88 map_entries-1 pixels (that is, all but the transparent
98 pixels, cmap->size - 1);
  /xsrc/external/mit/MesaLib/dist/src/gallium/targets/osmesa/
test-render.cpp 67 uint8_t pixels[w * h * 8] = { 0 }; local
73 auto ret = OSMesaMakeCurrent(ctx.get(), &pixels, p.type, w, h);
103 for (unsigned i = 0; i < ARRAY_SIZE(pixels); i += 4) {
106 pixels[i + 0],
107 pixels[i + 1],
108 pixels[i + 2],
109 pixels[i + 3]);
117 memcpy(&color, &pixels[i * p.bpp], p.bpp);
123 uint32_t color = ((pixels[i * p.bpp + 0] << 0) |
124 (pixels[i * p.bpp + 1] << 8)
173 uint8_t pixels[4096 * h * 2] = {0}; \/* different cpp from our depth! *\/ local
    [all...]
  /xsrc/external/mit/ctwm/dist/
mask_screen.c 134 Pixel pixels [256]; local
138 pixels [i] = i;
142 XFreeColors(dpy, cmap, pixels, 256, 0L);
143 XFreeColors(dpy, cmap, pixels, 256, 0L); /* Ah Ah */
161 XFreeColors(dpy, cmap, pixels, 256, 0L);
  /xsrc/external/mit/MesaLib/dist/src/gallium/frontends/d3d10umd/
Dxgi.cpp 122 DWORD *pixels = NULL; local
126 HBITMAP hBmp = CreateDIBSection(hDC, &bmi, DIB_RGB_COLORS, (void**)&pixels, NULL, 0);
130 (void *)pixels, w * 4,
152 fwrite(pixels, h, w * 4, fp);
  /xsrc/external/mit/libXfixes/dist/include/X11/extensions/
Xfixes.h 91 unsigned long *pixels; member in struct:__anon5826
108 unsigned long *pixels; member in struct:__anon5827
  /xsrc/external/mit/libXmu/dist/src/
CrCmap.c 174 int npixels; /* number of pixels allocated R/W */
175 int first_index; /* first index of pixels to use */
178 unsigned long *pixels; /* array of colormap pixels */ local
204 * Then insure that the pixels we were allocated are given in
206 * that our allocation includes a subset of contiguous pixels at least
210 * 2) We have a contiguous sequence of pixels, monotonically
221 if ((pixels = calloc((unsigned) vinfo->colormap_size,
225 if ((npixels = ROmap(dpy, colormap->colormap, pixels,
227 free(pixels);
    [all...]
  /xsrc/external/mit/mesa-demos/dist/src/demos/
trispd.c 96 printf("Rate: %d tri in %gs = %g tri/s %d pixels/s\n",
132 GLubyte *pixels; local
134 pixels = (GLubyte *) malloc(4*256*256);
137 pixels[(y*256+x)*4+0] = (int)(128.5 + 127.0 * cos(0.024544 * x));
138 pixels[(y*256+x)*4+1] = 255;
139 pixels[(y*256+x)*4+2] = (int)(128.5 + 127.0 * cos(0.024544 * y));
140 pixels[(y*256+x)*4+3] = 255;
143 glTexImage2D(GL_TEXTURE_2D, 0, comp, 256, 256, 0, GL_RGBA, GL_UNSIGNED_BYTE, pixels);
202 printf("Size: %d pixels\n", Size);
221 printf(" -size pixels specify pixels/triangle\n")
    [all...]
  /xsrc/external/mit/xf86-video-ati/dist/src/
radeon_cursor.c 348 uint32_t *pixels = (uint32_t *)(pointer)(info->FB + pScrn->fbOffset + radeon_crtc->cursor_offset); local
369 /* Note: We assume that the pixels are either fully opaque or fully
373 for (i = 0; i < CURSOR_WIDTH * CURSOR_HEIGHT; i++, pixels++)
374 if ((pixel = *pixels))
375 *pixels = (pixel == info->cursor_fg) ? fg : bg;
  /xsrc/external/mit/xf86-video-intel/dist/test/
basic-copyarea.c 91 } *pixels = malloc(reps*sizeof(*pixels)); local
96 printf("Testing setting of single pixels (%s): ",
110 pixels[r].x = x;
111 pixels[r].y = y;
118 uint32_t x = pixels[r].x;
119 uint32_t y = pixels[r].y;
142 free(pixels);
basic-fillrect.c 62 } *pixels = malloc(reps*sizeof(*pixels)); local
67 printf("Testing setting of single pixels (%s): ",
80 pixels[r].x = x;
81 pixels[r].y = y;
88 uint32_t x = pixels[r].x;
89 uint32_t y = pixels[r].y;
112 free(pixels);
basic-putimage.c 75 } *pixels = malloc(reps*sizeof(*pixels)); local
80 printf("Testing setting of single pixels (%s %s shm): ",
97 pixels[r].x = x;
98 pixels[r].y = y;
106 uint32_t x = pixels[r].x;
107 uint32_t y = pixels[r].y;
132 free(pixels);

Completed in 19 milliseconds

1 2 3 4