Lines Matching defs:image
1637 drm_radeon_tex_image_t * image)
1663 * part of the texture image may be corrupted.
1679 blit_width = image->width * 4;
1689 blit_width = image->width * 2;
1695 blit_width = image->width * 1;
1702 if (spitch == 0 && image->height > 1)
1711 image->x *= 2;
1721 image->x, image->y, image->width, image->height);
1726 height = image->height;
1727 data = (const u8 __user *)image->data;
1747 if (DRM_COPY_TO_USER(tex->image, image, sizeof(*image)))
1772 case tex height = 1, since our actual image will have height 2
1810 /* Texture image width is larger than the minimum, so we
1816 /* Texture image width is less than the minimum, so we
1817 * need to pad out each image scanline to the minimum
1845 OUT_RING((image->x << 16) | image->y);
1846 OUT_RING((image->width << 16) | height);
1853 image->y += height;
1854 image->height -= height;
1855 image->data = (const u8 __user *)image->data + size;
1856 } while (image->height > 0);
2372 drm_radeon_tex_image_t image;
2380 if (tex.image == NULL) {
2381 DRM_ERROR("null texture image!\n");
2385 if (DRM_COPY_FROM_USER(&image,
2386 (drm_radeon_tex_image_t __user *) tex.image,
2387 sizeof(image)))
2393 ret = radeon_cp_dispatch_texture(filp, dev, &tex, &image);