Lines Matching refs:start_row

644 int _decode_stripe(wprint_image_info_t *image_info, int start_row, int num_rows,  in _decode_stripe()  argument
658 start_row += image_info->row_offset; in _decode_stripe()
672 if (start_row > image_info->sampled_width) { in _decode_stripe()
681 (start_row < image_info->output_swath_start) || in _decode_stripe()
682 (start_row >= (image_info->output_swath_start + image_info->rows_cached))) { in _decode_stripe()
688 image_info->output_swath_start = ((start_row / image_info->rows_cached) * 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()
722 for (image_y = start_row; in _decode_stripe()
743 if (start_row > image_info->sampled_width) { in _decode_stripe()
752 (start_row < image_info->output_swath_start) || in _decode_stripe()
753 (start_row >= (image_info->output_swath_start + image_info->rows_cached))) { in _decode_stripe()
759 image_info->output_swath_start = ((start_row / image_info->rows_cached) * in _decode_stripe()
778 for (image_y = start_row; in _decode_stripe()
783 image_y++, num_rows--, start_row++) { in _decode_stripe()
795 for (image_y = start_row; in _decode_stripe()
812 int wprint_image_decode_stripe(wprint_image_info_t *image_info, int start_row, int *height, in wprint_image_decode_stripe() argument
833 if ((start_row < 0) || (start_row >= _get_height(image_info, image_info->padding_options))) { in wprint_image_decode_stripe()
837 (start_row < padding_top)) { in wprint_image_decode_stripe()
838 int blank_rows = MIN(num_rows, (padding_top - start_row)); in wprint_image_decode_stripe()
845 start_row += blank_rows; in wprint_image_decode_stripe()
847 (start_row >= _get_height(image_info, image_info->padding_options & PAD_TOP))) { in wprint_image_decode_stripe()
850 _get_height(image_info, image_info->padding_options) - start_row); in wprint_image_decode_stripe()
857 start_row += blank_rows; in wprint_image_decode_stripe()
865 int unpadded_start_row = start_row; in wprint_image_decode_stripe()
970 start_row += stripe_height; in wprint_image_decode_stripe()
992 start_row += rows; in wprint_image_decode_stripe()
1014 (start_row >= _get_height(image_info, image_info->padding_options & PAD_TOP))) { in wprint_image_decode_stripe()
1016 _get_height(image_info, image_info->padding_options) - start_row); in wprint_image_decode_stripe()