Home
last modified time | relevance | path

Searched refs:l_cp (Results 1 – 3 of 3) sorted by relevance

/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Dj2k.c1920 opj_cp_t *l_cp = 00; in opj_j2k_read_siz() local
1930 l_cp = &(p_j2k->m_cp); in opj_j2k_read_siz()
1948 l_cp->rsiz = (OPJ_RSIZ_CAPABILITIES) l_tmp; in opj_j2k_read_siz()
1957 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_cp->tdx, 4); /* XTsiz */ in opj_j2k_read_siz()
1959 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_cp->tdy, 4); /* YTsiz */ in opj_j2k_read_siz()
1961 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_cp->tx0, 4); /* XT0siz */ in opj_j2k_read_siz()
1963 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_cp->ty0, 4); /* YT0siz */ in opj_j2k_read_siz()
1985 if (!(l_cp->tdx * l_cp->tdy)) { in opj_j2k_read_siz()
1986 … 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()
1997 if (l_cp->correct) { in opj_j2k_read_siz()
[all …]
Dt2.c219 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->m_specific_param.m_enc.m_cinema == OPJ_CINEMA4K_24? 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()
262 if (l_cp->m_specific_param.m_enc.m_max_comp_size) { in opj_t2_encode_packets()
263 … if (l_comp_len > l_cp->m_specific_param.m_enc.m_max_comp_size) { in opj_t2_encode_packets()
274 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()
300 …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 …]
Dtcd.c626 opj_cp_t * l_cp = 00; \
655 l_cp = p_tcd->cp; \
656 l_tcp = &(l_cp->tcps[p_tile_no]); \
663 p = p_tile_no % l_cp->tw; /* tile coordinates */ \
664 q = p_tile_no / l_cp->tw; \
668 …l_tile->x0 = opj_int_max((OPJ_INT32)(l_cp->tx0 + p * l_cp->tdx), (OPJ_INT32)l_image->x0); …
669 …l_tile->y0 = opj_int_max((OPJ_INT32)(l_cp->ty0 + q * l_cp->tdy), (OPJ_INT32)l_image->y0); …
670 …l_tile->x1 = opj_int_min((OPJ_INT32)(l_cp->tx0 + (p + 1) * l_cp->tdx), (OPJ_INT32)l_image->x1); …
671 …l_tile->y1 = opj_int_min((OPJ_INT32)(l_cp->ty0 + (q + 1) * l_cp->tdy), (OPJ_INT32)l_image->y1); …
693 …if (l_tccp->numresolutions < l_cp->m_specific_param.m_dec.m_reduce) { …
[all …]