Searched refs:bytes_per_line (Results 1 - 25 of 87) sorted by relevance

1234

/xsrc/external/mit/libXft/dist/src/
H A Dxftswap.c105 image->height * image->bytes_per_line >> 2);
109 image->bytes_per_line,
114 image->height * image->bytes_per_line >> 1);
/xsrc/external/mit/libX11/dist/src/
H A DGetImage.c120 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 ||
123 nbytes < planes * image->height * image->bytes_per_line) {
H A DWrBitF.c49 int bytes_per_line; local in function:Format_Image
54 bytes_per_line = (width+7)/8;
55 *resultsize = bytes_per_line * height; /* Calculate size of data */
57 data = Xmallocarray(bytes_per_line, height); /* Get space for data */
H A DRdBitF.c126 int bytes_per_line; /* per scanline of data */ local in function:XReadBitmapFileData
188 bytes_per_line = (ww+7)/8 + padding;
190 bits = Xmallocarray (hh, bytes_per_line);
193 size = bytes_per_line * hh;
203 if (!padding || ((bytes+2) % bytes_per_line))
H A DCrBFData.c74 .bytes_per_line = (width + 7) / 8,
H A DCrPFBData.c83 .bytes_per_line = (width + 7) / 8
H A DImUtil.c253 ((y) * img->bytes_per_line) + \
256 #define ZINDEX(x, y, img) ((y) * img->bytes_per_line) + \
379 image->bytes_per_line = min_bytes_per_line;
384 image->bytes_per_line = image_bytes_per_line;
422 if (image->bytes_per_line == 0) {
423 image->bytes_per_line = min_bytes_per_line;
424 } else if (image->bytes_per_line < min_bytes_per_line) {
510 plane = plane + (ximage->bytes_per_line * ximage->height);
549 [y * ximage->bytes_per_line + (x << 2)];
581 [y * ximage->bytes_per_line
[all...]
H A DPutImage.c614 long bytes_per_line, bytes_per_src_plane, bytes_per_dest_plane; local in function:SendXYImage
658 src = image->data + (image->bytes_per_line * req_yoffset) + total_xoffset;
664 (image->bytes_per_line == bytes_per_dest) &&
684 bytes_per_line = image->bytes_per_line;
685 bytes_per_src_plane = bytes_per_line * image->height;
693 bytes_per_line = bytes_per_src + total_xoffset;
695 bytes_per_temp_plane = bytes_per_line * req->height;
719 bytes_per_line, (long)image->bytes_per_line,
[all...]
/xsrc/external/mit/xorgproto/dist/include/X11/
H A DXWDFile.h76 /* bytes_per_line is pixmap_width padded to bitmap_unit (bitmaps)
79 CARD32 bytes_per_line; member in struct:_xwd_file_header
/xsrc/external/mit/xf86-video-intel/dist/test/
H A Dtest_image.c49 j*out->bytes_per_line +
62 j*out->bytes_per_line +
110 out += out_image->bytes_per_line;
111 ref += ref_image->bytes_per_line;
168 rows[i] = (png_byte *)(image->data + image->bytes_per_line * i);
242 out = (uint32_t *)((char *)out + out_image.bytes_per_line);
243 ref = (uint32_t *)((char *)ref + ref_image.bytes_per_line);
272 ximage->bytes_per_line = 4*width;
/xsrc/external/mit/libXpm/dist/src/
H A DXpmI.h307 ((y) * img->bytes_per_line) + \
310 #define ZINDEX(x, y, img) ((y) * img->bytes_per_line) + \
313 #define ZINDEX32(x, y, img) ((y) * img->bytes_per_line) + ((x) << 2)
315 #define ZINDEX16(x, y, img) ((y) * img->bytes_per_line) + ((x) << 1)
317 #define ZINDEX8(x, y, img) ((y) * img->bytes_per_line) + (x)
319 #define ZINDEX1(x, y, img) ((y) * img->bytes_per_line) + ((x) >> 3)
/xsrc/external/mit/MesaLib.old/dist/src/mesa/drivers/x11/
H A Dxm_line.c151 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
168 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
185 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
201 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
222 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
239 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
280 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
303 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
326 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
348 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
[all...]
H A Dxm_tri.c102 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
136 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
170 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
202 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
265 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
295 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
353 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
380 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
407 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
434 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
[all...]
H A Dxm_buffer.c93 b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line
203 8, 0); /* pad, bytes_per_line */
209 * b->backxrb->ximage->bytes_per_line);
297 xrb->width2 = xrb->ximage->bytes_per_line / 2;
301 xrb->width3 = xrb->ximage->bytes_per_line;
447 + y2 * ximage->bytes_per_line
472 int bytes_per_line = local in function:xmesa_MapRenderbuffer
475 char *image = malloc(bytes_per_line *
486 bytes_per_line);
499 + (h - 1) * ximage->bytes_per_line;
[all...]
/xsrc/external/mit/MesaLib/dist/src/mesa/drivers/x11/
H A Dxm_line.c151 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
168 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
185 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
201 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
222 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
239 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
280 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
303 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
326 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
348 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
[all...]
H A Dxm_tri.c101 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
135 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
169 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
201 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
264 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
294 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
352 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
379 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
406 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
433 #define BYTES_PER_ROW (xrb->ximage->bytes_per_line)
[all...]
H A Dxm_buffer.c93 b->shminfo.shmid = shmget(IPC_PRIVATE, b->backxrb->ximage->bytes_per_line
203 8, 0); /* pad, bytes_per_line */
209 * b->backxrb->ximage->bytes_per_line);
297 xrb->width2 = xrb->ximage->bytes_per_line / 2;
301 xrb->width3 = xrb->ximage->bytes_per_line;
447 + y2 * ximage->bytes_per_line
472 int bytes_per_line = local in function:xmesa_MapRenderbuffer
475 char *image = malloc(bytes_per_line *
486 bytes_per_line);
499 + (h - 1) * ximage->bytes_per_line;
[all...]
/xsrc/external/mit/xf86-video-intel-2014/dist/test/
H A Dtest_image.c49 j*out->bytes_per_line +
62 j*out->bytes_per_line +
110 out += out_image->bytes_per_line;
111 ref += ref_image->bytes_per_line;
168 rows[i] = (png_byte *)(image->data + image->bytes_per_line * i);
258 out += out_image.bytes_per_line;
259 ref += ref_image.bytes_per_line;
288 ximage->bytes_per_line = 4*width;
/xsrc/external/mit/libXmu/dist/src/
H A DRdBitF.c161 int bytes_per_line; /* per scanline of data */ local in function:XmuReadBitmapData
226 bytes_per_line = (ww+7)/8 + padding;
228 size = bytes_per_line * hh;
241 if (!padding || ((bytes+2) % bytes_per_line))
/xsrc/external/mit/xorg-server.old/dist/hw/kdrive/fake/
H A Dfake.c34 priv->bytes_per_line = 0;
150 *size = priv->bytes_per_line;
151 return priv->base + row * priv->bytes_per_line;
170 priv->bytes_per_line = ((screen->width * screen->fb.bitsPerPixel + 31) >> 5) << 2;
172 priv->base = malloc (priv->bytes_per_line * screen->height);
181 screen->fb.byteStride = priv->bytes_per_line;
182 screen->fb.pixelStride = (priv->bytes_per_line * 8/
H A Dfake.h35 int bytes_per_line; member in struct:_fakePriv
/xsrc/external/mit/ctwm/dist/
H A Dimage_xwd.c148 buffer_size = header.bytes_per_line * h;
169 header.bitmap_pad, header.bytes_per_line);
253 size = image->bytes_per_line * image->height;
256 if((i % image->bytes_per_line) > image->width) {
/xsrc/external/mit/xorg-server.old/dist/hw/kdrive/ephyr/
H A Dephyr.h46 int bytes_per_line; member in struct:_ephyrPriv
/xsrc/external/mit/xorg-server/dist/hw/kdrive/ephyr/
H A Dhostx.h145 int *bytes_per_line, int *bits_per_pixel);
/xsrc/external/mit/MesaLib.old/dist/src/glx/
H A Ddrisw_glx.c130 0); /* bytes_per_line */
197 bytes_per_line(unsigned pitch_bits, unsigned mul) function in typeref:typename:int
235 ximage->bytes_per_line = stride ? stride : bytes_per_line(w * ximage->bits_per_pixel, 32);
239 ximage->width = ximage->bytes_per_line / ((ximage->bits_per_pixel + 7)/ 8);
318 ximage->bytes_per_line = stride ? stride : bytes_per_line(w * ximage->bits_per_pixel, 32);
354 ximage->bytes_per_line = bytes_per_line(w * ximage->bits_per_pixel, 32);

Completed in 55 milliseconds

1234