Home
last modified time | relevance | path

Searched refs:num_lines (Results 1 - 25 of 27) sorted by relevance

12

/third_party/skia/third_party/externals/libjpeg-turbo/
H A Djdapistd.c318 read_and_discard_scanlines(j_decompress_ptr cinfo, JDIMENSION num_lines) in read_and_discard_scanlines() argument
350 for (n = 0; n < num_lines; n++) in read_and_discard_scanlines()
394 * num_lines would move beyond the end of the image, then the actual number of
396 * be equal to num_lines.
402 jpeg_skip_scanlines(j_decompress_ptr cinfo, JDIMENSION num_lines) in GLOBAL()
421 if (cinfo->output_scanline + num_lines >= cinfo->output_height) { in GLOBAL()
422 num_lines = cinfo->output_height - cinfo->output_scanline; in GLOBAL()
426 return num_lines; in GLOBAL()
429 if (num_lines == 0) in GLOBAL()
436 lines_after_iMCU_row = num_lines in GLOBAL()
[all...]
H A Djcapistd.c66 * This should be less than the supplied num_lines only in case that
73 * so that the application need not adjust num_lines for end-of-image
79 JDIMENSION num_lines) in GLOBAL()
105 if (num_lines > rows_left) in GLOBAL()
106 num_lines = rows_left; in GLOBAL()
109 (*cinfo->main->process_data) (cinfo, scanlines, &row_ctr, num_lines); in GLOBAL()
122 JDIMENSION num_lines) in GLOBAL()
150 if (num_lines < lines_per_iMCU_row) in GLOBAL()
H A Djpeglib.h961 JDIMENSION num_lines);
971 JDIMENSION num_lines);
1008 JDIMENSION num_lines);
/third_party/skia/third_party/externals/libwebp/src/utils/
H A Drescaler_utils.c121 const int num_lines = in WebPRescaleNeededLines() local
123 return (num_lines > max_num_lines) ? max_num_lines : num_lines; in WebPRescaleNeededLines()
126 int WebPRescalerImport(WebPRescaler* const rescaler, int num_lines, in WebPRescalerImport() argument
129 while (total_imported < num_lines && in WebPRescalerImport()
/third_party/cups-filters/filter/
H A Dtexttotext.c92 int num_lines = 66, /* Lines per page */ in main() local
288 num_lines = atoi(val2); in main()
299 if (num_lines <= 0) { in main()
301 num_lines); in main()
302 num_lines = 66; in main()
316 num_lines = i; in main()
319 i, num_lines); in main()
331 num_lines, num_columns); in main()
366 if (page_top < 0 || page_top > num_lines - 1) { in main()
379 if (page_bottom < 0 || page_bottom > num_lines in main()
[all...]
/third_party/backends/backend/
H A Dmustek.c3400 fix_line_distance_n_2 (Mustek_Scanner * s, SANE_Int num_lines, SANE_Int bpl, in fix_line_distance_n_2() argument
3403 SANE_Byte *out_end, *out_ptr, *raw_end = raw + num_lines * bpl; in fix_line_distance_n_2()
3456 num_lines = s->ld.index[2] - s->ld.ld_line; in fix_line_distance_n_2()
3462 memcpy (s->ld.buf[0], out + num_lines * bpl, in fix_line_distance_n_2()
3468 return num_lines; in fix_line_distance_n_2()
3477 fix_line_distance_n_1 (Mustek_Scanner * s, SANE_Int num_lines, SANE_Int bpl, in fix_line_distance_n_1() argument
3480 SANE_Byte *out_end, *out_ptr, *raw_end = raw + num_lines * bpl; in fix_line_distance_n_1()
3503 DBG (5, "fix_line_distance_n_1: got %d lines, %d bpl\n", num_lines, bpl); in fix_line_distance_n_1()
3543 num_lines = s->ld.index[1] - s->ld.ld_line; in fix_line_distance_n_1()
3544 if (num_lines < in fix_line_distance_n_1()
3568 fix_line_distance_se(Mustek_Scanner * s, SANE_Int num_lines, SANE_Int bpl, SANE_Byte * raw, SANE_Byte * out) fix_line_distance_se() argument
3858 fix_line_distance_pro(Mustek_Scanner * s, SANE_Int num_lines, SANE_Int bpl, SANE_Byte * raw, SANE_Byte * out) fix_line_distance_pro() argument
3967 fix_line_distance_normal(Mustek_Scanner * s, SANE_Int num_lines, SANE_Int bpl, SANE_Byte * raw, SANE_Byte * out) fix_line_distance_normal() argument
4016 fix_line_distance_block(Mustek_Scanner * s, SANE_Int num_lines, SANE_Int bpl, SANE_Byte * raw, SANE_Byte * out, SANE_Int num_lines_total) fix_line_distance_block() argument
4132 fix_line_distance_none(Mustek_Scanner * s, SANE_Int num_lines, SANE_Int bpl, SANE_Byte * raw, SANE_Byte * out) fix_line_distance_none() argument
4637 SANE_Int y, num_lines; output_data() local
[all...]
H A Dsnapscan-scsi.c1513 static SANE_Status read_calibration_data (SnapScan_Scanner *pss, void *buf, u_char num_lines) in read_calibration_data() argument
1517 size_t expected_read_bytes = num_lines * calibration_line_length(pss); in read_calibration_data()
1524 pss->cmd[5] = num_lines; in read_calibration_data()
1562 int num_lines = pss->phys_buf_sz / line_length; in calibrate() local
1563 if (num_lines > NUM_CALIBRATION_LINES) in calibrate()
1565 num_lines = NUM_CALIBRATION_LINES; in calibrate()
1566 } else if (num_lines == 0) in calibrate()
1571 buf = (u_char *) malloc(num_lines * line_length); in calibrate()
1574 DBG (DL_MAJOR_ERROR, "%s: out of memory allocating calibration, %d bytes.", me, num_lines * line_length); in calibrate()
1578 DBG (DL_MAJOR_ERROR, "%s: reading calibration data (%d lines)\n", me, num_lines); in calibrate()
[all...]
H A Dhp4200.h107 int num_lines; /* number of lines of the ciclic buffer */ member
H A Dhp-scl.c1382 int num_lines, bytes_per_line; in process_data_flush() local
1409 num_lines = ((int)(image_len + bytes_per_line-1)) / bytes_per_line; in process_data_flush()
1416 image_data = ph->image_buf + (num_lines-1) * bytes_per_line; in process_data_flush()
1417 while (num_lines > 0 ) in process_data_flush()
1427 num_lines--; in process_data_flush()
1434 while (num_lines > 0 ) in process_data_flush()
1444 num_lines--; in process_data_flush()
H A Dhp4200.c1822 cb->num_lines = 12; in ciclic_buffer_init()
1823 cb->size = bytes_per_line * cb->num_lines; in ciclic_buffer_init()
1824 cb->can_consume = cb->size + cb->num_lines * status_bytes; in ciclic_buffer_init()
1836 malloc (sizeof (unsigned char *) * cb->num_lines); in ciclic_buffer_init()
1841 for (i = 0; i < cb->num_lines; i++) in ciclic_buffer_init()
2150 cb->red_idx = (cb->red_idx + 1) % cb->num_lines; in ciclic_buffer_consume()
2151 cb->green_idx = (cb->green_idx + 1) % cb->num_lines; in ciclic_buffer_consume()
2152 cb->blue_idx = (cb->blue_idx + 1) % cb->num_lines; in ciclic_buffer_consume()
H A Dpie.c222 int num_lines; member
1072 dev->cal_info[i].num_lines = buffer[11 + i * buffer[5]]; in pie_get_cal_info()
1079 dev->cal_info[i].receive_bits, dev->cal_info[i].num_lines, in pie_get_cal_info()
1674 rcv_lines = scanner->device->cal_info[cal_index].num_lines; in pie_perform_cal()
1802 rcv_lines = scanner->device->cal_info[cal_index].num_lines; in pie_perform_cal()
/third_party/ffmpeg/libavcodec/
H A Dindeo3.c359 copy_block4(dst, ref, row_offset, row_offset, num_lines << v_zoom)
365 fill_64(dst + row_offset, pix64, (num_lines << 1) - 1, row_offset);\
368 fill_64(dst, pix64, num_lines << 1, row_offset)
433 int x, y, line, num_lines; in decode_cell_data() local
462 num_lines = 1; in decode_cell_data()
505 num_lines = 257 - code - line; in decode_cell_data()
506 if (num_lines <= 0) in decode_cell_data()
521 num_lines = 4 - line; /* enforce next block processing */ in decode_cell_data()
537 num_lines = 4; /* enforce next block processing */ in decode_cell_data()
551 line += num_lines; in decode_cell_data()
[all...]
/third_party/mesa3d/src/amd/common/
H A Dac_spm.c260 unsigned num_lines = (even_lines > odd_lines) ? (2 * even_lines - 1) : (2 * odd_lines); in ac_init_spm() local
262 spm_trace->muxsel_lines[s] = CALLOC(num_lines, sizeof(*spm_trace->muxsel_lines[s])); in ac_init_spm()
265 spm_trace->num_muxsel_lines[s] = num_lines; in ac_init_spm()
/third_party/lwip/src/apps/http/makefsdata/
H A Dmakefsdata.c761 size_t i, l, num_lines; in checkSsiByFilelist() local
790 num_lines = 1; in checkSsiByFilelist()
793 num_lines++; in checkSsiByFilelist()
800 lines = (char**)malloc(sizeof(char*) * num_lines); in checkSsiByFilelist()
806 memset(lines, 0, sizeof(char*) * num_lines); in checkSsiByFilelist()
818 LWIP_ASSERT("lines array overflow", l < num_lines); in checkSsiByFilelist()
825 LWIP_ASSERT("lines array overflow", l < num_lines); in checkSsiByFilelist()
/third_party/rust/crates/codespan/codespan-reporting/examples/
H A Dreadme_preview.rs93 let num_lines = buffer.iter().filter(|byte| **byte == b'\n').count() + 1; in main()
99 let height = padding + num_lines * (font_size + line_spacing) + padding; in main()
/third_party/skia/third_party/externals/freetype/src/psaux/
H A Dcffdecode.c1332 FT_Int num_lines; in FT_LOCAL_DEF() local
1342 num_lines = ( nargs - 6 ) / 2; in FT_LOCAL_DEF()
1345 cff_check_points( builder, num_lines + 3 ) ) in FT_LOCAL_DEF()
1351 while ( num_lines > 0 ) in FT_LOCAL_DEF()
1358 num_lines--; in FT_LOCAL_DEF()
/third_party/libdrm/include/drm/
H A Dvia_drm.h264 __u32 num_lines; member
/third_party/python/Lib/
H A Ddifflib.py1382 def _make_line(lines, format_key, side, num_lines=[0,0]):
1395 side -- indice into the num_lines list (0=from,1=to)
1396 num_lines -- from/to current line number. This is NOT intended to be a
1405 num_lines[side] += 1
1409 return (num_lines[side],lines.pop(0)[2:])
1436 return (num_lines[side],text)
/third_party/ffmpeg/libavdevice/
H A Ddecklink_enc.cpp391 for (i = 0; i < vanc_lines.num_lines; i++) { in decklink_construct_vanc()
426 for (i = 0; i < vanc_lines.num_lines; i++) in decklink_construct_vanc()
/third_party/python/Lib/test/
H A Dtest_pdb.py2413 num_lines = len(s.splitlines()) + 2 # Test for EOF
2416 for lineno in range(num_lines):
H A Dtest_tokenize.py24 num_lines = len(source_string.splitlines())
31 if missing_trailing_nl and type == NEWLINE and end[0] == num_lines:
H A Dtest_pydoc.py989 num_lines = len(result.splitlines())
991 self.assertGreaterEqual(num_lines, expected)
/third_party/astc-encoder/Source/
H A Dtinyexr.h9253 int data_width, int num_lines) { in CompressPiz()
9277 cd.ny = num_lines; in CompressPiz()
9291 for (int y = 0; y < num_lines; ++y) { in CompressPiz()
9373 int num_lines) { in DecompressPiz()
9449 channelData[i].ny = num_lines; in DecompressPiz()
9471 for (int y = 0; y < num_lines; y++) { in DecompressPiz()
9626 const float *inPtr, int width, int num_lines, int num_channels, in CompressZfp()
9632 TEXR_ASSERT((num_lines % 4) == 0); in CompressZfp()
9634 if ((width & 3U) || (num_lines & 3U)) { in CompressZfp()
9640 zfp_type_float, width, num_lines * num_channel in CompressZfp()
9250 CompressPiz(unsigned char *outPtr, unsigned int *outSize, const unsigned char *inPtr, size_t inSize, const std::vector<ChannelInfo> &channelInfo, int data_width, int num_lines) CompressPiz() argument
9370 DecompressPiz(unsigned char *outPtr, const unsigned char *inPtr, size_t tmpBufSize, size_t inLen, int num_channels, const EXRChannelInfo *channels, int data_width, int num_lines) DecompressPiz() argument
9625 CompressZfp(std::vector<unsigned char> *outBuf, unsigned int *outSize, const float *inPtr, int width, int num_lines, int num_channels, const ZFPCompressionParam &param) CompressZfp() argument
9695 DecodePixelData( unsigned char **out_images, const int *requested_pixel_types, const unsigned char *data_ptr, size_t data_len, int compression_type, int line_order, int width, int height, int x_stride, int y, int line_no, int num_lines, size_t pixel_data_size, size_t num_attributes, const EXRAttribute *attributes, size_t num_channels, const EXRChannelInfo *channels, const std::vector<size_t> &channel_offset_list) DecodePixelData() argument
10135 num_lines, num_channels, data_ptr, DecodePixelData() local
[all...]
/third_party/benchmark/src/
H A Dsysinfo.cc398 info.size = cache->line_size * cache->num_lines; in GetCacheSizesQNX()
/third_party/mesa3d/src/egl/drivers/dri2/
H A Dplatform_x11.c180 int num_lines = ((max_req_len << 2) - hdr_len) / stride_b; in swrastPutImage() local
184 int this_lines = MIN2(num_lines, y_todo); in swrastPutImage()

Completed in 59 milliseconds

12