Home
last modified time | relevance | path

Searched refs:nscans (Results 1 – 9 of 9) sorted by relevance

/external/opencv3/3rdparty/libjpeg/
Djdtrans.c124 int nscans; in transdecode_master_selection() local
128 nscans = 2 + 3 * cinfo->num_components; in transdecode_master_selection()
131 nscans = cinfo->num_components; in transdecode_master_selection()
133 nscans = 1; in transdecode_master_selection()
136 cinfo->progress->pass_limit = (long) cinfo->total_iMCU_rows * nscans; in transdecode_master_selection()
Djcparam.c567 int nscans; in jpeg_simple_progression() local
577 nscans = 10; in jpeg_simple_progression()
581 nscans = 6 * ncomps; /* 2 DC + 4 AC scans per component */ in jpeg_simple_progression()
583 nscans = 2 + 4 * ncomps; /* 2 DC scans; 4 AC scans per component */ in jpeg_simple_progression()
593 if (cinfo->script_space == NULL || cinfo->script_space_size < nscans) { in jpeg_simple_progression()
594 cinfo->script_space_size = MAX(nscans, 10); in jpeg_simple_progression()
601 cinfo->num_scans = nscans; in jpeg_simple_progression()
Djdmaster.c382 int nscans; in master_selection() local
386 nscans = 2 + 3 * cinfo->num_components; in master_selection()
389 nscans = cinfo->num_components; in master_selection()
392 cinfo->progress->pass_limit = (long) cinfo->total_iMCU_rows * nscans; in master_selection()
/external/libjpeg-turbo/
Djdtrans.c138 int nscans; in transdecode_master_selection() local
142 nscans = 2 + 3 * cinfo->num_components; in transdecode_master_selection()
145 nscans = cinfo->num_components; in transdecode_master_selection()
147 nscans = 1; in transdecode_master_selection()
150 cinfo->progress->pass_limit = (long) cinfo->total_iMCU_rows * nscans; in transdecode_master_selection()
Djcparam.c471 int nscans; in jpeg_simple_progression() local
481 nscans = 10; in jpeg_simple_progression()
485 nscans = 6 * ncomps; /* 2 DC + 4 AC scans per component */ in jpeg_simple_progression()
487 nscans = 2 + 4 * ncomps; /* 2 DC scans; 4 AC scans per component */ in jpeg_simple_progression()
497 if (cinfo->script_space == NULL || cinfo->script_space_size < nscans) { in jpeg_simple_progression()
498 cinfo->script_space_size = MAX(nscans, 10); in jpeg_simple_progression()
505 cinfo->num_scans = nscans; in jpeg_simple_progression()
Djdmaster.c578 int nscans; in master_selection() local
582 nscans = 2 + 3 * cinfo->num_components; in master_selection()
585 nscans = cinfo->num_components; in master_selection()
588 cinfo->progress->pass_limit = (long) cinfo->total_iMCU_rows * nscans; in master_selection()
/external/pdfium/third_party/libjpeg/
Dfpdfapi_jdtrans.c127 int nscans; in transdecode_master_selection() local
131 nscans = 2 + 3 * cinfo->num_components; in transdecode_master_selection()
134 nscans = cinfo->num_components; in transdecode_master_selection()
136 nscans = 1; in transdecode_master_selection()
139 cinfo->progress->pass_limit = (long) cinfo->total_iMCU_rows * nscans; in transdecode_master_selection()
Dfpdfapi_jcparam.c540 int nscans; in jpeg_simple_progression() local
550 nscans = 10; in jpeg_simple_progression()
554 nscans = 6 * ncomps; /* 2 DC + 4 AC scans per component */ in jpeg_simple_progression()
556 nscans = 2 + 4 * ncomps; /* 2 DC scans; 4 AC scans per component */ in jpeg_simple_progression()
566 if (cinfo->script_space == NULL || cinfo->script_space_size < nscans) { in jpeg_simple_progression()
567 cinfo->script_space_size = MAX(nscans, 10); in jpeg_simple_progression()
574 cinfo->num_scans = nscans; in jpeg_simple_progression()
Dfpdfapi_jdmaster.c408 int nscans; in master_selection() local
412 nscans = 2 + 3 * cinfo->num_components; in master_selection()
415 nscans = cinfo->num_components; in master_selection()
418 cinfo->progress->pass_limit = (long) cinfo->total_iMCU_rows * nscans; in master_selection()