• Home
  • Raw
  • Download

Lines Matching refs:l_tccp

3319     opj_tccp_t *l_tccp = 00;  in opj_j2k_write_poc_in_memory()  local
3330 l_tccp = &l_tcp->tccps[0]; in opj_j2k_write_poc_in_memory()
3383 l_current_poc->resno1, (OPJ_INT32)l_tccp->numresolutions); in opj_j2k_write_poc_in_memory()
4854 opj_tccp_t *l_tccp = 00; in opj_j2k_write_rgn() local
4864 l_tccp = &l_tcp->tccps[p_comp_no]; in opj_j2k_write_rgn()
4892 opj_write_bytes(l_current_data, (OPJ_UINT32)l_tccp->roishift, in opj_j2k_write_rgn()
5381 const opj_tccp_t *l_tccp = 00; in opj_j2k_write_regions() local
5388 l_tccp = p_j2k->m_cp.tcps->tccps; in opj_j2k_write_regions()
5391 if (l_tccp->roishift) { in opj_j2k_write_regions()
5399 ++l_tccp; in opj_j2k_write_regions()
6147 opj_tccp_t * l_tccp; in opj_j2k_read_mco() local
6180 l_tccp = l_tcp->tccps; in opj_j2k_read_mco()
6183 l_tccp->m_dc_level_shift = 0; in opj_j2k_read_mco()
6184 ++l_tccp; in opj_j2k_read_mco()
6213 opj_tccp_t * l_tccp; in opj_j2k_add_mct() local
6277 l_tccp = p_tcp->tccps; in opj_j2k_add_mct()
6281 l_tccp->m_dc_level_shift = (OPJ_INT32) * (l_current_offset_data++); in opj_j2k_add_mct()
6282 ++l_tccp; in opj_j2k_add_mct()
7611 opj_tccp_t * l_tccp = l_tcp->tccps; in opj_j2k_mct_validation() local
7615 l_is_valid &= !(l_tccp->qmfbid & 1); in opj_j2k_mct_validation()
7616 ++l_tccp; in opj_j2k_mct_validation()
7634 opj_tccp_t * l_tccp; in opj_j2k_setup_mct_encoding() local
7740 l_tccp = p_tcp->tccps; in opj_j2k_setup_mct_encoding()
7744 *(l_current_data++) = (OPJ_FLOAT32)(l_tccp->m_dc_level_shift); in opj_j2k_setup_mct_encoding()
7745 ++l_tccp; in opj_j2k_setup_mct_encoding()
9587 opj_tccp_t *l_tccp = 00; in opj_j2k_get_SPCod_SPCoc_size() local
9594 l_tccp = &l_tcp->tccps[p_comp_no]; in opj_j2k_get_SPCod_SPCoc_size()
9600 if (l_tccp->csty & J2K_CCP_CSTY_PRT) { in opj_j2k_get_SPCod_SPCoc_size()
9601 return 5 + l_tccp->numresolutions; in opj_j2k_get_SPCod_SPCoc_size()
9664 opj_tccp_t *l_tccp = 00; in opj_j2k_write_SPCod_SPCoc() local
9674 l_tccp = &l_tcp->tccps[p_comp_no]; in opj_j2k_write_SPCod_SPCoc()
9685 opj_write_bytes(p_data, l_tccp->numresolutions - 1, 1); /* SPcoc (D) */ in opj_j2k_write_SPCod_SPCoc()
9688 opj_write_bytes(p_data, l_tccp->cblkw - 2, 1); /* SPcoc (E) */ in opj_j2k_write_SPCod_SPCoc()
9691 opj_write_bytes(p_data, l_tccp->cblkh - 2, 1); /* SPcoc (F) */ in opj_j2k_write_SPCod_SPCoc()
9694 opj_write_bytes(p_data, l_tccp->cblksty, in opj_j2k_write_SPCod_SPCoc()
9698 opj_write_bytes(p_data, l_tccp->qmfbid, in opj_j2k_write_SPCod_SPCoc()
9704 if (l_tccp->csty & J2K_CCP_CSTY_PRT) { in opj_j2k_write_SPCod_SPCoc()
9706 if (*p_header_size < l_tccp->numresolutions) { in opj_j2k_write_SPCod_SPCoc()
9711 for (i = 0; i < l_tccp->numresolutions; ++i) { in opj_j2k_write_SPCod_SPCoc()
9712 opj_write_bytes(p_data, l_tccp->prcw[i] + (l_tccp->prch[i] << 4), in opj_j2k_write_SPCod_SPCoc()
9717 *p_header_size = *p_header_size - l_tccp->numresolutions; in opj_j2k_write_SPCod_SPCoc()
9732 opj_tccp_t *l_tccp = NULL; in opj_j2k_read_SPCod_SPCoc() local
9752 l_tccp = &l_tcp->tccps[compno]; in opj_j2k_read_SPCod_SPCoc()
9761 opj_read_bytes(l_current_ptr, &l_tccp->numresolutions, in opj_j2k_read_SPCod_SPCoc()
9763 …++l_tccp->numresolutions; … in opj_j2k_read_SPCod_SPCoc()
9764 if (l_tccp->numresolutions > OPJ_J2K_MAXRLVLS) { in opj_j2k_read_SPCod_SPCoc()
9767 l_tccp->numresolutions, OPJ_J2K_MAXRLVLS); in opj_j2k_read_SPCod_SPCoc()
9773 if (l_cp->m_specific_param.m_dec.m_reduce >= l_tccp->numresolutions) { in opj_j2k_read_SPCod_SPCoc()
9778 compno, l_cp->m_specific_param.m_dec.m_reduce, l_tccp->numresolutions); in opj_j2k_read_SPCod_SPCoc()
9784 opj_read_bytes(l_current_ptr, &l_tccp->cblkw, 1); /* SPcoc (E) */ in opj_j2k_read_SPCod_SPCoc()
9786 l_tccp->cblkw += 2; in opj_j2k_read_SPCod_SPCoc()
9788 opj_read_bytes(l_current_ptr, &l_tccp->cblkh, 1); /* SPcoc (F) */ in opj_j2k_read_SPCod_SPCoc()
9790 l_tccp->cblkh += 2; in opj_j2k_read_SPCod_SPCoc()
9792 if ((l_tccp->cblkw > 10) || (l_tccp->cblkh > 10) || in opj_j2k_read_SPCod_SPCoc()
9793 ((l_tccp->cblkw + l_tccp->cblkh) > 12)) { in opj_j2k_read_SPCod_SPCoc()
9800 opj_read_bytes(l_current_ptr, &l_tccp->cblksty, 1); /* SPcoc (G) */ in opj_j2k_read_SPCod_SPCoc()
9802 if (l_tccp->cblksty & 0xC0U) { /* 2 msb are reserved, assume we can't read */ in opj_j2k_read_SPCod_SPCoc()
9808 opj_read_bytes(l_current_ptr, &l_tccp->qmfbid, 1); /* SPcoc (H) */ in opj_j2k_read_SPCod_SPCoc()
9814 if (l_tccp->csty & J2K_CCP_CSTY_PRT) { in opj_j2k_read_SPCod_SPCoc()
9815 if (*p_header_size < l_tccp->numresolutions) { in opj_j2k_read_SPCod_SPCoc()
9820 for (i = 0; i < l_tccp->numresolutions; ++i) { in opj_j2k_read_SPCod_SPCoc()
9828 l_tccp->prcw[i] = l_tmp & 0xf; in opj_j2k_read_SPCod_SPCoc()
9829 l_tccp->prch[i] = l_tmp >> 4; in opj_j2k_read_SPCod_SPCoc()
9832 *p_header_size = *p_header_size - l_tccp->numresolutions; in opj_j2k_read_SPCod_SPCoc()
9835 for (i = 0; i < l_tccp->numresolutions; ++i) { in opj_j2k_read_SPCod_SPCoc()
9836 l_tccp->prcw[i] = 15; in opj_j2k_read_SPCod_SPCoc()
9837 l_tccp->prch[i] = 15; in opj_j2k_read_SPCod_SPCoc()
9844 OPJ_UINT32 l_data_size = l_tccp->numresolutions * sizeof(OPJ_UINT32); in opj_j2k_read_SPCod_SPCoc()
9847 l_tccp->cblkh; in opj_j2k_read_SPCod_SPCoc()
9849 l_tccp->cblkw; in opj_j2k_read_SPCod_SPCoc()
9851 = l_tccp->numresolutions; in opj_j2k_read_SPCod_SPCoc()
9853 l_tccp->cblksty; in opj_j2k_read_SPCod_SPCoc()
9855 l_tccp->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()
9910 opj_tccp_t *l_tccp = 00; in opj_j2k_get_SQcd_SQcc_size() local
9917 l_tccp = &l_tcp->tccps[p_comp_no]; in opj_j2k_get_SQcd_SQcc_size()
9923 l_num_bands = (l_tccp->qntsty == J2K_CCP_QNTSTY_SIQNT) ? 1 : in opj_j2k_get_SQcd_SQcc_size()
9924 (l_tccp->numresolutions * 3 - 2); in opj_j2k_get_SQcd_SQcc_size()
9926 if (l_tccp->qntsty == J2K_CCP_QNTSTY_NOQNT) { in opj_j2k_get_SQcd_SQcc_size()
9994 opj_tccp_t *l_tccp = 00; in opj_j2k_write_SQcd_SQcc() local
10004 l_tccp = &l_tcp->tccps[p_comp_no]; in opj_j2k_write_SQcd_SQcc()
10010 l_num_bands = (l_tccp->qntsty == J2K_CCP_QNTSTY_SIQNT) ? 1 : in opj_j2k_write_SQcd_SQcc()
10011 (l_tccp->numresolutions * 3 - 2); in opj_j2k_write_SQcd_SQcc()
10013 if (l_tccp->qntsty == J2K_CCP_QNTSTY_NOQNT) { in opj_j2k_write_SQcd_SQcc()
10021 opj_write_bytes(p_data, l_tccp->qntsty + (l_tccp->numgbits << 5), in opj_j2k_write_SQcd_SQcc()
10026 l_expn = (OPJ_UINT32)l_tccp->stepsizes[l_band_no].expn; in opj_j2k_write_SQcd_SQcc()
10038 opj_write_bytes(p_data, l_tccp->qntsty + (l_tccp->numgbits << 5), in opj_j2k_write_SQcd_SQcc()
10043 l_expn = (OPJ_UINT32)l_tccp->stepsizes[l_band_no].expn; in opj_j2k_write_SQcd_SQcc()
10044 l_mant = (OPJ_UINT32)l_tccp->stepsizes[l_band_no].mant; in opj_j2k_write_SQcd_SQcc()
10067 opj_tccp_t *l_tccp = 00; in opj_j2k_read_SQcd_SQcc() local
10088 l_tccp = &l_tcp->tccps[p_comp_no]; in opj_j2k_read_SQcd_SQcc()
10100 l_tccp->qntsty = l_tmp & 0x1f; in opj_j2k_read_SQcd_SQcc()
10101 l_tccp->numgbits = l_tmp >> 5; in opj_j2k_read_SQcd_SQcc()
10102 if (l_tccp->qntsty == J2K_CCP_QNTSTY_SIQNT) { in opj_j2k_read_SQcd_SQcc()
10105 l_num_band = (l_tccp->qntsty == J2K_CCP_QNTSTY_NOQNT) ? in opj_j2k_read_SQcd_SQcc()
10141 if (l_tccp->qntsty == J2K_CCP_QNTSTY_NOQNT) { in opj_j2k_read_SQcd_SQcc()
10146 l_tccp->stepsizes[l_band_no].expn = (OPJ_INT32)(l_tmp >> 3); in opj_j2k_read_SQcd_SQcc()
10147 l_tccp->stepsizes[l_band_no].mant = 0; in opj_j2k_read_SQcd_SQcc()
10156 l_tccp->stepsizes[l_band_no].expn = (OPJ_INT32)(l_tmp >> 11); in opj_j2k_read_SQcd_SQcc()
10157 l_tccp->stepsizes[l_band_no].mant = l_tmp & 0x7ff; in opj_j2k_read_SQcd_SQcc()
10164 if (l_tccp->qntsty == J2K_CCP_QNTSTY_SIQNT) { in opj_j2k_read_SQcd_SQcc()
10166 l_tccp->stepsizes[l_band_no].expn = in opj_j2k_read_SQcd_SQcc()
10167 ((OPJ_INT32)(l_tccp->stepsizes[0].expn) - (OPJ_INT32)((l_band_no - 1) / 3) > 0) in opj_j2k_read_SQcd_SQcc()
10169 (OPJ_INT32)(l_tccp->stepsizes[0].expn) - (OPJ_INT32)((l_band_no - 1) / 3) : 0; in opj_j2k_read_SQcd_SQcc()
10170 l_tccp->stepsizes[l_band_no].mant = l_tccp->stepsizes[0].mant; in opj_j2k_read_SQcd_SQcc()
10219 opj_tccp_t *l_tccp = &(l_default_tile->tccps[compno]); in opj_j2k_dump_tile_info() local
10225 fprintf(out_stream, "\t\t\t csty=%#x\n", l_tccp->csty); in opj_j2k_dump_tile_info()
10226 fprintf(out_stream, "\t\t\t numresolutions=%d\n", l_tccp->numresolutions); in opj_j2k_dump_tile_info()
10227 fprintf(out_stream, "\t\t\t cblkw=2^%d\n", l_tccp->cblkw); in opj_j2k_dump_tile_info()
10228 fprintf(out_stream, "\t\t\t cblkh=2^%d\n", l_tccp->cblkh); in opj_j2k_dump_tile_info()
10229 fprintf(out_stream, "\t\t\t cblksty=%#x\n", l_tccp->cblksty); in opj_j2k_dump_tile_info()
10230 fprintf(out_stream, "\t\t\t qmfbid=%d\n", l_tccp->qmfbid); in opj_j2k_dump_tile_info()
10233 for (resno = 0; resno < l_tccp->numresolutions; resno++) { in opj_j2k_dump_tile_info()
10234 fprintf(out_stream, "(%d,%d) ", l_tccp->prcw[resno], l_tccp->prch[resno]); in opj_j2k_dump_tile_info()
10239 fprintf(out_stream, "\t\t\t qntsty=%d\n", l_tccp->qntsty); in opj_j2k_dump_tile_info()
10240 fprintf(out_stream, "\t\t\t numgbits=%d\n", l_tccp->numgbits); in opj_j2k_dump_tile_info()
10242 numbands = (l_tccp->qntsty == J2K_CCP_QNTSTY_SIQNT) ? 1 : in opj_j2k_dump_tile_info()
10243 (OPJ_INT32)l_tccp->numresolutions * 3 - 2; in opj_j2k_dump_tile_info()
10245 fprintf(out_stream, "(%d,%d) ", l_tccp->stepsizes[bandno].mant, in opj_j2k_dump_tile_info()
10246 l_tccp->stepsizes[bandno].expn); in opj_j2k_dump_tile_info()
10251 fprintf(out_stream, "\t\t\t roishift=%d\n", l_tccp->roishift); in opj_j2k_dump_tile_info()
10487 opj_tccp_t *l_tccp = &(l_default_tile->tccps[compno]); in j2k_get_cstr_info() local
10493 l_tccp_info->csty = l_tccp->csty; in j2k_get_cstr_info()
10494 l_tccp_info->numresolutions = l_tccp->numresolutions; in j2k_get_cstr_info()
10495 l_tccp_info->cblkw = l_tccp->cblkw; in j2k_get_cstr_info()
10496 l_tccp_info->cblkh = l_tccp->cblkh; in j2k_get_cstr_info()
10497 l_tccp_info->cblksty = l_tccp->cblksty; in j2k_get_cstr_info()
10498 l_tccp_info->qmfbid = l_tccp->qmfbid; in j2k_get_cstr_info()
10499 if (l_tccp->numresolutions < OPJ_J2K_MAXRLVLS) { in j2k_get_cstr_info()
10500 memcpy(l_tccp_info->prch, l_tccp->prch, l_tccp->numresolutions); in j2k_get_cstr_info()
10501 memcpy(l_tccp_info->prcw, l_tccp->prcw, l_tccp->numresolutions); in j2k_get_cstr_info()
10505 l_tccp_info->qntsty = l_tccp->qntsty; in j2k_get_cstr_info()
10506 l_tccp_info->numgbits = l_tccp->numgbits; in j2k_get_cstr_info()
10508 numbands = (l_tccp->qntsty == J2K_CCP_QNTSTY_SIQNT) ? 1 : in j2k_get_cstr_info()
10509 (OPJ_INT32)l_tccp->numresolutions * 3 - 2; in j2k_get_cstr_info()
10513 l_tccp->stepsizes[bandno].mant; in j2k_get_cstr_info()
10515 l_tccp->stepsizes[bandno].expn; in j2k_get_cstr_info()
10520 l_tccp_info->roishift = l_tccp->roishift; in j2k_get_cstr_info()