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()
807 if (l_tccp->numresolutions > *p_max_res) { in opj_get_encoding_parameters()
808 *p_max_res = l_tccp->numresolutions; in opj_get_encoding_parameters()
812 for (resno = 0; resno < l_tccp->numresolutions; ++resno) { in opj_get_encoding_parameters()
819 l_dx = l_img_comp->dx * (1u << (l_pdx + l_tccp->numresolutions - 1 - resno)); in opj_get_encoding_parameters()
820 l_dy = l_img_comp->dy * (1u << (l_pdy + l_tccp->numresolutions - 1 - resno)); in opj_get_encoding_parameters()
827 l_level_no = l_tccp->numresolutions - 1 - resno; in opj_get_encoding_parameters()
934 if (l_tccp->numresolutions > *p_max_res) { in opj_get_all_encoding_parameters()
935 *p_max_res = l_tccp->numresolutions; in opj_get_all_encoding_parameters()
939 l_level_no = l_tccp->numresolutions; in opj_get_all_encoding_parameters()
940 for (resno = 0; resno < l_tccp->numresolutions; ++resno) { in opj_get_all_encoding_parameters()
1038 comp->resolutions = (opj_pi_resolution_t*) opj_calloc(tccp->numresolutions, in opj_pi_create()
1045 comp->numresolutions = tccp->numresolutions; in opj_pi_create()
1488 (resno = 0; resno < l_current_comp->numresolutions; resno++) { in opj_pi_create_decode()
1527 (resno = 0; resno < l_current_comp->numresolutions; resno++) { in opj_pi_create_decode()
1678 for (resno = 0; resno < l_current_comp->numresolutions; resno++) { in opj_pi_initialise_encode()
1716 for (resno = 0; resno < l_current_comp->numresolutions; resno++) { in opj_pi_initialise_encode()