Lines Matching refs:image

1707     drm_radeon_tex_image_t *image, int mode)
1732 * part of the texture image may be corrupted.
1749 blit_width = image->width * 4;
1759 blit_width = image->width * 2;
1765 blit_width = image->width * 1;
1772 if (spitch == 0 && image->height > 1)
1781 image->x *= 2;
1791 image->x, image->y, image->width, image->height);
1797 height = image->height;
1798 data = (const u8 __user *)image->data;
1825 image32.x = image->x;
1826 image32.y = image->y;
1827 image32.width = image->width;
1828 image32.height = image->height;
1829 image32.data = (uint32_t)(uintptr_t)image->data;
1830 DRM_COPYTO_WITH_RETURN(tex->image, &image32,
1834 DRM_COPYTO_WITH_RETURN(tex->image, image,
1835 sizeof (*image));
1868 * tex height = 1, since our actual image will have
1911 * Texture image width is larger than the
1918 * Texture image width is less than the minimum,
1919 * so we need to pad out each image scanline to
1948 OUT_RING((image->x << 16) | image->y);
1949 OUT_RING((image->width << 16) | height);
1958 image->y += height;
1959 image->height -= height;
1960 image->data = (const u8 __user *)image->data + size;
1961 } while (image->height > 0);
2531 drm_radeon_tex_image_t image;
2542 if (tex32.image == 0) {
2543 DRM_ERROR("null texture image!\n");
2547 (void *)(uintptr_t)tex32.image, sizeof (image32))) {
2557 tex.image = (void*)(uintptr_t)tex32.image;
2559 image.x = image32.x;
2560 image.y = image32.y;
2561 image.width = image32.width;
2562 image.height = image32.height;
2563 image.data = (void*)(uintptr_t)image32.data;
2568 if (tex.image == NULL) {
2571 if (DRM_COPY_FROM_USER(&image,
2572 (drm_radeon_tex_image_t *)tex.image, sizeof (image))) {
2582 ret = radeon_cp_dispatch_texture(fpriv, dev, &tex, &image, mode);