Lines Matching refs:tileno
1013 static OPJ_BOOL opj_j2k_add_tlmarker(OPJ_UINT32 tileno,
1247 OPJ_UINT32 tileno);
1723 OPJ_UINT32 tileno) in opj_j2k_get_num_tp() argument
1732 assert(tileno < (cp->tw * cp->th)); in opj_j2k_get_num_tp()
1733 assert(pino < (cp->tcps[tileno].numpocs + 1)); in opj_j2k_get_num_tp()
1736 tcp = &cp->tcps[tileno]; in opj_j2k_get_num_tp()
1786 OPJ_UINT32 pino, tileno; in opj_j2k_calculate_tp() local
1839 for (tileno = 0; tileno < l_nb_tiles; ++tileno) { in opj_j2k_calculate_tp()
1842 opj_pi_update_encoding_parameters(image, cp, tileno); in opj_j2k_calculate_tp()
1845 OPJ_UINT32 tp_num = opj_j2k_get_num_tp(cp, pino, tileno); in opj_j2k_calculate_tp()
4360 OPJ_UINT32 tileno = p_j2k->m_current_tile_number; in opj_j2k_read_sot() local
4364 if (tileno > (l_cp->tw * l_cp->th)) { in opj_j2k_read_sot()
4367 tileno, (l_cp->tw * l_cp->th)); in opj_j2k_read_sot()
4373 tileno = backup_tileno; in opj_j2k_read_sot()
4376 tileno); in opj_j2k_read_sot()
4504 p_j2k->cstr_index->tile_index[p_j2k->m_current_tile_number].tileno = in opj_j2k_read_sot()
6761 OPJ_UINT32 i, j, tileno, numpocs_tile; in opj_j2k_setup_encoder() local
7166 for (tileno = 0; tileno < cp->tw * cp->th; tileno++) { in opj_j2k_setup_encoder()
7167 opj_tcp_t *tcp = &cp->tcps[tileno]; in opj_j2k_setup_encoder()
7200 if (tileno + 1 == parameters->POC[i].tile) { in opj_j2k_setup_encoder()
7425 static OPJ_BOOL opj_j2k_add_tlmarker(OPJ_UINT32 tileno, in opj_j2k_add_tlmarker() argument
7433 if ((cstr_index->tile_index[tileno].marknum + 1) > in opj_j2k_add_tlmarker()
7434 cstr_index->tile_index[tileno].maxmarknum) { in opj_j2k_add_tlmarker()
7436 cstr_index->tile_index[tileno].maxmarknum = (OPJ_UINT32)(100 + in opj_j2k_add_tlmarker()
7437 (OPJ_FLOAT32) cstr_index->tile_index[tileno].maxmarknum); in opj_j2k_add_tlmarker()
7439 cstr_index->tile_index[tileno].marker, in opj_j2k_add_tlmarker()
7440 cstr_index->tile_index[tileno].maxmarknum * sizeof(opj_marker_info_t)); in opj_j2k_add_tlmarker()
7442 opj_free(cstr_index->tile_index[tileno].marker); in opj_j2k_add_tlmarker()
7443 cstr_index->tile_index[tileno].marker = NULL; in opj_j2k_add_tlmarker()
7444 cstr_index->tile_index[tileno].maxmarknum = 0; in opj_j2k_add_tlmarker()
7445 cstr_index->tile_index[tileno].marknum = 0; in opj_j2k_add_tlmarker()
7449 cstr_index->tile_index[tileno].marker = new_marker; in opj_j2k_add_tlmarker()
7453 cstr_index->tile_index[tileno].marker[cstr_index->tile_index[tileno].marknum].type in opj_j2k_add_tlmarker()
7455 cstr_index->tile_index[tileno].marker[cstr_index->tile_index[tileno].marknum].pos in opj_j2k_add_tlmarker()
7457 cstr_index->tile_index[tileno].marker[cstr_index->tile_index[tileno].marknum].len in opj_j2k_add_tlmarker()
7459 cstr_index->tile_index[tileno].marknum++; in opj_j2k_add_tlmarker()
7462 OPJ_UINT32 l_current_tile_part = cstr_index->tile_index[tileno].current_tpsno; in opj_j2k_add_tlmarker()
7464 if (cstr_index->tile_index[tileno].tp_index) { in opj_j2k_add_tlmarker()
7465 cstr_index->tile_index[tileno].tp_index[l_current_tile_part].start_pos = pos; in opj_j2k_add_tlmarker()