Home
last modified time | relevance | path

Searched refs:bytes_per_line_limit (Results 1 - 1 of 1) sorted by relevance

/third_party/backends/backend/
H A Dhp5590.c1878 unsigned int bytes_per_line_limit; in convert_to_rgb() local
1909 bytes_per_line_limit = bytes_per_line; in convert_to_rgb()
1910 if ((scanner->depth == DEPTH_COLOR_48) && (bytes_per_line_limit > 3)) in convert_to_rgb()
1913 bytes_per_line_limit -= 3; in convert_to_rgb()
1921 DBG (DBG_verbose, "Bytes per line limited %u\n", bytes_per_line_limit); in convert_to_rgb()
1934 for (j = 0; j < lines; ptr += bytes_per_line_limit, buf += bytes_per_line, j++) in convert_to_rgb()
1942 buf[i*3] = get_checked(ptr, i, bytes_per_line_limit); in convert_to_rgb()
1944 buf[i*3+1] = get_checked(ptr, i+pixels_per_line, bytes_per_line_limit);; in convert_to_rgb()
1946 buf[i*3+2] = get_checked(ptr, i+pixels_per_line*2, bytes_per_line_limit); in convert_to_rgb()
1954 buf[i*6] = get_checked(ptr, 2*i+(pixels_per_line-1)*0+1, bytes_per_line_limit); in convert_to_rgb()
[all...]

Completed in 4 milliseconds