Lines Matching defs:img
1113 locate_black_stripe (unsigned char *img, int w, int h)
1120 p = img;
1124 unsigned char *q = img + x;
1172 unsigned char *img;
1176 img = malloc (54000);
1177 if (img == 0)
1184 CHK (get_pixels (scan, opc3, opb6, opd1, ope1, 54000, 1, img));
1191 fwrite (img, 1, w * h, f2);
1196 s = locate_black_stripe (img, 300, 180);
1201 free (img);
1230 unsigned char *img;
1234 img = malloc (54000);
1235 if (img == 0)
1242 CHK (get_pixels_2100U (scan, opc3, opb6, opd1, ope1, 54000, 1, img));
1249 fwrite (img, 1, w * h, f2);
1254 s = locate_black_stripe (img, 300, 180);
1259 free (img);