Lines Matching refs:scaled_height
58 image_info->scaled_height = -1; in wprint_image_get_info()
145 image_info->scaled_height = -1; in wprint_image_set_output_properties()
332 image_info->scaled_height = (int) floorf(targetHeight); in wprint_image_set_output_properties()
334 image_info->scaled_height = (int) floorf(targetWidth * sourceHeight / sourceWidth); in wprint_image_set_output_properties()
338 image_info->scaled_height = native_image_output_height; in wprint_image_set_output_properties()
349 image_output_height, image_info->scaled_height, &image_info->scaler_config); in wprint_image_set_output_properties()
360 if (row >= image_info->scaled_height) { in wprint_image_set_output_properties()
365 (image_info->scaled_height - 1)), in wprint_image_set_output_properties()
387 image_info->scaled_height = image_output_height; in wprint_image_set_output_properties()
427 if (image_info->scaled_height > image_info->printable_height) { in wprint_image_set_output_properties()
429 (image_info->scaled_height - image_info->printable_height) / 2); in wprint_image_set_output_properties()
431 int paddingDelta = (image_info->printable_height - image_info->scaled_height); in wprint_image_set_output_properties()
436 } else if (image_info->scaled_height < image_info->printable_height) { in wprint_image_set_output_properties()
438 image_info->scaled_height); in wprint_image_set_output_properties()
462 if (image_info->scaled_height > image_info->printable_height) { in wprint_image_set_output_properties()
464 (image_info->scaled_height - image_info->printable_height) / 2); in wprint_image_set_output_properties()
466 int paddingDelta = (image_info->printable_height - image_info->scaled_height); in wprint_image_set_output_properties()
471 } else if (image_info->scaled_height > image_info->printable_height) { in wprint_image_set_output_properties()
472 image_info->row_offset = (image_info->scaled_height - image_info->printable_height); in wprint_image_set_output_properties()
473 } else if (image_info->scaled_height < image_info->printable_height) { in wprint_image_set_output_properties()
475 image_info->scaled_height); in wprint_image_set_output_properties()
499 if (image_info->scaled_height > image_info->printable_height) { in wprint_image_set_output_properties()
501 (image_info->scaled_height - image_info->printable_height) / 2); in wprint_image_set_output_properties()
503 int paddingDelta = (image_info->printable_height - image_info->scaled_height); in wprint_image_set_output_properties()
508 } else if (image_info->scaled_height < image_info->printable_height) { in wprint_image_set_output_properties()
510 image_info->scaled_height); in wprint_image_set_output_properties()
511 } else if (image_info->scaled_height > image_info->printable_height) { in wprint_image_set_output_properties()
512 image_info->row_offset = (image_info->scaled_height - image_info->printable_height); in wprint_image_set_output_properties()
535 if (image_info->scaled_height > image_info->printable_height) { in wprint_image_set_output_properties()
537 (image_info->scaled_height - image_info->printable_height) / 2); in wprint_image_set_output_properties()
539 int paddingDelta = (image_info->printable_height - image_info->scaled_height); in wprint_image_set_output_properties()
544 } else if (image_info->scaled_height < image_info->printable_height) { in wprint_image_set_output_properties()
546 image_info->scaled_height); in wprint_image_set_output_properties()
579 int width = MAX(MAX(image_info->scaled_width, image_info->scaled_height), in wprint_image_get_output_buff_size()
590 height = MIN(image_info->scaled_height, image_info->printable_height); in _get_height()
842 if (image_info->scaled_height > image_info->printable_height) { in wprint_image_decode_stripe()
843 scaled_start_row += ((image_info->scaled_height - image_info->printable_height) / 2); in wprint_image_decode_stripe()
850 int scaled_num_rows = (((scaled_start_row + num_rows) > image_info->scaled_height) ? in wprint_image_decode_stripe()
851 (image_info->scaled_height - scaled_start_row) : num_rows); in wprint_image_decode_stripe()
856 (image_info->scaled_height - 1)), (void *) &image_info->scaler_config, in wprint_image_decode_stripe()