Lines Matching refs:num_rows

644 int _decode_stripe(wprint_image_info_t *image_info, int start_row, int num_rows,  in _decode_stripe()  argument
667 old_num_rows = ~num_rows; in _decode_stripe()
671 while (num_rows > 0) { in _decode_stripe()
675 if (old_num_rows == num_rows) { in _decode_stripe()
679 old_num_rows = num_rows; in _decode_stripe()
708 for (image_y = start_row; ((num_rows != 0) && in _decode_stripe()
711 image_y++, num_rows--, start_row++) { in _decode_stripe()
723 ((image_y < image_info->sampled_height) && (num_rows != 0)); in _decode_stripe()
724 image_y++, num_rows--) { in _decode_stripe()
742 while (num_rows > 0) { in _decode_stripe()
746 if (old_num_rows == num_rows) { in _decode_stripe()
750 old_num_rows = num_rows; in _decode_stripe()
779 ((num_rows != 0) && in _decode_stripe()
783 image_y++, num_rows--, start_row++) { in _decode_stripe()
796 ((image_y < image_info->sampled_height) && (num_rows != 0)); in _decode_stripe()
797 image_y++, num_rows--) { in _decode_stripe()
821 int num_rows = *height; in wprint_image_decode_stripe() local
838 int blank_rows = MIN(num_rows, (padding_top - start_row)); in wprint_image_decode_stripe()
841 num_rows -= blank_rows; in wprint_image_decode_stripe()
849 int blank_rows = MIN(num_rows, in wprint_image_decode_stripe()
853 num_rows -= blank_rows; in wprint_image_decode_stripe()
860 if (num_rows <= 0) { in wprint_image_decode_stripe()
883 int scaled_num_rows = (((scaled_start_row + num_rows) > image_info->scaled_height) ? in wprint_image_decode_stripe()
884 (image_info->scaled_height - scaled_start_row) : num_rows); in wprint_image_decode_stripe()
964 num_rows -= stripe_height; in wprint_image_decode_stripe()
977 (((unpadded_start_row + num_rows) > in wprint_image_decode_stripe()
980 : num_rows), in wprint_image_decode_stripe()
991 num_rows -= rows; in wprint_image_decode_stripe()
1013 if ((image_info->padding_options & PAD_BOTTOM) && (num_rows > 0) && in wprint_image_decode_stripe()
1015 int blank_rows = MIN(num_rows, in wprint_image_decode_stripe()
1019 num_rows -= blank_rows; in wprint_image_decode_stripe()