Home
last modified time | relevance | path

Searched refs:BYTES_PER_PIXEL (Results 1 – 5 of 5) sorted by relevance

/packages/services/BuiltInPrintService/jni/plugins/
Dwprint_image.c347 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()
582 return (BYTES_PER_PIXEL(width * image_info->output_rows)); in wprint_image_get_output_buff_size()
626 rbytes = BYTES_PER_PIXEL(image_info->output_width); in _decode_stripe()
629 int padding_left = ((padding_options & PAD_LEFT) ? BYTES_PER_PIXEL( in _decode_stripe()
631 int padding_right = ((padding_options & PAD_RIGHT) ? BYTES_PER_PIXEL( in _decode_stripe()
637 col_offset = BYTES_PER_PIXEL(image_info->col_offset); in _decode_stripe()
666 memcpy(image_info->output_cache[image_x] + BYTES_PER_PIXEL( in _decode_stripe()
668 image_data + BYTES_PER_PIXEL( in _decode_stripe()
[all …]
Dlib_pwg.c263 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()
Dwprint_image.h33 #define BYTES_PER_PIXEL(X) ((X)*3) macro
Dlib_pclm.c236 for (readIndex = writeIndex = 0; readIndex < nbytes; readIndex += BYTES_PER_PIXEL(1)) { in _print_swath()
Dplugin_pcl.c389 msg.param.send.bytes_per_row = BYTES_PER_PIXEL(wprint_image_get_width( in _print_page()