Lines Matching refs:l_cp
727 opj_cp_t * l_cp = 00; in opj_tcd_init_tile() local
756 l_cp = p_tcd->cp; in opj_tcd_init_tile()
757 l_tcp = &(l_cp->tcps[p_tile_no]); in opj_tcd_init_tile()
764 p = p_tile_no % l_cp->tw; /* tile coordinates */ in opj_tcd_init_tile()
765 q = p_tile_no / l_cp->tw; in opj_tcd_init_tile()
769 l_tx0 = l_cp->tx0 + p * in opj_tcd_init_tile()
770 l_cp->tdx; /* can't be greater than l_image->x1 so won't overflow */ in opj_tcd_init_tile()
772 l_tile->x1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_tx0, l_cp->tdx), in opj_tcd_init_tile()
779 l_ty0 = l_cp->ty0 + q * in opj_tcd_init_tile()
780 l_cp->tdy; /* can't be greater than l_image->y1 so won't overflow */ in opj_tcd_init_tile()
782 l_tile->y1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_ty0, l_cp->tdy), in opj_tcd_init_tile()
811 if (l_tccp->numresolutions < l_cp->m_specific_param.m_dec.m_reduce) { in opj_tcd_init_tile()
815 l_cp->m_specific_param.m_dec.m_reduce; in opj_tcd_init_tile()
2591 opj_cp_t * l_cp = p_tcd->cp; in opj_tcd_rate_allocate_encode() local
2598 if (l_cp->m_specific_param.m_enc.m_disto_alloc || in opj_tcd_rate_allocate_encode()
2599 l_cp->m_specific_param.m_enc.m_fixed_quality) { in opj_tcd_rate_allocate_encode()