Home
last modified time | relevance | path

Searched refs:num_rows (Results 1 – 25 of 26) sorted by relevance

12

/plan9/sys/src/cmd/gs/jpeg/
H A Djdpostct.c133 JDIMENSION num_rows, max_rows; in post_process_1pass() local
140 num_rows = 0; in post_process_1pass()
143 post->buffer, &num_rows, max_rows); in post_process_1pass()
146 post->buffer, output_buf + *out_row_ctr, (int) num_rows); in post_process_1pass()
147 *out_row_ctr += num_rows; in post_process_1pass()
165 JDIMENSION old_next_row, num_rows; in post_process_prepass() local
183 num_rows = post->next_row - old_next_row; in post_process_prepass()
185 (JSAMPARRAY) NULL, (int) num_rows); in post_process_prepass()
186 *out_row_ctr += num_rows; in post_process_prepass()
209 JDIMENSION num_rows, max_rows; in post_process_2pass() local
[all …]
H A Djdcolor.c122 JSAMPARRAY output_buf, int num_rows) in ycc_rgb_convert() argument
138 while (--num_rows >= 0) { in ycc_rgb_convert()
171 JSAMPARRAY output_buf, int num_rows) in null_convert() argument
179 while (--num_rows >= 0) { in null_convert()
203 JSAMPARRAY output_buf, int num_rows) in grayscale_convert() argument
206 num_rows, cinfo->output_width); in grayscale_convert()
219 JSAMPARRAY output_buf, int num_rows) in gray_rgb_convert() argument
225 while (--num_rows >= 0) { in gray_rgb_convert()
247 JSAMPARRAY output_buf, int num_rows) in ycck_cmyk_convert() argument
263 while (--num_rows >= 0) { in ycck_cmyk_convert()
H A Djccolor.c132 JDIMENSION output_row, int num_rows) in rgb_ycc_convert() argument
142 while (--num_rows >= 0) { in rgb_ycc_convert()
188 JDIMENSION output_row, int num_rows) in rgb_gray_convert() argument
198 while (--num_rows >= 0) { in rgb_gray_convert()
227 JDIMENSION output_row, int num_rows) in cmyk_ycck_convert() argument
237 while (--num_rows >= 0) { in cmyk_ycck_convert()
282 JDIMENSION output_row, int num_rows) in grayscale_convert() argument
290 while (--num_rows >= 0) { in grayscale_convert()
311 JDIMENSION output_row, int num_rows) in null_convert() argument
320 while (--num_rows >= 0) { in null_convert()
H A Djdsample.c98 JDIMENSION num_rows; in sep_upsample() local
117 num_rows = (JDIMENSION) (cinfo->max_v_samp_factor - upsample->next_row_out); in sep_upsample()
121 if (num_rows > upsample->rows_to_go) in sep_upsample()
122 num_rows = upsample->rows_to_go; in sep_upsample()
125 if (num_rows > out_rows_avail) in sep_upsample()
126 num_rows = out_rows_avail; in sep_upsample()
131 (int) num_rows); in sep_upsample()
134 *out_row_ctr += num_rows; in sep_upsample()
135 upsample->rows_to_go -= num_rows; in sep_upsample()
136 upsample->next_row_out += num_rows; in sep_upsample()
H A Djdmerge.c153 JDIMENSION num_rows; /* number of rows returned to caller */ in merged_2v_upsample() local
159 num_rows = 1; in merged_2v_upsample()
163 num_rows = 2; in merged_2v_upsample()
165 if (num_rows > upsample->rows_to_go) in merged_2v_upsample()
166 num_rows = upsample->rows_to_go; in merged_2v_upsample()
169 if (num_rows > out_rows_avail) in merged_2v_upsample()
170 num_rows = out_rows_avail; in merged_2v_upsample()
173 if (num_rows > 1) { in merged_2v_upsample()
184 *out_row_ctr += num_rows; in merged_2v_upsample()
185 upsample->rows_to_go -= num_rows; in merged_2v_upsample()
H A Djquant1.c460 JSAMPARRAY output_buf, int num_rows) in color_quantize() argument
472 for (row = 0; row < num_rows; row++) { in color_quantize()
488 JSAMPARRAY output_buf, int num_rows) in color_quantize3() argument
501 for (row = 0; row < num_rows; row++) { in color_quantize3()
516 JSAMPARRAY output_buf, int num_rows) in quantize_ord_dither() argument
531 for (row = 0; row < num_rows; row++) { in quantize_ord_dither()
566 JSAMPARRAY output_buf, int num_rows) in quantize3_ord_dither() argument
584 for (row = 0; row < num_rows; row++) { in quantize3_ord_dither()
611 JSAMPARRAY output_buf, int num_rows) in quantize_fs_dither() argument
636 for (row = 0; row < num_rows; row++) { in quantize_fs_dither()
H A Djutils.c113 int num_rows, JDIMENSION num_cols) in jcopy_sample_rows() argument
131 for (row = num_rows; row > 0; row--) { in jcopy_sample_rows()
H A Djpegint.h87 JDIMENSION output_row, int num_rows));
250 JSAMPARRAY output_buf, int num_rows));
258 int num_rows));
375 int num_rows, JDIMENSION num_cols));
H A Djmemmgr.c757 JDIMENSION start_row, JDIMENSION num_rows, in access_virt_sarray() argument
763 JDIMENSION end_row = start_row + num_rows; in access_virt_sarray()
767 if (end_row > ptr->rows_in_array || num_rows > ptr->maxaccess || in access_virt_sarray()
842 JDIMENSION start_row, JDIMENSION num_rows, in access_virt_barray() argument
848 JDIMENSION end_row = start_row + num_rows; in access_virt_barray()
852 if (end_row > ptr->rows_in_array || num_rows > ptr->maxaccess || in access_virt_barray()
H A Djquant2.c225 JSAMPARRAY output_buf, int num_rows) in prescan_quantize() argument
235 for (row = 0; row < num_rows; row++) { in prescan_quantize()
916 JSAMPARRAY input_buf, JSAMPARRAY output_buf, int num_rows) in pass2_no_dither() argument
928 for (row = 0; row < num_rows; row++) { in pass2_no_dither()
950 JSAMPARRAY input_buf, JSAMPARRAY output_buf, int num_rows) in pass2_fs_dither() argument
974 for (row = 0; row < num_rows; row++) { in pass2_fs_dither()
H A Djcsample.c87 expand_right_edge (JSAMPARRAY image_data, int num_rows, in expand_right_edge() argument
97 for (row = 0; row < num_rows; row++) { in expand_right_edge()
H A Djpeglib.h784 JDIMENSION num_rows,
789 JDIMENSION num_rows,
/plan9/sys/src/cmd/gs/src/
H A Dgdevcslw.c64 int num_rows = dev_print_scan_lines(pdev); in coslw_print_page() local
91 for (lnum = 0; lnum < num_rows; lnum++) { in coslw_print_page()
H A Dgdevdljm.c78 int num_rows = dev_print_scan_lines(pdev); in dljet_mono_print_page_copies() local
151 for (lnum = 0; lnum < num_rows; lnum++) { in dljet_mono_print_page_copies()
H A Dgdevpx.c1377 int num_rows; /* # of allocated rows */ member
1401 int num_rows; in pclxl_begin_image() local
1431 num_rows = MAX_ROW_DATA / row_raster; in pclxl_begin_image()
1432 if (num_rows > pim->Height) in pclxl_begin_image()
1433 num_rows = pim->Height; in pclxl_begin_image()
1434 if (num_rows <= 0) in pclxl_begin_image()
1435 num_rows = 1; in pclxl_begin_image()
1438 row_data = gs_alloc_bytes(mem, num_rows * row_raster, in pclxl_begin_image()
1452 pie->rows.num_rows = num_rows; in pclxl_begin_image()
1585 if (pie->y - pie->rows.first_y == pie->rows.num_rows) { in pclxl_image_plane_data()
H A Dzdevice.c122 int num_rows; in zgetbitsrect() local
172 num_rows = r_size(op) / raster; in zgetbitsrect()
173 h = min(h, num_rows); in zgetbitsrect()
H A Dgdevhl7x.c362 int num_rows = dev_print_scan_lines(pdev); in hl7x0_print_page() local
375 num_rows, in hl7x0_print_page()
H A Djpeglib0.h784 JDIMENSION num_rows,
789 JDIMENSION num_rows,
H A Djpeglib_.h784 JDIMENSION num_rows,
789 JDIMENSION num_rows,
H A Djpeglib.h784 JDIMENSION num_rows,
789 JDIMENSION num_rows,
/plan9/sys/src/cmd/gs/libpng/
H A Dpngread.c814 png_bytepp display_row, png_uint_32 num_rows) in png_read_rows() argument
824 for (i = 0; i < num_rows; i++) in png_read_rows()
832 for (i = 0; i < num_rows; i++) in png_read_rows()
839 for (i = 0; i < num_rows; i++) in png_read_rows()
881 png_ptr->num_rows = image_height; /* Make sure this is set correctly */ in png_read_image()
H A Dpngrutil.c2830 if (png_ptr->row_number < png_ptr->num_rows) in png_read_finish_row()
2852 png_ptr->num_rows = (png_ptr->height + in png_read_finish_row()
2856 if (!(png_ptr->num_rows)) in png_read_finish_row()
2964 png_ptr->num_rows = (png_ptr->height + png_pass_yinc[0] - 1 - in png_read_start_row()
2967 png_ptr->num_rows = png_ptr->height; in png_read_start_row()
2982 png_ptr->num_rows = png_ptr->height; in png_read_start_row()
3119 png_debug1(3, "num_rows = %lu\n", png_ptr->num_rows); in png_read_start_row()
H A Dpngpread.c783 png_ptr->row_number == png_ptr->num_rows)) in png_process_IDAT_data()
1008 if (png_ptr->row_number < png_ptr->num_rows) in png_read_push_finish_row()
1040 png_ptr->num_rows = (png_ptr->height + in png_read_push_finish_row()
1045 } while (png_ptr->iwidth == 0 || png_ptr->num_rows == 0); in png_read_push_finish_row()
H A Dpngwutil.c1749 png_ptr->num_rows = (png_ptr->height + png_pass_yinc[0] - 1 - in png_write_start_row()
1756 png_ptr->num_rows = png_ptr->height; in png_write_start_row()
1763 png_ptr->num_rows = png_ptr->height; in png_write_start_row()
1797 if (png_ptr->row_number < png_ptr->num_rows) in png_write_finish_row()
1821 png_ptr->num_rows = (png_ptr->height + in png_write_finish_row()
1827 } while (png_ptr->usr_width == 0 || png_ptr->num_rows == 0); in png_write_finish_row()
H A Dpngwrite.c688 png_uint_32 num_rows) in png_write_rows() argument
695 for (i = 0, rp = row; i < num_rows; i++, rp++) in png_write_rows()
920 if (png_ptr->row_number >= png_ptr->num_rows) in png_write_flush()

12