Lines Matching refs:pix
130 fz_pixmap *pix;
209 pix = fz_new_pixmap_from_page_number(ctx, doc, 0, &ctm, fz_device_rgb(ctx), 0);
217 surface = malloc(pix->h * pix->stride);
218 memcpy(surface, pix->samples, (pix->h * pix->stride));
221 surface = escl_crop_surface(scanner, surface, pix->w, pix->h, pix->n, width, height);
227 *bps = pix->n;
231 fz_drop_pixmap(ctx, pix);