Lines Matching defs:line
444 char line[128];
480 /* It's a new line */
481 DBG (level, " %s %s\n", line, asc_buf);
484 ptr = line;
881 /* Set the expected size line and number of lines. */
1124 * allocates an array big enough for one line, read the 12 or 8 lines of calibration,
1126 * The input line is 1 raster for each color. However
1127 * the output line is interlaced (ie RBG for the first pixel, then RGB
1128 * for the second, and so on...). The output line are the value to use
1302 /*hexdump (DBG_info2, "got calibration line:", dev->buffer, size); */
1454 /* Build the calibration line to send. */
1493 /* Send the calibration line. The CDB is the same as the previous
1500 /*hexdump (DBG_info2, "calibration line sent:", dev->buffer, size); */
1507 "teco_do_calibration: calibration line was not sent correctly\n");
2171 int line; /* line number for that raster */
2189 * The color coding is one line for each color (in the RGB order).
2199 * Find the color and the line which this raster belongs to.
2201 line = 0;
2213 line = dev->raster_num;
2221 line = (dev->raster_num - color_adjust->color_shift) / 2;
2233 line = (dev->raster_num + color_adjust->color_shift) / 2;
2248 line = dev->line;
2260 line = dev->line;
2265 line = dev->line + color_adjust->color_shift - 1;
2273 line = dev->line + color_adjust->color_shift;
2278 line = dev->line;
2290 line = dev->raster_num / 3 + color_adjust->color_shift;
2292 line = dev->raster_num / 3 - color_adjust->color_shift;
2296 line = dev->raster_num / 3;
2301 line = dev->raster_num / 3 - color_adjust->color_shift;
2303 line = dev->raster_num / 3 + color_adjust->color_shift;
2308 /* Adjust the line number relative to the image. */
2309 line -= dev->line;
2311 offset = dev->image_end + line * dev->params.bytes_per_line;
2329 DBG (DBG_info, "raster=%d, line=%d, color=%d\n", dev->raster_num,
2330 dev->line + line, color);
2335 /* This blue raster completes a new line */
2336 dev->line++;
2389 /* Round down to a multiple of line size. */
2540 if (dev_name[0] == '#') /* ignore line comments */
3196 dev->line = 0;