Lines Matching defs:raw
3401 SANE_Byte * raw, SANE_Byte * out)
3403 SANE_Byte *out_end, *out_ptr, *raw_end = raw + num_lines * bpl;
3447 *out_ptr = *raw++;
3451 if (raw >= raw_end)
3478 SANE_Byte * raw, SANE_Byte * out)
3480 SANE_Byte *out_end, *out_ptr, *raw_end = raw + num_lines * bpl;
3528 *out_ptr = *raw++;
3535 if ((raw >= raw_end) || ((s->ld.index[0] >= s->params.lines) &&
3542 raw >= raw_end ? " raw >= raw_end" : "");
3569 SANE_Byte * raw, SANE_Byte * out)
3571 SANE_Byte *raw_end = raw + num_lines * bpl;
3707 "color: %d; raw bytes: %lu; out bytes: %d\n",
3767 SANE_Byte *raw_start = raw;
3771 *out_ptr[s->ld.color] = *raw;
3777 ++raw;
3783 "raw bytes: %lu; out bytes: %d\n",
3784 lines[s->ld.color], s->ld.color, (u_long) (raw - raw_start),
3786 raw = raw_start + bpc;
3794 *out_ptr[s->ld.color] = *raw++;
3806 *out_ptr[s->ld.color] = *raw;
3809 ++raw;
3822 * bpc, raw, bpc);
3826 raw += bpc;
3832 raw += bpc;
3837 if (raw >= raw_end)
3859 SANE_Byte * raw, SANE_Byte * out)
3886 in_addr = raw + y * bpl + x_in * 6;
3905 in_addr = raw + y * bpl + x_in * 6;
3924 *(out + pixel * 2) = *(raw + pixel * 2) << 4;
3925 *(out + pixel * 2 + 1) = (*(raw + pixel * 2) >> 4) +
3926 (*(raw + pixel * 2 + 1) << 4);
3931 *(out + pixel * 2) = (*(raw + pixel * 2) >> 4) +
3932 (*(raw + pixel * 2 + 1) << 4);
3933 *(out + pixel * 2 + 1) = *(raw + pixel * 2) << 4;
3952 in_addr = raw + y * bpl + x_in * 3;
3960 memcpy (out, raw, num_lines * bpl);
3968 SANE_Int bpl, SANE_Byte * raw, SANE_Byte * out)
3970 SANE_Byte *out_end, *out_ptr, *raw_end = raw + num_lines * bpl;
4002 *out_ptr = *raw++;
4006 if (raw >= raw_end)
4017 SANE_Byte * raw, SANE_Byte * out,
4020 SANE_Byte *out_end, *out_ptr, *raw_end = raw + num_lines * bpl;
4075 *out_ptr = *raw++;
4085 if ((raw >= raw_end) || ((min_index >= num_lines_total)))
4133 SANE_Byte * raw, SANE_Byte * out)
4139 red_ptr = raw;