Home
last modified time | relevance | path

Searched refs:tdx (Results 1 – 9 of 9) sorted by relevance

/external/pdfium/third_party/libopenjpeg20/
D0026-use_opj_uint_ceildiv.patch9 …l_cp->tw = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)(l_image->x1 - l_cp->tx0), (OPJ_INT32)l_cp->tdx);
11 + l_cp->tw = opj_uint_ceildiv(l_image->x1 - l_cp->tx0, l_cp->tdx);
18 …ecoder.m_start_tile_x = (p_j2k->m_specific_param.m_decoder.m_start_tile_x - l_cp->tx0) / l_cp->tdx;
20 …div((OPJ_INT32)(p_j2k->m_specific_param.m_decoder.m_end_tile_x - l_cp->tx0), (OPJ_INT32)l_cp->tdx);
22 …d_tile_x = opj_uint_ceildiv(p_j2k->m_specific_param.m_decoder.m_end_tile_x - l_cp->tx0, l_cp->tdx);
31 … cp->tw = (OPJ_UINT32)opj_int_ceildiv((OPJ_INT32)(image->x1 - cp->tx0), (OPJ_INT32)cp->tdx);
33 + cp->tw = opj_uint_ceildiv(image->x1 - cp->tx0, cp->tdx);
36 cp->tdx = image->x1 - cp->tx0;
D0021-tcd_init_tile_negative.patch6 l_tx0 = l_cp->tx0 + p * l_cp->tdx; /* can't be greater than l_image->x1 so won't overflow */
8 l_tile->x1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_tx0, l_cp->tdx), l_image->x1);
Dimage.c118 …l_x1 = p_cp->tx0 + (p_cp->tw - 1U) * p_cp->tdx; /* validity of p_cp members used here checked in o… in opj_image_comp_header_update()
120 …l_x1 = opj_uint_min(opj_uint_adds(l_x1, p_cp->tdx), p_image_header->x1); /* use add saturated to p… in opj_image_comp_header_update()
Dj2k.c1911 opj_write_bytes(l_current_ptr, cp->tdx, 4); /* XTsiz */ in opj_j2k_write_siz()
2004 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_cp->tdx, 4); /* XTsiz */ in opj_j2k_read_siz()
2033 if (!(l_cp->tdx * l_cp->tdy)) { in opj_j2k_read_siz()
2034 … 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()
2045 l_tx1 = opj_uint_adds(l_cp->tx0, l_cp->tdx); /* manage overflow */ in opj_j2k_read_siz()
2164 l_cp->tw = opj_uint_ceildiv(l_image->x1 - l_cp->tx0, l_cp->tdx); in opj_j2k_read_siz()
2178 …ecoder.m_start_tile_x = (p_j2k->m_specific_param.m_decoder.m_start_tile_x - l_cp->tx0) / l_cp->tdx; in opj_j2k_read_siz()
2180 …d_tile_x = opj_uint_ceildiv(p_j2k->m_specific_param.m_decoder.m_end_tile_x - l_cp->tx0, l_cp->tdx); in opj_j2k_read_siz()
4654 … l_x0 = opj_int_max((OPJ_INT32)(l_cp->tx0 + j * l_cp->tdx), (OPJ_INT32)l_image->x0); in opj_j2k_update_rates()
4656 … l_x1 = opj_int_min((OPJ_INT32)(l_cp->tx0 + (j + 1) * l_cp->tdx), (OPJ_INT32)l_image->x1); in opj_j2k_update_rates()
[all …]
Dj2k.h364 OPJ_UINT32 tdx; member
Dpi.c602 *p_tx0 = opj_int_max((OPJ_INT32)(p_cp->tx0 + p * p_cp->tdx), (OPJ_INT32)p_image->x0); in opj_get_encoding_parameters()
603 *p_tx1 = opj_int_min((OPJ_INT32)(p_cp->tx0 + (p + 1) * p_cp->tdx), (OPJ_INT32)p_image->x1); in opj_get_encoding_parameters()
724 l_tx0 = p_cp->tx0 + p * p_cp->tdx; /* can't be greater than p_image->x1 so won't overflow */ in opj_get_all_encoding_parameters()
726 *p_tx1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_tx0, p_cp->tdx), p_image->x1); in opj_get_all_encoding_parameters()
Dopenjpeg.h925 OPJ_UINT32 tdx; member
Dtcd.c706 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()
708 l_tile->x1 = (OPJ_INT32)opj_uint_min(opj_uint_adds(l_tx0, l_cp->tdx), l_image->x1); in opj_tcd_init_tile()
/external/icu/icu4c/source/data/misc/
DsupplementalData.txt6313 "tdx~y",