Home
last modified time | relevance | path

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

/third_party/libjpeg-turbo/
Djdtrans.c139 int nscans; in transdecode_master_selection() local
143 nscans = 2 + 3 * cinfo->num_components; in transdecode_master_selection()
146 nscans = cinfo->num_components; in transdecode_master_selection()
148 nscans = 1; in transdecode_master_selection()
151 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.c591 int nscans; in master_selection() local
595 nscans = 2 + 3 * cinfo->num_components; in master_selection()
598 nscans = cinfo->num_components; in master_selection()
601 cinfo->progress->pass_limit = (long)cinfo->total_iMCU_rows * nscans; in master_selection()
/third_party/skia/third_party/externals/libjpeg-turbo/
Djdtrans.c140 int nscans; in transdecode_master_selection() local
144 nscans = 2 + 3 * cinfo->num_components; in transdecode_master_selection()
147 nscans = cinfo->num_components; in transdecode_master_selection()
149 nscans = 1; in transdecode_master_selection()
152 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.c580 int nscans; in master_selection() local
584 nscans = 2 + 3 * cinfo->num_components; in master_selection()
587 nscans = cinfo->num_components; in master_selection()
590 cinfo->progress->pass_limit = (long)cinfo->total_iMCU_rows * nscans; in master_selection()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djdtrans.c139 int nscans; in transdecode_master_selection() local
143 nscans = 2 + 3 * cinfo->num_components; in transdecode_master_selection()
146 nscans = cinfo->num_components; in transdecode_master_selection()
148 nscans = 1; in transdecode_master_selection()
151 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.c591 int nscans; in master_selection() local
595 nscans = 2 + 3 * cinfo->num_components; in master_selection()
598 nscans = cinfo->num_components; in master_selection()
601 cinfo->progress->pass_limit = (long)cinfo->total_iMCU_rows * nscans; in master_selection()