Lines Matching refs:bitmap_unit
118 * For XY formats, bitmap_unit is always less than or equal to bitmap_pad.
119 * For XY formats, bitmap_unit is 8, 16, or 32 bits.
129 switch (img->bitmap_unit) {
148 _XReverse_Bytes (bp, img->bitmap_unit >> 3);
234 * for a bitmap_unit containing a pixel with coordinates x and y for image
254 (((x) + img->xoffset) / img->bitmap_unit) * (img->bitmap_unit >> 3)
339 image->bitmap_unit = dpy->bitmap_unit;
399 image->bits_per_pixel > 32 || image->bitmap_unit > 32 ||
400 image->bits_per_pixel < 0 || image->bitmap_unit < 0 ||
458 * copy the source bitmap_unit or Zpixel into temp
493 for (i = ximage->bitmap_unit >> 3; --i >= 0; ) *dst++ = *src++;
495 bits = (x + ximage->xoffset) % ximage->bitmap_unit;
500 nbytes = ximage->bitmap_unit >> 3;
507 bits = (x + ximage->xoffset) % ximage->bitmap_unit;
646 * copy the destination bitmap_unit or Zpixel to temp
677 nbytes = ximage->bitmap_unit >> 3;
680 i = ((x + ximage->xoffset) % ximage->bitmap_unit);
689 nbytes = ximage->bitmap_unit >> 3;
696 i = ((x + ximage->xoffset) % ximage->bitmap_unit);
858 subimage->bitmap_unit = ximage->bitmap_unit;
921 * bitmap_unit, bits_per_pixel, bitmap_pad, or xoffset.