Home | History | Annotate | Download | only in nubus

Lines Matching defs:image

83 load_image_data(void *	data, struct image_data *image)
87 memcpy(&image->size, d , 4);
88 memcpy(&image->offset, d + 4, 4);
89 memcpy(&image->rowbytes, d + 8, 2);
90 memcpy(&image->top, d + 10, 2);
91 memcpy(&image->left, d + 12, 2);
92 memcpy(&image->bottom, d + 14, 2);
93 memcpy(&image->right, d + 16, 2);
94 memcpy(&image->version, d + 18, 2);
95 memcpy(&image->packType, d + 20, 2);
96 memcpy(&image->packSize, d + 22, 4);
97 memcpy(&image->hRes, d + 26, 4);
98 memcpy(&image->vRes, d + 30, 4);
99 memcpy(&image->pixelType, d + 34, 2);
100 memcpy(&image->pixelSize, d + 36, 2);
101 memcpy(&image->cmpCount, d + 38, 2);
102 memcpy(&image->cmpSize, d + 40, 2);
103 memcpy(&image->planeBytes, d + 42, 4);
136 struct image_data image_store, image;
198 load_image_data((void *)&image_store, &image);
202 gm->ptype = image.pixelType;
203 gm->psize = image.pixelSize;
204 gm->width = image.right - image.left;
205 gm->height = image.bottom - image.top;
206 gm->rowbytes = image.rowbytes;
207 gm->hres = image.hRes;
208 gm->vres = image.vRes;
211 gm->fboff = image.offset;