Searched refs:l_cp (Results 1 – 4 of 4) sorted by relevance
/external/pdfium/third_party/libopenjpeg20/ |
D | 0026-use_opj_uint_ceildiv.patch | 9 - l_cp->tw = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)(l_image->x1 - l_cp->tx0), 10 - (OPJ_INT32)l_cp->tdx); 11 - l_cp->th = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)(l_image->y1 - l_cp->ty0), 12 - (OPJ_INT32)l_cp->tdy); 13 + l_cp->tw = opj_uint_ceildiv(l_image->x1 - l_cp->tx0, l_cp->tdx); 14 + l_cp->th = opj_uint_ceildiv(l_image->y1 - l_cp->ty0, l_cp->tdy); 17 if (l_cp->tw == 0 || l_cp->th == 0 || l_cp->tw > 65535 / l_cp->th) { 19 (p_j2k->m_specific_param.m_decoder.m_start_tile_x - l_cp->tx0) / l_cp->tdx; 21 (p_j2k->m_specific_param.m_decoder.m_start_tile_y - l_cp->ty0) / l_cp->tdy; 23 - OPJ_INT32)(p_j2k->m_specific_param.m_decoder.m_end_tile_x - l_cp->tx0), [all …]
|
D | j2k.c | 2061 opj_cp_t *l_cp = 00; in opj_j2k_read_siz() local 2071 l_cp = &(p_j2k->m_cp); in opj_j2k_read_siz() 2090 l_cp->rsiz = (OPJ_UINT16) l_tmp; in opj_j2k_read_siz() 2099 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_cp->tdx, in opj_j2k_read_siz() 2102 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_cp->tdy, in opj_j2k_read_siz() 2105 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_cp->tx0, in opj_j2k_read_siz() 2108 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_cp->ty0, in opj_j2k_read_siz() 2139 if ((l_cp->tdx == 0U) || (l_cp->tdy == 0U)) { in opj_j2k_read_siz() 2141 "Error with SIZ marker: invalid tile size (tdx: %d, tdy: %d)\n", l_cp->tdx, in opj_j2k_read_siz() 2142 l_cp->tdy); in opj_j2k_read_siz() [all …]
|
D | t2.c | 240 opj_cp_t *l_cp = p_t2->cp; in opj_t2_encode_packets() local 241 opj_tcp_t *l_tcp = &l_cp->tcps[p_tile_no]; in opj_t2_encode_packets() 242 OPJ_UINT32 pocno = (l_cp->rsiz == OPJ_PROFILE_CINEMA_4K) ? 2 : 1; in opj_t2_encode_packets() 243 OPJ_UINT32 l_max_comp = l_cp->m_specific_param.m_enc.m_max_comp_size > 0 ? in opj_t2_encode_packets() 247 l_pi = opj_pi_initialise_encode(l_image, l_cp, p_tile_no, p_t2_mode); in opj_t2_encode_packets() 265 opj_pi_create_encode(l_pi, l_cp, p_tile_no, poc, l_tp_num, p_tp_pos, p_t2_mode); in opj_t2_encode_packets() 293 if (l_cp->m_specific_param.m_enc.m_max_comp_size) { in opj_t2_encode_packets() 294 if (l_comp_len > l_cp->m_specific_param.m_enc.m_max_comp_size) { in opj_t2_encode_packets() 304 opj_pi_create_encode(l_pi, l_cp, p_tile_no, p_pino, p_tp_num, p_tp_pos, in opj_t2_encode_packets() 337 … info_PK->start_pos = ((l_cp->m_specific_param.m_enc.m_tp_on | l_tcp->POC) && in opj_t2_encode_packets() [all …]
|
D | tcd.c | 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() [all …]
|