Lines Matching refs:l_current_pi
817 opj_pi_iterator_t *l_current_pi = 00; in opj_pi_create() local
834 l_current_pi = l_pi; in opj_pi_create()
837 l_current_pi->comps = (opj_pi_comp_t*) opj_calloc(image->numcomps, sizeof(opj_pi_comp_t)); in opj_pi_create()
838 if (! l_current_pi->comps) { in opj_pi_create()
843 l_current_pi->numcomps = image->numcomps; in opj_pi_create()
846 opj_pi_comp_t *comp = &l_current_pi->comps[compno]; in opj_pi_create()
858 ++l_current_pi; in opj_pi_create()
1007 opj_pi_iterator_t * l_current_pi = 00; in opj_pi_update_decode_poc() local
1018 l_current_pi = p_pi; in opj_pi_update_decode_poc()
1022 l_current_pi->poc.prg = l_current_poc->prg; /* Progression Order #0 */ in opj_pi_update_decode_poc()
1023 l_current_pi->first = 1; in opj_pi_update_decode_poc()
1025 l_current_pi->poc.resno0 = l_current_poc->resno0; /* Resolution Level Index #0 (Start) */ in opj_pi_update_decode_poc()
1026 l_current_pi->poc.compno0 = l_current_poc->compno0; /* Component Index #0 (Start) */ in opj_pi_update_decode_poc()
1027 l_current_pi->poc.layno0 = 0; in opj_pi_update_decode_poc()
1028 l_current_pi->poc.precno0 = 0; in opj_pi_update_decode_poc()
1029 l_current_pi->poc.resno1 = l_current_poc->resno1; /* Resolution Level Index #0 (End) */ in opj_pi_update_decode_poc()
1030 l_current_pi->poc.compno1 = l_current_poc->compno1; /* Component Index #0 (End) */ in opj_pi_update_decode_poc()
1031 …l_current_pi->poc.layno1 = opj_uint_min(l_current_poc->layno1, p_tcp->numlayers); /* Layer Index #… in opj_pi_update_decode_poc()
1032 l_current_pi->poc.precno1 = p_max_precision; in opj_pi_update_decode_poc()
1033 ++l_current_pi; in opj_pi_update_decode_poc()
1049 opj_pi_iterator_t * l_current_pi = 00; in opj_pi_update_decode_not_poc() local
1056 l_current_pi = p_pi; in opj_pi_update_decode_not_poc()
1059 l_current_pi->poc.prg = p_tcp->prg; in opj_pi_update_decode_not_poc()
1060 l_current_pi->first = 1; in opj_pi_update_decode_not_poc()
1061 l_current_pi->poc.resno0 = 0; in opj_pi_update_decode_not_poc()
1062 l_current_pi->poc.compno0 = 0; in opj_pi_update_decode_not_poc()
1063 l_current_pi->poc.layno0 = 0; in opj_pi_update_decode_not_poc()
1064 l_current_pi->poc.precno0 = 0; in opj_pi_update_decode_not_poc()
1065 l_current_pi->poc.resno1 = p_max_res; in opj_pi_update_decode_not_poc()
1066 l_current_pi->poc.compno1 = l_current_pi->numcomps; in opj_pi_update_decode_not_poc()
1067 l_current_pi->poc.layno1 = p_tcp->numlayers; in opj_pi_update_decode_not_poc()
1068 l_current_pi->poc.precno1 = p_max_precision; in opj_pi_update_decode_not_poc()
1069 ++l_current_pi; in opj_pi_update_decode_not_poc()
1191 opj_pi_iterator_t * l_current_pi = 00; in opj_pi_create_decode() local
1246 l_current_pi = l_pi; in opj_pi_create_decode()
1249 l_current_pi->include = 00; in opj_pi_create_decode()
1253 …l_current_pi->include = (OPJ_INT16*)opj_calloc((l_tcp->numlayers + 1) * l_step_l, sizeof(OPJ_INT16… in opj_pi_create_decode()
1257 (!l_current_pi->include) in opj_pi_create_decode()
1266 l_current_comp = l_current_pi->comps; in opj_pi_create_decode()
1270 l_current_pi->tx0 = l_tx0; in opj_pi_create_decode()
1271 l_current_pi->ty0 = l_ty0; in opj_pi_create_decode()
1272 l_current_pi->tx1 = l_tx1; in opj_pi_create_decode()
1273 l_current_pi->ty1 = l_ty1; in opj_pi_create_decode()
1278 l_current_pi->step_p = l_step_p; in opj_pi_create_decode()
1279 l_current_pi->step_c = l_step_c; in opj_pi_create_decode()
1280 l_current_pi->step_r = l_step_r; in opj_pi_create_decode()
1281 l_current_pi->step_l = l_step_l; in opj_pi_create_decode()
1285 (compno = 0; compno < l_current_pi->numcomps; ++compno) in opj_pi_create_decode()
1306 ++l_current_pi; in opj_pi_create_decode()
1310 l_current_comp = l_current_pi->comps; in opj_pi_create_decode()
1314 l_current_pi->tx0 = l_tx0; in opj_pi_create_decode()
1315 l_current_pi->ty0 = l_ty0; in opj_pi_create_decode()
1316 l_current_pi->tx1 = l_tx1; in opj_pi_create_decode()
1317 l_current_pi->ty1 = l_ty1; in opj_pi_create_decode()
1320 l_current_pi->step_p = l_step_p; in opj_pi_create_decode()
1321 l_current_pi->step_c = l_step_c; in opj_pi_create_decode()
1322 l_current_pi->step_r = l_step_r; in opj_pi_create_decode()
1323 l_current_pi->step_l = l_step_l; in opj_pi_create_decode()
1327 (compno = 0; compno < l_current_pi->numcomps; ++compno) in opj_pi_create_decode()
1349 l_current_pi->include = (l_current_pi-1)->include; in opj_pi_create_decode()
1350 ++l_current_pi; in opj_pi_create_decode()
1398 opj_pi_iterator_t * l_current_pi = 00; in opj_pi_initialise_encode() local
1450 l_current_pi = l_pi; in opj_pi_initialise_encode()
1453 l_current_pi->include = (OPJ_INT16*) opj_calloc(l_tcp->numlayers * l_step_l, sizeof(OPJ_INT16)); in opj_pi_initialise_encode()
1454 if (!l_current_pi->include) { in opj_pi_initialise_encode()
1462 l_current_comp = l_current_pi->comps; in opj_pi_initialise_encode()
1465 l_current_pi->tx0 = l_tx0; in opj_pi_initialise_encode()
1466 l_current_pi->ty0 = l_ty0; in opj_pi_initialise_encode()
1467 l_current_pi->tx1 = l_tx1; in opj_pi_initialise_encode()
1468 l_current_pi->ty1 = l_ty1; in opj_pi_initialise_encode()
1469 l_current_pi->dx = l_dx_min; in opj_pi_initialise_encode()
1470 l_current_pi->dy = l_dy_min; in opj_pi_initialise_encode()
1471 l_current_pi->step_p = l_step_p; in opj_pi_initialise_encode()
1472 l_current_pi->step_c = l_step_c; in opj_pi_initialise_encode()
1473 l_current_pi->step_r = l_step_r; in opj_pi_initialise_encode()
1474 l_current_pi->step_l = l_step_l; in opj_pi_initialise_encode()
1477 for (compno = 0; compno < l_current_pi->numcomps; ++compno) { in opj_pi_initialise_encode()
1497 ++l_current_pi; in opj_pi_initialise_encode()
1500 l_current_comp = l_current_pi->comps; in opj_pi_initialise_encode()
1504 l_current_pi->tx0 = l_tx0; in opj_pi_initialise_encode()
1505 l_current_pi->ty0 = l_ty0; in opj_pi_initialise_encode()
1506 l_current_pi->tx1 = l_tx1; in opj_pi_initialise_encode()
1507 l_current_pi->ty1 = l_ty1; in opj_pi_initialise_encode()
1508 l_current_pi->dx = l_dx_min; in opj_pi_initialise_encode()
1509 l_current_pi->dy = l_dy_min; in opj_pi_initialise_encode()
1510 l_current_pi->step_p = l_step_p; in opj_pi_initialise_encode()
1511 l_current_pi->step_c = l_step_c; in opj_pi_initialise_encode()
1512 l_current_pi->step_r = l_step_r; in opj_pi_initialise_encode()
1513 l_current_pi->step_l = l_step_l; in opj_pi_initialise_encode()
1516 for (compno = 0; compno < l_current_pi->numcomps; ++compno) { in opj_pi_initialise_encode()
1536 l_current_pi->include = (l_current_pi-1)->include; in opj_pi_initialise_encode()
1537 ++l_current_pi; in opj_pi_initialise_encode()
1817 opj_pi_iterator_t *l_current_pi = p_pi; in opj_pi_destroy() local
1824 if(l_current_pi->comps) { in opj_pi_destroy()
1825 opj_pi_comp_t *l_current_component = l_current_pi->comps; in opj_pi_destroy()
1826 for (compno = 0; compno < l_current_pi->numcomps; compno++){ in opj_pi_destroy()
1834 opj_free(l_current_pi->comps); in opj_pi_destroy()
1835 l_current_pi->comps = 0; in opj_pi_destroy()
1837 ++l_current_pi; in opj_pi_destroy()