Lines Matching refs:cstr_info
2728 if (p_j2k->cstr_info) { in opj_j2k_read_cod()
2730 p_j2k->cstr_info->prog = l_tcp->prg; in opj_j2k_read_cod()
2731 p_j2k->cstr_info->numlayers = l_tcp->numlayers; in opj_j2k_read_cod()
2732 p_j2k->cstr_info->numdecompos = (OPJ_INT32*) opj_malloc( in opj_j2k_read_cod()
2734 if (!p_j2k->cstr_info->numdecompos) { in opj_j2k_read_cod()
2738 p_j2k->cstr_info->numdecompos[i] = l_tcp->tccps[i].numresolutions - 1; in opj_j2k_read_cod()
9827 if (p_j2k->cstr_info && compno == 0) { in opj_j2k_read_SPCod_SPCoc()
9830 p_j2k->cstr_info->tile[p_j2k->m_current_tile_number].tccp_info[compno].cblkh = in opj_j2k_read_SPCod_SPCoc()
9832 p_j2k->cstr_info->tile[p_j2k->m_current_tile_number].tccp_info[compno].cblkw = in opj_j2k_read_SPCod_SPCoc()
9834 p_j2k->cstr_info->tile[p_j2k->m_current_tile_number].tccp_info[compno].numresolutions in opj_j2k_read_SPCod_SPCoc()
9836 p_j2k->cstr_info->tile[p_j2k->m_current_tile_number].tccp_info[compno].cblksty = in opj_j2k_read_SPCod_SPCoc()
9838 p_j2k->cstr_info->tile[p_j2k->m_current_tile_number].tccp_info[compno].qmfbid = in opj_j2k_read_SPCod_SPCoc()
9841 memcpy(p_j2k->cstr_info->tile[p_j2k->m_current_tile_number].pdx, l_tccp->prcw, in opj_j2k_read_SPCod_SPCoc()
9843 memcpy(p_j2k->cstr_info->tile[p_j2k->m_current_tile_number].pdy, l_tccp->prch, in opj_j2k_read_SPCod_SPCoc()
10439 opj_codestream_info_v2_t* cstr_info = (opj_codestream_info_v2_t*) opj_calloc(1, in j2k_get_cstr_info() local
10441 if (!cstr_info) { in j2k_get_cstr_info()
10445 cstr_info->nbcomps = p_j2k->m_private_image->numcomps; in j2k_get_cstr_info()
10447 cstr_info->tx0 = p_j2k->m_cp.tx0; in j2k_get_cstr_info()
10448 cstr_info->ty0 = p_j2k->m_cp.ty0; in j2k_get_cstr_info()
10449 cstr_info->tdx = p_j2k->m_cp.tdx; in j2k_get_cstr_info()
10450 cstr_info->tdy = p_j2k->m_cp.tdy; in j2k_get_cstr_info()
10451 cstr_info->tw = p_j2k->m_cp.tw; in j2k_get_cstr_info()
10452 cstr_info->th = p_j2k->m_cp.th; in j2k_get_cstr_info()
10454 cstr_info->tile_info = NULL; /* Not fill from the main header*/ in j2k_get_cstr_info()
10458 cstr_info->m_default_tile_info.csty = l_default_tile->csty; in j2k_get_cstr_info()
10459 cstr_info->m_default_tile_info.prg = l_default_tile->prg; in j2k_get_cstr_info()
10460 cstr_info->m_default_tile_info.numlayers = l_default_tile->numlayers; in j2k_get_cstr_info()
10461 cstr_info->m_default_tile_info.mct = l_default_tile->mct; in j2k_get_cstr_info()
10463 cstr_info->m_default_tile_info.tccp_info = (opj_tccp_info_t*) opj_calloc( in j2k_get_cstr_info()
10464 cstr_info->nbcomps, sizeof(opj_tccp_info_t)); in j2k_get_cstr_info()
10465 if (!cstr_info->m_default_tile_info.tccp_info) { in j2k_get_cstr_info()
10466 opj_destroy_cstr_info(&cstr_info); in j2k_get_cstr_info()
10473 (cstr_info->m_default_tile_info.tccp_info[compno]); in j2k_get_cstr_info()
10507 return cstr_info; in j2k_get_cstr_info()