Lines Matching refs:tileno
956 static OPJ_BOOL opj_j2k_add_tlmarker(OPJ_UINT32 tileno, opj_codestream_index_t *cstr_index, OPJ_UIN…
1177 static OPJ_UINT32 opj_j2k_get_num_tp( opj_cp_t *cp, OPJ_UINT32 pino, OPJ_UINT32 tileno);
1638 static OPJ_UINT32 opj_j2k_get_num_tp(opj_cp_t *cp, OPJ_UINT32 pino, OPJ_UINT32 tileno) in opj_j2k_get_num_tp() argument
1647 assert(tileno < (cp->tw * cp->th)); in opj_j2k_get_num_tp()
1648 assert(pino < (cp->tcps[tileno].numpocs + 1)); in opj_j2k_get_num_tp()
1651 tcp = &cp->tcps[tileno]; in opj_j2k_get_num_tp()
1703 OPJ_UINT32 pino,tileno; in opj_j2k_calculate_tp() local
1753 for (tileno = 0; tileno < l_nb_tiles; ++tileno) { in opj_j2k_calculate_tp()
1756 opj_pi_update_encoding_parameters(image,cp,tileno); in opj_j2k_calculate_tp()
1759 OPJ_UINT32 tp_num = opj_j2k_get_num_tp(cp,pino,tileno); in opj_j2k_calculate_tp()
4017 OPJ_UINT32 tileno = p_j2k->m_current_tile_number; in opj_j2k_read_sot() local
4021 if (tileno > (l_cp->tw * l_cp->th)) { in opj_j2k_read_sot()
4024 tileno, (l_cp->tw * l_cp->th)); in opj_j2k_read_sot()
4030 tileno = backup_tileno; in opj_j2k_read_sot()
4033 tileno); in opj_j2k_read_sot()
4145 … p_j2k->cstr_index->tile_index[p_j2k->m_current_tile_number].tileno = p_j2k->m_current_tile_number; in opj_j2k_read_sot()
6159 OPJ_UINT32 i, j, tileno, numpocs_tile; in opj_j2k_setup_encoder() local
6444 for (tileno = 0; tileno < cp->tw * cp->th; tileno++) { in opj_j2k_setup_encoder()
6445 opj_tcp_t *tcp = &cp->tcps[tileno]; in opj_j2k_setup_encoder()
6474 if (tileno + 1 == parameters->POC[i].tile ) { in opj_j2k_setup_encoder()
6684 static OPJ_BOOL opj_j2k_add_tlmarker(OPJ_UINT32 tileno, opj_codestream_index_t *cstr_index, OPJ_UIN… in opj_j2k_add_tlmarker() argument
6690 … if ((cstr_index->tile_index[tileno].marknum + 1) > cstr_index->tile_index[tileno].maxmarknum) { in opj_j2k_add_tlmarker()
6692 …cstr_index->tile_index[tileno].maxmarknum = (OPJ_UINT32)(100 + (OPJ_FLOAT32) cstr_index->tile_inde… in opj_j2k_add_tlmarker()
6694 cstr_index->tile_index[tileno].marker, in opj_j2k_add_tlmarker()
6695 … cstr_index->tile_index[tileno].maxmarknum *sizeof(opj_marker_info_t)); in opj_j2k_add_tlmarker()
6697 opj_free(cstr_index->tile_index[tileno].marker); in opj_j2k_add_tlmarker()
6698 cstr_index->tile_index[tileno].marker = NULL; in opj_j2k_add_tlmarker()
6699 cstr_index->tile_index[tileno].maxmarknum = 0; in opj_j2k_add_tlmarker()
6700 cstr_index->tile_index[tileno].marknum = 0; in opj_j2k_add_tlmarker()
6704 cstr_index->tile_index[tileno].marker = new_marker; in opj_j2k_add_tlmarker()
6708 …cstr_index->tile_index[tileno].marker[cstr_index->tile_index[tileno].marknum].type = (OPJ_UINT16)t… in opj_j2k_add_tlmarker()
6709 …cstr_index->tile_index[tileno].marker[cstr_index->tile_index[tileno].marknum].pos = (OPJ_INT32)pos; in opj_j2k_add_tlmarker()
6710 …cstr_index->tile_index[tileno].marker[cstr_index->tile_index[tileno].marknum].len = (OPJ_INT32)len; in opj_j2k_add_tlmarker()
6711 cstr_index->tile_index[tileno].marknum++; in opj_j2k_add_tlmarker()
6714 OPJ_UINT32 l_current_tile_part = cstr_index->tile_index[tileno].current_tpsno; in opj_j2k_add_tlmarker()
6716 if (cstr_index->tile_index[tileno].tp_index) in opj_j2k_add_tlmarker()
6717 … cstr_index->tile_index[tileno].tp_index[l_current_tile_part].start_pos = pos; in opj_j2k_add_tlmarker()