Lines Matching refs:numresolutions
258 if (pi->resno >= comp->numresolutions) { in opj_pi_next_lrcp()
310 if (pi->resno >= comp->numresolutions) { in opj_pi_next_rlcp()
353 for (resno = 0; resno < comp->numresolutions; resno++) { in opj_pi_next_rpcl()
356 if (res->pdx + comp->numresolutions - 1 - resno < 32 && in opj_pi_next_rpcl()
357 … comp->dx <= UINT_MAX / (1u << (res->pdx + comp->numresolutions - 1 - resno))) { in opj_pi_next_rpcl()
358 dx = comp->dx * (1u << (res->pdx + comp->numresolutions - 1 - resno)); in opj_pi_next_rpcl()
361 if (res->pdy + comp->numresolutions - 1 - resno < 32 && in opj_pi_next_rpcl()
362 … comp->dy <= UINT_MAX / (1u << (res->pdy + comp->numresolutions - 1 - resno))) { in opj_pi_next_rpcl()
363 dy = comp->dy * (1u << (res->pdy + comp->numresolutions - 1 - resno)); in opj_pi_next_rpcl()
390 if (pi->resno >= comp->numresolutions) { in opj_pi_next_rpcl()
394 levelno = comp->numresolutions - 1 - pi->resno; in opj_pi_next_rpcl()
489 for (resno = 0; resno < comp->numresolutions; resno++) { in opj_pi_next_pcrl()
492 if (res->pdx + comp->numresolutions - 1 - resno < 32 && in opj_pi_next_pcrl()
493 … comp->dx <= UINT_MAX / (1u << (res->pdx + comp->numresolutions - 1 - resno))) { in opj_pi_next_pcrl()
494 dx = comp->dx * (1u << (res->pdx + comp->numresolutions - 1 - resno)); in opj_pi_next_pcrl()
497 if (res->pdy + comp->numresolutions - 1 - resno < 32 && in opj_pi_next_pcrl()
498 … comp->dy <= UINT_MAX / (1u << (res->pdy + comp->numresolutions - 1 - resno))) { in opj_pi_next_pcrl()
499 dy = comp->dy * (1u << (res->pdy + comp->numresolutions - 1 - resno)); in opj_pi_next_pcrl()
521 … pi->resno < opj_uint_min(pi->poc.resno1, comp->numresolutions); pi->resno++) { in opj_pi_next_pcrl()
528 levelno = comp->numresolutions - 1 - pi->resno; in opj_pi_next_pcrl()
625 for (resno = 0; resno < comp->numresolutions; resno++) { in opj_pi_next_cprl()
628 if (res->pdx + comp->numresolutions - 1 - resno < 32 && in opj_pi_next_cprl()
629 comp->dx <= UINT_MAX / (1u << (res->pdx + comp->numresolutions - 1 - resno))) { in opj_pi_next_cprl()
630 dx = comp->dx * (1u << (res->pdx + comp->numresolutions - 1 - resno)); in opj_pi_next_cprl()
633 if (res->pdy + comp->numresolutions - 1 - resno < 32 && in opj_pi_next_cprl()
634 comp->dy <= UINT_MAX / (1u << (res->pdy + comp->numresolutions - 1 - resno))) { in opj_pi_next_cprl()
635 dy = comp->dy * (1u << (res->pdy + comp->numresolutions - 1 - resno)); in opj_pi_next_cprl()
653 … pi->resno < opj_uint_min(pi->poc.resno1, comp->numresolutions); pi->resno++) { in opj_pi_next_cprl()
660 levelno = comp->numresolutions - 1 - pi->resno; in opj_pi_next_cprl()
810 if (l_tccp->numresolutions > *p_max_res) { in opj_get_encoding_parameters()
811 *p_max_res = l_tccp->numresolutions; in opj_get_encoding_parameters()
815 for (resno = 0; resno < l_tccp->numresolutions; ++resno) { in opj_get_encoding_parameters()
822 l_dx = l_img_comp->dx * (1u << (l_pdx + l_tccp->numresolutions - 1 - resno)); in opj_get_encoding_parameters()
823 l_dy = l_img_comp->dy * (1u << (l_pdy + l_tccp->numresolutions - 1 - resno)); in opj_get_encoding_parameters()
830 l_level_no = l_tccp->numresolutions - 1 - resno; in opj_get_encoding_parameters()
937 if (l_tccp->numresolutions > *p_max_res) { in opj_get_all_encoding_parameters()
938 *p_max_res = l_tccp->numresolutions; in opj_get_all_encoding_parameters()
942 l_level_no = l_tccp->numresolutions; in opj_get_all_encoding_parameters()
943 for (resno = 0; resno < l_tccp->numresolutions; ++resno) { in opj_get_all_encoding_parameters()
1041 comp->resolutions = (opj_pi_resolution_t*) opj_calloc(tccp->numresolutions, in opj_pi_create()
1048 comp->numresolutions = tccp->numresolutions; in opj_pi_create()
1491 (resno = 0; resno < l_current_comp->numresolutions; resno++) { in opj_pi_create_decode()
1530 (resno = 0; resno < l_current_comp->numresolutions; resno++) { in opj_pi_create_decode()
1681 for (resno = 0; resno < l_current_comp->numresolutions; resno++) { in opj_pi_initialise_encode()
1719 for (resno = 0; resno < l_current_comp->numresolutions; resno++) { in opj_pi_initialise_encode()