Lines Matching refs:cstr_info
2734 if (p_j2k->cstr_info) { in opj_j2k_read_cod()
2736 p_j2k->cstr_info->prog = l_tcp->prg; in opj_j2k_read_cod()
2737 p_j2k->cstr_info->numlayers = l_tcp->numlayers; in opj_j2k_read_cod()
2738 p_j2k->cstr_info->numdecompos = (OPJ_INT32*) opj_malloc( in opj_j2k_read_cod()
2740 if (!p_j2k->cstr_info->numdecompos) { in opj_j2k_read_cod()
2744 p_j2k->cstr_info->numdecompos[i] = l_tcp->tccps[i].numresolutions - 1; in opj_j2k_read_cod()
9843 if (p_j2k->cstr_info && compno == 0) { in opj_j2k_read_SPCod_SPCoc()
9846 p_j2k->cstr_info->tile[p_j2k->m_current_tile_number].tccp_info[compno].cblkh = in opj_j2k_read_SPCod_SPCoc()
9848 p_j2k->cstr_info->tile[p_j2k->m_current_tile_number].tccp_info[compno].cblkw = in opj_j2k_read_SPCod_SPCoc()
9850 p_j2k->cstr_info->tile[p_j2k->m_current_tile_number].tccp_info[compno].numresolutions in opj_j2k_read_SPCod_SPCoc()
9852 p_j2k->cstr_info->tile[p_j2k->m_current_tile_number].tccp_info[compno].cblksty = in opj_j2k_read_SPCod_SPCoc()
9854 p_j2k->cstr_info->tile[p_j2k->m_current_tile_number].tccp_info[compno].qmfbid = in opj_j2k_read_SPCod_SPCoc()
9857 memcpy(p_j2k->cstr_info->tile[p_j2k->m_current_tile_number].pdx, l_tccp->prcw, in opj_j2k_read_SPCod_SPCoc()
9859 memcpy(p_j2k->cstr_info->tile[p_j2k->m_current_tile_number].pdy, l_tccp->prch, in opj_j2k_read_SPCod_SPCoc()
10455 opj_codestream_info_v2_t* cstr_info = (opj_codestream_info_v2_t*) opj_calloc(1, in j2k_get_cstr_info() local
10457 if (!cstr_info) { in j2k_get_cstr_info()
10461 cstr_info->nbcomps = p_j2k->m_private_image->numcomps; in j2k_get_cstr_info()
10463 cstr_info->tx0 = p_j2k->m_cp.tx0; in j2k_get_cstr_info()
10464 cstr_info->ty0 = p_j2k->m_cp.ty0; in j2k_get_cstr_info()
10465 cstr_info->tdx = p_j2k->m_cp.tdx; in j2k_get_cstr_info()
10466 cstr_info->tdy = p_j2k->m_cp.tdy; in j2k_get_cstr_info()
10467 cstr_info->tw = p_j2k->m_cp.tw; in j2k_get_cstr_info()
10468 cstr_info->th = p_j2k->m_cp.th; in j2k_get_cstr_info()
10470 cstr_info->tile_info = NULL; /* Not fill from the main header*/ in j2k_get_cstr_info()
10474 cstr_info->m_default_tile_info.csty = l_default_tile->csty; in j2k_get_cstr_info()
10475 cstr_info->m_default_tile_info.prg = l_default_tile->prg; in j2k_get_cstr_info()
10476 cstr_info->m_default_tile_info.numlayers = l_default_tile->numlayers; in j2k_get_cstr_info()
10477 cstr_info->m_default_tile_info.mct = l_default_tile->mct; in j2k_get_cstr_info()
10479 cstr_info->m_default_tile_info.tccp_info = (opj_tccp_info_t*) opj_calloc( in j2k_get_cstr_info()
10480 cstr_info->nbcomps, sizeof(opj_tccp_info_t)); in j2k_get_cstr_info()
10481 if (!cstr_info->m_default_tile_info.tccp_info) { in j2k_get_cstr_info()
10482 opj_destroy_cstr_info(&cstr_info); in j2k_get_cstr_info()
10489 (cstr_info->m_default_tile_info.tccp_info[compno]); in j2k_get_cstr_info()
10523 return cstr_info; in j2k_get_cstr_info()