Searched refs:BYTES_PER_PIXEL (Results 1 – 5 of 5) sorted by relevance
347 scaler_make_image_scaler_tables(image_output_width, BYTES_PER_PIXEL(image_output_width), in wprint_image_set_output_properties()348 image_info->scaled_width, BYTES_PER_PIXEL(image_info->scaled_width), in wprint_image_set_output_properties()375 int unscaled_size = BYTES_PER_PIXEL( in wprint_image_set_output_properties()615 return (BYTES_PER_PIXEL(width * image_info->output_rows)); in wprint_image_get_output_buff_size()659 rbytes = BYTES_PER_PIXEL(image_info->output_width); in _decode_stripe()662 int padding_left = ((padding_options & PAD_LEFT) ? BYTES_PER_PIXEL( in _decode_stripe()664 int padding_right = ((padding_options & PAD_RIGHT) ? BYTES_PER_PIXEL( in _decode_stripe()670 col_offset = BYTES_PER_PIXEL(image_info->col_offset); in _decode_stripe()699 memcpy(image_info->output_cache[image_x] + BYTES_PER_PIXEL( in _decode_stripe()701 image_data + BYTES_PER_PIXEL( in _decode_stripe()[all …]
33 #define BYTES_PER_PIXEL(X) ((X)*3) macro
263 job_info->scan_line_width = BYTES_PER_PIXEL(pixel_width); in _start_page()292 for (readIndex = writeIndex = 0; readIndex < nbytes; readIndex += BYTES_PER_PIXEL(1)) { in _print_swath()
236 for (readIndex = writeIndex = 0; readIndex < nbytes; readIndex += BYTES_PER_PIXEL(1)) { in _print_swath()
413 msg.param.send.bytes_per_row = BYTES_PER_PIXEL(wprint_image_get_width(image_info)); in _print_page()