Searched refs:l_cp (Results 1 – 3 of 3) sorted by relevance
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/ |
D | j2k.c | 1924 opj_cp_t *l_cp = 00; in opj_j2k_read_siz() local 1934 l_cp = &(p_j2k->m_cp); in opj_j2k_read_siz() 1952 l_cp->rsiz = (OPJ_UINT16) l_tmp; in opj_j2k_read_siz() 1961 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_cp->tdx, 4); /* XTsiz */ in opj_j2k_read_siz() 1963 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_cp->tdy, 4); /* YTsiz */ in opj_j2k_read_siz() 1965 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_cp->tx0, 4); /* XT0siz */ in opj_j2k_read_siz() 1967 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_cp->ty0, 4); /* YT0siz */ in opj_j2k_read_siz() 1990 if (!(l_cp->tdx * l_cp->tdy)) { in opj_j2k_read_siz() 1991 … EVT_ERROR, "Error with SIZ marker: invalid tile size (tdx: %d, tdy: %d)\n", l_cp->tdx, l_cp->tdy); in opj_j2k_read_siz() 2002 l_tx1 = l_cp->tx0 + l_cp->tdx; in opj_j2k_read_siz() [all …]
|
D | t2.c | 219 opj_cp_t *l_cp = p_t2->cp; in opj_t2_encode_packets() local 220 opj_tcp_t *l_tcp = &l_cp->tcps[p_tile_no]; in opj_t2_encode_packets() 221 OPJ_UINT32 pocno = (l_cp->rsiz == OPJ_PROFILE_CINEMA_4K)? 2: 1; in opj_t2_encode_packets() 222 … OPJ_UINT32 l_max_comp = l_cp->m_specific_param.m_enc.m_max_comp_size > 0 ? l_image->numcomps : 1; in opj_t2_encode_packets() 225 l_pi = opj_pi_initialise_encode(l_image, l_cp, p_tile_no, p_t2_mode); in opj_t2_encode_packets() 243 … 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() 267 if (l_cp->m_specific_param.m_enc.m_max_comp_size) { in opj_t2_encode_packets() 268 … if (l_comp_len > l_cp->m_specific_param.m_enc.m_max_comp_size) { in opj_t2_encode_packets() 279 opj_pi_create_encode(l_pi, l_cp,p_tile_no,p_pino,p_tp_num,p_tp_pos,p_t2_mode); in opj_t2_encode_packets() 309 …info_PK->start_pos = ((l_cp->m_specific_param.m_enc.m_tp_on | l_tcp->POC)&& info_PK->start_pos) ? … in opj_t2_encode_packets() [all …]
|
D | tcd.c | 663 opj_cp_t * l_cp = 00; in opj_tcd_init_tile() local 692 l_cp = p_tcd->cp; in opj_tcd_init_tile() 693 l_tcp = &(l_cp->tcps[p_tile_no]); in opj_tcd_init_tile() 700 p = p_tile_no % l_cp->tw; /* tile coordinates */ in opj_tcd_init_tile() 701 q = p_tile_no / l_cp->tw; in opj_tcd_init_tile() 705 l_tx0 = l_cp->tx0 + p * l_cp->tdx; /* can't be greater than l_image->x1 so won't overflow */ in opj_tcd_init_tile() 707 l_tile->x1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_tx0, l_cp->tdx), l_image->x1); in opj_tcd_init_tile() 708 l_ty0 = l_cp->ty0 + q * l_cp->tdy; /* can't be greater than l_image->y1 so won't overflow */ in opj_tcd_init_tile() 710 l_tile->y1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_ty0, l_cp->tdy), l_image->y1); in opj_tcd_init_tile() 744 if (l_tccp->numresolutions < l_cp->m_specific_param.m_dec.m_reduce) { in opj_tcd_init_tile() [all …]
|