Lines Matching refs:tdx
2001 opj_write_bytes(l_current_ptr, cp->tdx, 4); /* XTsiz */ in opj_j2k_write_siz()
2099 opj_read_bytes(p_header_data, (OPJ_UINT32*) &l_cp->tdx, 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()
2147 l_tx1 = opj_uint_adds(l_cp->tx0, l_cp->tdx); /* manage overflow */ in opj_j2k_read_siz()
2304 if (l_cp->tdx == 0 || l_cp->tdy == 0) { in opj_j2k_read_siz()
2309 l_cp->tw = opj_uint_ceildiv(l_image->x1 - l_cp->tx0, l_cp->tdx); in opj_j2k_read_siz()
2324 (p_j2k->m_specific_param.m_decoder.m_start_tile_x - l_cp->tx0) / l_cp->tdx; in opj_j2k_read_siz()
2328 p_j2k->m_specific_param.m_decoder.m_end_tile_x - l_cp->tx0, l_cp->tdx); in opj_j2k_read_siz()
5077 l_x0 = opj_int_max((OPJ_INT32)(l_cp->tx0 + j * l_cp->tdx), in opj_j2k_update_rates()
5081 l_x1 = opj_int_min((OPJ_INT32)(l_cp->tx0 + (j + 1) * l_cp->tdx), in opj_j2k_update_rates()
5167 l_tile_size += (opj_uint_ceildiv(l_cp->tdx, l_img_comp->dx) in opj_j2k_update_rates()
7034 cp->tdx = (OPJ_UINT32)parameters->cp_tdx; in opj_j2k_setup_encoder()
7082 cp->tw = opj_uint_ceildiv(image->x1 - cp->tx0, cp->tdx); in opj_j2k_setup_encoder()
7085 cp->tdx = image->x1 - cp->tx0; in opj_j2k_setup_encoder()
7846 if ((p_j2k->m_cp.tdx) < (OPJ_UINT32)(1 << in opj_j2k_encoding_validation()
9401 l_cp->tx0) / l_cp->tdx; in opj_j2k_set_decode_area()
9447 p_end_x - (OPJ_INT32)l_cp->tx0, (OPJ_INT32)l_cp->tdx); in opj_j2k_set_decode_area()
10388 fprintf(out_stream, "\t tdx=%d, tdy=%d\n", p_j2k->m_cp.tdx, p_j2k->m_cp.tdy); in opj_j2k_dump_MH_info()
10465 cstr_info->tdx = p_j2k->m_cp.tdx; in j2k_get_cstr_info()
10682 p_j2k->m_output_image->x1 == p_j2k->m_cp.tdx && in opj_j2k_decode_tiles()
11077 p_image->x0 = l_tile_x * p_j2k->m_cp.tdx + p_j2k->m_cp.tx0; in opj_j2k_get_tile()
11081 p_image->x1 = (l_tile_x + 1) * p_j2k->m_cp.tdx + p_j2k->m_cp.tx0; in opj_j2k_get_tile()