Lines Matching defs:pixel

314     int bits_pp_in;             /* bits per pixel from scanner */
1817 " Chunky data, R, G & B in one pixel\n");
3909 if ( ( ms->width_dots % 2 ) == 1 ) /* odd pixel numbers */
4011 /* bits_per_pixel is the number of bits per color one pixel needs */
4013 /* number of bits per color one pixel uses when transferred to the */
4016 /* pixel per byte is transferred to the frontend. */
5644 uint16_t pixel, color, linenr, factor;
5678 for ( pixel=0;
5679 pixel < (uint16_t) (mi->geo_width / mi->calib_divisor);
5680 pixel++)
5692 + pixel);
5698 + pixel);
5706 + 3 * pixel
5725 int pixel, color, line, offset, num_shading_pixels, output_height;
5768 for ( pixel=0; pixel < num_shading_pixels ; ++pixel)
5774 + pixel;
5815 int pixel, color, line, offset, img_val, img_height=30, factor;
5841 for ( pixel=0; pixel < (int)ms->ppl; ++pixel)
5845 offset = color * (int)ms->ppl + pixel;
6746 /* calculating the median pixel values over the shading lines */
7281 int bpp; /* bytes per pixel */
7282 int bits_pp_in; /* bits per pixel input */
7283 int bits_pp_out; /* bits per pixel output */
7344 uint32_t pixel;
7361 for ( pixel = 0; pixel < ms->ppl; pixel++ )
7365 val16 = *( (uint16_t *) from + 3 * pixel + color );
7400 int bpp; /* bytes per pixel */
7539 uint32_t pixel;
7555 bpp_in = ( ms->bits_per_pixel_in + 7 ) / 8; /*Bytes per pixel from scanner*/
7585 for ( pixel = 0; pixel < ms->ppl; pixel++ )
7591 + ( ms->ppl - 1 - pixel ) * bpp_in;
7593 from_effective = ms->buf.current_pos[color] + pixel * bpp_in;
7611 pixel,
7742 uint32_t pixel;
7746 float s_d; /* dark shading pixel */
7747 float s_w; /* white shading pixel */
7789 for ( pixel = 0; pixel < ms->ppl; pixel++ )
7809 pixel,
7892 uint32_t pixel;
7906 for ( pixel = 0; pixel < pixels; pixel++ )
7919 pixel = 0;
7925 ++pixel;
7926 if ( pixel < pixels )
7931 ++pixel;
7934 } while ( pixel < pixels );
8000 uint32_t pixel;
8027 for ( pixel = 0; pixel < ms->ppl; pixel++ )
8040 pixel,
8074 pixel = 0;
8075 while ( pixel < ms->ppl )
8078 ++pixel;
8079 if ( pixel < ms->ppl )
8082 ++pixel;
8234 uint32_t pixel;
8253 for ( pixel = 0; pixel < pixels; pixel++ )
8261 pixel,
8311 uint32_t pixel;
8330 for ( pixel = 0; pixel < ms->remaining_bytes; pixel++ )
8331 threshold += *(ms->temporary_buffer + pixel);
8358 uint32_t pixel,
8370 csh_offset = (color + 1) * ms->ppl - 1 - pixel;
8372 csh_offset = color * ms->ppl + pixel;